Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2fcc5fa

Browse files
committed
chore: repo-tools
1 parent 4146164 commit 2fcc5fa

File tree

3 files changed

+41
-12
lines changed

3 files changed

+41
-12
lines changed

packages/repo-tools/tsconfig.build.json

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,25 @@
33
"compilerOptions": {
44
// repo tools are executed with tsx
55
"allowImportingTsExtensions": true,
6-
"noEmit": true,
7-
"composite": true,
8-
"outDir": "./dist",
9-
"rootDir": "./src",
6+
"rootDir": "src",
7+
"outDir": "dist",
108
"resolveJsonModule": true
119
},
1210
"include": ["src", "typings"],
1311
"references": []
1412
}
13+
14+
// {
15+
// "extends": "../../tsconfig.base.json",
16+
// "compilerOptions": {
17+
// // repo tools are executed with tsx
18+
// "allowImportingTsExtensions": true,
19+
// "noEmit": true,
20+
// "composite": true,
21+
// "outDir": "./dist",
22+
// "rootDir": "./src",
23+
// "resolveJsonModule": true
24+
// },
25+
// "include": ["src", "typings"],
26+
// "references": []
27+
// }

packages/repo-tools/tsconfig.json

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,25 @@
11
{
2-
"extends": "./tsconfig.build.json",
2+
"extends": "../../tsconfig.base.json",
33
"compilerOptions": {
4-
// repo tools are executed with tsx
5-
"allowImportingTsExtensions": true,
6-
"noEmit": true,
7-
"composite": false,
8-
"rootDir": "."
4+
"outDir": "../../dist/out-tsc/repo-tools"
95
},
10-
"include": ["src", "tests", "typings"],
11-
"references": []
6+
"files": [],
7+
"references": [
8+
{
9+
"path": "./tsconfig.build.json"
10+
}
11+
]
1212
}
13+
14+
// {
15+
// "extends": "./tsconfig.build.json",
16+
// "compilerOptions": {
17+
// // repo tools are executed with tsx
18+
// "allowImportingTsExtensions": true,
19+
// "noEmit": true,
20+
// "composite": false,
21+
// "rootDir": "."
22+
// },
23+
// "include": ["src", "tests", "typings"],
24+
// "references": []
25+
// }

tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
{
77
"path": "./packages/ast-spec"
88
},
9+
{
10+
"path": "./packages/repo-tools"
11+
},
912
{
1013
"path": "./packages/scope-manager"
1114
},

0 commit comments

Comments
 (0)