Skip to content

Commit ee87da2

Browse files
committed
use a lockfile, add tsconfigs to git
1 parent ed17f58 commit ee87da2

8 files changed

+4565
-4
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
# keep these
77
!**/.gitignore
88
!/src
9+
!/.tshy
910
!/.commitlintrc.js
11+
!/tsconfig.json
1012
!/.eslintrc.js
1113
!/.eslintrc.local.*
1214
!/.github/
@@ -21,6 +23,7 @@
2123
!/LICENSE*
2224
!/map.js
2325
!/package.json
26+
!/package-lock.json
2427
!/README*
2528
!/release-please-config.json
2629
!/scripts/

.npmrc

-3
This file was deleted.

.tshy/build.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "../tsconfig.json",
3+
"compilerOptions": {
4+
"rootDir": "../src",
5+
"module": "nodenext",
6+
"moduleResolution": "nodenext"
7+
}
8+
}

.tshy/commonjs.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"extends": "./build.json",
3+
"include": [
4+
"../src/**/*.ts",
5+
"../src/**/*.cts",
6+
"../src/**/*.tsx"
7+
],
8+
"exclude": [
9+
"../src/**/*.mts"
10+
],
11+
"compilerOptions": {
12+
"outDir": "../.tshy-build/commonjs"
13+
}
14+
}

.tshy/esm.json

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"extends": "./build.json",
3+
"include": [
4+
"../src/**/*.ts",
5+
"../src/**/*.mts",
6+
"../src/**/*.tsx"
7+
],
8+
"exclude": [],
9+
"compilerOptions": {
10+
"outDir": "../.tshy-build/esm"
11+
}
12+
}

0 commit comments

Comments
 (0)