app-template/turbo.json

58 lines
1.5 KiB
JSON

{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": ["tsconfig.base.json", "biome.json"],
"tasks": {
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**", "*.tsbuildinfo"],
"inputs": [
"src/**",
"scripts/**",
"package.json",
"tsconfig*.json",
"vite.config.*",
"astro.config.*"
],
"env": ["PUBLIC_*", "NODE_ENV", "ASTRO_*"]
},
"dev": {
"cache": false,
"persistent": true,
"dependsOn": ["^build"]
},
"typecheck": {
"dependsOn": ["^build"],
"outputs": ["*.tsbuildinfo"]
},
"lint": {
"outputs": []
},
"test": {
"dependsOn": ["^build"],
"outputs": []
},
"db:generate": {
"cache": false,
"dependsOn": ["^build"]
},
"db:push": {
"cache": false,
"dependsOn": ["^build"]
},
"db:studio": {
"cache": false,
"persistent": true,
"dependsOn": ["^build"]
},
"storybook": {
"cache": false,
"persistent": true,
"dependsOn": ["^build"]
},
"build-storybook": {
"dependsOn": ["^build"],
"outputs": ["storybook-static/**"]
}
}
}