nextui-org / nextui-cli

⌨️ A CLI tool that unlocks seamless NextUI integration.
MIT License
37 stars 14 forks source link

[Feature Request] Upgrade command add option --major --minor --patch #44

Closed winchesHe closed 3 months ago

winchesHe commented 4 months ago

Is your feature request related to a problem? Please describe.

  1. Choose a version to upgrade detech

Describe the solution you'd like

  1. Run nextui-cli upgrade --major/--minor/--patch default --minor
  2. If option major, then detech all updatable versions
  3. If option minor, then detech minor patch updatable versions (default)
  4. If option patch, then detech patch updatable versions

Refference: https://github.com/antfu-collective/taze?tab=readme-ov-file

Describe alternatives you've considered

No

Screenshots or Videos

No response

hasmokan commented 4 months ago

I would like to work on this issue。

wingkwong commented 4 months ago

@hasmokan assigned. free feel to contact the team members in Discord if you have any questions.

hasmokan commented 3 months ago

When I run dev locally and use the upgrade command, even though the version of components is not the latest, it shows that they are already up to date. image image maybe in src/helpers/package.ts ,this code changes version of component? image

winchesHe commented 3 months ago

@hasmokan Thx, i will take a look

winchesHe commented 3 months ago

@hasmokan https://github.com/nextui-org/nextui-cli/pull/30 this pr has fixed above problem, could you try again

hasmokan commented 3 months ago

@winchesHe once merged, I will continue

winchesHe commented 3 months ago

@hasmokan Merged