Skip to content

Commit eb8ad5d

Browse files
committed
fix: specify the sub-project to type-check
Fixes #267 It's because I moved the `compilerOptions` from `tsconfig.json` to `tsconfig.app.json` in the 2023-05-05 (v3.6.2) release, but forgot to change the `type-check` script. This isn't comprehensive because it doesn't check all the sub-projects, but at least it's the same scope as previous versions. Ideally I hope #274 can work reliably. But now I'm not sure. So let's first fix this bug.
1 parent e463247 commit eb8ad5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: template/config/typescript/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"scripts": {
33
"build": "run-p type-check build-only",
44
"build-only": "vite build",
5-
"type-check": "vue-tsc --noEmit"
5+
"type-check": "vue-tsc --noEmit -p tsconfig.app.json --composite false"
66
},
77
"devDependencies": {
88
"@types/node": "^18.16.3",

0 commit comments

Comments
 (0)