fenghuo/turbo.json

67 lines
1.1 KiB
JSON
Raw Normal View History

2025-02-18 15:35:03 +08:00
{
"$schema": "https://turbo.build/schema.json",
2025-05-26 19:56:34 +08:00
"globalDependencies": [
"**/.env.*local"
],
2025-02-18 15:35:03 +08:00
"tasks": {
2025-05-26 19:56:34 +08:00
"dev": {
"dependsOn": ["^db:generate"],
"cache": false,
"persistent": true
},
2025-02-18 15:35:03 +08:00
"build": {
2025-05-26 19:56:34 +08:00
"dependsOn": ["^build", "^db:generate"],
"inputs": [
"$TURBO_DEFAULT$",
".env*"
],
"outputs": [
"dist/**",
".next/**",
"!.next/cache/**"
]
2025-02-18 15:35:03 +08:00
},
"lint": {
2025-05-26 19:56:34 +08:00
"dependsOn": [
"^lint"
]
2025-02-18 15:35:03 +08:00
},
"check-types": {
2025-05-26 19:56:34 +08:00
"dependsOn": [
"^check-types"
]
2025-02-18 15:35:03 +08:00
},
2025-05-26 19:56:34 +08:00
"db:generate": {
"cache": false
},
"db:migrate": {
2025-02-18 15:35:03 +08:00
"cache": false,
2025-05-26 19:56:34 +08:00
"persistent": true
},
"db:deploy": {
"cache": false
},
"db:push": {
"cache": false
},
"db:seed": {
"cache": false
},
"generate": {
"dependsOn": [
"^generate"
],
"cache": false
},
"test": {
"outputs": [
"coverage/**"
]
},
"test:e2e": {
"outputs": [
"coverage-e2e/**"
]
2025-02-18 15:35:03 +08:00
}
}
2025-05-26 19:56:34 +08:00
}