Skip to content

Commit eb0fcda

Browse files
committed
Use vue-tsc --build where possible
1 parent 2fff6d8 commit eb0fcda

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/template/base/config/packages/@projectName@/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,7 @@
6969
"build-dev": "vite build --mode development",
7070
"build-neutral": "vite build --mode neutral",
7171
"build-prod": "vite build --mode production",
72-
"type-check": "run-p -c type-check:*",
73-
"type-check:code": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
74-
"type-check:config": "vue-tsc --noEmit -p tsconfig.node.json --composite false",
72+
"type-check": "vue-tsc --build",
7573
"preinstall": "node ../../scripts/preinstall.js"
7674
}
7775
}

src/template/playground/config/packages/playground/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
"private": true,
33
"scripts": {
44
"dev": "vite --port 5051",
5-
"type-check": "run-p -c type-check:*",
6-
"type-check:code": "vue-tsc --noEmit -p tsconfig.app.json --composite false",
7-
"type-check:config": "vue-tsc --noEmit -p tsconfig.node.json --composite false",
5+
"type-check": "vue-tsc --build",
86
"build-only": "vite build",
97
"build": "run-p -c type-check \"build-only {@}\" --",
108
"preview": "vite preview --port 4051",

0 commit comments

Comments
 (0)