mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 23:01:09 +02:00
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).
28 lines
803 B
JSON
28 lines
803 B
JSON
{
|
|
"name": "picture",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "pnpm run --filter=@picture/* --parallel dev",
|
|
"dev:mobile": "pnpm --filter @picture/mobile dev",
|
|
"dev:web": "pnpm --filter @picture/web dev",
|
|
"dev:landing": "pnpm --filter @picture/landing dev",
|
|
"build:mobile": "pnpm --filter @picture/mobile build:prod",
|
|
"build:web": "pnpm --filter @picture/web build",
|
|
"build:landing": "pnpm --filter @picture/landing build",
|
|
"clean": "pnpm run --recursive clean && rm -rf node_modules",
|
|
"android": "expo run:android",
|
|
"ios": "expo run:ios"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.0.0",
|
|
"typescript": "^5.8.3",
|
|
"prettier": "^3.2.5",
|
|
"eslint": "^9.25.1"
|
|
},
|
|
"dependencies": {
|
|
"expo": "~54.0.12",
|
|
"react": "19.1.0",
|
|
"react-native": "0.81.4"
|
|
}
|
|
}
|