Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update peerDependencies range #18

Merged
merged 1 commit into from
Jan 22, 2025
Merged

Conversation

nekomeowww
Copy link
Contributor

Description

  • Bump unocss monorepo dependencies
  • Updated constraints of unocss-preset-animations to v1.1.1 since this version is required for v65 changes

Linked Issues

Additional context

According to what https://antfu.me/posts/epoch-semver has recently proposed:

It’s built on top of the structure of MAJOR.MINOR.PATCH, extend the first number to be the combination of EPOCH and MAJOR. To put a difference between them, we use a third digit to represent EPOCH, which gives MAJOR a range from 0 to 99.

For unocss, the rule follows:

For example, UnoCSS would transition from v0.65.3 to v65.3.0 (in the case EPOCH is 0). Following SemVer, a patch release would become v65.3.1, and a feature release would be v65.4.0.

And since

{EPOCH * 100 + MAJOR}.MINOR.PATCH

the currently having < 1 peer dependency constraint will be equavalent to < 101.

BTW, I can help you bump other dependencies like unbuild, vite since I am familiar with them too.

Copy link

vercel bot commented Jan 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unocss-preset-shadcn-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 21, 2025 11:36am

@hyoban hyoban changed the title chore(deps): update unocss to v65 with Epoch SemVer transitioning fix: update peerDependencies range Jan 22, 2025
@hyoban hyoban merged commit bdd149f into hyoban:main Jan 22, 2025
2 checks passed
@hyoban
Copy link
Owner

hyoban commented Jan 22, 2025

Thank you very much for your help.

BTW, I can help you bump other dependencies like unbuild, vite since I am familiar with them too.

Next time you can directly upgrade all dependencies.

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.

2 participants