Repository navigation
[build-utils] support manage-package-manager-versions by avoiding engines error - #13083
Merged
onsclom merged 2 commits intoFeb 20, 2025
Merged
Conversation
onsclom
requested review from
EndangeredMassa,
TooTallNate,
erikareads,
jeffsee55 and
trek
as code owners
February 20, 2025 20:59
trek
previously approved these changes
Feb 20, 2025
🦋 Changeset detectedLatest commit: 4b74d2f The changes in this PR will be included in the next version bump. This PR includes changesets to release 6 packages
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 |
EndangeredMassa
approved these changes
Feb 20, 2025
|
|
||
| if (cliType === 'pnpm' && packageJsonEngines?.pnpm) { | ||
| const usingDetected = | ||
| detectedPackageManger?.pnpmVersionRange !== '10.x' || |
Contributor
There was a problem hiding this comment.
suggestion (non-blocking): Can we add a comment about why 10.x is special here?
onsclom
added this pull request to the merge queue
Feb 20, 2025
onsclom
deleted the
austinmerrick/support-pnpm-10-package-manager-field
branch
February 20, 2025 23:18
Merged
onsclom
pushed a commit
that referenced
this pull request
Feb 21, 2025
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @vercel/[email protected] ### Minor Changes - Detect v9 pnpm lock files as pnpm 10 for new projects ([#13072](#13072)) ### Patch Changes - Improve build log messages surrounding pnpm 10 ([#13088](#13088)) - [build-utils] extract checkIfAlreadyInstalled helper to clarify intent ([#13060](#13060)) - Allow pnpm 10 to use package.json#packageManager without an engines error ([#13083](#13083)) ## [email protected] ### Minor Changes - Detect v9 pnpm lock files as pnpm 10 for new projects ([#13072](#13072)) ### Patch Changes - [cli] bump `@vercel/fun` to v1.1.5 ([#13070](#13070)) - Updated dependencies \[[`adb1f80db1337f10c6310e3d05bbabb7bac3f05d`](adb1f80), [`00c622d4497d37932d17571854c19bd2340d5c36`](00c622d), [`ef75bcc0ef2400f4f704f500b09a0f20e1f0d0a0`](ef75bcc), [`1b5c53642abca43ce6223f1f58d1586ee2fd87b1`](1b5c536)]: - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] ## @vercel/[email protected] ### Minor Changes - Detect v9 pnpm lock files as pnpm 10 for new projects ([#13072](#13072)) ### Patch Changes - fix(cli): catch json parse ([#13071](#13071)) - Updated dependencies \[[`adb1f80db1337f10c6310e3d05bbabb7bac3f05d`](adb1f80), [`00c622d4497d37932d17571854c19bd2340d5c36`](00c622d), [`ef75bcc0ef2400f4f704f500b09a0f20e1f0d0a0`](ef75bcc), [`1b5c53642abca43ce6223f1f58d1586ee2fd87b1`](1b5c536)]: - @vercel/[email protected] ## @vercel/[email protected] ### Minor Changes - Detect v9 pnpm lock files as pnpm 10 for new projects ([#13072](#13072)) ## @vercel/[email protected] ### Minor Changes - Detect v9 pnpm lock files as pnpm 10 for new projects ([#13072](#13072)) ## @vercel/[email protected] ### Minor Changes - Detect v9 pnpm lock files as pnpm 10 for new projects ([#13072](#13072)) ## @vercel/[email protected] ### Minor Changes - Detect v9 pnpm lock files as pnpm 10 for new projects ([#13072](#13072)) ## @vercel/[email protected] ### Minor Changes - Detect v9 pnpm lock files as pnpm 10 for new projects ([#13072](#13072)) ### Patch Changes - Updated dependencies \[]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`adb1f80db1337f10c6310e3d05bbabb7bac3f05d`](adb1f80), [`00c622d4497d37932d17571854c19bd2340d5c36`](00c622d), [`ef75bcc0ef2400f4f704f500b09a0f20e1f0d0a0`](ef75bcc), [`1b5c53642abca43ce6223f1f58d1586ee2fd87b1`](1b5c536)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`adb1f80db1337f10c6310e3d05bbabb7bac3f05d`](adb1f80), [`00c622d4497d37932d17571854c19bd2340d5c36`](00c622d), [`ef75bcc0ef2400f4f704f500b09a0f20e1f0d0a0`](ef75bcc), [`1b5c53642abca43ce6223f1f58d1586ee2fd87b1`](1b5c536)]: - @vercel/[email protected] Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
QuietCraftsmanship
pushed a commit
to QuietCraftsmanship/Vercel
that referenced
this pull request
Jul 6, 2025
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @vercel/[email protected] ### Minor Changes - Detect v9 pnpm lock files as pnpm 10 for new projects ([#13072](vercel/vercel#13072)) ### Patch Changes - Improve build log messages surrounding pnpm 10 ([#13088](vercel/vercel#13088)) - [build-utils] extract checkIfAlreadyInstalled helper to clarify intent ([#13060](vercel/vercel#13060)) - Allow pnpm 10 to use package.json#packageManager without an engines error ([#13083](vercel/vercel#13083)) ## [email protected] ### Minor Changes - Detect v9 pnpm lock files as pnpm 10 for new projects ([#13072](vercel/vercel#13072)) ### Patch Changes - [cli] bump `@vercel/fun` to v1.1.5 ([#13070](vercel/vercel#13070)) - Updated dependencies \[[`2692de22d771704a7a48e6f812836d2f5cc19d58`](vercel/vercel@2692de2), [`bf5662d7029a0c7e032da87db6a005fe3cbaa7a5`](vercel/vercel@bf5662d), [`fef47933a5b215bc25fc2833960a0abc7e5acc96`](vercel/vercel@fef4793), [`95d9553a726a068457d05e4d59fd7d045d0ba5f4`](vercel/vercel@95d9553)]: - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] ## @vercel/[email protected] ### Minor Changes - Detect v9 pnpm lock files as pnpm 10 for new projects ([#13072](vercel/vercel#13072)) ### Patch Changes - fix(cli): catch json parse ([#13071](vercel/vercel#13071)) - Updated dependencies \[[`2692de22d771704a7a48e6f812836d2f5cc19d58`](vercel/vercel@2692de2), [`bf5662d7029a0c7e032da87db6a005fe3cbaa7a5`](vercel/vercel@bf5662d), [`fef47933a5b215bc25fc2833960a0abc7e5acc96`](vercel/vercel@fef4793), [`95d9553a726a068457d05e4d59fd7d045d0ba5f4`](vercel/vercel@95d9553)]: - @vercel/[email protected] ## @vercel/[email protected] ### Minor Changes - Detect v9 pnpm lock files as pnpm 10 for new projects ([#13072](vercel/vercel#13072)) ## @vercel/[email protected] ### Minor Changes - Detect v9 pnpm lock files as pnpm 10 for new projects ([#13072](vercel/vercel#13072)) ## @vercel/[email protected] ### Minor Changes - Detect v9 pnpm lock files as pnpm 10 for new projects ([#13072](vercel/vercel#13072)) ## @vercel/[email protected] ### Minor Changes - Detect v9 pnpm lock files as pnpm 10 for new projects ([#13072](vercel/vercel#13072)) ## @vercel/[email protected] ### Minor Changes - Detect v9 pnpm lock files as pnpm 10 for new projects ([#13072](vercel/vercel#13072)) ### Patch Changes - Updated dependencies \[]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`2692de22d771704a7a48e6f812836d2f5cc19d58`](vercel/vercel@2692de2), [`bf5662d7029a0c7e032da87db6a005fe3cbaa7a5`](vercel/vercel@bf5662d), [`fef47933a5b215bc25fc2833960a0abc7e5acc96`](vercel/vercel@fef4793), [`95d9553a726a068457d05e4d59fd7d045d0ba5f4`](vercel/vercel@95d9553)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`2692de22d771704a7a48e6f812836d2f5cc19d58`](vercel/vercel@2692de2), [`bf5662d7029a0c7e032da87db6a005fe3cbaa7a5`](vercel/vercel@bf5662d), [`fef47933a5b215bc25fc2833960a0abc7e5acc96`](vercel/vercel@fef4793), [`95d9553a726a068457d05e4d59fd7d045d0ba5f4`](vercel/vercel@95d9553)]: - @vercel/[email protected] Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This branch was successfully deployed
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.
pnpm@10now manages the pnpm version by default based onpackage.json#package.manager.When:
pnpm@10was detectedpackage.json#engines.pnpmwas set to9.xpackage.json#packageManagerwas set[email protected]Builds would incorrectly error:
This PR fixes that scenario so
pnpm@10uses[email protected]without erroring.