chore: 统一升级 vite 依赖,增加预发布构建指令
This commit is contained in:
28
turbo.json
28
turbo.json
@@ -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": [
|
||||
|
||||
Reference in New Issue
Block a user