Sink package-specific tasks from root turbo.json into workspace configs: - compile/compile:* → apps/server/turbo.json (only server compiles binaries) - dist/dist:* → apps/desktop/turbo.json (only desktop distributes) - Cross-package deps (desktop→server#compile) owned by desktop config - Desktop dist scripts no longer bypass Turbo by calling bun run build Root turbo.json reduced from 16 to 4 generic lifecycle tasks.
28 lines
509 B
JSON
28 lines
509 B
JSON
{
|
|
"$schema": "./node_modules/turbo/schema.json",
|
|
"dangerouslyDisablePackageManagerCheck": true,
|
|
"globalDependencies": ["bun.lock"],
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": ["^build"]
|
|
},
|
|
"dev": {
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"fix": {
|
|
"cache": false
|
|
},
|
|
"typecheck": {
|
|
"inputs": [
|
|
"package.json",
|
|
"tsconfig.json",
|
|
"tsconfig.*.json",
|
|
"**/*.{ts,tsx,d.ts}"
|
|
],
|
|
"outputs": []
|
|
}
|
|
},
|
|
"ui": "tui"
|
|
}
|