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

chore(deps): update dependency husky to v9.1.6 (master) #197

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 25, 2024

This PR contains the following updates:

Package Type Update Change OpenSSF
husky devDependencies minor 9.0.1 -> 9.1.6 OpenSSF Scorecard

Release Notes

typicode/husky (husky)

v9.1.6

Compare Source

v9.1.5

Compare Source

v9.1.4

Compare Source

v9.1.3

Compare Source

  • fix: better handle space in PATH

v9.1.2

Compare Source

v9.1.1

Compare Source

v9.1.0

Compare Source

Super saiyan god dog! It's over 9.0.0!

There's a bug with this release which prevents the deprecation notice to appear and requires to remove #!/usr/bin/env sh and . "$(dirname -- "$0")/_/husky.sh" (which are deprecated by the way). I'll publish a new version to fix that. Sorry about any inconvenience.

What's new

You can now run package commands directly, no need for npx or equivalents.
It makes writing hooks more intuitive and is also slightly faster 🐺⚡️

### .husky/pre-commit
- npx jest
+ jest # ~0.2s faster

A new recipe has been added to the docs. Lint staged files without external dependencies (inspired by Prettier docs). Feel free to modify it.

### .husky/pre-commit
prettier $(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g') --write --ignore-unknown
git update-index --again

For more advanced use cases, see lint-staged.

Fixes

  • bunx husky init command
  • Workaround for some hooks implementation on Windows 🤷

Deprecations

  • Remove #!/usr/bin/env sh and . "$(dirname -- "$0")/_/husky.sh" from your hooks
  • Move your code from ~/.huskyrc to .config/husky/init.sh

Support for these will be removed in v10, notices have been added.

Friendly reminder

If Git hooks don't fit your workflow, you can disable Husky globally. Just add export HUSKY=0 to .config/husky/init.sh.

I've seen some confusion about this on X, so just a heads-up!

Sponsoring

Husky is downloaded over 45M times per month and used by ~1.5M projects. If your company wants to sponsor, you can do so here: GitHub Sponsors.

Have a nice summer ☀️ I'm open to new opportunities/consulting so feel free to drop me a message 😉

v9.0.11

Compare Source

v9.0.10

Compare Source

v9.0.9

Compare Source

v9.0.8

Compare Source

v9.0.7

Compare Source

v9.0.6

Compare Source

v9.0.5

Compare Source

v9.0.4

Compare Source

v9.0.3

Compare Source

v9.0.2

Compare Source

What's Changed

New Contributors

Full Changelog: typicode/husky@v9.0.1...v9.0.2


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title chore(deps): update dependency husky to v9.0.2 (master) chore(deps): update dependency husky to v9.0.5 (master) Jan 25, 2024
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch from 15d2de2 to f60abba Compare January 25, 2024 15:56
@renovate renovate bot changed the title chore(deps): update dependency husky to v9.0.5 (master) chore(deps): update dependency husky to v9.0.6 (master) Jan 26, 2024
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch from f60abba to d4052ff Compare January 26, 2024 01:46
@renovate renovate bot changed the title chore(deps): update dependency husky to v9.0.6 (master) chore(deps): update dependency husky to v9.0.7 (master) Jan 29, 2024
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 3 times, most recently from 58a00cf to 25cfbfc Compare February 1, 2024 16:41
@renovate renovate bot changed the title chore(deps): update dependency husky to v9.0.7 (master) chore(deps): update dependency husky to v9.0.9 (master) Feb 1, 2024
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch from 25cfbfc to e036f37 Compare February 1, 2024 19:51
@renovate renovate bot changed the title chore(deps): update dependency husky to v9.0.9 (master) chore(deps): update dependency husky to v9.0.10 (master) Feb 1, 2024
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 3 times, most recently from 7c17c8d to a43125a Compare February 14, 2024 00:17
@renovate renovate bot changed the title chore(deps): update dependency husky to v9.0.10 (master) chore(deps): update dependency husky to v9.0.11 (master) Feb 14, 2024
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch from a43125a to 457c645 Compare February 21, 2024 06:47
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 2 times, most recently from 4ec6071 to 8779a6f Compare March 27, 2024 01:36
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 4 times, most recently from 2611b95 to 4410c70 Compare April 29, 2024 03:23
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 3 times, most recently from 78ac805 to 9c71bce Compare May 9, 2024 01:43
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 4 times, most recently from ba3046c to 81e7b85 Compare May 17, 2024 18:59
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch from 81e7b85 to a98cdb0 Compare May 27, 2024 04:25
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 4 times, most recently from 73e8140 to 2c86957 Compare July 25, 2024 15:21
@renovate renovate bot changed the title chore(deps): update dependency husky to v9.1.1 (master) chore(deps): update dependency husky to v9.1.2 (master) Jul 25, 2024
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 2 times, most recently from 37ab443 to cf12980 Compare July 26, 2024 20:20
@renovate renovate bot changed the title chore(deps): update dependency husky to v9.1.2 (master) chore(deps): update dependency husky to v9.1.3 (master) Jul 26, 2024
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch from cf12980 to caa6029 Compare July 29, 2024 03:21
@renovate renovate bot changed the title chore(deps): update dependency husky to v9.1.3 (master) chore(deps): update dependency husky to v9.1.4 (master) Jul 29, 2024
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 2 times, most recently from 0d19abf to 797a577 Compare August 5, 2024 04:11
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 2 times, most recently from 0c6d43d to 429a665 Compare August 12, 2024 03:39
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 2 times, most recently from b81ca2f to de607c0 Compare August 21, 2024 05:37
@renovate renovate bot changed the title chore(deps): update dependency husky to v9.1.4 (master) chore(deps): update dependency husky to v9.1.5 (master) Aug 21, 2024
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 2 times, most recently from 5bbf579 to 5dcd5a4 Compare September 2, 2024 03:24
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 3 times, most recently from d49d33f to 2b7e540 Compare September 12, 2024 00:52
@renovate renovate bot changed the title chore(deps): update dependency husky to v9.1.5 (master) chore(deps): update dependency husky to v9.1.6 (master) Sep 12, 2024
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 5 times, most recently from 937b37a to e2b0cd8 Compare September 19, 2024 19:40
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.

0 participants