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.7 (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.7 OpenSSF Scorecard

Release Notes

typicode/husky (husky)

v9.1.7

Compare Source

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 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
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 3 times, most recently from cad8f6d to 174cae8 Compare October 1, 2024 03:05
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 3 times, most recently from 56e1b73 to 1472220 Compare October 14, 2024 03:39
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 7 times, most recently from b2a9ef4 to a1372e7 Compare October 24, 2024 16:34
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 5 times, most recently from 7d55699 to 3f6dd9a Compare November 4, 2024 04:12
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 2 times, most recently from db4be3a to c244755 Compare November 18, 2024 03:49
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch from c244755 to d5bd3a0 Compare November 18, 2024 17:01
@renovate renovate bot changed the title chore(deps): update dependency husky to v9.1.6 (master) chore(deps): update dependency husky to v9.1.7 (master) Nov 18, 2024
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