2026-07-03 09:22:03 +08:00
|
|
|
{
|
|
|
|
|
"$schema": "https://turbo.build/schema.json",
|
|
|
|
|
"globalDependencies": ["**/.env.*local"],
|
2026-07-03 15:51:03 +08:00
|
|
|
"globalEnv": ["NODE_ENV", "CI", "VITE_API_BASE_URL", "CHROMATIC_TOKEN"],
|
2026-07-03 09:22:03 +08:00
|
|
|
"tasks": {
|
|
|
|
|
"build": {
|
2026-07-03 15:51:03 +08:00
|
|
|
"dependsOn": ["^build", "codegen:check"],
|
|
|
|
|
"outputs": ["dist/**", "!.vite/**"]
|
2026-07-03 09:22:03 +08:00
|
|
|
},
|
|
|
|
|
"lint": {
|
|
|
|
|
"dependsOn": ["^build"],
|
|
|
|
|
"outputs": []
|
|
|
|
|
},
|
|
|
|
|
"typecheck": {
|
2026-07-03 15:51:03 +08:00
|
|
|
"dependsOn": ["^build", "codegen:check"],
|
2026-07-03 09:22:03 +08:00
|
|
|
"outputs": []
|
|
|
|
|
},
|
|
|
|
|
"test": {
|
|
|
|
|
"dependsOn": ["^build"],
|
|
|
|
|
"outputs": ["coverage/**"]
|
|
|
|
|
},
|
|
|
|
|
"test:e2e": {
|
2026-07-03 15:51:03 +08:00
|
|
|
"dependsOn": ["build"],
|
2026-07-03 09:22:03 +08:00
|
|
|
"outputs": ["playwright-report/**", "test-results/**"]
|
|
|
|
|
},
|
2026-07-03 15:51:03 +08:00
|
|
|
"codegen": {
|
|
|
|
|
"cache": false,
|
|
|
|
|
"outputs": ["src/types/api-generated.d.ts", "src/schemas/api-generated.ts"]
|
|
|
|
|
},
|
|
|
|
|
"codegen:check": {
|
|
|
|
|
"outputs": []
|
|
|
|
|
},
|
|
|
|
|
"chromatic": {
|
|
|
|
|
"cache": false,
|
|
|
|
|
"dependsOn": ["build"]
|
|
|
|
|
},
|
2026-07-03 09:22:03 +08:00
|
|
|
"dev": {
|
|
|
|
|
"cache": false,
|
|
|
|
|
"persistent": true
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-07-03 15:51:03 +08:00
|
|
|
}
|