mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-22 08:06:42 +02:00
fix(ci): resolve turbo recursive build loop and filter issues
**Problem:** - CI build was failing with "Cannot find module manifest-full.js" - Root cause: Infinite recursive turbo build loop - chat/package.json had "build": "turbo run build" script - When CI called `pnpm run build --filter=chat...`, it triggered recursion: - CI → turbo → chat:build → turbo → chat:build → turbo (infinite) - Additionally, `--filter=manacore...` failed with "No package found" **Solution:** 1. Removed "build" script from apps/chat/package.json to prevent recursion 2. Changed CI filters from `--filter=PROJECT...` to `--filter='./apps/PROJECT/**'` - Directory-based filters work regardless of package.json name - Prevents recursive turbo calls from wrapper packages 3. Applied fix to all CI jobs: build, lint, type-check, test **Impact:** - SvelteKit builds now complete successfully - manifest-full.js is generated correctly - No more infinite turbo loops - Builds work for both chat and manacore projects 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
e6f7a4ae4a
commit
0cea08f3bd
3 changed files with 1276 additions and 5 deletions
|
|
@ -5,7 +5,6 @@
|
|||
"description": "Chat project - AI chat application with mobile, web and landing",
|
||||
"scripts": {
|
||||
"dev": "turbo run dev",
|
||||
"build": "turbo run build",
|
||||
"lint": "turbo run lint",
|
||||
"type-check": "turbo run type-check"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue