Skip to content

fix: update all dependencies to latest and fix Vercel build#109

Open
lucaferri-dev wants to merge 1 commit intotscircuit:mainfrom
lucaferri-dev:update-deps-fix-vercel
Open

fix: update all dependencies to latest and fix Vercel build#109
lucaferri-dev wants to merge 1 commit intotscircuit:mainfrom
lucaferri-dev:update-deps-fix-vercel

Conversation

@lucaferri-dev
Copy link

Summary

  • Updated all dependencies to latest versions (tscircuit, circuit-json, vite 6→7, biome 1.x→2.x, three, etc.)
  • Migrated biome.json config to v2 format (via biome migrate)
  • Disabled sourcemaps in production build to prevent OOM during Vercel deployment
  • Removed bun.lock (bunfig.toml already has save = false)
  • Added @react-hook/resize-observer as missing dependency (required by graphics-debug)

What was causing the Vercel build failure

The production build with sourcemaps enabled generates ~30MB of source map data, causing Node.js to hit its heap limit. Disabling sourcemaps brings memory usage well within Vercel's limits.

Test plan

  • bun run build succeeds locally without OOM
  • biome format works with migrated v2 config
  • Vercel preview deployment builds successfully

Closes #79

🤖 Generated with Claude Code

- Updated all dependencies to latest versions (tscircuit 0.0.1012→0.0.1455,
  circuit-json 0.0.326→0.0.392, vite 6→7, biome 1.x→2.x, three 0.165→0.183, etc.)
- Migrated biome.json config to v2 format
- Disabled sourcemaps in production build to prevent OOM on Vercel
- Removed bun.lock (bunfig.toml already has lockfile saving disabled)
- Added @react-hook/resize-observer as missing dependency

Closes tscircuit#79

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Mar 8, 2026

@lucaferri-dev is attempting to deploy a commit to the tscircuit Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update dependencies (runframe, circuit-json etc.) to latest version and confirm vercel deployment works

1 participant