Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency husky to v3 #176

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

Update dependency husky to v3 #176

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Aug 20, 2019

This PR contains the following updates:

Package Type Update Change
husky devDependencies major 0.14.3 -> 3.0.9

Release Notes

typicode/husky

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! 🙏


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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot. View repository job log here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant