Skip to content

fix(release): bump preset-mobile to 0.5.0 to match engine peer dep#14

Merged
leefanv merged 1 commit into
mainfrom
fix/preset-mobile-engine-peer
May 13, 2026
Merged

fix(release): bump preset-mobile to 0.5.0 to match engine peer dep#14
leefanv merged 1 commit into
mainfrom
fix/preset-mobile-engine-peer

Conversation

@leefanv
Copy link
Copy Markdown
Owner

@leefanv leefanv commented May 13, 2026

Summary

  • preset-mobile 0.4.0 → 0.5.0 with peerDependency on @omit-design/engine@^0.5.0
  • Init template's @omit-design/preset-mobile range → ^0.5
  • cli 0.5.0 → 0.5.1 since template content changed

Why

The 0.5.0 release of engine shipped, but preset-mobile@0.4.0's peer dependency
on @omit-design/engine@^0.4.0 wasn't bumped in lockstep. Fresh
npx @omit-design/cli@0.5.0 init followed by npm install fails:

peer @omit-design/engine@"^0.4.0" from @omit-design/preset-mobile@0.4.0
Could not resolve dependency: @omit-design/engine@"^0.5"

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

  • Local smoke: npm install would have failed on cli@0.5.0; this PR + republish should fix it.
  • After merge, release.yml publishes preset-mobile@0.5.0 + cli@0.5.1
  • Re-run npx @omit-design/cli@latest init test-publish && npm install end-to-end on a fresh dir

🤖 Generated with Claude Code

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>
@leefanv leefanv merged commit a82a265 into main May 13, 2026
1 check passed
@leefanv leefanv deleted the fix/preset-mobile-engine-peer branch May 13, 2026 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant