install via git for `language: node` by asottile · Pull Request #3719 · pre-commit/pre-commit
Repository navigation
install via git for language: node - #3719
Merged
asottile merged 1 commit into main from npm-unknown-options Jul 15, 2026
Merged
install via git for language: node #3719
asottile merged 1 commit into
main from
npm-unknown-options
Conversation
asottile commented Jul 15, 2026 · edited Loading
Copy link Copy Markdown
Member
this avoids trying to play catch-up with whatever preparation commands npm does when installing from npm i git+... (which differs from npm i a/dir) the latter does not run any preparation commands leading to broken installs
the previous command we were using was suggested by the npm devs, however some of the options that it was using are no longer part of npm itself and npm 12.x errors on unknown options
this ~technically breaks compatibility on windows some 2019-era npm versions but it's big 26 so...
resolves #3517
install via git for language: node
b1cc920
this avoids trying to play catch-up with whatever preparation commands npm does when installing from `npm i git+...` (which differs from `npm i a/dir`) the latter does not run any preparation commands leading to broken installs the previous command we were using was suggested by the npm devs, however some of the options that it was using are no longer part of npm itself and npm 12.x errors on unknown optionsasottile marked this pull request as ready for review July 15, 2026 20:31 asottile enabled auto-merge July 15, 2026 20:32 asottile merged commit
b2b9119
into
main
Jul 15, 2026
27 checks passed
asottile
deleted the
npm-unknown-options
branch
July 15, 2026 20:38
asottile
mentioned this pull request
Jul 15, 2026
fix: Proper way of finding npm pack filename output.
#3460
Closed
yxtay commented Jul 17, 2026
Copy link Copy Markdown
|
Will there be a release soon containing this fix? |
asottile commented Jul 17, 2026
Copy link Copy Markdown
Member
Author
|
I plan to never release this! hahaha |
iTrooz commented Jul 21, 2026
Copy link Copy Markdown
|
You can do |
language: node hooks without additional_dependencies fail with AssertionError
#3728
Closed
SimonHeybrock
mentioned this pull request
Aug 3, 2026
CI: pre-commit 4.6.1 cannot install language: node hooks (anti-trojan-source)
scipp/esslivedata#1162
Closed
youtalk
mentioned this pull request
Aug 3, 2026
ci(pre-commit): run format-cspell-json as a script hook
autowarefoundation/autoware-spell-check-dict#142
Merged
tagoro9
mentioned this pull request
Sep 21, 2026
fix: pin npm past an EALLOWGIT regression that breaks node-hook installs
open-turo/action-pre-commit#208
Closed
4 tasks done
This was referenced Oct 9, 2026
npm install git+file:// during hook install inside a submodule overwrites the submodule's index
#3773
Closed
don't leak GIT_* env into npm install for language: node
#3774
Merged
blairham
mentioned this pull request
Oct 15, 2026
language: node: install via git+file like upstream 4.6.1-4.7.0 (npm 12)
blairham/go-pre-commit#102
Closed
rlichtenwalter
pushed a commit
to rlichtenwalter/kdtree
that referenced
this pull request
Oct 16, 2026
chore: Update pre-commit hooks
177e0e7
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | Type | Update | |---|---|---|---|---|---| | [pre-commit](https://github.com/pre-commit/pre-commit) | `4.5.1` → `4.7.0` |  |  | | minor | | [pre-commit/mirrors-clang-format](https://github.com/pre-commit/mirrors-clang-format) | `v23.1.1` → `v23.1.3` |  |  | repository | patch | | [rbubley/mirrors-prettier](https://github.com/rbubley/mirrors-prettier) | `v3.9.9` → `v3.9.10` |  |  | repository | patch | Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://github.com/renovatebot/renovate/discussions/new) if you have any questions. --- ### Release Notes <details> <summary>pre-commit/pre-commit (pre-commit)</summary> ### [`v4.7.0`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#470---2026-10-12) [Compare Source](pre-commit/pre-commit@v4.6.2...v4.7.0) \================== ##### Fixes - Fix `language: node` hooks during commit with `-a` or inside a submodule. - Regressed in 4.6.1. - [#​3773](pre-commit/pre-commit#3773) issue by [@​cbirkhold](https://github.com/cbirkhold). - [#​3774](pre-commit/pre-commit#3774) PR by [@​cbirkhold](https://github.com/cbirkhold). ### [`v4.6.2`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#462---2026-08-10) [Compare Source](pre-commit/pre-commit@v4.6.1...v4.6.2) \================== ##### Fixes - Fix `language: node` hooks that contain `"scripts": {"build": ...}` with npm 11.x. - Regressed in 4.6.1. - [#​3737](pre-commit/pre-commit#3737) issue by [@​mheiges](https://github.com/mheiges). - [#​3743](pre-commit/pre-commit#3743) PR by [@​asottile](https://github.com/asottile). ### [`v4.6.1`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#461---2026-07-21) [Compare Source](pre-commit/pre-commit@v4.6.0...v4.6.1) \================== ##### Fixes - Install `language: node` hooks via `git`. - Fixes npm 12.x compatibility - [#​3719](pre-commit/pre-commit#3719) PR by [@​asottile](https://github.com/asottile). - [#​3517](pre-commit/pre-commit#3517) issue by [@​ojob](https://github.com/ojob). - Set `JULIA_DEPOT_PATH` for `language: julia`. - [#​3711](pre-commit/pre-commit#3711) PR by [@​damonbayer](https://github.com/damonbayer). - [pre-commit-ci/runner-image#335](pre-commit-ci/runner-image#335) issue by [@​damonbayer](https://github.com/damonbayer). - Produce error on mistyped `--repo` for `pre-commit autoupdate`. - [#​3701](pre-commit/pre-commit#3701) PR by [@​mxr](https://github.com/mxr). - [#​3695](pre-commit/pre-commit#3695) issue by [@​mxr](https://github.com/mxr). - Improve performance of commit existence check in `pre-push`. - [#​3726](pre-commit/pre-commit#3726) PR by [@​asottile](https://github.com/asottile). - [#​3604](pre-commit/pre-commit#3604) issue by [@​ptarjan](https://github.com/ptarjan). - Avoid duplicating conflicted filenames during `pre-commit run --all-files`. - [#​3727](pre-commit/pre-commit#3727) PR by [@​asottile](https://github.com/asottile). - [#​3706](pre-commit/pre-commit#3706) issue by [@​RomanValov](https://github.com/RomanValov). ### [`v4.6.0`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#460---2026-04-21) [Compare Source](pre-commit/pre-commit@v4.5.1...v4.6.0) \================== ##### Features - `pre-commit hook-impl`: allow `--hook-dir` to be missing to enable easier usage with `git` 2.54+ git hooks. - [#​3662](pre-commit/pre-commit#3662) PR by [@​asottile](https://github.com/asottile). ##### Fixes - `pre-commit hook-impl`: `--hook-type` is required. - [#​3661](pre-commit/pre-commit#3661) PR by [@​asottile](https://github.com/asottile). </details> <details> <summary>pre-commit/mirrors-clang-format (pre-commit/mirrors-clang-format)</summary> ### [`v23.1.3`](pre-commit/mirrors-clang-format@v23.1.2...v23.1.3) [Compare Source](pre-commit/mirrors-clang-format@v23.1.2...v23.1.3) ### [`v23.1.2`](pre-commit/mirrors-clang-format@v23.1.1...v23.1.2) [Compare Source](pre-commit/mirrors-clang-format@v23.1.1...v23.1.2) </details> <details> <summary>rbubley/mirrors-prettier (rbubley/mirrors-prettier)</summary> ### [`v3.9.10`](rbubley/mirrors-prettier@v3.9.9...v3.9.10) [Compare Source](rbubley/mirrors-prettier@v3.9.9...v3.9.10) </details> --- ### Configuration 📅 **Schedule**: (in timezone America/Denver) - Branch creation - Between 02:00 AM and 06:59 AM, only on Tuesday (`* 2-6 * * 2`) - 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://github.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 CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMzIuMiIsInVwZGF0ZWRJblZlciI6IjQ0LjEzMi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==--> Reviewed-on: https://git.lichtenwalter.site/rlichten/kdtree/pulls/69 Claude-Session: https://claude.ai/code/session_016fdoaYYuKfcUK1CpBzCeBN Co-authored-by: Dependency Updater <svc-deps-bot@lichtenwalter.site>rlichtenwalter pushed a commit to rlichtenwalter/mRMR that referenced this pull request Oct 16, 2026
chore: Update pre-commit hooks
7502f47
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | Type | Update | |---|---|---|---|---|---| | [pre-commit](https://github.com/pre-commit/pre-commit) | `4.5.1` → `4.7.0` |  |  | | minor | | [pre-commit/mirrors-clang-format](https://github.com/pre-commit/mirrors-clang-format) | `v23.1.1` → `v23.1.3` |  |  | repository | patch | | [rbubley/mirrors-prettier](https://github.com/rbubley/mirrors-prettier) | `v3.9.9` → `v3.9.10` |  |  | repository | patch | Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://github.com/renovatebot/renovate/discussions/new) if you have any questions. --- ### Release Notes <details> <summary>pre-commit/pre-commit (pre-commit)</summary> ### [`v4.7.0`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#470---2026-10-12) [Compare Source](pre-commit/pre-commit@v4.6.2...v4.7.0) \================== ##### Fixes - Fix `language: node` hooks during commit with `-a` or inside a submodule. - Regressed in 4.6.1. - [#​3773](pre-commit/pre-commit#3773) issue by [@​cbirkhold](https://github.com/cbirkhold). - [#​3774](pre-commit/pre-commit#3774) PR by [@​cbirkhold](https://github.com/cbirkhold). ### [`v4.6.2`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#462---2026-08-10) [Compare Source](pre-commit/pre-commit@v4.6.1...v4.6.2) \================== ##### Fixes - Fix `language: node` hooks that contain `"scripts": {"build": ...}` with npm 11.x. - Regressed in 4.6.1. - [#​3737](pre-commit/pre-commit#3737) issue by [@​mheiges](https://github.com/mheiges). - [#​3743](pre-commit/pre-commit#3743) PR by [@​asottile](https://github.com/asottile). ### [`v4.6.1`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#461---2026-07-21) [Compare Source](pre-commit/pre-commit@v4.6.0...v4.6.1) \================== ##### Fixes - Install `language: node` hooks via `git`. - Fixes npm 12.x compatibility - [#​3719](pre-commit/pre-commit#3719) PR by [@​asottile](https://github.com/asottile). - [#​3517](pre-commit/pre-commit#3517) issue by [@​ojob](https://github.com/ojob). - Set `JULIA_DEPOT_PATH` for `language: julia`. - [#​3711](pre-commit/pre-commit#3711) PR by [@​damonbayer](https://github.com/damonbayer). - [pre-commit-ci/runner-image#335](pre-commit-ci/runner-image#335) issue by [@​damonbayer](https://github.com/damonbayer). - Produce error on mistyped `--repo` for `pre-commit autoupdate`. - [#​3701](pre-commit/pre-commit#3701) PR by [@​mxr](https://github.com/mxr). - [#​3695](pre-commit/pre-commit#3695) issue by [@​mxr](https://github.com/mxr). - Improve performance of commit existence check in `pre-push`. - [#​3726](pre-commit/pre-commit#3726) PR by [@​asottile](https://github.com/asottile). - [#​3604](pre-commit/pre-commit#3604) issue by [@​ptarjan](https://github.com/ptarjan). - Avoid duplicating conflicted filenames during `pre-commit run --all-files`. - [#​3727](pre-commit/pre-commit#3727) PR by [@​asottile](https://github.com/asottile). - [#​3706](pre-commit/pre-commit#3706) issue by [@​RomanValov](https://github.com/RomanValov). ### [`v4.6.0`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#460---2026-04-21) [Compare Source](pre-commit/pre-commit@v4.5.1...v4.6.0) \================== ##### Features - `pre-commit hook-impl`: allow `--hook-dir` to be missing to enable easier usage with `git` 2.54+ git hooks. - [#​3662](pre-commit/pre-commit#3662) PR by [@​asottile](https://github.com/asottile). ##### Fixes - `pre-commit hook-impl`: `--hook-type` is required. - [#​3661](pre-commit/pre-commit#3661) PR by [@​asottile](https://github.com/asottile). </details> <details> <summary>pre-commit/mirrors-clang-format (pre-commit/mirrors-clang-format)</summary> ### [`v23.1.3`](pre-commit/mirrors-clang-format@v23.1.2...v23.1.3) [Compare Source](pre-commit/mirrors-clang-format@v23.1.2...v23.1.3) ### [`v23.1.2`](pre-commit/mirrors-clang-format@v23.1.1...v23.1.2) [Compare Source](pre-commit/mirrors-clang-format@v23.1.1...v23.1.2) </details> <details> <summary>rbubley/mirrors-prettier (rbubley/mirrors-prettier)</summary> ### [`v3.9.10`](rbubley/mirrors-prettier@v3.9.9...v3.9.10) [Compare Source](rbubley/mirrors-prettier@v3.9.9...v3.9.10) </details> --- ### Configuration 📅 **Schedule**: (in timezone America/Denver) - Branch creation - Between 02:00 AM and 06:59 AM, only on Tuesday (`* 2-6 * * 2`) - 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://github.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 CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMzIuMiIsInVwZGF0ZWRJblZlciI6IjQ0LjEzMi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==--> Reviewed-on: https://git.lichtenwalter.site/rlichten/mRMR/pulls/79 Claude-Session: https://claude.ai/code/session_016fdoaYYuKfcUK1CpBzCeBN Co-authored-by: Dependency Updater <svc-deps-bot@lichtenwalter.site>rlichtenwalter pushed a commit to rlichtenwalter/popc that referenced this pull request Oct 16, 2026
chore: Update pre-commit hooks
9b3e95a
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | Type | Update | |---|---|---|---|---|---| | [pre-commit](https://github.com/pre-commit/pre-commit) | `4.5.1` → `4.7.0` |  |  | | minor | | [pre-commit/mirrors-clang-format](https://github.com/pre-commit/mirrors-clang-format) | `v23.1.1` → `v23.1.3` |  |  | repository | patch | | [rbubley/mirrors-prettier](https://github.com/rbubley/mirrors-prettier) | `v3.9.9` → `v3.9.10` |  |  | repository | patch | Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://github.com/renovatebot/renovate/discussions/new) if you have any questions. --- ### Release Notes <details> <summary>pre-commit/pre-commit (pre-commit)</summary> ### [`v4.7.0`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#470---2026-10-12) [Compare Source](pre-commit/pre-commit@v4.6.2...v4.7.0) \================== ##### Fixes - Fix `language: node` hooks during commit with `-a` or inside a submodule. - Regressed in 4.6.1. - [#​3773](pre-commit/pre-commit#3773) issue by [@​cbirkhold](https://github.com/cbirkhold). - [#​3774](pre-commit/pre-commit#3774) PR by [@​cbirkhold](https://github.com/cbirkhold). ### [`v4.6.2`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#462---2026-08-10) [Compare Source](pre-commit/pre-commit@v4.6.1...v4.6.2) \================== ##### Fixes - Fix `language: node` hooks that contain `"scripts": {"build": ...}` with npm 11.x. - Regressed in 4.6.1. - [#​3737](pre-commit/pre-commit#3737) issue by [@​mheiges](https://github.com/mheiges). - [#​3743](pre-commit/pre-commit#3743) PR by [@​asottile](https://github.com/asottile). ### [`v4.6.1`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#461---2026-07-21) [Compare Source](pre-commit/pre-commit@v4.6.0...v4.6.1) \================== ##### Fixes - Install `language: node` hooks via `git`. - Fixes npm 12.x compatibility - [#​3719](pre-commit/pre-commit#3719) PR by [@​asottile](https://github.com/asottile). - [#​3517](pre-commit/pre-commit#3517) issue by [@​ojob](https://github.com/ojob). - Set `JULIA_DEPOT_PATH` for `language: julia`. - [#​3711](pre-commit/pre-commit#3711) PR by [@​damonbayer](https://github.com/damonbayer). - [pre-commit-ci/runner-image#335](pre-commit-ci/runner-image#335) issue by [@​damonbayer](https://github.com/damonbayer). - Produce error on mistyped `--repo` for `pre-commit autoupdate`. - [#​3701](pre-commit/pre-commit#3701) PR by [@​mxr](https://github.com/mxr). - [#​3695](pre-commit/pre-commit#3695) issue by [@​mxr](https://github.com/mxr). - Improve performance of commit existence check in `pre-push`. - [#​3726](pre-commit/pre-commit#3726) PR by [@​asottile](https://github.com/asottile). - [#​3604](pre-commit/pre-commit#3604) issue by [@​ptarjan](https://github.com/ptarjan). - Avoid duplicating conflicted filenames during `pre-commit run --all-files`. - [#​3727](pre-commit/pre-commit#3727) PR by [@​asottile](https://github.com/asottile). - [#​3706](pre-commit/pre-commit#3706) issue by [@​RomanValov](https://github.com/RomanValov). ### [`v4.6.0`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#460---2026-04-21) [Compare Source](pre-commit/pre-commit@v4.5.1...v4.6.0) \================== ##### Features - `pre-commit hook-impl`: allow `--hook-dir` to be missing to enable easier usage with `git` 2.54+ git hooks. - [#​3662](pre-commit/pre-commit#3662) PR by [@​asottile](https://github.com/asottile). ##### Fixes - `pre-commit hook-impl`: `--hook-type` is required. - [#​3661](pre-commit/pre-commit#3661) PR by [@​asottile](https://github.com/asottile). </details> <details> <summary>pre-commit/mirrors-clang-format (pre-commit/mirrors-clang-format)</summary> ### [`v23.1.3`](pre-commit/mirrors-clang-format@v23.1.2...v23.1.3) [Compare Source](pre-commit/mirrors-clang-format@v23.1.2...v23.1.3) ### [`v23.1.2`](pre-commit/mirrors-clang-format@v23.1.1...v23.1.2) [Compare Source](pre-commit/mirrors-clang-format@v23.1.1...v23.1.2) </details> <details> <summary>rbubley/mirrors-prettier (rbubley/mirrors-prettier)</summary> ### [`v3.9.10`](rbubley/mirrors-prettier@v3.9.9...v3.9.10) [Compare Source](rbubley/mirrors-prettier@v3.9.9...v3.9.10) </details> --- ### Configuration 📅 **Schedule**: (in timezone America/Denver) - Branch creation - Between 02:00 AM and 06:59 AM, only on Tuesday (`* 2-6 * * 2`) - 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://github.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 CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMzIuMiIsInVwZGF0ZWRJblZlciI6IjQ0LjEzMi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==--> Reviewed-on: https://git.lichtenwalter.site/rlichten/popc/pulls/33 Claude-Session: https://claude.ai/code/session_016fdoaYYuKfcUK1CpBzCeBN Co-authored-by: Dependency Updater <svc-deps-bot@lichtenwalter.site>rlichtenwalter pushed a commit to rlichtenwalter/vcp that referenced this pull request Oct 16, 2026
chore: Update pre-commit hooks
134b5b8
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | Type | Update | |---|---|---|---|---|---| | [pre-commit](https://github.com/pre-commit/pre-commit) | `4.5.1` → `4.7.0` |  |  | | minor | | [pre-commit/mirrors-clang-format](https://github.com/pre-commit/mirrors-clang-format) | `v23.1.1` → `v23.1.3` |  |  | repository | patch | | [rbubley/mirrors-prettier](https://github.com/rbubley/mirrors-prettier) | `v3.9.9` → `v3.9.10` |  |  | repository | patch | Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://github.com/renovatebot/renovate/discussions/new) if you have any questions. --- ### Release Notes <details> <summary>pre-commit/pre-commit (pre-commit)</summary> ### [`v4.7.0`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#470---2026-10-12) [Compare Source](pre-commit/pre-commit@v4.6.2...v4.7.0) \================== ##### Fixes - Fix `language: node` hooks during commit with `-a` or inside a submodule. - Regressed in 4.6.1. - [#​3773](pre-commit/pre-commit#3773) issue by [@​cbirkhold](https://github.com/cbirkhold). - [#​3774](pre-commit/pre-commit#3774) PR by [@​cbirkhold](https://github.com/cbirkhold). ### [`v4.6.2`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#462---2026-08-10) [Compare Source](pre-commit/pre-commit@v4.6.1...v4.6.2) \================== ##### Fixes - Fix `language: node` hooks that contain `"scripts": {"build": ...}` with npm 11.x. - Regressed in 4.6.1. - [#​3737](pre-commit/pre-commit#3737) issue by [@​mheiges](https://github.com/mheiges). - [#​3743](pre-commit/pre-commit#3743) PR by [@​asottile](https://github.com/asottile). ### [`v4.6.1`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#461---2026-07-21) [Compare Source](pre-commit/pre-commit@v4.6.0...v4.6.1) \================== ##### Fixes - Install `language: node` hooks via `git`. - Fixes npm 12.x compatibility - [#​3719](pre-commit/pre-commit#3719) PR by [@​asottile](https://github.com/asottile). - [#​3517](pre-commit/pre-commit#3517) issue by [@​ojob](https://github.com/ojob). - Set `JULIA_DEPOT_PATH` for `language: julia`. - [#​3711](pre-commit/pre-commit#3711) PR by [@​damonbayer](https://github.com/damonbayer). - [pre-commit-ci/runner-image#335](pre-commit-ci/runner-image#335) issue by [@​damonbayer](https://github.com/damonbayer). - Produce error on mistyped `--repo` for `pre-commit autoupdate`. - [#​3701](pre-commit/pre-commit#3701) PR by [@​mxr](https://github.com/mxr). - [#​3695](pre-commit/pre-commit#3695) issue by [@​mxr](https://github.com/mxr). - Improve performance of commit existence check in `pre-push`. - [#​3726](pre-commit/pre-commit#3726) PR by [@​asottile](https://github.com/asottile). - [#​3604](pre-commit/pre-commit#3604) issue by [@​ptarjan](https://github.com/ptarjan). - Avoid duplicating conflicted filenames during `pre-commit run --all-files`. - [#​3727](pre-commit/pre-commit#3727) PR by [@​asottile](https://github.com/asottile). - [#​3706](pre-commit/pre-commit#3706) issue by [@​RomanValov](https://github.com/RomanValov). ### [`v4.6.0`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#460---2026-04-21) [Compare Source](pre-commit/pre-commit@v4.5.1...v4.6.0) \================== ##### Features - `pre-commit hook-impl`: allow `--hook-dir` to be missing to enable easier usage with `git` 2.54+ git hooks. - [#​3662](pre-commit/pre-commit#3662) PR by [@​asottile](https://github.com/asottile). ##### Fixes - `pre-commit hook-impl`: `--hook-type` is required. - [#​3661](pre-commit/pre-commit#3661) PR by [@​asottile](https://github.com/asottile). </details> <details> <summary>pre-commit/mirrors-clang-format (pre-commit/mirrors-clang-format)</summary> ### [`v23.1.3`](pre-commit/mirrors-clang-format@v23.1.2...v23.1.3) [Compare Source](pre-commit/mirrors-clang-format@v23.1.2...v23.1.3) ### [`v23.1.2`](pre-commit/mirrors-clang-format@v23.1.1...v23.1.2) [Compare Source](pre-commit/mirrors-clang-format@v23.1.1...v23.1.2) </details> <details> <summary>rbubley/mirrors-prettier (rbubley/mirrors-prettier)</summary> ### [`v3.9.10`](rbubley/mirrors-prettier@v3.9.9...v3.9.10) [Compare Source](rbubley/mirrors-prettier@v3.9.9...v3.9.10) </details> --- ### Configuration 📅 **Schedule**: (in timezone America/Denver) - Branch creation - Between 02:00 AM and 06:59 AM, only on Tuesday (`* 2-6 * * 2`) - 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://github.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 CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMzIuMiIsInVwZGF0ZWRJblZlciI6IjQ0LjEzMi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==--> Reviewed-on: https://git.lichtenwalter.site/rlichten/vcp/pulls/51 Claude-Session: https://claude.ai/code/session_016fdoaYYuKfcUK1CpBzCeBN Co-authored-by: Dependency Updater <svc-deps-bot@lichtenwalter.site>mvillmow mentioned this pull request Oct 19, 2026 fix(ci): preserve the contribution index during cold hook setup HomericIntelligence/Hephaestus#3426 Merged Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment