fix(release): bump preset-mobile to 0.5.0 to match engine peer dep#14
Merged
Conversation
The 0.5.0 release of engine bumped major-equivalent (0.x minor in semver-zero), but preset-mobile@0.4.0's peerDependency on @omit-design/engine@^0.4.0 wasn't updated. Fresh `npx @omit-design/cli@0.5.0 init` then `npm install` fails with ERESOLVE because the template installs engine@^0.5 while preset-mobile@0.4 still wants engine@^0.4. Fixes: - preset-mobile 0.4.0 → 0.5.0 with peer engine @^0.5.0 - init template's @omit-design/preset-mobile range → ^0.5 - cli 0.5.0 → 0.5.1 because template content changed Caught by smoke-testing the just-published 0.5.0 release. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.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.
Summary
preset-mobile0.4.0 → 0.5.0 withpeerDependencyon@omit-design/engine@^0.5.0@omit-design/preset-mobilerange →^0.5cli0.5.0 → 0.5.1 since template content changedWhy
The 0.5.0 release of
engineshipped, butpreset-mobile@0.4.0's peer dependencyon
@omit-design/engine@^0.4.0wasn't bumped in lockstep. Freshnpx @omit-design/cli@0.5.0 initfollowed bynpm installfails:Caught by smoke-testing the just-published 0.5.0 release. This PR restores
installability for users running
cli@0.5.0 init.Test plan
npm installwould have failed oncli@0.5.0; this PR + republish should fix it.preset-mobile@0.5.0+cli@0.5.1npx @omit-design/cli@latest init test-publish && npm installend-to-end on a fresh dir🤖 Generated with Claude Code