@j178/prek 0.2.26 → 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 CHANGED
@@ -1,6 +1,35 @@
1
1
  # Changelog
2
2
 
3
- ## 0.2.26
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
+
32
+ ## 0.2.27
4
33
 
5
34
  Released on 2026-01-07.
6
35
 
@@ -26,6 +55,7 @@ Released on 2026-01-07.
26
55
 
27
56
  - Add `python/cpython` to users ([#1308](https://github.com/j178/prek/pull/1308))
28
57
  - Add `MoonshotAI/kimi-cli` to users ([#1286](https://github.com/j178/prek/pull/1286))
58
+ - Drop powerpc64 wheels ([#1319](https://github.com/j178/prek/pull/1319))
29
59
 
30
60
  ### Contributors
31
61
 
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="./docs/assets/logo.webp" />
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.26/prek-installer.sh | sh
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.26/prek-installer.ps1 | iex"
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)
@@ -23,7 +23,7 @@
23
23
  "hasInstallScript": true,
24
24
  "license": "MIT",
25
25
  "name": "@j178/prek",
26
- "version": "0.2.26"
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.26"
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.26",
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"
@@ -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.26",
213
+ "version": "0.2.28",
228
214
  "volta": {
229
215
  "node": "18.14.1",
230
216
  "npm": "9.5.0"