antfu-collective / bumpp

Interactive CLI that bumps your version numbers and more
https://jstools.dev/version-bump-prompt/
MIT License
597 stars 43 forks source link

fix: resolve the right config file and args from cli #20

Closed Bernankez closed 7 months ago

Bernankez commented 12 months ago

Description

This PR contains two fixes. The first is that the document here says that the config name is bumpp.config.ts, but the name is actually bump.config.ts. Maybe it's better to support both of the names? This will fix #6. And because of adding the --no-commit and --no-tag options in v9.2.0, this will set the commit and tag from cli args to true instead of undefined according to https://github.com/cacjs/cac#negated-options. And this will overrides the config from config file. I made some fixes so it can now read the right args from cli. This will fix #13 and #19.

Linked Issues

6 #13 #19

Additional context

DrJume commented 10 months ago

LGTM 🙏