@j178/prek 0.2.27 → 0.2.28
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 +5 -3
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.28
|
|
4
|
+
|
|
5
|
+
Released on 2026-01-13.
|
|
6
|
+
|
|
7
|
+
### Enhancements
|
|
8
|
+
|
|
9
|
+
- Avoid running `git diff` for skipped hooks ([#1335](https://github.com/j178/prek/pull/1335))
|
|
10
|
+
- More accurate command line length limit calculation ([#1348](https://github.com/j178/prek/pull/1348))
|
|
11
|
+
- Raise platform command line length upper limit ([#1347](https://github.com/j178/prek/pull/1347))
|
|
12
|
+
- Use `/bin/sh` in generated git hook scripts ([#1333](https://github.com/j178/prek/pull/1333))
|
|
13
|
+
|
|
14
|
+
### Bug fixes
|
|
15
|
+
|
|
16
|
+
- Avoid rewriting if config is up-to-date ([#1346](https://github.com/j178/prek/pull/1346))
|
|
17
|
+
|
|
18
|
+
### Documentation
|
|
19
|
+
|
|
20
|
+
- Add `ty` to the users of prek ([#1342](https://github.com/j178/prek/pull/1342))
|
|
21
|
+
- Add `ruff` to the users of prek ([#1334](https://github.com/j178/prek/pull/1334))
|
|
22
|
+
- Complete configuration document ([#1338](https://github.com/j178/prek/pull/1338))
|
|
23
|
+
- Document UV environment variable inheritance in prek ([#1339](https://github.com/j178/prek/pull/1339))
|
|
24
|
+
|
|
25
|
+
### Contributors
|
|
26
|
+
|
|
27
|
+
- @copilot-swe-agent
|
|
28
|
+
- @MatthewMckee4
|
|
29
|
+
- @yihong0618
|
|
30
|
+
- @j178
|
|
31
|
+
|
|
3
32
|
## 0.2.27
|
|
4
33
|
|
|
5
34
|
Released on 2026-01-07.
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
3
|
<h1>
|
|
4
|
-
<img width="180" alt="prek" src="
|
|
4
|
+
<img width="180" alt="prek" src="https://raw.githubusercontent.com/j178/prek/master/docs/assets/logo.webp" />
|
|
5
5
|
<br/>prek
|
|
6
6
|
</h1>
|
|
7
7
|
|
|
@@ -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.28/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.28/prek-installer.ps1 | iex"
|
|
70
70
|
```
|
|
71
71
|
<!-- windows-standalone-install:end -->
|
|
72
72
|
|
|
@@ -318,6 +318,8 @@ prek is pretty new, but it is already being used or recommend by some projects a
|
|
|
318
318
|
- [fastapi/fastapi](https://github.com/fastapi/fastapi/pull/14572)
|
|
319
319
|
- [fastapi/typer](https://github.com/fastapi/typer/pull/1453)
|
|
320
320
|
- [fastapi/asyncer](https://github.com/fastapi/asyncer/pull/437)
|
|
321
|
+
- [astral-sh/ruff](https://github.com/astral-sh/ruff/pull/22505)
|
|
322
|
+
- [astral-sh/ty](https://github.com/astral-sh/ty/pull/2469)
|
|
321
323
|
- [DetachHead/basedpyright](https://github.com/DetachHead/basedpyright/pull/1413)
|
|
322
324
|
- [OpenLineage/OpenLineage](https://github.com/OpenLineage/OpenLineage/pull/3965)
|
|
323
325
|
- [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.28"
|
|
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.28"
|
|
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.28",
|
|
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.28",
|
|
214
214
|
"volta": {
|
|
215
215
|
"node": "18.14.1",
|
|
216
216
|
"npm": "9.5.0"
|