Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Adds vercel.json with bunVersion: 1.x to switch serverless functions from Node.js to Bun runtime. This is currently in public beta. Note: Sentry instrumentation packages (import-in-the-middle, require-in-the-middle) may need testing under Bun. Co-Authored-By: Claude <noreply@anthropic.com>
- Prepend `bun --bun` to dev/build/start scripts so Next.js runs under the Bun runtime locally - Remove 4 pnpm overrides that are now no-ops (dependencies already resolve to the constrained versions upstream) Co-Authored-By: Claude <noreply@anthropic.com>
Replace pnpm-lock.yaml with bun.lock so Vercel uses bun for both package installation and runtime. Co-Authored-By: Claude <noreply@anthropic.com>
cb87606 to
9cadf71
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
vercel.jsonwithbunVersion: 1.xto run Vercel Functions under Bun (blog post)dev/build/startscripts to usebun --bun nextso Next.js runs under Bun locally (docs)pnpm.overridesthat are no longer needed (all dependencies already resolve to the constrained versions upstream)Removed overrides (all no-ops)
mdast-util-to-hast ^13.2.1@modelcontextprotocol/sdk ^1.24.0js-yaml ^4.1.1body-parser ^2.2.1Things to verify
bun --bun next devworks locally (requires bun installed)import-in-the-middle,require-in-the-middleare Node.js module hooks)Rollback
vercel.jsonto revert Vercel Functions to Node.jsbun --bunprefix from scripts to revert local dev to Node.js🤖 Generated with Claude Code