Skip to content

Commit

Permalink
use a lockfile, add tsconfigs to git
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Jun 19, 2024
1 parent ed17f58 commit ee87da2
Show file tree
Hide file tree
Showing 8 changed files with 4,565 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
# keep these
!**/.gitignore
!/src
!/.tshy
!/.commitlintrc.js
!/tsconfig.json
!/.eslintrc.js
!/.eslintrc.local.*
!/.github/
Expand All @@ -21,6 +23,7 @@
!/LICENSE*
!/map.js
!/package.json
!/package-lock.json
!/README*
!/release-please-config.json
!/scripts/
Expand Down
3 changes: 0 additions & 3 deletions .npmrc

This file was deleted.

8 changes: 8 additions & 0 deletions .tshy/build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"rootDir": "../src",
"module": "nodenext",
"moduleResolution": "nodenext"
}
}
14 changes: 14 additions & 0 deletions .tshy/commonjs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"extends": "./build.json",
"include": [
"../src/**/*.ts",
"../src/**/*.cts",
"../src/**/*.tsx"
],
"exclude": [
"../src/**/*.mts"
],
"compilerOptions": {
"outDir": "../.tshy-build/commonjs"
}
}
12 changes: 12 additions & 0 deletions .tshy/esm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "./build.json",
"include": [
"../src/**/*.ts",
"../src/**/*.mts",
"../src/**/*.tsx"
],
"exclude": [],
"compilerOptions": {
"outDir": "../.tshy-build/esm"
}
}
Loading

0 comments on commit ee87da2

Please sign in to comment.