[cli] move builders to peer dependencies#14763
Merged
Conversation
🦋 Changeset detectedLatest commit: f68f373 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
📦 CLI Tarball ReadyThe Vercel CLI tarball for this PR is now available! Quick TestYou can test this PR's CLI directly by running: npx https://vercel-1jbv71cyz.vercel.sh/tarballs/vercel.tgz --helpUse in vercel.jsonTo use this CLI version in your project builds, add to your {
"build": {
"env": {
"VERCEL_CLI_VERSION": "vercel@https://vercel-1jbv71cyz.vercel.sh/tarballs/vercel.tgz"
}
}
} |
Contributor
🧪 Unit Test StrategyComparing: Strategy: Code changed outside of a package - running all unit tests Affected packages - 15 (38%)
Unaffected packages - 25 (63%)
Results
This comment is automatically generated based on the affected testing strategy |
LukeSheard
reviewed
Feb 10, 2026
tknickman
reviewed
Feb 10, 2026
jeffsee55
approved these changes
Feb 10, 2026
tknickman
approved these changes
Feb 10, 2026
…s resolution Co-authored-by: Cursor <cursoragent@cursor.com>
Merged
mehulkar
added a commit
that referenced
this pull request
Feb 12, 2026
mehulkar
added a commit
that referenced
this pull request
Feb 12, 2026
- Moves builders to peerDependencies and tells pnpm that they're optional dependencies. With this config, `pnpm` will not bundle them into the publishd `vercel` CLI, but they will be in the manifest. - Add a feature to the `resolveBuilders` function that reads the peerDependencies section of package.json at runtime and installs that correct version of the builder. It stores this builder in a local cache (`.vercel/builders`) so it only has to get them from the registry once. --------- Co-authored-by: Cursor <cursoragent@cursor.com>
mehulkar
added a commit
that referenced
this pull request
Feb 12, 2026
Merged in #14763, reverted in #15022. Re-submitting and running e2e tests now via label. e2e tests are coming back by default to PRs in #15008 - Moves builders to peerDependencies and tells pnpm that they're optional dependencies. With this config, `pnpm` will not bundle them into the publishd `vercel` CLI, but they will be in the manifest. - Add a feature to the `resolveBuilders` function that reads the peerDependencies section of package.json at runtime and installs that correct version of the builder. It stores this builder in a local cache (`.vercel/builders`) so it only has to get them from the registry once. --------- Co-authored-by: Cursor <cursoragent@cursor.com>
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.
pnpmwill not bundle them into the publishdvercelCLI, but they will be in the manifest.resolveBuildersfunction that reads the peerDependencies section of package.json at runtime and installs that correct version of the builder. It stores this builder in a local cache (.vercel/builders) so it only has to get them from the registry once.