mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 20:21:09 +02:00
🐛 fix(build): remove recursive build scripts from parent packages
Parent workspace packages (apps/*/package.json, games/*/package.json) had build scripts that called 'turbo run build' or 'pnpm run --recursive build', creating infinite recursion when root turbo orchestrates builds. When root turbo runs 'build', it finds packages with build scripts and executes them. If those scripts also call 'turbo run build', it spawns another turbo process → infinite loop. Changes: - Removed 'build' script from 7 parent packages (calendar, contacts, zitare, picture, presi, mana-games, voxel-lava) - Also removed redundant 'clean', 'lint', 'type-check' scripts where they had recursive calls - Root turbo.json already handles orchestration of these tasks This follows the guideline in CLAUDE.md: > Parent workspace packages must NEVER have scripts that call turbo run > for tasks that turbo orchestrates from the root. Fixes CI build timeout (was running for 10+ minutes with infinite task spawning).
This commit is contained in:
parent
88c10e4ef7
commit
e32e4b1b3a
8 changed files with 1394 additions and 15 deletions
|
|
@ -4,7 +4,6 @@
|
|||
"private": true,
|
||||
"description": "AI-powered browser games platform",
|
||||
"scripts": {
|
||||
"dev": "turbo run dev",
|
||||
"build": "turbo run build"
|
||||
"dev": "turbo run dev"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,9 +4,7 @@
|
|||
"private": true,
|
||||
"description": "3D Voxel Lava Game - Build and play voxel levels",
|
||||
"scripts": {
|
||||
"dev": "turbo run dev",
|
||||
"build": "turbo run build",
|
||||
"clean": "turbo run clean"
|
||||
"dev": "turbo run dev"
|
||||
},
|
||||
"devDependencies": {
|
||||
"turbo": "^2.5.4"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue