]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
perf: remove `--force` from the `type-check` script
authorHaoqun Jiang <haoqunjiang@gmail.com>
Sat, 9 Nov 2024 07:11:42 +0000 (15:11 +0800)
committerCédric Exbrayat <cexbrayat@users.noreply.github.com>
Sat, 9 Nov 2024 08:07:56 +0000 (09:07 +0100)
It was introduced to work around a bug in `vue-tsc` that has been fixed
in https://github.com/vuejs/language-tools/pull/3218

template/config/typescript/package.json

index e1df4e56470e67f1bc041ea770da5095db9cd9e0..a063c2323a672a33158cc66a449a49ebc66d7f45 100644 (file)
@@ -2,7 +2,7 @@
   "scripts": {
     "build": "run-p type-check \"build-only {@}\" --",
     "build-only": "vite build",
-    "type-check": "vue-tsc --build --force"
+    "type-check": "vue-tsc --build"
   },
   "devDependencies": {
     "@types/node": "^22.9.0",