Skip to content

Commit ec3dbc5

Browse files
chore(tsconfig): add per-package tsconfig to avoid cross-package path resolution during typecheck\n\nCo-authored-by: Jake Ruesink <jake@lambdacurry.dev>
1 parent b4a12cc commit ec3dbc5

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

packages/ui/tsconfig.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"composite": false,
5+
"noEmit": true,
6+
"baseUrl": "."
7+
},
8+
"include": [
9+
"src/**/*"
10+
],
11+
"exclude": [
12+
"node_modules",
13+
"dist",
14+
"build",
15+
"**/*.test.ts",
16+
"**/*.test.tsx"
17+
]
18+
}
19+

packages/utils/tsconfig.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"composite": false,
5+
"noEmit": true,
6+
"baseUrl": "."
7+
},
8+
"include": [
9+
"src/**/*"
10+
],
11+
"exclude": [
12+
"node_modules",
13+
"dist",
14+
"build",
15+
"**/*.test.ts",
16+
"**/*.test.tsx"
17+
]
18+
}
19+

0 commit comments

Comments
 (0)