🔧 类型检查改用 jsconfig 并锁定 TypeScript 5.9,恢复 vue-tsc 可用

This commit is contained in:
2026-10-29 09:45:31 +08:00
parent 415e1fd58d
commit 72471f48de
2 changed files with 96 additions and 297 deletions
+2 -2
View File
@@ -8,7 +8,7 @@
"build:prod": "vite build --mode production && node scripts/zip-dist.mjs",
"zip:dist": "node scripts/zip-dist.mjs",
"serve": "vite preview --host",
"typecheck": "vue-tsc --noEmit"
"typecheck": "vue-tsc -p jsconfig.json --noEmit"
},
"dependencies": {
"@element-plus/icons-vue": "^2.3.1",
@@ -49,7 +49,7 @@
"prettier": "^2.8.7",
"sass": "^1.85.1",
"terser": "^5.31.1",
"typescript": "^7.0.2",
"typescript": "5.9.3",
"unplugin-auto-import": "^0.11.2",
"vite": "^5.4.19",
"vite-plugin-compression": "^0.5.1",