Skip to content

Commit

Permalink
fix: specify the sub-project to type-check
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sodatea committed May 12, 2023
1 parent e463247 commit eb8ad5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/config/typescript/package.json
Expand Up @@ -2,7 +2,7 @@
"scripts": {
"build": "run-p type-check build-only",
"build-only": "vite build",
"type-check": "vue-tsc --noEmit"
"type-check": "vue-tsc --noEmit -p tsconfig.app.json --composite false"
},
"devDependencies": {
"@types/node": "^18.16.3",
Expand Down

0 comments on commit eb8ad5d

Please sign in to comment.