chore(deps): update dependency husky to v1
This PR contains the following updates:
| Package | Type | Update | Change | References |
|---|---|---|---|---|
| husky | devDependencies | major | 0.14.3 -> 1.3.1 |
source |
Release Notes
typicode/husky
v1.3.1
- Update docs
- Upgrade
is-ciand support more CIs - Disable
1.3.0change related tostdindue to a bug on Windows
v1.3.0
- Enable
stdinif hook is running in a terminal
v1.2.1
- Fix don't fail if directory in project contains whitespace
v1.2.0
- Add comments to generated hooks to specify which package has installed husky and when
v1.1.4
- Upgrade
execadependency
v1.1.3
- Fix don't fail if
package.jsondoesn't exist
v1.1.2
- Add debug message
v1.1.1
- Check
HUSKY_SKIP_INSTALLvalue first before checking if.gitexists - Check Node version before running hooks
v1.1.0
- Create
.git/hooksif it doesn't exist
v1.0.1
v1.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 between 1.0.0-rc.15 and 1.0.0.
-
Hooks
- Add
sendemail-validatehook
- Add
-
Config
- Move hooks config from
scriptsfield tohuskyfield - Prefer raw names for hooks (e.g.
pre-commitrather thanprecommit) - Support
.huskyrcconfig
- Move hooks config from
-
Package managers
-
Environment variables
- Add
HUSKY_SKIP_INSTALLenvironment variable for skipping git hooks installation - Add
HUSKY_GIT_STDINenvironment variable forpre-push,pre-receive,post-receiveandpost-rewriteto access arguments passed by Git via stdin - Rename
GIT_PARAMStoHUSKY_GIT_PARAMS
- Add
-
Messages
- Add many more messages in case of errors
- Add please-upgrade-node message if using with unsupported Node version
- Make
--no-verifymessage more accurate and only show it for hooks that can be skipped
-
Upgrade
- Add
husky-upgradecommand to automatically migrate hooks inpackage.json - Add deprecation warning for hooks that are still defined in
scripts
- Add
-
Other
- Drop
Node 4support - Drop integrated
nvmsupport (see Node version management in docs)
- Drop
Credits
Huge thanks to all the Contributors and Patreon Supporters! π
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Renovate Bot. View repository job log here.