Skip to content

Commit 66ea78a

Browse files
committed
chore: reorganize tsconfig
1 parent 45f6298 commit 66ea78a

File tree

4 files changed

+10
-21
lines changed

4 files changed

+10
-21
lines changed

scripts/tsconfig.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

tsconfig.config.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

tsconfig.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
{
22
"files": [],
3-
"references": [
4-
{ "path": "./scripts/" },
5-
{ "path": "./src/" },
6-
{ "path": "./tsconfig.config.json" }
7-
]
3+
"references": [{ "path": "./src/" }, { "path": "./tsconfig.node.json" }]
84
}

tsconfig.node.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"extends": "./tsconfig.base.json",
3+
"compilerOptions": {
4+
"module": "NodeNext",
5+
"allowJs": true,
6+
"checkJs": true
7+
},
8+
"include": ["scripts/**/*", "*.config.js", "*.config.ts"]
9+
}

0 commit comments

Comments
 (0)