mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-19 19:21:25 +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). |
||
|---|---|---|
| .. | ||
| apps | ||
| .gitignore | ||
| CLAUDE.md | ||
| DATABASE.md | ||
| package.json | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| turbo.json | ||
sv
Everything you need to build a Svelte project, powered by sv.
Creating a project
If you're seeing this, you've probably already done this step. Congrats!
# create a new project in the current directory
npx sv create
# create a new project in my-app
npx sv create my-app
Developing
Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
Building
To create a production version of your app:
npm run build
You can preview the production build with npm run preview.
To deploy your app, you may need to install an adapter for your target environment.