Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

chore(deps): update dependency husky to v4 #659

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 7, 2020

This PR contains the following updates:

Package Type Update New value References Sourcegraph
husky devDependencies major ^4.2.5 source code search for "husky"

Release Notes

typicode/husky

v4.2.5

Compare Source

v4.2.4

Compare Source

  • When Node version is unsupported, log actual version in addition to the error message #​701
  • Fix: support cnpm package manager #​687
  • Fix: always use sh to run scripts and avoid inconsistencies #​707
  • Fix: don't throw error if files are already removed during uninstall #​708

v4.2.3

Compare Source

  • Fix: check for husky.config.js not .huskyrc.config.js #​669

v4.2.2

Compare Source

  • Fix #​662 disable fast-skip heuristic for .husky.js and .husky.config.js
  • Fix do not install update, pre/post-receive hooks

v4.2.1

Compare Source

  • Fix: support spaces in path to husky.local.sh #​658

v4.2.0

Compare Source

  • Check Git version during install and log an error if it's <2.13.0

v4.1.0

Compare Source

  • Improve speed and refactor hooks

v4.0.10

Compare Source

v4.0.9

Compare Source

  • Fix: read stdin from hook script (#​645)

v4.0.8

Compare Source

v4.0.7

Compare Source

  • Fix: Yarn when running inside winpty (#​634)

v4.0.6

Compare Source

  • Revert change in v4.0.5

v4.0.5

Compare Source

  • Fix: use process.exit if install fails #​633

v4.0.4

Compare Source

  • Fix: npm ignore .eslintrc.js (#​627)

v4.0.3

Compare Source

  • Fix: error message if trying to install in a non-git repo (#​627)

v4.0.2

Compare Source

  • Fix: show error message when hook fails

v4.0.1

Compare Source

  • Fix: make Yarn silent. When Husky was installed with Yarn 1.21.1, hooks output was too verbose (#​626).

v4.0.0

Compare Source

  • Support Yarn v2 new Plug'n'Play feature (thanks to @​arcanis)
  • Improve path handling on Windows (in particular with Cygwin and Cmdr)
  • Remove dependencies and simplify code
  • Breaking requires Node 10+

Thanks to all contributors and everyone who is supporting Husky on Open Collective, GitHub sponsors and Patreon!

v3.1.0

Compare Source

  • Add pre-merge-commit hook (#​605)

v3.0.9

Compare Source

  • Reduce dependencies: replace is-ci with ci-info #​579

v3.0.8

Compare Source

  • Fix: git worktree support #​580
  • Debug: check GIT_DIR environment variable when hooks are run

v3.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 #​573

v3.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 ) #​556

v3.0.2

Compare Source

  • Fix: add shebang to run.js (#​528)

v3.0.1

Compare Source

  • Improve error message if git command fails

v3.0.0

Compare Source

  • Fix HUSKY_SKIP_INSTALL=1 not skipping install
  • Breaking change husky requires now Git >= 2.13.2. If you're already using husky v2 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 husky v2.4.1. Changes introduced in v2.5.0 and v2.6.0 will be published in v3.0.0.

v2.6.0

Compare Source

  • Optional HUSKY_USE_YARN setting to use Yarn to run Husky
  • Add more debug information
  • Show a warning for Node <= 8.6.0

Deprecated

v2.5.0

Compare Source

  • Use more accurate git hooks directory resolution
  • Add CWD in debug messages

Deprecated

v2.4.1

Compare Source

  • Fix husky crash on install/uninstall with very old Node versions

v2.4.0

Compare Source

  • Add HUSKY_SKIP_HOOKS to skip all hooks

v2.3.0

Compare Source

  • Make HUSKY_DEBUG=1 effective like HUSKY_DEBUG=true
  • Refactor script to point to run-node/run-node rather than .bin/run-node

v2.2.0

Compare Source

  • Improve Git worktree support

v2.1.0

Compare Source

  • Improve shell script portability by using . rather than source

v2.0.0

Compare Source

  • Update dependencies
  • Update messages
  • Breaking change drop Node 6 support

v1.3.1

Compare Source

  • Update docs
  • Upgrade is-ci and support more CIs
  • Disable 1.3.0 change related to stdin due to a bug on Windows

v1.3.0

Compare Source

  • Enable stdin if hook is running in a terminal

v1.2.1

Compare Source

  • Fix don't fail if directory in project contains whitespace

v1.2.0

Compare Source

  • Add comments to generated hooks to specify which package has installed husky and when

v1.1.4

Compare Source

  • Upgrade execa dependency

v1.1.3

Compare Source

  • Fix don't fail if package.json doesn't exist

v1.1.2

Compare Source

  • Add debug message

v1.1.1

Compare Source

  • Check HUSKY_SKIP_INSTALL value first before checking if .git exists
  • Check Node version before running hooks

v1.1.0

Compare Source

  • Create .git/hooks if it doesn't exist

v1.0.1

Compare Source

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 between 1.0.0-rc.15 and 1.0.0.

  • Hooks

    • Add sendemail-validate hook
  • Config

    • Move hooks config from scripts field to husky field
    • Prefer raw names for hooks (e.g. pre-commit rather than precommit)
    • Support .huskyrc config
  • Package managers

    • Support environments where yarn is the only package manager installed
    • Support pnpm package manager
  • Environment variables

    • Add HUSKY_SKIP_INSTALL environment variable for skipping git hooks installation
    • Add HUSKY_GIT_STDIN environment variable for pre-push, pre-receive, post-receive and post-rewrite to access arguments passed by Git via stdin
    • Rename GIT_PARAMS to HUSKY_GIT_PARAMS
  • Messages

    • Add many more messages in case of errors
    • Add please-upgrade-node message if using with unsupported Node version
    • Make --no-verify message more accurate and only show it for hooks that can be skipped
  • Upgrade

    • Add husky-upgrade command to automatically migrate hooks in package.json
    • Add deprecation warning for hooks that are still defined in scripts
  • Other

    • Drop Node 4 support
    • Drop integrated nvm support (see Node version management in docs)
Credits

Huge thanks to all the Contributors and Patreon Supporters! 🙏

v0.14.3

Compare Source

v0.14.2

Compare Source

  • Fix handle space in HOME

v0.14.1

Compare Source

  • Fix Git hooks install on Windows
  • Fix hook script when nvm was installed with Brew

Renovate configuration

📅 Schedule: "on the 1st through 7th day of the month" in timezone America/Los_Angeles.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 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 WhiteSource Renovate. View repository job log here.

@codecov-io
Copy link

codecov-io commented Jan 7, 2020

Codecov Report

Merging #659 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master    #659   +/-   ##
======================================
  Coverage    82.4%   82.4%           
======================================
  Files          15      15           
  Lines        2126    2126           
  Branches      509     448   -61     
======================================
  Hits         1752    1752           
  Misses        364     364           
  Partials       10      10

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fd893d2...5807f97. Read the comment docs.

@renovate renovate bot force-pushed the renovate/husky-4.x branch 9 times, most recently from 905d0ed to 2fa1225 Compare January 14, 2020 15:46
@renovate renovate bot force-pushed the renovate/husky-4.x branch 3 times, most recently from 7342b61 to f246577 Compare January 21, 2020 22:16
@renovate renovate bot force-pushed the renovate/husky-4.x branch from f246577 to 33fb406 Compare January 23, 2020 20:16
@renovate renovate bot force-pushed the renovate/husky-4.x branch 2 times, most recently from 5807f97 to 2ae04fa Compare February 12, 2020 23:35
@renovate renovate bot force-pushed the renovate/husky-4.x branch from 2ae04fa to 9a2679f Compare April 9, 2020 17:07
@renovate renovate bot force-pushed the renovate/husky-4.x branch from 9a2679f to 92669fe Compare April 9, 2020 21:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy