duniul / clean-modules

🧹 Clean up/prune unnecessary files and reduce the size of your node_modules directory.
ISC License
107 stars 6 forks source link

fix: remove custom help and version options in favor of yargs builtins #10

Closed duniul closed 3 years ago

duniul commented 3 years ago

yargs@>17.2 prints a warning when using an option called --version without disabling the default behavior. The custom --version and --help options were originally there just to add an alias, which can be done with .alias() instead :thumbsup:

Fixes #9.

duniul commented 3 years ago

:tada: This PR is included in version 2.0.4 :tada:

The release is available on:

Your semantic-release bot :package::rocket: