@j178/prek 0.2.25 → 0.2.27
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 +40 -0
- package/README.md +5 -2
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.27
|
|
4
|
+
|
|
5
|
+
Released on 2026-01-07.
|
|
6
|
+
|
|
7
|
+
### Highlights
|
|
8
|
+
|
|
9
|
+
`python/cpython` is now [using](https://github.com/j178/prek/pull/1308) prek. That’s the highlight of this release!
|
|
10
|
+
|
|
11
|
+
### Enhancements
|
|
12
|
+
|
|
13
|
+
- Add hook-level `env` option to set environment variables for hooks (#1279) ([#1285](https://github.com/j178/prek/pull/1285))
|
|
14
|
+
- Support apple's `container` for docker language ([#1306](https://github.com/j178/prek/pull/1306))
|
|
15
|
+
- Skip cookiecutter template directories like `{{cookiecutter.project_slug}}` during project discovery ([#1316](https://github.com/j178/prek/pull/1316))
|
|
16
|
+
- Use global `CONCURRENCY` for repo clone ([#1292](https://github.com/j178/prek/pull/1292))
|
|
17
|
+
- untar: disallow external symlinks ([#1314](https://github.com/j178/prek/pull/1314))
|
|
18
|
+
|
|
19
|
+
### Bug fixes
|
|
20
|
+
|
|
21
|
+
- Exit with success if no hooks match the hook stage ([#1317](https://github.com/j178/prek/pull/1317))
|
|
22
|
+
- Fix Go template string to detect rootless podman ([#1302](https://github.com/j178/prek/pull/1302))
|
|
23
|
+
- Panic on overly long filenames instead of silently dropping files ([#1287](https://github.com/j178/prek/pull/1287))
|
|
24
|
+
|
|
25
|
+
### Other changes
|
|
26
|
+
|
|
27
|
+
- Add `python/cpython` to users ([#1308](https://github.com/j178/prek/pull/1308))
|
|
28
|
+
- Add `MoonshotAI/kimi-cli` to users ([#1286](https://github.com/j178/prek/pull/1286))
|
|
29
|
+
- Drop powerpc64 wheels ([#1319](https://github.com/j178/prek/pull/1319))
|
|
30
|
+
|
|
31
|
+
### Contributors
|
|
32
|
+
|
|
33
|
+
- @ulgens
|
|
34
|
+
- @loganaden
|
|
35
|
+
- @danielparks
|
|
36
|
+
- @branchv
|
|
37
|
+
- @j178
|
|
38
|
+
- @yihong0618
|
|
39
|
+
- @mocknen
|
|
40
|
+
- @copilot-swe-agent
|
|
41
|
+
- @ZhuoZhuoCrayon
|
|
42
|
+
|
|
3
43
|
## 0.2.25
|
|
4
44
|
|
|
5
45
|
Released on 2025-12-27.
|
package/README.md
CHANGED
|
@@ -58,7 +58,7 @@ On Linux and macOS:
|
|
|
58
58
|
|
|
59
59
|
<!-- linux-standalone-install:start -->
|
|
60
60
|
```bash
|
|
61
|
-
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.2.
|
|
61
|
+
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.2.27/prek-installer.sh | sh
|
|
62
62
|
```
|
|
63
63
|
<!-- linux-standalone-install:end -->
|
|
64
64
|
|
|
@@ -66,7 +66,7 @@ On Windows:
|
|
|
66
66
|
|
|
67
67
|
<!-- windows-standalone-install:start -->
|
|
68
68
|
```powershell
|
|
69
|
-
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.2.
|
|
69
|
+
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.2.27/prek-installer.ps1 | iex"
|
|
70
70
|
```
|
|
71
71
|
<!-- windows-standalone-install:end -->
|
|
72
72
|
|
|
@@ -313,6 +313,7 @@ For more detailed improvements prek offers, take a look at [Difference from pre-
|
|
|
313
313
|
prek is pretty new, but it is already being used or recommend by some projects and organizations:
|
|
314
314
|
|
|
315
315
|
- [apache/airflow](https://github.com/apache/airflow/issues/44995)
|
|
316
|
+
- [python/cpython](https://github.com/python/cpython/issues/143148)
|
|
316
317
|
- [pdm-project/pdm](https://github.com/pdm-project/pdm/pull/3593)
|
|
317
318
|
- [fastapi/fastapi](https://github.com/fastapi/fastapi/pull/14572)
|
|
318
319
|
- [fastapi/typer](https://github.com/fastapi/typer/pull/1453)
|
|
@@ -329,6 +330,8 @@ prek is pretty new, but it is already being used or recommend by some projects a
|
|
|
329
330
|
- [apache/iceberg-python](https://github.com/apache/iceberg-python/pull/2533)
|
|
330
331
|
- [jcrist/msgspec](https://github.com/jcrist/msgspec/pull/918)
|
|
331
332
|
- [python-humanize/humanize](https://github.com/python-humanize/humanize/pull/276)
|
|
333
|
+
- [MoonshotAI/kimi-cli](https://github.com/MoonshotAI/kimi-cli/pull/535)
|
|
334
|
+
- [ZhuoZhuoCrayon/throttled-py](https://github.com/ZhuoZhuoCrayon/throttled-py/pull/119)
|
|
332
335
|
|
|
333
336
|
<!-- why:end -->
|
|
334
337
|
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"hasInstallScript": true,
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"name": "@j178/prek",
|
|
26
|
-
"version": "0.2.
|
|
26
|
+
"version": "0.2.27"
|
|
27
27
|
},
|
|
28
28
|
"node_modules/@isaacs/balanced-match": {
|
|
29
29
|
"engines": {
|
|
@@ -515,5 +515,5 @@
|
|
|
515
515
|
}
|
|
516
516
|
},
|
|
517
517
|
"requires": true,
|
|
518
|
-
"version": "0.2.
|
|
518
|
+
"version": "0.2.27"
|
|
519
519
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"artifactDownloadUrl": "https://github.com/j178/prek/releases/download/v0.2.
|
|
2
|
+
"artifactDownloadUrl": "https://github.com/j178/prek/releases/download/v0.2.27",
|
|
3
3
|
"author": "j178 <hi@j178.dev>",
|
|
4
4
|
"bin": {
|
|
5
5
|
"prek": "run-prek.js"
|
|
@@ -153,20 +153,6 @@
|
|
|
153
153
|
},
|
|
154
154
|
"zipExt": ".tar.gz"
|
|
155
155
|
},
|
|
156
|
-
"powerpc64-unknown-linux-gnu": {
|
|
157
|
-
"artifactName": "prek-powerpc64-unknown-linux-gnu.tar.gz",
|
|
158
|
-
"bins": {
|
|
159
|
-
"prek": "prek"
|
|
160
|
-
},
|
|
161
|
-
"zipExt": ".tar.gz"
|
|
162
|
-
},
|
|
163
|
-
"powerpc64le-unknown-linux-gnu": {
|
|
164
|
-
"artifactName": "prek-powerpc64le-unknown-linux-gnu.tar.gz",
|
|
165
|
-
"bins": {
|
|
166
|
-
"prek": "prek"
|
|
167
|
-
},
|
|
168
|
-
"zipExt": ".tar.gz"
|
|
169
|
-
},
|
|
170
156
|
"riscv64gc-unknown-linux-gnu": {
|
|
171
157
|
"artifactName": "prek-riscv64gc-unknown-linux-gnu.tar.gz",
|
|
172
158
|
"bins": {
|
|
@@ -224,7 +210,7 @@
|
|
|
224
210
|
"zipExt": ".tar.gz"
|
|
225
211
|
}
|
|
226
212
|
},
|
|
227
|
-
"version": "0.2.
|
|
213
|
+
"version": "0.2.27",
|
|
228
214
|
"volta": {
|
|
229
215
|
"node": "18.14.1",
|
|
230
216
|
"npm": "9.5.0"
|