Skip to content

Commit a81eabc

Browse files
committed
tsconfig.app.json
1 parent 71363b6 commit a81eabc

4 files changed

Lines changed: 12 additions & 9 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -613,13 +613,13 @@
613613
"build:web:esbuild": "node esbuild.mjs --mode web",
614614
"build:web:tsc": "tsc --noEmit --project tsconfig.web.json",
615615
"build:desktop:esbuild": "node esbuild.mjs --mode desktop",
616-
"build:desktop:tsc": "tsc --noEmit --project tsconfig.json",
616+
"build:desktop:tsc": "tsc --noEmit --project tsconfig.app.json",
617617
"watch:web": "npm-run-all -p watch:web:*",
618618
"watch:desktop": "npm-run-all -p watch:desktop:*",
619619
"watch:web:esbuild": "node esbuild.mjs --watch --mode web",
620620
"watch:web:tsc": "tsc --noEmit --watch --project tsconfig.web.json",
621621
"watch:desktop:esbuild": "node esbuild.mjs --watch --mode desktop",
622-
"watch:desktop:tsc": "tsc --noEmit --watch --project tsconfig.json"
622+
"watch:desktop:tsc": "tsc --noEmit --watch --project tsconfig.app.json"
623623
},
624624
"devDependencies": {
625625
"@eslint/js": "^9.13.0",

tsconfig.app.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"lib": ["ES2024"]
5+
},
6+
"include": ["src/desktop/**/*"],
7+
"exclude": ["src/web"]
8+
}

tsconfig.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@
33
"module": "commonjs",
44
"esModuleInterop": true,
55
"target": "es2020",
6-
"lib": ["es2020"],
76
"outDir": "out",
87
"sourceMap": true,
98
"strict": true,
10-
"rootDir": "src"
119
},
12-
"exclude": ["node_modules", ".vscode-test", "playground", "src/web", "docs", "project-files"]
10+
"exclude": ["node_modules", ".vscode-test", "playground", "docs", "project-files"]
1311
}

tsconfig.web.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
"src/web/**/*"
1414
],
1515
"exclude": [
16-
"node_modules",
17-
"project-files",
18-
"out",
19-
"**/dist"
16+
"src/desktop/**/*",
2017
]
2118
}

0 commit comments

Comments
 (0)