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.
This PR contains the following updates:
0.14.3
->3.0.9
Release Notes
typicode/husky
v3.0.9
Compare Source
is-ci
withci-info
#579v3.0.8
Compare Source
GIT_DIR
environment variable when hooks are runv3.0.7
Compare Source
Debug: display husky version and created at
v3.0.6
Compare Source
Debug: improve messages
v3.0.5
Compare Source
Fix: prevent
postinstall
from failing on windows #573v3.0.4
Compare Source
Fix: skip install earlier when
HUSKY_SKIP_INSTALL=1
(#563)v3.0.3
Compare Source
Fix: prevent old hooks (husky
< 1.0
) to be run if new ones are defined (husky>= 1.0
) #556v3.0.2
Compare Source
v3.0.1
Compare Source
v3.0.0
Compare Source
>= 2.13.2
. If you're already using huskyv2
and don't use an old version of Git, you can safely upgrade.v2.7.0
Compare Source
Due to issues with Git
< 2.13.2
, this version is a rollback and is the same as huskyv2.4.1
. Changes introduced inv2.5.0
andv2.6.0
will be published inv3.0.0
.v2.6.0
Compare Source
HUSKY_USE_YARN
setting to use Yarn to run Husky<= 8.6.0
Deprecated
v2.5.0
Compare Source
CWD
in debug messagesDeprecated
v2.4.1
Compare Source
v2.4.0
Compare Source
HUSKY_SKIP_HOOKS
to skip all hooksv2.3.0
Compare Source
HUSKY_DEBUG=1
effective likeHUSKY_DEBUG=true
run-node/run-node
rather than.bin/run-node
v2.2.0
Compare Source
v2.1.0
Compare Source
.
rather thansource
v2.0.0
Compare Source
Node 6
supportv1.3.1
Compare Source
is-ci
and support more CIs1.3.0
change related tostdin
due to a bug on Windowsv1.3.0
Compare Source
stdin
if hook is running in a terminalv1.2.1
Compare Source
v1.2.0
Compare Source
v1.1.4
Compare Source
execa
dependencyv1.1.3
Compare Source
package.json
doesn't existv1.1.2
Compare Source
v1.1.1
Compare Source
HUSKY_SKIP_INSTALL
value first before checking if.git
existsv1.1.0
Compare Source
.git/hooks
if it doesn't existv1.0.1
Compare Source
husky-upgrade
changes (#362, #360, #359)v1.0.0
Compare Source
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! 🙏
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!
".🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.