chore: use legacy packageManager field to work around changesets issue#438
Merged
Conversation
…changesets/changesets#965 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
mizdra
marked this pull request as ready for review
July 9, 2026 14:53
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
After #435 migrated to
devEngines.packageManager, the Release workflow started failing (log).changeset publishrunsnpm publishinternally (changesets/changesets#965), and npm rejects the command because it does not matchdevEngines.packageManager: pnpm.This PR reverts to the legacy
packageManagerfield as a workaround. npm does not validate this field, sochangeset publishworks again. pnpm still auto-manages its own version via this field, so the pnpm@11 migration is kept.Once changesets/changesets#2097 is released, we can migrate back to
devEngines.How to verify
npm view pnpm version) inside the repo failed withEBADDEVENGINES— the same check that brokechangeset publish. After this change, it succeeds.pnpm install --frozen-lockfilesucceeds and pnpm 11.9.0 is selected.🤖 Generated with Claude Code