chore: 统一升级 vite 依赖,增加预发布构建指令

This commit is contained in:
wangxuefeng
2025-03-05 14:16:34 +08:00
parent 1d7b28160a
commit 3dabfbd3be
8 changed files with 99 additions and 181 deletions

View File

@@ -24,6 +24,23 @@
"*.d.ts"
]
},
"build:staging": {
"dependsOn": [
"^build:staging"
],
"inputs": [
"$TURBO_DEFAULT$",
".env*",
"!README.md"
],
"outputs": [
".next/**",
"!.next/cache/**",
"dist/**",
"types/**",
"*.d.ts"
]
},
"lint": {
"dependsOn": [
"^lint"
@@ -52,17 +69,6 @@
],
"cache": false
},
"preview": {
"cache": false,
"persistent": true,
"dependsOn": [
"^build"
],
"inputs": [
"$TURBO_DEFAULT$",
".env*"
]
},
"deploy": {
"cache": false,
"dependsOn": [