Skip to content

Commit 649e423

Browse files
committed
tsconfig WiP in monorepo (still gives errors)
1 parent 4505ce4 commit 649e423

File tree

11 files changed

+68
-16
lines changed

11 files changed

+68
-16
lines changed

apps/vps-web/tsconfig.app.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
"extends": "./tsconfig.json",
33
"compilerOptions": {
44
"outDir": "../../dist/out-tsc",
5-
"types": ["node"]
5+
"types": ["node"],
6+
"noEmit": false,
7+
"composite": true,
8+
"declaration": true
69
},
710
"exclude": ["src/**/*.spec.ts", "src/**/*.test.ts"],
811
"include": ["src/**/*.ts"]

apps/vps-web/tsconfig.json

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"extends": "../../tsconfig.base.json",
33
"files": [],
4-
"compilerOptions": {
4+
"compilerOptions": {
55
// "jsx": "preserve",
66
// "jsxFactory": "createJSXElement",
77
// "jsxFragmentFactory": "Fragment",
@@ -22,16 +22,24 @@
2222
"noUnusedParameters": true,
2323
"noImplicitReturns": true,
2424
"skipLibCheck": true,
25-
"types": ["vite/client", "vitest"],
26-
25+
"types": ["vite/client", "vitest"]
2726
},
28-
"include": ["src"],
27+
"include": ["src/**/*.ts", "src/**/*.tsx"],
2928
"references": [
3029
{
3130
"path": "./tsconfig.app.json"
3231
},
3332
{
3433
"path": "./tsconfig.spec.json"
34+
},
35+
{
36+
"path": "../../libs/dom-components"
37+
},
38+
{
39+
"path": "../../libs/web-flow-executor"
40+
},
41+
{
42+
"path": "../../libs/visual-programming-system"
3543
}
3644
]
3745
}

apps/vps-web/tsconfig.spec.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
"extends": "./tsconfig.json",
33
"compilerOptions": {
44
"outDir": "../../dist/out-tsc",
5-
"types": ["vitest/globals", "node"]
5+
"types": ["vitest/globals", "node"],
6+
"noEmit": false,
7+
"composite": true,
8+
"declaration": true
69
},
710
"include": [
811
"vite.config.ts",

libs/app-canvas/tsconfig.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,25 @@
1515
"noUnusedParameters": true,
1616
"noImplicitReturns": true,
1717
"skipLibCheck": true,
18+
"composite": true,
19+
"declaration": true,
1820
"jsx": "react",
1921
"jsxFactory": "createJSXElement",
2022
"jsxFragmentFactory": "Fragment"
2123
},
2224
"files": [],
23-
"include": [],
25+
"include": ["src/**/*.ts", "src/**/*.tsx"],
2426
"references": [
2527
{
2628
"path": "./tsconfig.lib.json"
2729
},
2830
{
2931
"path": "./tsconfig.spec.json"
30-
}
32+
},
33+
34+
{ "path": "../dom-components" },
35+
{ "path": "../media-library" },
36+
{ "path": "../visual-programming-system" },
37+
{ "path": "../web-flow-executor" }
3138
]
3239
}

libs/app-canvas/tsconfig.lib.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"compilerOptions": {
44
"outDir": "../../dist/out-tsc",
55
"declaration": true,
6-
"types": ["node", "vite/client"]
6+
"types": ["node", "vite/client"],
7+
"noEmit": false
78
},
89
"include": ["src/**/*.ts", "src/**/*.tsx"],
910
"exclude": ["vite.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"]

libs/app-canvas/tsconfig.spec.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
"vite/client",
99
"node",
1010
"vitest"
11-
]
11+
],
12+
"declaration": true,
13+
"noEmit": false
1214
},
1315
"include": [
1416
"vite.config.ts",

libs/dom-components/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
"noPropertyAccessFromIndexSignature": true,
99
"noImplicitReturns": true,
1010
"noFallthroughCasesInSwitch": true,
11-
"types": ["vitest"]
11+
"types": ["vitest"],
12+
"composite": true,
13+
"declaration": true
1214
},
1315
"files": [],
1416
"include": [],

libs/media-library/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
"noImplicitOverride": true,
88
"noPropertyAccessFromIndexSignature": true,
99
"noImplicitReturns": true,
10-
"noFallthroughCasesInSwitch": true
10+
"noFallthroughCasesInSwitch": true,
11+
"composite": true,
12+
"declaration": true
1113
},
1214
"files": [],
1315
"include": [],

libs/visual-programming-system/tsconfig.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@
1111
"types": ["vitest"],
1212
"jsx": "react",
1313
"jsxFactory": "createJSXElement",
14-
"jsxFragmentFactory": "Fragment"
14+
"jsxFragmentFactory": "Fragment",
15+
"composite": true,
16+
"declaration": true
1517
},
1618
"files": [],
17-
"include": [],
19+
"include": ["src/**/*.ts", "src/**/*.tsx"],
1820
"references": [
1921
{
2022
"path": "./tsconfig.lib.json"

libs/web-flow-executor/tsconfig.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,20 @@
1111
"jsx": "react",
1212
"jsxFactory": "createJSXElement",
1313
"jsxFragmentFactory": "Fragment",
14+
"composite": true,
15+
"declaration": true
1416
},
1517
"files": [],
16-
"include": [],
18+
"include": ["src/**/*.ts", "src/**/*.tsx"],
1719
"references": [
1820
{
1921
"path": "./tsconfig.lib.json"
2022
},
2123
{
2224
"path": "./tsconfig.spec.json"
25+
},
26+
{
27+
"path": "../visual-programming-system"
2328
}
2429
]
2530
}

0 commit comments

Comments
 (0)