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

template/config/typescript/package.json

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy