Skip to content

Add husky label to warning for deprecated commands #1537

@smackfu

Description

@smackfu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions