fix: 修复干净环境 lint 与类型检查依赖构建

This commit is contained in:
que01 committed 2026-10-21 12:10:42 +08:00
1 parent 82381a5e93
commit e194e605f9
2 files changed
+3 -2

No files matched your search

+1
View File
@@ -4,6 +4,7 @@
"type": "module",
"scripts": {
"build": "tsc -p tsconfig.json",
"postinstall": "prisma generate",
"dev": "pnpm build && node --env-file=.env --watch dist/main.js",
"lint": "eslint .",
"typecheck": "tsc -p tsconfig.json --noEmit",
+2 -2
View File
@@ -3,8 +3,8 @@
"tasks": {
"build": { "dependsOn": ["^build"], "outputs": ["dist/**", ".next/**"] },
"dev": { "cache": false, "persistent": true },
"lint": { "dependsOn": ["^lint"], "outputs": [] },
"typecheck": { "dependsOn": ["^typecheck"], "outputs": [] },
"lint": { "dependsOn": ["^build"], "outputs": [] },
"typecheck": { "dependsOn": ["^build"], "outputs": [] },
"clean": { "cache": false }
}
}