@j178/prek 0.2.28 → 0.2.29
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 +48 -0
- package/README.md +4 -3
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,53 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.29
|
|
4
|
+
|
|
5
|
+
Released on 2026-01-16.
|
|
6
|
+
|
|
7
|
+
### Highlights
|
|
8
|
+
|
|
9
|
+
`files` / `exclude` now support globs (including glob lists), making config filters much easier to read and maintain than heavily-escaped regex.
|
|
10
|
+
|
|
11
|
+
Before (regex):
|
|
12
|
+
|
|
13
|
+
```yaml
|
|
14
|
+
files: "^(src/.*\\.rs$|crates/[^/]+/src/.*\\.rs$)"
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
After (glob list):
|
|
18
|
+
|
|
19
|
+
```yaml
|
|
20
|
+
files:
|
|
21
|
+
glob:
|
|
22
|
+
- src/**/*.rs
|
|
23
|
+
- crates/**/src/**/*.rs
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### Enhancements
|
|
27
|
+
|
|
28
|
+
- Add `check-json5` as builtin hooks ([#1367](https://github.com/j178/prek/pull/1367))
|
|
29
|
+
- Add glob list support for file patterns (`files` and `exclude`) ([#1197](https://github.com/j178/prek/pull/1197))
|
|
30
|
+
|
|
31
|
+
### Bug fixes
|
|
32
|
+
|
|
33
|
+
- Fix missing commit hash from version info ([#1352](https://github.com/j178/prek/pull/1352))
|
|
34
|
+
- Remove git env vars from `uv pip install` subprocess ([#1355](https://github.com/j178/prek/pull/1355))
|
|
35
|
+
- Set `TERM=dumb` under PTY to prevent capability-probe hangs ([#1363](https://github.com/j178/prek/pull/1363))
|
|
36
|
+
|
|
37
|
+
### Documentation
|
|
38
|
+
|
|
39
|
+
- Add `home-assistant/core` to the users of prek ([#1350](https://github.com/j178/prek/pull/1350))
|
|
40
|
+
- Document builtin hooks ([#1370](https://github.com/j178/prek/pull/1370))
|
|
41
|
+
- Explain project configuration scope ([#1373](https://github.com/j178/prek/pull/1373))
|
|
42
|
+
|
|
43
|
+
### Contributors
|
|
44
|
+
|
|
45
|
+
- @Goldziher
|
|
46
|
+
- @yihong0618
|
|
47
|
+
- @j178
|
|
48
|
+
- @shaanmajid
|
|
49
|
+
- @ulgens
|
|
50
|
+
|
|
3
51
|
## 0.2.28
|
|
4
52
|
|
|
5
53
|
Released on 2026-01-13.
|
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.29/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.29/prek-installer.ps1 | iex"
|
|
70
70
|
```
|
|
71
71
|
<!-- windows-standalone-install:end -->
|
|
72
72
|
|
|
@@ -257,7 +257,7 @@ jobs:
|
|
|
257
257
|
prek:
|
|
258
258
|
runs-on: ubuntu-latest
|
|
259
259
|
steps:
|
|
260
|
-
- uses: actions/checkout@
|
|
260
|
+
- uses: actions/checkout@v6
|
|
261
261
|
- uses: j178/prek-action@v1
|
|
262
262
|
```
|
|
263
263
|
|
|
@@ -320,6 +320,7 @@ prek is pretty new, but it is already being used or recommend by some projects a
|
|
|
320
320
|
- [fastapi/asyncer](https://github.com/fastapi/asyncer/pull/437)
|
|
321
321
|
- [astral-sh/ruff](https://github.com/astral-sh/ruff/pull/22505)
|
|
322
322
|
- [astral-sh/ty](https://github.com/astral-sh/ty/pull/2469)
|
|
323
|
+
- [home-assistant/core](https://github.com/home-assistant/core/pull/160427)
|
|
323
324
|
- [DetachHead/basedpyright](https://github.com/DetachHead/basedpyright/pull/1413)
|
|
324
325
|
- [OpenLineage/OpenLineage](https://github.com/OpenLineage/OpenLineage/pull/3965)
|
|
325
326
|
- [authlib/authlib](https://github.com/authlib/authlib/pull/804)
|
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.29"
|
|
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.29"
|
|
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.29",
|
|
3
3
|
"author": "j178 <hi@j178.dev>",
|
|
4
4
|
"bin": {
|
|
5
5
|
"prek": "run-prek.js"
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
"zipExt": ".tar.gz"
|
|
211
211
|
}
|
|
212
212
|
},
|
|
213
|
-
"version": "0.2.
|
|
213
|
+
"version": "0.2.29",
|
|
214
214
|
"volta": {
|
|
215
215
|
"node": "18.14.1",
|
|
216
216
|
"npm": "9.5.0"
|