@j178/prek 0.3.13 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +29 -0
- package/README.md +28 -25
- package/package.json +18 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.0
|
|
4
|
+
|
|
5
|
+
Released on 2026-05-14.
|
|
6
|
+
|
|
7
|
+
### Breaking changes
|
|
8
|
+
|
|
9
|
+
These are narrow cleanup breaks in behavior that was either temporary or never worked correctly. Most users should not need to change anything.
|
|
10
|
+
|
|
11
|
+
- Generated hook scripts no longer preserve `-q`, `-v`, or `--no-progress` passed to `prek install`. This only affects users who expected those global flags to be baked into installed hooks. ([#1966](https://github.com/j178/prek/pull/1966))
|
|
12
|
+
- `language_version` no longer accepts direct executable paths. Use `language_version: system` for a system toolchain, or use a supported version request instead. This path form did not work reliably before, so existing working configs should be unaffected. ([#1831](https://github.com/j178/prek/pull/1831))
|
|
13
|
+
|
|
14
|
+
### Enhancements
|
|
15
|
+
|
|
16
|
+
- Expand tilde in `--config`, `--cd`, `--log-file` and `--git-dir` ([#2063](https://github.com/j178/prek/pull/2063))
|
|
17
|
+
- Prevent auto-update cooldown downgrades ([#2055](https://github.com/j178/prek/pull/2055))
|
|
18
|
+
- Use managed npm cache for node hooks ([#2075](https://github.com/j178/prek/pull/2075))
|
|
19
|
+
|
|
20
|
+
### Bug fixes
|
|
21
|
+
|
|
22
|
+
- Fix npm config env overrides for node hooks ([#2074](https://github.com/j178/prek/pull/2074))
|
|
23
|
+
|
|
24
|
+
### Documentation
|
|
25
|
+
|
|
26
|
+
- Add cookbook page for enabling Git 2.54 config-based global hooks ([#2061](https://github.com/j178/prek/pull/2061))
|
|
27
|
+
|
|
28
|
+
### Contributors
|
|
29
|
+
|
|
30
|
+
- @j178
|
|
31
|
+
|
|
3
32
|
## 0.3.13
|
|
4
33
|
|
|
5
34
|
Released on 2026-05-06.
|
package/README.md
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
|
-
<
|
|
3
|
+
<picture>
|
|
4
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/j178/prek/master/docs/assets/logo-dark.png">
|
|
5
|
+
<img width="600" alt="prek" src="https://raw.githubusercontent.com/j178/prek/master/docs/assets/logo.png" />
|
|
6
|
+
</picture>
|
|
4
7
|
|
|
5
8
|
[](https://github.com/j178/prek)
|
|
6
9
|
[](https://pypi.python.org/pypi/prek)
|
|
@@ -60,7 +63,7 @@ On Linux and macOS:
|
|
|
60
63
|
<!-- --8<-- [start: linux-standalone-install] -->
|
|
61
64
|
|
|
62
65
|
```bash
|
|
63
|
-
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.
|
|
66
|
+
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.4.0/prek-installer.sh | sh
|
|
64
67
|
```
|
|
65
68
|
|
|
66
69
|
<!-- --8<-- [end: linux-standalone-install] -->
|
|
@@ -70,7 +73,7 @@ On Windows:
|
|
|
70
73
|
<!-- --8<-- [start: windows-standalone-install] -->
|
|
71
74
|
|
|
72
75
|
```powershell
|
|
73
|
-
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.
|
|
76
|
+
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.4.0/prek-installer.ps1 | iex"
|
|
74
77
|
```
|
|
75
78
|
|
|
76
79
|
<!-- --8<-- [end: windows-standalone-install] -->
|
|
@@ -381,37 +384,37 @@ prek is pretty new, but it is already being used or recommended by some projects
|
|
|
381
384
|
GitHub stars are current as of April 15, 2026.
|
|
382
385
|
|
|
383
386
|
- [apache/airflow](https://github.com/apache/airflow/issues/44995) <sub>45,050 stars</sub>
|
|
384
|
-
- [
|
|
385
|
-
- [
|
|
386
|
-
- [
|
|
387
|
-
- [fastapi/typer](https://github.com/fastapi/typer/pull/1453) <sub>19,210 stars</sub>
|
|
388
|
-
- [fastapi/asyncer](https://github.com/fastapi/asyncer/pull/437) <sub>2,407 stars</sub>
|
|
387
|
+
- [apache/iggy](https://github.com/apache/iggy/pull/2383) <sub>4,116 stars</sub>
|
|
388
|
+
- [apache/lucene](https://github.com/apache/lucene/pull/15629) <sub>3,401 stars</sub>
|
|
389
|
+
- [ast-grep/ast-grep](https://github.com/ast-grep/ast-grep.github.io/commit/e30818144b2967a7f9172c8cf2f4596bba219bf5) <sub>13,413 stars</sub>
|
|
389
390
|
- [astral-sh/ruff](https://github.com/astral-sh/ruff/pull/22505) <sub>47,070 stars</sub>
|
|
390
391
|
- [astral-sh/ty](https://github.com/astral-sh/ty/pull/2469) <sub>18,308 stars</sub>
|
|
391
|
-
- [openclaw/openclaw](https://github.com/openclaw/openclaw/pull/1720) <sub>357,512 stars</sub>
|
|
392
|
-
- [home-assistant/core](https://github.com/home-assistant/core/pull/160427) <sub>86,029 stars</sub>
|
|
393
|
-
- [python-telegram-bot/python-telegram-bot](https://github.com/python-telegram-bot/python-telegram-bot/pull/5142) <sub>29,025 stars</sub>
|
|
394
|
-
- [DetachHead/basedpyright](https://github.com/DetachHead/basedpyright/pull/1413) <sub>3,267 stars</sub>
|
|
395
|
-
- [OpenLineage/OpenLineage](https://github.com/OpenLineage/OpenLineage/pull/3965) <sub>2,406 stars</sub>
|
|
396
392
|
- [authlib/authlib](https://github.com/authlib/authlib/pull/804) <sub>5,271 stars</sub>
|
|
393
|
+
- [cachix/devenv](https://github.com/cachix/devenv/pull/2304) <sub>6,665 stars</sub>
|
|
394
|
+
- [cocoindex-io/cocoindex](https://github.com/cocoindex-io/cocoindex/pull/1564) <sub>6,865 stars</sub>
|
|
395
|
+
- [commitizen-tools/commitizen](https://github.com/commitizen-tools/commitizen) <sub>3,377 stars</sub>
|
|
396
|
+
- [DetachHead/basedpyright](https://github.com/DetachHead/basedpyright/pull/1413) <sub>3,267 stars</sub>
|
|
397
397
|
- [django/djangoproject.com](https://github.com/django/djangoproject.com/pull/2252) <sub>1,994 stars</sub>
|
|
398
|
+
- [fastapi/asyncer](https://github.com/fastapi/asyncer/pull/437) <sub>2,407 stars</sub>
|
|
399
|
+
- [fastapi/fastapi](https://github.com/fastapi/fastapi/pull/14572) <sub>97,209 stars</sub>
|
|
400
|
+
- [fastapi/typer](https://github.com/fastapi/typer/pull/1453) <sub>19,210 stars</sub>
|
|
398
401
|
- [Future-House/paper-qa](https://github.com/Future-House/paper-qa/pull/1098) <sub>8,377 stars</sub>
|
|
402
|
+
- [getsentry/sentry](https://github.com/getsentry/sentry/pull/110808) <sub>43,639 stars</sub>
|
|
403
|
+
- [godotengine/godot](https://github.com/godotengine/godot/pull/119150) <sub>110,312 stars</sub>
|
|
399
404
|
- [Goldziher/kreuzberg](https://github.com/Goldziher/kreuzberg/pull/142) <sub>7,550 stars</sub>
|
|
400
|
-
- [
|
|
401
|
-
- [jlowin/fastmcp](https://github.com/jlowin/fastmcp/pull/2309) <sub>24,539 stars</sub>
|
|
402
|
-
- [apache/iggy](https://github.com/apache/iggy/pull/2383) <sub>4,116 stars</sub>
|
|
403
|
-
- [apache/lucene](https://github.com/apache/lucene/pull/15629) <sub>3,401 stars</sub>
|
|
405
|
+
- [home-assistant/core](https://github.com/home-assistant/core/pull/160427) <sub>86,029 stars</sub>
|
|
404
406
|
- [jcrist/msgspec](https://github.com/jcrist/msgspec/pull/918) <sub>3,692 stars</sub>
|
|
407
|
+
- [jlowin/fastmcp](https://github.com/jlowin/fastmcp/pull/2309) <sub>24,539 stars</sub>
|
|
405
408
|
- [MoonshotAI/kimi-cli](https://github.com/MoonshotAI/kimi-cli/pull/535) <sub>7,800 stars</sub>
|
|
406
|
-
- [
|
|
407
|
-
- [
|
|
408
|
-
- [
|
|
409
|
-
- [cocoindex-io/cocoindex](https://github.com/cocoindex-io/cocoindex/pull/1564) <sub>6,865 stars</sub>
|
|
410
|
-
- [cachix/devenv](https://github.com/cachix/devenv/pull/2304) <sub>6,665 stars</sub>
|
|
411
|
-
- [pyodide/pyodide](https://github.com/pyodide/pyodide/pull/6182) <sub>14,527 stars</sub>
|
|
409
|
+
- [openclaw/openclaw](https://github.com/openclaw/openclaw/pull/1720) <sub>357,512 stars</sub>
|
|
410
|
+
- [OpenLineage/OpenLineage](https://github.com/OpenLineage/OpenLineage/pull/3965) <sub>2,406 stars</sub>
|
|
411
|
+
- [pdm-project/pdm](https://github.com/pdm-project/pdm/pull/3593) <sub>8,553 stars</sub>
|
|
412
412
|
- [prowler-cloud/prowler](https://github.com/prowler-cloud/prowler/pull/10601) <sub>13,592 stars</sub>
|
|
413
|
-
- [
|
|
414
|
-
- [
|
|
413
|
+
- [pyodide/pyodide](https://github.com/pyodide/pyodide/pull/6182) <sub>14,527 stars</sub>
|
|
414
|
+
- [python-attrs/attrs](https://github.com/python-attrs/attrs/commit/c95b177682e76a63478d29d040f9cb36a8d31915) <sub>5,770 stars</sub>
|
|
415
|
+
- [python-telegram-bot/python-telegram-bot](https://github.com/python-telegram-bot/python-telegram-bot/pull/5142) <sub>29,025 stars</sub>
|
|
416
|
+
- [python/cpython](https://github.com/python/cpython/issues/143148) <sub>72,330 stars</sub>
|
|
417
|
+
- [simple-icons/simple-icons](https://github.com/simple-icons/simple-icons/pull/14245) <sub>24,873 stars</sub>
|
|
415
418
|
|
|
416
419
|
<!-- --8<-- [end: why] -->
|
|
417
420
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@j178/prek",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "A fast Git hook manager written in Rust, designed as a drop-in alternative to pre-commit, reimagined.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -26,22 +26,22 @@
|
|
|
26
26
|
"LICENSE"
|
|
27
27
|
],
|
|
28
28
|
"optionalDependencies": {
|
|
29
|
-
"@j178/prek-darwin-arm64": "0.
|
|
30
|
-
"@j178/prek-darwin-x64": "0.
|
|
31
|
-
"@j178/prek-linux-arm64-gnu": "0.
|
|
32
|
-
"@j178/prek-linux-arm64-musl": "0.
|
|
33
|
-
"@j178/prek-android-arm64": "0.
|
|
34
|
-
"@j178/prek-linux-arm-gnueabihf": "0.
|
|
35
|
-
"@j178/prek-linux-arm-musleabihf": "0.
|
|
36
|
-
"@j178/prek-linux-armv7-musleabihf": "0.
|
|
37
|
-
"@j178/prek-linux-ia32-gnu": "0.
|
|
38
|
-
"@j178/prek-linux-ia32-musl": "0.
|
|
39
|
-
"@j178/prek-linux-riscv64-gnu": "0.
|
|
40
|
-
"@j178/prek-linux-s390x-gnu": "0.
|
|
41
|
-
"@j178/prek-linux-x64-gnu": "0.
|
|
42
|
-
"@j178/prek-linux-x64-musl": "0.
|
|
43
|
-
"@j178/prek-win32-arm64-msvc": "0.
|
|
44
|
-
"@j178/prek-win32-ia32-msvc": "0.
|
|
45
|
-
"@j178/prek-win32-x64-msvc": "0.
|
|
29
|
+
"@j178/prek-darwin-arm64": "0.4.0",
|
|
30
|
+
"@j178/prek-darwin-x64": "0.4.0",
|
|
31
|
+
"@j178/prek-linux-arm64-gnu": "0.4.0",
|
|
32
|
+
"@j178/prek-linux-arm64-musl": "0.4.0",
|
|
33
|
+
"@j178/prek-android-arm64": "0.4.0",
|
|
34
|
+
"@j178/prek-linux-arm-gnueabihf": "0.4.0",
|
|
35
|
+
"@j178/prek-linux-arm-musleabihf": "0.4.0",
|
|
36
|
+
"@j178/prek-linux-armv7-musleabihf": "0.4.0",
|
|
37
|
+
"@j178/prek-linux-ia32-gnu": "0.4.0",
|
|
38
|
+
"@j178/prek-linux-ia32-musl": "0.4.0",
|
|
39
|
+
"@j178/prek-linux-riscv64-gnu": "0.4.0",
|
|
40
|
+
"@j178/prek-linux-s390x-gnu": "0.4.0",
|
|
41
|
+
"@j178/prek-linux-x64-gnu": "0.4.0",
|
|
42
|
+
"@j178/prek-linux-x64-musl": "0.4.0",
|
|
43
|
+
"@j178/prek-win32-arm64-msvc": "0.4.0",
|
|
44
|
+
"@j178/prek-win32-ia32-msvc": "0.4.0",
|
|
45
|
+
"@j178/prek-win32-x64-msvc": "0.4.0"
|
|
46
46
|
}
|
|
47
47
|
}
|