refactor: decentralize turbo task config — move compile/dist to workspace turbo.json
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.
This commit is contained in:
28
turbo.json
28
turbo.json
@@ -6,34 +6,6 @@
|
||||
"build": {
|
||||
"dependsOn": ["^build"]
|
||||
},
|
||||
"compile": {
|
||||
"dependsOn": ["build"]
|
||||
},
|
||||
"compile:linux": {
|
||||
"dependsOn": ["build"]
|
||||
},
|
||||
"compile:mac": {
|
||||
"dependsOn": ["build"]
|
||||
},
|
||||
"compile:win": {
|
||||
"dependsOn": ["build"]
|
||||
},
|
||||
"dist": {},
|
||||
"dist:linux": {},
|
||||
"dist:mac": {},
|
||||
"dist:win": {},
|
||||
"@furtherverse/desktop#dist": {
|
||||
"dependsOn": ["@furtherverse/server#compile"]
|
||||
},
|
||||
"@furtherverse/desktop#dist:linux": {
|
||||
"dependsOn": ["@furtherverse/server#compile:linux"]
|
||||
},
|
||||
"@furtherverse/desktop#dist:mac": {
|
||||
"dependsOn": ["@furtherverse/server#compile:mac"]
|
||||
},
|
||||
"@furtherverse/desktop#dist:win": {
|
||||
"dependsOn": ["@furtherverse/server#compile:win"]
|
||||
},
|
||||
"dev": {
|
||||
"cache": false,
|
||||
"persistent": true
|
||||
|
||||
Reference in New Issue
Block a user