This repository has been archived by the owner on Apr 7, 2022. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Dependencies.io has updated
husky
(a npm dependency in/
) from "0.14.3" to "1.1.0".1.1.0
.git/hooks
if it doesn't exist1.0.1
husky-upgrade
changes (#362, #360, #359)1.0.0
After a year of pre-releases and a complete rewrite, this marks the first stable release of husky 🐶🎉.
Notable changes
Below you'll find consolidated changes since
0.14.3
. There's no change in code between1.0.0-rc.15
and1.0.0
.Hooks
sendemail-validate
hookConfig
scripts
field tohusky
fieldpre-commit
rather thanprecommit
).huskyrc
configPackage managers
Environment variables
HUSKY_SKIP_INSTALL
environment variable for skipping git hooks installationHUSKY_GIT_STDIN
environment variable forpre-push
,pre-receive
,post-receive
andpost-rewrite
to access arguments passed by Git via stdinGIT_PARAMS
toHUSKY_GIT_PARAMS
Messages
--no-verify
message more accurate and only show it for hooks that can be skippedUpgrade
husky-upgrade
command to automatically migrate hooks inpackage.json
scripts
Other
Node 4
supportnvm
support (see Node version management in docs)Credits
Huge thanks to all the Contributors and Patreon Supporters! 🙏