Skip to content

chore(deps): update dependency husky to v5 #642

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

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 2, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
husky (source) 3.1.0 -> 5.2.0 age adoption passing confidence

Release Notes

typicode/husky

v5.2.0

Compare Source

  • Add set command to replace hooks (husky set .husky/pre-commit cmd)
  • Update add command to append command (husky add .husky/pre-commit cmd)
  • Improve error messages

v5.1.3

Compare Source

  • docs: add specific Yarn v2 install/uninstall instructions
  • cli: husky init will detect Yarn v2 and initialize accordingly

v5.1.2

Compare Source

  • docs: recommend prepare script instead of postinstall (#​890)
  • cli: husky init use prepare script (#​890)

v5.1.1

Compare Source

  • style(shell): add trailing newlines (#​870)
  • fix(init): update package.json postinstall

v5.1.0

Compare Source

  • Add husky init

v5.0.9

Compare Source

  • fix(install): do not fail if not inside a Git directory (closes #​851)

See https://github.com/typicode/husky/releases/tag/v5.0.0 for v5 release notes

v5.0.8

Compare Source

v5.0.7

Compare Source

  • fix(shell): double quote params (#​824)

v5.0.6

Compare Source

  • Remove unused files

v5.0.5

Compare Source

  • Fix custom directory support #​827

v5.0.4

Compare Source

v5.0.3

Compare Source

v5.0.2

Compare Source

v5.0.1

Compare Source

v5.0.0

Compare Source

👉 See https://typicode.github.io/husky for breaking changes and new installation instructions.

Note about the license

Husky 5 is released under The Parity Public License.

It doesn't affect you if you're using husky in an Open Source project or if you're a sponsor. You're free to use it as usual and I hope you'll enjoy this new release ❤️

If you're using husky in a commercial project, you may want to consider becoming a sponsor to support the project. You can also try it for 30 days.

This is only for a limited time, husky will be MIT again later.

Migrating

Important Husky v5 brings a lot of improvements but is also very different from v4. Git hooks won't work if you only upgrade husky dependency, existing config needs to be migrated too.

The best way to switch to v5 is to follow the new installation instructions and migrate existing hooks command using husky add.

v4.3.8

Compare Source

  • Fix Cannot read property 'toString' of null
  • Improve error messages

v4.3.7

Compare Source

v4.3.6

Compare Source

  • Fix prepare-commit-msg on windows #​737

v4.3.5

Compare Source

  • Rollback and do not throw error if husky install fails

v4.3.4

Compare Source

  • Throw error if husky install fails
  • Add workaround for npm 7 currently missing INIT_CWD environment variable

v4.3.3

Compare Source

v4.3.2

Compare Source

v4.3.1

Compare Source

v4.3.0

Compare Source

  • Add .cjs config file support #​754

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!


Configuration

📅 Schedule: "after 4pm on friday,before 9am on monday,every weekend" in timezone Europe/Paris.

🚦 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, click this checkbox.

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

@renovate renovate bot force-pushed the renovate/husky-5.x branch 4 times, most recently from 38323c9 to 3ac606d Compare October 8, 2021 19:20
@renovate renovate bot force-pushed the renovate/husky-5.x branch 3 times, most recently from 80b7642 to 97d2c5d Compare October 16, 2021 03:47
@renovate renovate bot force-pushed the renovate/husky-5.x branch 2 times, most recently from 3c0d9c1 to a825ceb Compare October 22, 2021 19:39
@renovate renovate bot force-pushed the renovate/husky-5.x branch from a825ceb to c8ae9f5 Compare October 29, 2021 18:33
@renovate renovate bot force-pushed the renovate/husky-5.x branch 2 times, most recently from c2146bc to 4c17097 Compare November 5, 2021 19:38
@renovate renovate bot force-pushed the renovate/husky-5.x branch 5 times, most recently from ef9338f to 3b84c36 Compare November 20, 2021 12:47
@renovate renovate bot force-pushed the renovate/husky-5.x branch 2 times, most recently from d5122d6 to 4c52a0a Compare November 26, 2021 20:24
@renovate renovate bot force-pushed the renovate/husky-5.x branch 2 times, most recently from 50b2558 to 5330a95 Compare December 4, 2021 21:19
@renovate renovate bot force-pushed the renovate/husky-5.x branch 3 times, most recently from e532ef9 to 814636e Compare December 17, 2021 21:12
@renovate renovate bot force-pushed the renovate/husky-5.x branch 3 times, most recently from 804a76d to 72e9aad Compare December 31, 2021 20:58
@renovate renovate bot force-pushed the renovate/husky-5.x branch 3 times, most recently from 1e1a5c2 to 5b513c0 Compare January 7, 2022 19:01
@renovate renovate bot force-pushed the renovate/husky-5.x branch 2 times, most recently from 9f6e6d2 to 42a83ea Compare January 14, 2022 21:01
@renovate renovate bot force-pushed the renovate/husky-5.x branch 2 times, most recently from e217485 to c7292ee Compare January 28, 2022 21:09
@renovate renovate bot force-pushed the renovate/husky-5.x branch 4 times, most recently from 3e6c291 to 8093561 Compare February 11, 2022 20:15
@renovate renovate bot force-pushed the renovate/husky-5.x branch from 8093561 to 5f89928 Compare February 13, 2022 12:14
@renovate renovate bot force-pushed the renovate/husky-5.x branch 3 times, most recently from b03180c to b18aa10 Compare February 25, 2022 21:25
@renovate renovate bot force-pushed the renovate/husky-5.x branch from b18aa10 to ff99d1e Compare March 7, 2022 07:14
@armandabric armandabric closed this Mar 7, 2022
@renovate
Copy link
Contributor Author

renovate bot commented Mar 7, 2022

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 5.x releases. But if you manually upgrade to 5.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/husky-5.x branch March 7, 2022 08:38
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.

2 participants