-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Force basename
/dirname
to treat $0
as an argument
#1132
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thank you! |
kodiakhq bot
referenced
this pull request
in ToppleTheNun/npm-lockfile-version
May 8, 2022
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [husky](https://typicode.github.io/husky) ([source](https://togithub.com/typicode/husky)) | [`7.0.4` -> `8.0.0`](https://renovatebot.com/diffs/npm/husky/7.0.4/8.0.0) | [![age](https://badges.renovateapi.com/packages/npm/husky/8.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/husky/8.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/husky/8.0.0/compatibility-slim/7.0.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/husky/8.0.0/confidence-slim/7.0.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>typicode/husky</summary> ### [`v8.0.0`](https://togithub.com/typicode/husky/releases/v8.0.0) [Compare Source](https://togithub.com/typicode/husky/compare/v7.0.4...v8.0.0) #### What's Changed ##### Feats - feat: add `husky -` prefix to logged global error messages by [@​joshbalfour](https://togithub.com/joshbalfour) in [https://github.com/typicode/husky/pull/1092](https://togithub.com/typicode/husky/pull/1092) - feat: show `PATH` when command not found to improve debuggability - feat: drop Node 12 support - feat: skip install if `$HUSKY=0` ##### Fixes - fix: hook script use `/usr/bin/env sh` instead of direct path of `sh` by [@​skhaz](https://togithub.com/skhaz) in [https://github.com/typicode/husky/pull/1051](https://togithub.com/typicode/husky/pull/1051) - fix: actually set 'husky_skip_init' as readonly in `./husky.sh` by [@​hyperupcall](https://togithub.com/hyperupcall) in [https://github.com/typicode/husky/pull/1104](https://togithub.com/typicode/husky/pull/1104) - fix: force `basename`/`dirname` to treat `$0` as an argument by [@​mataha](https://togithub.com/mataha) in [https://github.com/typicode/husky/pull/1132](https://togithub.com/typicode/husky/pull/1132) - fix: remove `git.io` links by [@​renbaoshuo](https://togithub.com/renbaoshuo) in [https://github.com/typicode/husky/pull/1136](https://togithub.com/typicode/husky/pull/1136) ##### Docs - docs: fix uninstall via npm by [@​pddpd](https://togithub.com/pddpd) in [https://github.com/typicode/husky/pull/1033](https://togithub.com/typicode/husky/pull/1033) - docs: add dog emoji as favicon by [@​jamiehaywood](https://togithub.com/jamiehaywood) in [https://github.com/typicode/husky/pull/1095](https://togithub.com/typicode/husky/pull/1095) - docs: replace deprecated `npx --no-install` option with `npx --no` by [@​sibiraj-s](https://togithub.com/sibiraj-s) in [https://github.com/typicode/husky/pull/1070](https://togithub.com/typicode/husky/pull/1070) - docs: add `pnpm` installation by [@​MohamadKh75](https://togithub.com/MohamadKh75) in [https://github.com/typicode/husky/pull/1139](https://togithub.com/typicode/husky/pull/1139) ##### Chore - chore: update workflows by [@​tiziodcaio](https://togithub.com/tiziodcaio) in [https://github.com/typicode/husky/pull/1125](https://togithub.com/typicode/husky/pull/1125) </details> --- ### 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 you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/ToppleTheNun/npm-lockfile-version).
hoonoh
referenced
this pull request
in hoonoh/aws-spot-price
May 9, 2022
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [husky](https://typicode.github.io/husky) ([source](https://togithub.com/typicode/husky)) | [`7.0.4` -> `8.0.0`](https://renovatebot.com/diffs/npm/husky/7.0.4/8.0.0) | [![age](https://badges.renovateapi.com/packages/npm/husky/8.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/husky/8.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/husky/8.0.0/compatibility-slim/7.0.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/husky/8.0.0/confidence-slim/7.0.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>typicode/husky</summary> ### [`v8.0.0`](https://togithub.com/typicode/husky/releases/v8.0.0) [Compare Source](https://togithub.com/typicode/husky/compare/v7.0.4...v8.0.0) #### What's Changed ##### Feats - feat: add `husky -` prefix to logged global error messages by [@​joshbalfour](https://togithub.com/joshbalfour) in [https://github.com/typicode/husky/pull/1092](https://togithub.com/typicode/husky/pull/1092) - feat: show `PATH` when command not found to improve debuggability - feat: drop Node 12 support - feat: skip install if `$HUSKY=0` ##### Fixes - fix: hook script use `/usr/bin/env sh` instead of direct path of `sh` by [@​skhaz](https://togithub.com/skhaz) in [https://github.com/typicode/husky/pull/1051](https://togithub.com/typicode/husky/pull/1051) - fix: actually set 'husky_skip_init' as readonly in `./husky.sh` by [@​hyperupcall](https://togithub.com/hyperupcall) in [https://github.com/typicode/husky/pull/1104](https://togithub.com/typicode/husky/pull/1104) - fix: force `basename`/`dirname` to treat `$0` as an argument by [@​mataha](https://togithub.com/mataha) in [https://github.com/typicode/husky/pull/1132](https://togithub.com/typicode/husky/pull/1132) - fix: remove `git.io` links by [@​renbaoshuo](https://togithub.com/renbaoshuo) in [https://github.com/typicode/husky/pull/1136](https://togithub.com/typicode/husky/pull/1136) ##### Docs - docs: fix uninstall via npm by [@​pddpd](https://togithub.com/pddpd) in [https://github.com/typicode/husky/pull/1033](https://togithub.com/typicode/husky/pull/1033) - docs: add dog emoji as favicon by [@​jamiehaywood](https://togithub.com/jamiehaywood) in [https://github.com/typicode/husky/pull/1095](https://togithub.com/typicode/husky/pull/1095) - docs: replace deprecated `npx --no-install` option with `npx --no` by [@​sibiraj-s](https://togithub.com/sibiraj-s) in [https://github.com/typicode/husky/pull/1070](https://togithub.com/typicode/husky/pull/1070) - docs: add `pnpm` installation by [@​MohamadKh75](https://togithub.com/MohamadKh75) in [https://github.com/typicode/husky/pull/1139](https://togithub.com/typicode/husky/pull/1139) ##### Chore - chore: update workflows by [@​tiziodcaio](https://togithub.com/tiziodcaio) in [https://github.com/typicode/husky/pull/1125](https://togithub.com/typicode/husky/pull/1125) </details> --- ### Configuration 📅 **Schedule**: "after 5pm on Friday,every weekend" (UTC). 🚦 **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/hoonoh/aws-spot-price). Co-authored-by: Renovate Bot <[email protected]>
kodiakhq bot
referenced
this pull request
in mheob/vscode-snippets
May 14, 2022
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [husky](https://typicode.github.io/husky) ([source](https://togithub.com/typicode/husky)) | [`^7.0.4` -> `^8.0.0`](https://renovatebot.com/diffs/npm/husky/7.0.4/8.0.1) | [![age](https://badges.renovateapi.com/packages/npm/husky/8.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/husky/8.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/husky/8.0.1/compatibility-slim/7.0.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/husky/8.0.1/confidence-slim/7.0.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>typicode/husky</summary> ### [`v8.0.1`](https://togithub.com/typicode/husky/releases/v8.0.1) [Compare Source](https://togithub.com/typicode/husky/compare/v8.0.0...v8.0.1) - fix: use POSIX equality operator ### [`v8.0.0`](https://togithub.com/typicode/husky/releases/v8.0.0) [Compare Source](https://togithub.com/typicode/husky/compare/v7.0.4...v8.0.0) #### What's Changed ##### Feats - feat: add `husky -` prefix to logged global error messages by [@​joshbalfour](https://togithub.com/joshbalfour) in [https://github.com/typicode/husky/pull/1092](https://togithub.com/typicode/husky/pull/1092) - feat: show `PATH` when command not found to improve debuggability - feat: drop Node 12 support - feat: skip install if `$HUSKY=0` ##### Fixes - fix: hook script use `/usr/bin/env sh` instead of direct path of `sh` by [@​skhaz](https://togithub.com/skhaz) in [https://github.com/typicode/husky/pull/1051](https://togithub.com/typicode/husky/pull/1051) - fix: actually set 'husky_skip_init' as readonly in `./husky.sh` by [@​hyperupcall](https://togithub.com/hyperupcall) in [https://github.com/typicode/husky/pull/1104](https://togithub.com/typicode/husky/pull/1104) - fix: force `basename`/`dirname` to treat `$0` as an argument by [@​mataha](https://togithub.com/mataha) in [https://github.com/typicode/husky/pull/1132](https://togithub.com/typicode/husky/pull/1132) - fix: remove `git.io` links by [@​renbaoshuo](https://togithub.com/renbaoshuo) in [https://github.com/typicode/husky/pull/1136](https://togithub.com/typicode/husky/pull/1136) ##### Docs - docs: fix uninstall via npm by [@​pddpd](https://togithub.com/pddpd) in [https://github.com/typicode/husky/pull/1033](https://togithub.com/typicode/husky/pull/1033) - docs: add dog emoji as favicon by [@​jamiehaywood](https://togithub.com/jamiehaywood) in [https://github.com/typicode/husky/pull/1095](https://togithub.com/typicode/husky/pull/1095) - docs: replace deprecated `npx --no-install` option with `npx --no` by [@​sibiraj-s](https://togithub.com/sibiraj-s) in [https://github.com/typicode/husky/pull/1070](https://togithub.com/typicode/husky/pull/1070) - docs: add `pnpm` installation by [@​MohamadKh75](https://togithub.com/MohamadKh75) in [https://github.com/typicode/husky/pull/1139](https://togithub.com/typicode/husky/pull/1139) ##### Chore - chore: update workflows by [@​tiziodcaio](https://togithub.com/tiziodcaio) in [https://github.com/typicode/husky/pull/1125](https://togithub.com/typicode/husky/pull/1125) </details> --- ### Configuration 📅 **Schedule**: "before 3am on Friday" (UTC). 🚦 **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](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/mheob/vscode-snippets).
This was referenced Jun 1, 2022
1 task
1 task
nikoladavitkovski
pushed a commit
to nikoladavitkovski/husky
that referenced
this pull request
Sep 2, 2022
…e#1132) * fix: basename: force $0 to be treated as argument * fix: dirname: force $0 to be treated as argument
nikoladavitkovski
pushed a commit
to nikoladavitkovski/husky
that referenced
this pull request
Sep 5, 2022
…e#1132) * fix: basename: force $0 to be treated as argument * fix: dirname: force $0 to be treated as argument
nikoladavitkovski
added a commit
to nikoladavitkovski/husky
that referenced
this pull request
Sep 6, 2022
commit 36eb2e5 Merge: 6b8b1fb 364de37 Author: n.davitkovski <[email protected]> Date: Mon Sep 5 18:55:52 2022 +0200 react front-end commit 6b8b1fb Author: n.davitkovski <[email protected]> Date: Mon Sep 5 16:00:48 2022 +0200 Update pre-commit commit 6fd620d Author: Frank Harrison <[email protected]> Date: Thu Jun 9 11:02:41 2022 +0100 chore(docs): improves the documentation Clairifies: * install options * some differences between v4 and v8 * how to create and manage githooks * how husky relates to git * how husky relates to npm/yarn commit 33125bc Author: Dong-Young Kim <[email protected]> Date: Sun Jun 19 11:25:30 2022 +0900 docs: add double-hyphen flag between npx and the command to run (typicode#1164) commit a2abf6c Author: typicode <[email protected]> Date: Fri Jun 10 19:06:19 2022 +0200 docs: update deprecated npm command commit cf74170 Author: Sgryts <[email protected]> Date: Fri Jun 10 12:05:05 2022 -0500 docs: README update (typicode#1154) * docs: README update - replacing depricated npm set-script with npm pkg set (typicode#1150) * docs: README update - replacing depricated npm set-script with npm pkg set (typicode#1150) commit ee47218 Author: Carlo Corradini <[email protected]> Date: Sat May 21 03:22:48 2022 +0200 chore: npx option --no-install replaced with --no -- due to deprecation (typicode#1149) commit 616ed9f Author: typicode <[email protected]> Date: Mon May 9 11:51:57 2022 +0200 8.0.1 commit 8d0499a Author: typicode <[email protected]> Date: Mon May 9 11:51:36 2022 +0200 fix: use POSIX equality operator commit 8e45818 Author: typicode <[email protected]> Date: Mon May 9 00:05:42 2022 +0200 docs: v8 update commit b72af0f Author: typicode <[email protected]> Date: Sun May 8 23:40:15 2022 +0200 chore: update version commit 0f9ebb4 Author: typicode <[email protected]> Date: Sun May 8 23:05:22 2022 +0200 feat: show PATH if command not found commit 6d4ad09 Author: typicode <[email protected]> Date: Sun May 8 23:04:16 2022 +0200 test: command not found message commit 99169cb Author: typicode <[email protected]> Date: Sun May 8 22:47:53 2022 +0200 feat: skip install if $HUSKY=0 commit 69afc14 Author: Mohamad Khajavi <[email protected]> Date: Sun May 1 07:47:58 2022 +0430 docs: add pnpm installation (typicode#1139) commit 25d0675 Author: Sibiraj <[email protected]> Date: Thu Apr 28 12:18:40 2022 +0530 docs: replace deprecated npx option (typicode#1070) * docs: update deprecated npx option * docs: fix commitlint commands * Update docs/README.md * Update docs/README.md Co-authored-by: typicode <[email protected]> commit 4661fd4 Author: typicode <[email protected]> Date: Thu Apr 28 08:17:10 2022 +0200 docs: fix windows workaround commit d6abbd8 Author: typicode <[email protected]> Date: Thu Apr 28 08:13:58 2022 +0200 chore: skip windows npm 6 tests commit 46e68bb Author: typicode <[email protected]> Date: Thu Apr 28 07:58:54 2022 +0200 test: skip sub-dir commit 46dcde5 Author: typicode <[email protected]> Date: Thu Apr 28 07:46:08 2022 +0200 test: skip sub-dir commit 61a79db Author: typicode <[email protected]> Date: Thu Apr 28 07:25:33 2022 +0200 chore: update package.json node version to 14 commit e030250 Author: typicode <[email protected]> Date: Thu Apr 28 07:19:05 2022 +0200 chore: update workflow commit 1f8253c Author: typicode <[email protected]> Date: Thu Apr 28 07:09:31 2022 +0200 chore: update devDependencies fix related ts error commit ff1ec79 Author: Josh Balfour <[email protected]> Date: Thu Apr 28 06:02:10 2022 +0100 feat: add `husky -` prefix to logged global error messages (typicode#1092) commit 3d06050 Author: typicode <[email protected]> Date: Thu Apr 28 06:52:11 2022 +0200 chore: update workflow commit 1ca4e37 Author: typicode <[email protected]> Date: Thu Apr 28 06:44:46 2022 +0200 chore: update workflow commit 208bcc4 Author: typicode <[email protected]> Date: Thu Apr 28 06:25:41 2022 +0200 chore: update workflow commit ceb3b5d Author: typicode <[email protected]> Date: Thu Apr 28 06:06:41 2022 +0200 chore: update workflow commit cc13539 Author: Daniele Basso <[email protected]> Date: Thu Apr 28 03:43:18 2022 +0000 chore: update Workflows (typicode#1125) Remove nodejs 12 as it is EOL Updated workflows to use nodejs 16 commit 2b8c4df Author: Baoshuo Ren <[email protected]> Date: Wed Apr 27 11:44:49 2022 +0800 chore: remove git.io (typicode#1136) All links on git.io will stop redirecting after April 29, 2022. - https://github.blog/changelog/2022-04-25-git-io-deprecation/ commit f925192 Author: mataha <[email protected]> Date: Sat Apr 16 15:55:12 2022 +0200 fix: force `basename`/`dirname` to treat `$0` as an argument (typicode#1132) * fix: basename: force $0 to be treated as argument * fix: dirname: force $0 to be treated as argument commit 2da1291 Author: typicode <[email protected]> Date: Mon Feb 21 01:34:12 2022 +0100 docs: update yarn 2+ install commit d27582f Author: Edwin Kofler <[email protected]> Date: Sun Feb 20 09:14:19 2022 -0800 fix: actually set 'husky_skip_init' as readonly (typicode#1104) Previously, the script would export the empty 'readonly' variable, along with 'husky_skip_init' which has a value of 1. Now, the script sets 'husky_skip_init' to 1, and properly gives is the readonly and exported attributes. commit 8e1ff76 Author: typicode <[email protected]> Date: Sun Feb 20 17:43:31 2022 +0100 docs: add another way to disable husky in prod commit 0f3e012 Author: typicode <[email protected]> Date: Thu Feb 17 12:31:20 2022 +0100 docs: update windows npx usage commit 7818613 Author: Rodrigo Delduca <[email protected]> Date: Thu Feb 17 02:55:20 2022 -0300 feat: use /usr/bin/env sh instead of direct path of sh (typicode#1051) commit de37f6d Author: Jamie Haywood <[email protected]> Date: Tue Feb 1 22:42:26 2022 +0000 feat: add dog emoji as favicon (typicode#1095) commit c4f65f1 Author: Dr. Derek Austin <[email protected]> Date: Wed Oct 20 21:31:46 2021 -0500 docs: wording [all Git hooks] (typicode#965) commit 607ebcc Author: pddpd <[email protected]> Date: Thu Oct 21 10:28:49 2021 +0800 docs: fix uninstall via npm (typicode#1033) commit b0f8db7 Author: typicode <[email protected]> Date: Thu Oct 21 04:24:02 2021 +0200 docs: improve uninstall instructions commit 1109e57 Author: typicode <[email protected]> Date: Thu Oct 21 04:13:22 2021 +0200 7.0.4 commit 2087da0 Author: typicode <[email protected]> Date: Thu Oct 21 04:13:02 2021 +0200 revert: unsupported preuninstall commit e2e3101 Author: typicode <[email protected]> Date: Thu Oct 21 04:03:25 2021 +0200 7.0.3 commit 9917cca Author: typicode <[email protected]> Date: Thu Oct 21 03:59:29 2021 +0200 fix: on uninstall unset git core.hooksPath commit d3ec839 Author: Wyntau Lau <[email protected]> Date: Tue Oct 19 02:54:00 2021 +0800 fix(actions): fix action name display (typicode#1059) fix variable node_version to node-version commit e933f0c Author: typicode <[email protected]> Date: Sun Oct 10 16:23:38 2021 +0200 docs: update "hooks not running" section commit 7c36e31 Author: TAKAHASHI Shuuji <[email protected]> Date: Tue Sep 14 01:01:50 2021 +0000 fix: update npm parameters on `docs/README.md` (typicode#1037) commit 26b6bf4 Author: typicode <[email protected]> Date: Mon Sep 13 23:51:30 2021 +0200 docs: add `npx husky add` workaround on Windows commit 79c5c88 Author: typicode <[email protected]> Date: Sat Aug 28 08:34:25 2021 +0200 fix: docs link commit d78380b Author: typicode <[email protected]> Date: Wed Aug 25 03:21:46 2021 +0200 7.0.2 commit d57a008 Author: Andrey Ivlev <[email protected]> Date: Wed Aug 25 04:22:10 2021 +0300 Fix pre-commit hook in WebStorm (typicode#1023) commit 42fe4b7 Author: typicode <[email protected]> Date: Sat Jul 17 10:37:29 2021 +0200 docs: update commit 88fe7c3 Author: typicode <[email protected]> Date: Sat Jul 17 10:36:27 2021 +0200 docs: update README.md commit 32e2829 Author: HonkingGoose <[email protected]> Date: Tue Jul 13 02:08:10 2021 +0200 ci: update actions/setup-node to v2, enable cache (typicode#1008) * ci: update actions/setup-node to v2 * ci: enable npm package cache * Fix YAML syntax error commit 5531c73 Author: Joël Galeran <[email protected]> Date: Wed Jul 7 16:12:10 2021 +0200 fix: readme confusin condition to disable install in CI (typicode#1005) commit e388495 Author: typicode <[email protected]> Date: Tue Jul 6 13:02:12 2021 +0200 test: add test commit e08bab2 Author: typicode <[email protected]> Date: Tue Jul 6 12:24:38 2021 +0200 7.0.1 commit c19c2e2 Author: typicode <[email protected]> Date: Tue Jul 6 12:23:45 2021 +0200 style: comment commit e1efdf6 Author: Marco Carini <[email protected]> Date: Tue Jul 6 05:17:32 2021 -0500 fix: cover case where git rev-parse returns null (typicode#1001) commit 80450dc Author: typicode <[email protected]> Date: Tue Jul 6 12:06:00 2021 +0200 docs: update Docker section commit a46ae0f Author: typicode <[email protected]> Date: Fri Jul 2 03:26:35 2021 +0200 Create stale.yml commit b06dc95 Author: typicode <[email protected]> Date: Fri Jul 2 02:33:01 2021 +0200 docs: update Docker section commit 7f062d6 Author: typicode <[email protected]> Date: Thu Jul 1 07:53:08 2021 +0200 docs: update commit 42ddca2 Author: typicode <[email protected]> Date: Thu Jul 1 07:35:37 2021 +0200 docs: typo commit 9eb76c6 Author: typicode <[email protected]> Date: Thu Jul 1 07:27:27 2021 +0200 chore: fix CI commit b693ffe Author: typicode <[email protected]> Date: Thu Jul 1 07:17:14 2021 +0200 chore: fix CI commit fd043f6 Author: typicode <[email protected]> Date: Thu Jul 1 06:56:54 2021 +0200 chore: fix CI commit a60b377 Author: typicode <[email protected]> Date: Thu Jul 1 06:34:51 2021 +0200 7.0.0 commit e49e5fb Author: typicode <[email protected]> Date: Thu Jul 1 06:23:58 2021 +0200 feat: husky 7 commit af03862 Author: Stefano Magni <[email protected]> Date: Wed Jun 23 00:48:16 2021 +0200 docs: align the examples (typicode#992) The "Locally installed binaries" section was missing a `# or` comment between the `npx` and `yarn` example. I brought the comment directly from the "HUSKY_GIT_PARAMS" section. commit e79e0f7 Author: Phred Lane <[email protected]> Date: Sun Jun 20 06:11:57 2021 -0500 refactor(husky-init): removed duplicated code (typicode#989) commit e5fa931 Author: typicode <[email protected]> Date: Sun Jun 20 11:48:18 2021 +0200 Update README.md commit c7eab52 Author: typicode <[email protected]> Date: Sun Jun 20 11:47:07 2021 +0200 Update README.md commit 7526a01 Author: typicode <[email protected]> Date: Sun Jun 20 11:46:26 2021 +0200 Update README.md commit 614f77f Author: typicode <[email protected]> Date: Sun Jun 20 11:45:36 2021 +0200 Update README.md commit 7b7f509 Author: nbelakovski <[email protected]> Date: Thu Jun 17 23:30:32 2021 -0700 docs: use --save-dev instead of -D Expanded -D into the long option, so that those who aren't as familiar with the ecosystem don't have to look it up. commit 7f8e8b8 Author: Chuck <[email protected]> Date: Fri Jun 4 10:38:18 2021 -0400 Update README.md (typicode#984) Small typo commit 883f8c4 Author: typicode <[email protected]> Date: Wed May 26 09:53:13 2021 +0200 docs: update commit d12efa2 Author: typicode <[email protected]> Date: Sat May 22 07:50:28 2021 +0200 docs: add sharing hooks recipe
snorrees
referenced
this pull request
in sanity-io/plugin-kit
Sep 27, 2022
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-config-sanity](https://www.sanity.io/) ([source](https://togithub.com/sanity-io/eslint-config-sanity)) | [`^5.1.0` -> `^6.0.0`](https://renovatebot.com/diffs/npm/eslint-config-sanity/5.1.0/6.0.0) | [![age](https://badges.renovateapi.com/packages/npm/eslint-config-sanity/6.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/eslint-config-sanity/6.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/eslint-config-sanity/6.0.0/compatibility-slim/5.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/eslint-config-sanity/6.0.0/confidence-slim/5.1.0)](https://docs.renovatebot.com/merge-confidence/) | | [husky](https://typicode.github.io/husky) ([source](https://togithub.com/typicode/husky)) | [`^7.0.4` -> `^8.0.1`](https://renovatebot.com/diffs/npm/husky/7.0.4/8.0.1) | [![age](https://badges.renovateapi.com/packages/npm/husky/8.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/husky/8.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/husky/8.0.1/compatibility-slim/7.0.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/husky/8.0.1/confidence-slim/7.0.4)](https://docs.renovatebot.com/merge-confidence/) | | [lint-staged](https://togithub.com/okonet/lint-staged) | [`^12.5.0` -> `^13.0.3`](https://renovatebot.com/diffs/npm/lint-staged/12.5.0/13.0.3) | [![age](https://badges.renovateapi.com/packages/npm/lint-staged/13.0.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/lint-staged/13.0.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/lint-staged/13.0.3/compatibility-slim/12.5.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/lint-staged/13.0.3/confidence-slim/12.5.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>sanity-io/eslint-config-sanity</summary> ### [`v6.0.0`](https://togithub.com/sanity-io/eslint-config-sanity/compare/v5.1.0...v6.0.0) [Compare Source](https://togithub.com/sanity-io/eslint-config-sanity/compare/v5.1.0...v6.0.0) </details> <details> <summary>typicode/husky</summary> ### [`v8.0.1`](https://togithub.com/typicode/husky/releases/tag/v8.0.1) [Compare Source](https://togithub.com/typicode/husky/compare/v8.0.0...v8.0.1) - fix: use POSIX equality operator ### [`v8.0.0`](https://togithub.com/typicode/husky/releases/tag/v8.0.0) [Compare Source](https://togithub.com/typicode/husky/compare/v7.0.4...v8.0.0) #### What's Changed ##### Feats - feat: add `husky -` prefix to logged global error messages by [@​joshbalfour](https://togithub.com/joshbalfour) in [https://github.com/typicode/husky/pull/1092](https://togithub.com/typicode/husky/pull/1092) - feat: show `PATH` when command not found to improve debuggability - feat: drop Node 12 support - feat: skip install if `$HUSKY=0` ##### Fixes - fix: hook script use `/usr/bin/env sh` instead of direct path of `sh` by [@​skhaz](https://togithub.com/skhaz) in [https://github.com/typicode/husky/pull/1051](https://togithub.com/typicode/husky/pull/1051) - fix: actually set 'husky_skip_init' as readonly in `./husky.sh` by [@​hyperupcall](https://togithub.com/hyperupcall) in [https://github.com/typicode/husky/pull/1104](https://togithub.com/typicode/husky/pull/1104) - fix: force `basename`/`dirname` to treat `$0` as an argument by [@​mataha](https://togithub.com/mataha) in [https://github.com/typicode/husky/pull/1132](https://togithub.com/typicode/husky/pull/1132) - fix: remove `git.io` links by [@​renbaoshuo](https://togithub.com/renbaoshuo) in [https://github.com/typicode/husky/pull/1136](https://togithub.com/typicode/husky/pull/1136) ##### Docs - docs: fix uninstall via npm by [@​pddpd](https://togithub.com/pddpd) in [https://github.com/typicode/husky/pull/1033](https://togithub.com/typicode/husky/pull/1033) - docs: add dog emoji as favicon by [@​jamiehaywood](https://togithub.com/jamiehaywood) in [https://github.com/typicode/husky/pull/1095](https://togithub.com/typicode/husky/pull/1095) - docs: replace deprecated `npx --no-install` option with `npx --no` by [@​sibiraj-s](https://togithub.com/sibiraj-s) in [https://github.com/typicode/husky/pull/1070](https://togithub.com/typicode/husky/pull/1070) - docs: add `pnpm` installation by [@​MohamadKh75](https://togithub.com/MohamadKh75) in [https://github.com/typicode/husky/pull/1139](https://togithub.com/typicode/husky/pull/1139) ##### Chore - chore: update workflows by [@​tiziodcaio](https://togithub.com/tiziodcaio) in [https://github.com/typicode/husky/pull/1125](https://togithub.com/typicode/husky/pull/1125) </details> <details> <summary>okonet/lint-staged</summary> ### [`v13.0.3`](https://togithub.com/okonet/lint-staged/releases/tag/v13.0.3) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v13.0.2...v13.0.3) ##### Bug Fixes - correctly handle git stash when using MSYS2 ([#​1178](https://togithub.com/okonet/lint-staged/issues/1178)) ([0d627a5](https://togithub.com/okonet/lint-staged/commit/0d627a52846d63cd6fc6018a8d7779ef454a99b2)) ### [`v13.0.2`](https://togithub.com/okonet/lint-staged/releases/tag/v13.0.2) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v13.0.1...v13.0.2) ##### Bug Fixes - use new `--diff` and `--diff-filter` options when checking task modifications ([1a5a66a](https://togithub.com/okonet/lint-staged/commit/1a5a66a9574e2a8b857bd62545a6f2a6da5811aa)) ### [`v13.0.1`](https://togithub.com/okonet/lint-staged/releases/tag/v13.0.1) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v13.0.0...v13.0.1) ##### Bug Fixes - correct spelling of "0 files" ([f27f1d4](https://togithub.com/okonet/lint-staged/commit/f27f1d45ea20904e81dda155a802b2eb07d50942)) - suppress error from `process.kill` when killing tasks on failure ([f2c6bdd](https://togithub.com/okonet/lint-staged/commit/f2c6bdd9114a8d5ba8473cc647ef55a6ee5664e1)) - **deps:** update pidtree@^0.6.0 to fix screen size error in WSL ([1a77e42](https://togithub.com/okonet/lint-staged/commit/1a77e4224a273bbc192b654d0a0120187e850a61)) - ignore "No matching pid found" error ([cb8a432](https://togithub.com/okonet/lint-staged/commit/cb8a4328eddbc99a0806276f68b55f6c5ecb3d8a)) - prevent possible race condition when killing tasks on failure ([bc92aff](https://togithub.com/okonet/lint-staged/commit/bc92aff5fdb6293045c556326df3c0529e59b7e3)) ##### Performance Improvements - use `EventsEmitter` instead of `setInterval` for killing tasks on failure ([c508b46](https://togithub.com/okonet/lint-staged/commit/c508b46a153970114495d3f7fef05d45df0f2e10)) ### [`v13.0.0`](https://togithub.com/okonet/lint-staged/releases/tag/v13.0.0) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.5.0...v13.0.0) ##### Bug Fixes - **deps:** update `execa@^6.1.0` ([659c85c](https://togithub.com/okonet/lint-staged/commit/659c85c5cd4c4040a505bbe9fddbe7d416ac15c8)) - **deps:** update `yaml@^2.1.1` ([2750a3d](https://togithub.com/okonet/lint-staged/commit/2750a3d9d909fd834b95da752f0f6800340922b7)) ##### Features - remove support for Node.js 12 ([5fb6df9](https://togithub.com/okonet/lint-staged/commit/5fb6df94ccd6de6f5fdd743474c094ff366cc671)) ##### BREAKING CHANGES - `lint-staged` will no longer support Node.js 12, which is EOL since 30 April 2022 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on sunday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/) using a [preset](https://togithub.com/sanity-io/renovate-presets/tree/main/ecosystem) from [<picture><source media="(prefers-color-scheme: dark)" srcset="https://www.sanity.io/static/images/logo_white.svg?v=2"><img alt="Sanity" src="https://www.sanity.io/static/images/logo_red.svg?v=2" height="10"></picture>](https://www.sanity.io/?utm_source=github&utm_medium=referral&utm_campaign=ecosystem-renovate-preset). View repository job log [here](https://app.renovatebot.com/dashboard#github/sanity-io/plugin-kit) <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNzYuMCIsInVwZGF0ZWRJblZlciI6IjMyLjE4My4xIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
SimonGolms
added a commit
to SimonGolms/ods-quickstarter-fe-ionic-react-vite-playwright
that referenced
this pull request
Nov 11, 2022
This was referenced Nov 12, 2022
jeanregisser
referenced
this pull request
in valora-inc/address-metadata
Dec 15, 2022
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | @​valora/eslint-config-typescript | [`^0.0.1` -> `^1.0.1`](https://renovatebot.com/diffs/npm/@valora%2feslint-config-typescript/0.0.1/1.0.1) | [![age](https://badges.renovateapi.com/packages/npm/@valora%2feslint-config-typescript/1.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@valora%2feslint-config-typescript/1.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@valora%2feslint-config-typescript/1.0.1/compatibility-slim/0.0.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@valora%2feslint-config-typescript/1.0.1/confidence-slim/0.0.1)](https://docs.renovatebot.com/merge-confidence/) | | [husky](https://typicode.github.io/husky) ([source](https://togithub.com/typicode/husky)) | [`^7.0.4` -> `^8.0.2`](https://renovatebot.com/diffs/npm/husky/7.0.4/8.0.2) | [![age](https://badges.renovateapi.com/packages/npm/husky/8.0.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/husky/8.0.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/husky/8.0.2/compatibility-slim/7.0.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/husky/8.0.2/confidence-slim/7.0.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>typicode/husky</summary> ### [`v8.0.2`](https://togithub.com/typicode/husky/releases/tag/v8.0.2) [Compare Source](https://togithub.com/typicode/husky/compare/v8.0.1...v8.0.2) - docs: remove deprecated npm set-script ### [`v8.0.1`](https://togithub.com/typicode/husky/releases/tag/v8.0.1) [Compare Source](https://togithub.com/typicode/husky/compare/v8.0.0...v8.0.1) - fix: use POSIX equality operator ### [`v8.0.0`](https://togithub.com/typicode/husky/releases/tag/v8.0.0) [Compare Source](https://togithub.com/typicode/husky/compare/v7.0.4...v8.0.0) #### What's Changed ##### Feats - feat: add `husky -` prefix to logged global error messages by [@​joshbalfour](https://togithub.com/joshbalfour) in [https://github.com/typicode/husky/pull/1092](https://togithub.com/typicode/husky/pull/1092) - feat: show `PATH` when command not found to improve debuggability - feat: drop Node 12 support - feat: skip install if `$HUSKY=0` ##### Fixes - fix: hook script use `/usr/bin/env sh` instead of direct path of `sh` by [@​skhaz](https://togithub.com/skhaz) in [https://github.com/typicode/husky/pull/1051](https://togithub.com/typicode/husky/pull/1051) - fix: actually set 'husky_skip_init' as readonly in `./husky.sh` by [@​hyperupcall](https://togithub.com/hyperupcall) in [https://github.com/typicode/husky/pull/1104](https://togithub.com/typicode/husky/pull/1104) - fix: force `basename`/`dirname` to treat `$0` as an argument by [@​mataha](https://togithub.com/mataha) in [https://github.com/typicode/husky/pull/1132](https://togithub.com/typicode/husky/pull/1132) - fix: remove `git.io` links by [@​renbaoshuo](https://togithub.com/renbaoshuo) in [https://github.com/typicode/husky/pull/1136](https://togithub.com/typicode/husky/pull/1136) ##### Docs - docs: fix uninstall via npm by [@​pddpd](https://togithub.com/pddpd) in [https://github.com/typicode/husky/pull/1033](https://togithub.com/typicode/husky/pull/1033) - docs: add dog emoji as favicon by [@​jamiehaywood](https://togithub.com/jamiehaywood) in [https://github.com/typicode/husky/pull/1095](https://togithub.com/typicode/husky/pull/1095) - docs: replace deprecated `npx --no-install` option with `npx --no` by [@​sibiraj-s](https://togithub.com/sibiraj-s) in [https://github.com/typicode/husky/pull/1070](https://togithub.com/typicode/husky/pull/1070) - docs: add `pnpm` installation by [@​MohamadKh75](https://togithub.com/MohamadKh75) in [https://github.com/typicode/husky/pull/1139](https://togithub.com/typicode/husky/pull/1139) ##### Chore - chore: update workflows by [@​tiziodcaio](https://togithub.com/tiziodcaio) in [https://github.com/typicode/husky/pull/1125](https://togithub.com/typicode/husky/pull/1125) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 3am on Monday" in timezone UTC, Automerge - "after 8:00 before 23:00 every weekday except on Friday" in timezone UTC. 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/valora-inc/address-metadata). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xODkuMCIsInVwZGF0ZWRJblZlciI6IjM0LjU0LjIifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jean Regisser <[email protected]>
SimonGolms
added a commit
to SimonGolms/homekit-code
that referenced
this pull request
Jan 16, 2023
github-actions bot
pushed a commit
to SimonGolms/homekit-code
that referenced
this pull request
Jan 16, 2023
## [1.2.12](v1.2.11...v1.2.12) (2023-01-16) ### Build System * **release:** 1.2.10 [skip ci] ([ef40e80](ef40e80)) * **release:** 1.2.11 [skip ci] ([fafd6d7](fafd6d7)) * **eslint:** enable strict rule set form [@typescript-eslint](https://github.com/typescript-eslint) ([f02d44c](f02d44c)) * **husky:** fix coloring in output text ([4a71214](4a71214)) * **husky:** force basename/dirname to treat $0 as an argument ([9607c98](9607c98)), closes [typicode/husky#1132](typicode/husky#1132) * **husky:** limit the possibility of package installation after a branch switch ([256af00](256af00)) * **deps:** update dependencies ([6c1b0b2](6c1b0b2)) * **nvm:** use node version 18 ([730ee91](730ee91)) * **husky:** use recommended shebang to make scripts portable ([b56248f](b56248f)), closes [typicode/husky#1051](typicode/husky#1051)
renovate bot
referenced
this pull request
in davidsneighbour/hugo-modules
Sep 15, 2024
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [husky](https://redirect.github.com/typicode/husky) | [`^5.2.0` -> `^9.0.0`](https://renovatebot.com/diffs/npm/husky/5.2.0/9.1.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/husky/9.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/husky/9.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/husky/5.2.0/9.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/husky/5.2.0/9.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>typicode/husky (husky)</summary> ### [`v9.1.6`](https://redirect.github.com/typicode/husky/compare/v9.1.5...a2d942a670b3d6a04578005a0fd2dc310e511849) [Compare Source](https://redirect.github.com/typicode/husky/compare/v9.1.5...v9.1.6) ### [`v9.1.5`](https://redirect.github.com/typicode/husky/compare/v9.1.4...2fee8d212c601942ad146ea9209f15c20a07fb6d) [Compare Source](https://redirect.github.com/typicode/husky/compare/v9.1.4...v9.1.5) ### [`v9.1.4`](https://redirect.github.com/typicode/husky/compare/v9.1.3...fc549e0e5c8723a6d796f6ad26ef6590769f5d82) [Compare Source](https://redirect.github.com/typicode/husky/compare/v9.1.3...v9.1.4) ### [`v9.1.3`](https://redirect.github.com/typicode/husky/releases/tag/v9.1.3) [Compare Source](https://redirect.github.com/typicode/husky/compare/v9.1.2...v9.1.3) - fix: better handle space in `PATH` ### [`v9.1.2`](https://redirect.github.com/typicode/husky/compare/v9.1.1...v9.1.2) [Compare Source](https://redirect.github.com/typicode/husky/compare/v9.1.1...v9.1.2) ### [`v9.1.1`](https://redirect.github.com/typicode/husky/compare/v9.1.0...2968998755465f69069f297b5bb603e26d6b1772) [Compare Source](https://redirect.github.com/typicode/husky/compare/v9.1.0...v9.1.1) ### [`v9.1.0`](https://redirect.github.com/typicode/husky/releases/tag/v9.1.0) [Compare Source](https://redirect.github.com/typicode/husky/compare/v9.0.11...v9.1.0) <p> <img src="https://github.com/user-attachments/assets/72a03e68-e9c3-4644-94f9-d5ceb343aca5" height="500px" alt="" /> </p> *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 🐺⚡️ ```diff ### .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. ```shell ### .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](https://redirect.github.com/lint-staged/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](https://redirect.github.com/sponsors/typicode). **Have a nice summer ☀️ I'm open to new opportunities/consulting so feel free to drop me a message 😉** ### [`v9.0.11`](https://redirect.github.com/typicode/husky/releases/tag/v9.0.11) [Compare Source](https://redirect.github.com/typicode/husky/compare/v9.0.10...v9.0.11) - chore: update package-lock.json by [@​btea](https://redirect.github.com/btea) in [https://github.com/typicode/husky/pull/1383](https://redirect.github.com/typicode/husky/pull/1383) - fix: husky=0 in init (fixes [#​1393](https://redirect.github.com/typicode/husky/issues/1393)) by [@​typicode](https://redirect.github.com/typicode) in [https://github.com/typicode/husky/pull/1395](https://redirect.github.com/typicode/husky/pull/1395) ### [`v9.0.10`](https://redirect.github.com/typicode/husky/releases/tag/v9.0.10) [Compare Source](https://redirect.github.com/typicode/husky/compare/v9.0.9...v9.0.10) - fix: rename index.d.ts to index.d.mts by [@​mrkjdy](https://redirect.github.com/mrkjdy) in [https://github.com/typicode/husky/pull/1379](https://redirect.github.com/typicode/husky/pull/1379) ### [`v9.0.9`](https://redirect.github.com/typicode/husky/releases/tag/v9.0.9) [Compare Source](https://redirect.github.com/typicode/husky/compare/v9.0.8...v9.0.9) - refactor: rename files by [@​typicode](https://redirect.github.com/typicode) in [https://github.com/typicode/husky/pull/1378](https://redirect.github.com/typicode/husky/pull/1378) ### [`v9.0.8`](https://redirect.github.com/typicode/husky/releases/tag/v9.0.8) [Compare Source](https://redirect.github.com/typicode/husky/compare/v9.0.7...v9.0.8) - docs: update index.md by [@​khaledYS](https://redirect.github.com/khaledYS) in [https://github.com/typicode/husky/pull/1369](https://redirect.github.com/typicode/husky/pull/1369) - Fix tab detection on install command by [@​glensc](https://redirect.github.com/glensc) in [https://github.com/typicode/husky/pull/1376](https://redirect.github.com/typicode/husky/pull/1376) - refactor: reduce file size by [@​typicode](https://redirect.github.com/typicode) in [https://github.com/typicode/husky/pull/1377](https://redirect.github.com/typicode/husky/pull/1377) ### [`v9.0.7`](https://redirect.github.com/typicode/husky/releases/tag/v9.0.7) [Compare Source](https://redirect.github.com/typicode/husky/compare/v9.0.6...v9.0.7) - fix: typo and source `~/.huskyrc` correctly (compatibility with v8) - docs: fix example by [@​typicode](https://redirect.github.com/typicode) in [https://github.com/typicode/husky/pull/1363](https://redirect.github.com/typicode/husky/pull/1363) ### [`v9.0.6`](https://redirect.github.com/typicode/husky/releases/tag/v9.0.6) [Compare Source](https://redirect.github.com/typicode/husky/compare/v9.0.5...v9.0.6) - docs: add favicon by [@​rakleed](https://redirect.github.com/rakleed) in [https://github.com/typicode/husky/pull/1354](https://redirect.github.com/typicode/husky/pull/1354) - chore: apply editorconfig to code only by [@​typicode](https://redirect.github.com/typicode) in [https://github.com/typicode/husky/pull/1355](https://redirect.github.com/typicode/husky/pull/1355) - docs: update install script to mjs and fix CI checks by [@​starnayuta](https://redirect.github.com/starnayuta) in [https://github.com/typicode/husky/pull/1357](https://redirect.github.com/typicode/husky/pull/1357) - Fix unbound variable by [@​typicode](https://redirect.github.com/typicode) in [https://github.com/typicode/husky/pull/1359](https://redirect.github.com/typicode/husky/pull/1359) ### [`v9.0.5`](https://redirect.github.com/typicode/husky/releases/tag/v9.0.5) [Compare Source](https://redirect.github.com/typicode/husky/compare/v9.0.4...v9.0.5) - docs: update path to startup files by [@​ManuelRauber](https://redirect.github.com/ManuelRauber) in [https://github.com/typicode/husky/pull/1350](https://redirect.github.com/typicode/husky/pull/1350) - fix: init error by [@​typicode](https://redirect.github.com/typicode) in [https://github.com/typicode/husky/pull/1353](https://redirect.github.com/typicode/husky/pull/1353) ### [`v9.0.4`](https://redirect.github.com/typicode/husky/releases/tag/v9.0.4) [Compare Source](https://redirect.github.com/typicode/husky/compare/v9.0.3...v9.0.4) - fix: init create dir before by [@​typicode](https://redirect.github.com/typicode) in [https://github.com/typicode/husky/pull/1348](https://redirect.github.com/typicode/husky/pull/1348) - refactor: simplify by [@​typicode](https://redirect.github.com/typicode) in [https://github.com/typicode/husky/pull/1349](https://redirect.github.com/typicode/husky/pull/1349) - fix: init not working on pnpm [#​1334](https://redirect.github.com/typicode/husky/issues/1334) by [@​rozbo](https://redirect.github.com/rozbo) in [https://github.com/typicode/husky/pull/1347](https://redirect.github.com/typicode/husky/pull/1347) ### [`v9.0.3`](https://redirect.github.com/typicode/husky/releases/tag/v9.0.3) [Compare Source](https://redirect.github.com/typicode/husky/compare/v9.0.2...v9.0.3) - docs: fix link by [@​typicode](https://redirect.github.com/typicode) in [https://github.com/typicode/husky/pull/1340](https://redirect.github.com/typicode/husky/pull/1340) - chore: fix links in issue template by [@​julien-f](https://redirect.github.com/julien-f) in [https://github.com/typicode/husky/pull/1341](https://redirect.github.com/typicode/husky/pull/1341) - fix: add scripts field if not present by [@​chalkygames123](https://redirect.github.com/chalkygames123) in [https://github.com/typicode/husky/pull/1338](https://redirect.github.com/typicode/husky/pull/1338) - docs: changelog link by [@​typicode](https://redirect.github.com/typicode) in [https://github.com/typicode/husky/pull/1343](https://redirect.github.com/typicode/husky/pull/1343) - fix: insert final newline by [@​chalkygames123](https://redirect.github.com/chalkygames123) in [https://github.com/typicode/husky/pull/1339](https://redirect.github.com/typicode/husky/pull/1339) - fix: fix git hooks path on windows by [@​rozbo](https://redirect.github.com/rozbo) in [https://github.com/typicode/husky/pull/1346](https://redirect.github.com/typicode/husky/pull/1346) ### [`v9.0.2`](https://redirect.github.com/typicode/husky/releases/tag/v9.0.2) [Compare Source](https://redirect.github.com/typicode/husky/compare/v9.0.1...v9.0.2) #### What's Changed - fix: exit code by [@​gergelypap](https://redirect.github.com/gergelypap) in [https://github.com/typicode/husky/pull/1336](https://redirect.github.com/typicode/husky/pull/1336) - docs: typo by [@​chalkygames123](https://redirect.github.com/chalkygames123) in [https://github.com/typicode/husky/pull/1337](https://redirect.github.com/typicode/husky/pull/1337) #### New Contributors - [@​gergelypap](https://redirect.github.com/gergelypap) made their first contribution in [https://github.com/typicode/husky/pull/1336](https://redirect.github.com/typicode/husky/pull/1336) **Full Changelog**: typicode/husky@v9.0.1...v9.0.2 ### [`v9.0.1`](https://redirect.github.com/typicode/husky/releases/tag/v9.0.1) [Compare Source](https://redirect.github.com/typicode/husky/compare/v8.0.3...v9.0.1) <p align="center"> Kicking off the year with an exciting update! </p> <p align="center"> <img src="https://github.com/typicode/husky/assets/5502029/457ab087-e935-4196-b99f-601ecf37f263" height="400px" alt="" /> </p> #### TLDR; Improved user experience and a (even) smaller package size while packing in more features! #### 👋 By the Way **I'm available for remote work** (Front-end/Back-end mainly JS/TS but open to other stacks Rails, Go, Elixir). You can contact me at my mail: typicode at gmail 🙂 #### Introducing `husky init` Adding husky to a project is now easier than ever. Although the installation process was straightforward, it often required consulting the documentation. ##### v8 ```shell npm pkg set scripts.prepare="husky install" npm run prepare npx husky add .husky/pre-commit "npm test" ``` ##### v9 ```shell npx husky init ``` #### Adding a New Hook Adding a hook is now as simple as creating a file. This can be accomplished using your favorite editor, a script or a basic `echo` command. ##### v8 ```shell npx husky add .husky/pre-commit "npm test" git add --chmod=+x .husky/pre-commit # On Windows ``` ##### v9 ```shell echo "npm test" > .husky/pre-commit ``` #### Further Size Reduction `v8` was already the most compact Git hooks manager at approximately `6kB`. `v9` takes this a step further, reducing the size to just `3kB`, likely making it the smallest devDependency in your toolkit. **To give you an idea of how small it is, the biggest file in the project is the MIT license 😄** #### More to Come Additional features are in the pipeline for `v9`. Stay tuned 🙌 #### Other Changes - **Enhanced security** with CI and npm `--provenance` for safer publishing. - Added **`$XDG_CONFIG_HOME`** support. Move `~/.huskyrc` to `~/.config/husky/init.sh` for centralized configuration. - **Fixed permission issue for Windows-created hooks**; they no longer need to be executable. - Removed `husky install`. Use `husky` or `husky some/dir` for the same functionality (deprecation notice to be added). - Modified behavior when `.git` is missing; it now triggers a warning instead of failure. - Replaced `HUSKY_DEBUG=1` with `HUSKY=2` for debugging. - Updated the Husky API for module usage. - Transitioned to `ESM` for module usage. - Dropped support for Node 14 and 16. - Revamped docs. #### How to Migrate `v9` is backward compatible with `v8`, allowing you to freely upgrade and migrate your hooks later. `package.json` ```diff { "scripts": { - "prepare": "husky install" + "prepare": "husky" } } ``` `.husky/pre-commit` ```diff - #!/usr/bin/env sh - . "$(dirname -- "$0")/_/husky.sh" npm test ``` ### [`v8.0.3`](https://redirect.github.com/typicode/husky/releases/tag/v8.0.3) [Compare Source](https://redirect.github.com/typicode/husky/compare/v8.0.2...v8.0.3) - fix: add git not installed message [#​1208](https://redirect.github.com/typicode/husky/issues/1208) ### [`v8.0.2`](https://redirect.github.com/typicode/husky/releases/tag/v8.0.2) [Compare Source](https://redirect.github.com/typicode/husky/compare/v8.0.1...v8.0.2) - docs: remove deprecated npm set-script ### [`v8.0.1`](https://redirect.github.com/typicode/husky/releases/tag/v8.0.1) [Compare Source](https://redirect.github.com/typicode/husky/compare/v8.0.0...v8.0.1) - fix: use POSIX equality operator ### [`v8.0.0`](https://redirect.github.com/typicode/husky/releases/tag/v8.0.0) [Compare Source](https://redirect.github.com/typicode/husky/compare/v7.0.4...v8.0.0) #### What's Changed ##### Feats - feat: add `husky -` prefix to logged global error messages by [@​joshbalfour](https://redirect.github.com/joshbalfour) in [https://github.com/typicode/husky/pull/1092](https://redirect.github.com/typicode/husky/pull/1092) - feat: show `PATH` when command not found to improve debuggability - feat: drop Node 12 support - feat: skip install if `$HUSKY=0` ##### Fixes - fix: hook script use `/usr/bin/env sh` instead of direct path of `sh` by [@​skhaz](https://redirect.github.com/skhaz) in [https://github.com/typicode/husky/pull/1051](https://redirect.github.com/typicode/husky/pull/1051) - fix: actually set 'husky_skip_init' as readonly in `./husky.sh` by [@​hyperupcall](https://redirect.github.com/hyperupcall) in [https://github.com/typicode/husky/pull/1104](https://redirect.github.com/typicode/husky/pull/1104) - fix: force `basename`/`dirname` to treat `$0` as an argument by [@​mataha](https://redirect.github.com/mataha) in [https://github.com/typicode/husky/pull/1132](https://redirect.github.com/typicode/husky/pull/1132) - fix: remove `git.io` links by [@​renbaoshuo](https://redirect.github.com/renbaoshuo) in [https://github.com/typicode/husky/pull/1136](https://redirect.github.com/typicode/husky/pull/1136) ##### Docs - docs: fix uninstall via npm by [@​pddpd](https://redirect.github.com/pddpd) in [https://github.com/typicode/husky/pull/1033](https://redirect.github.com/typicode/husky/pull/1033) - docs: add dog emoji as favicon by [@​jamiehaywood](https://redirect.github.com/jamiehaywood) in [https://github.com/typicode/husky/pull/1095](https://redirect.github.com/typicode/husky/pull/1095) - docs: replace deprecated `npx --no-install` option with `npx --no` by [@​sibiraj-s](https://redirect.github.com/sibiraj-s) in [https://github.com/typicode/husky/pull/1070](https://redirect.github.com/typicode/husky/pull/1070) - docs: add `pnpm` installation by [@​MohamadKh75](https://redirect.github.com/MohamadKh75) in [https://github.com/typicode/husky/pull/1139](https://redirect.github.com/typicode/husky/pull/1139) ##### Chore - chore: update workflows by [@​tiziodcaio](https://redirect.github.com/tiziodcaio) in [https://github.com/typicode/husky/pull/1125](https://redirect.github.com/typicode/husky/pull/1125) ### [`v7.0.4`](https://redirect.github.com/typicode/husky/releases/tag/v7.0.4) [Compare Source](https://redirect.github.com/typicode/husky/compare/v7.0.3...v7.0.4) *No changes. Husky v7.0.3 was reverted, this version is the same as v7.0.2.* ### [`v7.0.3`](https://redirect.github.com/typicode/husky/compare/v7.0.2...v7.0.3) [Compare Source](https://redirect.github.com/typicode/husky/compare/v7.0.2...v7.0.3) ### [`v7.0.2`](https://redirect.github.com/typicode/husky/releases/tag/v7.0.2) [Compare Source](https://redirect.github.com/typicode/husky/compare/v7.0.1...v7.0.2) Fix pre-commit hook in WebStorm ([#​1023](https://redirect.github.com/typicode/husky/issues/1023)) ### [`v7.0.1`](https://redirect.github.com/typicode/husky/releases/tag/v7.0.1) [Compare Source](https://redirect.github.com/typicode/husky/compare/v7.0.0...v7.0.1) - Fix gracefully fail if Git command is not found [#​1003](https://redirect.github.com/typicode/husky/issues/1003) (same as in v6) ### [`v7.0.0`](https://redirect.github.com/typicode/husky/releases/tag/v7.0.0) [Compare Source](https://redirect.github.com/typicode/husky/compare/v6.0.0...v7.0.0) - Improve `.husky/` directory structure. **`.husky/.gitignore` is now unnecessary and can be removed**. - Improve error output (shorter) - Update [`husky-init`](https://redirect.github.com/typicode/husky-init) CLI - Update [`husky-4-to-7`](https://redirect.github.com/typicode/husky-4-to-7) CLI - Drop Node 10 support *Please help me develop and release OSS projects ❤️ on [GitHub Sponsors](https://redirect.github.com/sponsors/typicode) or [Open Collective](https://opencollective.com/husky). Thank you for your support!* ### [`v6.0.0`](https://redirect.github.com/typicode/husky/releases/tag/v6.0.0) [Compare Source](https://redirect.github.com/typicode/husky/compare/v5.2.0...v6.0.0) After being in early access for Open Source projects and Sponsors for a limited time, **I'm happy to announce that husky 6 is MIT again** and can be freely used in commercial projects! 🎉 **Many thanks to the [Open Source projects](https://typicode.github.io/husky/#/?id=used-by) and Companies which have switched to/sponsored the new husky during this period!** *OSS is my full-time job, please consider sponsoring the development of husky on [GitHub sponsors](https://redirect.github.com/sponsors/typicode) or [Open Collective](https://opencollective.com/husky). Thank you!* ### Breaking change - `husky init` has been moved to its own package (`npx husky-init`) ### Added - Programmatically use husky: `require('husky')` - TypeScript definitions ### Migrating from husky 4 Husky 6 contains breaking changes. If you're coming from v4, `npm install husky@6` won't be enough. **Recommended:** see [husky-4-to-6](https://typicode.github.io/husky/#/?id=husky-4-to-6-cli) CLI to automatically migrate your config. There's also a dedicated section in the [docs](https://typicode.github.io/husky/#/?id=migrate-from-v4-to-v6). **If you're curious why config has changed, you may be interested in reading:** https://blog.typicode.com/husky-git-hooks-javascript-config/ **Also Husky 6 follows official [npm](https://docs.npmjs.com/cli/v7/using-npm/scripts#best-practices) and [Yarn](https://yarnpkg.com/advanced/lifecycle-scripts#a-note-about-postinstall) best practices regarding autoinstall.** It's recommended to use `prepare` script instead (see [usage](https://typicode.github.io/husky/#/?id=usage) in docs). </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/davidsneighbour/hugo-modules). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
basename
/dirname
will treat$0
as an option if it starts with a-
; e.g. for-husky
:Why did my directory start with a hyphen instead of a dot in the first place? I'd... rather not answer this, but it's related to my setup and not a bug in this project.