fix(web): tame Next.js 16 dev server CPU runaway

- Disable typed routes (default-on in Next 16, loops infinitely
  with transpilePackages workspace setup, holding 500%+ CPU at idle)
- Pin turbopack.root to monorepo root so a stray ~/pnpm-lock.yaml
  cannot misinfer the workspace boundary
- Commit pnpm-lock.yaml; ignore .claude/ local plugin state

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
yuanzonghao
2026-05-10 10:12:54 +08:00
parent cbd95bbea2
commit ad4b09c744
3 changed files with 1551 additions and 0 deletions
+1
View File
@@ -12,6 +12,7 @@ out
.vercel
.turbo
.claude
.DS_Store
*.log