Skip to content

chore: use legacy packageManager field to work around changesets issue#438

Merged
mizdra merged 1 commit into
mainfrom
use-legacy-package-manager-field
Jul 9, 2026
Merged

chore: use legacy packageManager field to work around changesets issue#438
mizdra merged 1 commit into
mainfrom
use-legacy-package-manager-field

Conversation

@mizdra

@mizdra mizdra commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Summary

After #435 migrated to devEngines.packageManager, the Release workflow started failing (log). changeset publish runs npm publish internally (changesets/changesets#965), and npm rejects the command because it does not match devEngines.packageManager: pnpm.

This PR reverts to the legacy packageManager field as a workaround. npm does not validate this field, so changeset publish works 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

  • Before this change, running any npm command (e.g. npm view pnpm version) inside the repo failed with EBADDEVENGINES — the same check that broke changeset publish. After this change, it succeeds.
  • pnpm install --frozen-lockfile succeeds and pnpm 11.9.0 is selected.

🤖 Generated with Claude Code

@mizdra mizdra added the Type: Maintenance Repository Maintenance label Jul 9, 2026
@changeset-bot

changeset-bot Bot commented Jul 9, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: f5a81fa

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@mizdra
mizdra marked this pull request as ready for review July 9, 2026 14:53
@mizdra
mizdra merged commit e873392 into main Jul 9, 2026
16 checks passed
@mizdra
mizdra deleted the use-legacy-package-manager-field branch July 9, 2026 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Maintenance Repository Maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant