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

Add husky label to warning for deprecated commands #1537

Open
1 task done
smackfu opened this issue Nov 13, 2024 · 0 comments
Open
1 task done

Add husky label to warning for deprecated commands #1537

smackfu opened this issue Nov 13, 2024 · 0 comments

Comments

@smackfu
Copy link

smackfu commented Nov 13, 2024

Troubleshoot

Context
There are some situations where npm commands are run but the commands themselves are shown. In these cases, it may not be clear that the deprecation warning is coming from husky.

Here's an actual example:

$ npx npm-check-updates --interactive --format group
...
 husky                                     ^8.0.3  →   ^9.1.6

✔ Run npm install to install new versions? … yes
Installing dependencies...
install command is DEPRECATED

Suggestion is to change the message to husky install command is DEPRECATED or something similar.

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

No branches or pull requests

1 participant