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.
26 lines
620 B
JSON
26 lines
620 B
JSON
{
|
|
"$schema": "../../node_modules/turbo/schema.json",
|
|
"extends": ["//"],
|
|
"tasks": {
|
|
"build": {
|
|
"outputs": ["out/**"]
|
|
},
|
|
"dist": {
|
|
"dependsOn": ["build", "@furtherverse/server#compile"],
|
|
"outputs": ["dist/**"]
|
|
},
|
|
"dist:linux": {
|
|
"dependsOn": ["build", "@furtherverse/server#compile:linux"],
|
|
"outputs": ["dist/**"]
|
|
},
|
|
"dist:mac": {
|
|
"dependsOn": ["build", "@furtherverse/server#compile:mac"],
|
|
"outputs": ["dist/**"]
|
|
},
|
|
"dist:win": {
|
|
"dependsOn": ["build", "@furtherverse/server#compile:win"],
|
|
"outputs": ["dist/**"]
|
|
}
|
|
}
|
|
}
|