@j178/prek 0.2.13 → 0.2.15
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 +60 -0
- package/README.md +23 -6
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,65 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.15
|
|
4
|
+
|
|
5
|
+
Released on 2025-11-17.
|
|
6
|
+
|
|
7
|
+
### Highlights
|
|
8
|
+
|
|
9
|
+
prek is now available on crates.io! You can build prek from source via `cargo install prek` or `cargo binstall prek`, for more details see [Installation](https://prek.j178.dev/installation/#build-from-source).
|
|
10
|
+
|
|
11
|
+
### Enhancements
|
|
12
|
+
|
|
13
|
+
- Clean up hook environments when install fails ([#1085](https://github.com/j178/prek/pull/1085))
|
|
14
|
+
- Prepare for publishing prek to crates.io ([#1088](https://github.com/j178/prek/pull/1088))
|
|
15
|
+
- Replace `serde-yaml` with `serde_saphyr` ([#1087](https://github.com/j178/prek/pull/1087))
|
|
16
|
+
- Warn unexpected keys in repo and hook level ([#1096](https://github.com/j178/prek/pull/1096))
|
|
17
|
+
|
|
18
|
+
### Bug fixes
|
|
19
|
+
|
|
20
|
+
- Fix `prek init-template-dir` fails in non-git repo ([#1093](https://github.com/j178/prek/pull/1093))
|
|
21
|
+
|
|
22
|
+
### Contributors
|
|
23
|
+
|
|
24
|
+
- @j178
|
|
25
|
+
|
|
26
|
+
## 0.2.14
|
|
27
|
+
|
|
28
|
+
Released on 2025-11-14.
|
|
29
|
+
|
|
30
|
+
### Enhancements
|
|
31
|
+
|
|
32
|
+
- Support `PREK_CONTAINER_RUNTIME=podman` to override container runtime ([#1033](https://github.com/j178/prek/pull/1033))
|
|
33
|
+
- Support rootless container runtime ([#1018](https://github.com/j178/prek/issues/1018))
|
|
34
|
+
- Support `language: unsupported` and `language: unsupported_script` introduced in pre-commit v4.4 ([#1073](https://github.com/j178/prek/pull/1073))
|
|
35
|
+
- Tweak to regex used for mountinfo ([#1037](https://github.com/j178/prek/pull/1037))
|
|
36
|
+
|
|
37
|
+
### Bug fixes
|
|
38
|
+
|
|
39
|
+
- Fix `--files` argument - files referencing other projects aren’t being filtered ([#1064](https://github.com/j178/prek/pull/1064))
|
|
40
|
+
- Unset `objectFormat` in `git init` ([#1048](https://github.com/j178/prek/pull/1048))
|
|
41
|
+
|
|
42
|
+
### Documentation
|
|
43
|
+
|
|
44
|
+
- Add scoop to installation ([#1067](https://github.com/j178/prek/pull/1067))
|
|
45
|
+
- Document workspace file visibility constraints ([#1071](https://github.com/j178/prek/pull/1071))
|
|
46
|
+
- Add `iceberg-python`, `msgspec` and `humanize` to "who is using prek" ([#1039](https://github.com/j178/prek/pull/1039), [#1042](https://github.com/j178/prek/pull/1042), [#1063](https://github.com/j178/prek/pull/1063))
|
|
47
|
+
|
|
48
|
+
### Other changes
|
|
49
|
+
|
|
50
|
+
- Add a hint to install when running inside a sub-project ([#1045](https://github.com/j178/prek/pull/1045))
|
|
51
|
+
- Add a hint to use `--refresh` when no configuration found ([#1046](https://github.com/j178/prek/pull/1046))
|
|
52
|
+
- Run uv pip install from the current directory ([#1069](https://github.com/j178/prek/pull/1069))
|
|
53
|
+
|
|
54
|
+
### Contributors
|
|
55
|
+
|
|
56
|
+
- @zzstoatzz
|
|
57
|
+
- @st1971
|
|
58
|
+
- @yihong0618
|
|
59
|
+
- @j178
|
|
60
|
+
- @copilot-swe-agent
|
|
61
|
+
- @idlsoft
|
|
62
|
+
|
|
3
63
|
## 0.2.13
|
|
4
64
|
|
|
5
65
|
Released on 2025-11-04.
|
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.15-alpha.3/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.15-alpha.3/prek-installer.ps1 | iex"
|
|
70
70
|
```
|
|
71
71
|
<!-- windows-standalone-install:end -->
|
|
72
72
|
|
|
@@ -126,7 +126,7 @@ mise use prek
|
|
|
126
126
|
Install pre-compiled binaries from GitHub using [cargo-binstall](https://github.com/cargo-bins/cargo-binstall):
|
|
127
127
|
|
|
128
128
|
```bash
|
|
129
|
-
cargo binstall prek
|
|
129
|
+
cargo binstall prek
|
|
130
130
|
```
|
|
131
131
|
<!-- cargo-binstall:end -->
|
|
132
132
|
|
|
@@ -139,7 +139,7 @@ cargo binstall prek --git https://github.com/j178/prek
|
|
|
139
139
|
Build from source using Cargo (Rust 1.89+ is required):
|
|
140
140
|
|
|
141
141
|
```bash
|
|
142
|
-
cargo install --locked
|
|
142
|
+
cargo install --locked prek
|
|
143
143
|
```
|
|
144
144
|
<!-- cargo-install:end -->
|
|
145
145
|
|
|
@@ -175,14 +175,16 @@ prek --version
|
|
|
175
175
|
<summary>Nix</summary>
|
|
176
176
|
|
|
177
177
|
<!-- nix-install:start -->
|
|
178
|
-
prek is
|
|
178
|
+
prek is available via [Nixpkgs](https://search.nixos.org/packages?channel=unstable&show=prek&query=prek).
|
|
179
179
|
|
|
180
180
|
```shell
|
|
181
181
|
# Choose what's appropriate for your use case.
|
|
182
182
|
# One-off in a shell:
|
|
183
183
|
nix-shell -p prek
|
|
184
|
+
|
|
184
185
|
# NixOS or non-NixOS without flakes:
|
|
185
186
|
nix-env -iA nixos.prek
|
|
187
|
+
|
|
186
188
|
# Non-NixOS with flakes:
|
|
187
189
|
nix profile install nixpkgs#prek
|
|
188
190
|
```
|
|
@@ -194,7 +196,7 @@ nix profile install nixpkgs#prek
|
|
|
194
196
|
<summary>Conda</summary>
|
|
195
197
|
|
|
196
198
|
<!-- conda-forge-install:start -->
|
|
197
|
-
prek is
|
|
199
|
+
prek is available as `prek` via [conda-forge](https://anaconda.org/conda-forge/prek).
|
|
198
200
|
|
|
199
201
|
```shell
|
|
200
202
|
conda install conda-forge::prek
|
|
@@ -203,6 +205,18 @@ conda install conda-forge::prek
|
|
|
203
205
|
|
|
204
206
|
</details>
|
|
205
207
|
|
|
208
|
+
<details>
|
|
209
|
+
<summary>Scoop (Windows)</summary>
|
|
210
|
+
|
|
211
|
+
<!-- scoop-install:start -->
|
|
212
|
+
prek is available via [Scoop](https://scoop.sh/#/apps?q=prek).
|
|
213
|
+
|
|
214
|
+
```powershell
|
|
215
|
+
scoop install main/prek
|
|
216
|
+
```
|
|
217
|
+
<!-- scoop-install:end -->
|
|
218
|
+
</details>
|
|
219
|
+
|
|
206
220
|
<details>
|
|
207
221
|
<summary>GitHub Releases</summary>
|
|
208
222
|
|
|
@@ -289,6 +303,9 @@ prek is pretty new, but it is already being used or recommend by some projects a
|
|
|
289
303
|
- [kreuzberg](https://github.com/Goldziher/kreuzberg/pull/142)
|
|
290
304
|
- [attrs](https://github.com/python-attrs/attrs/commit/c95b177682e76a63478d29d040f9cb36a8d31915#diff-ef2cef9f88b4fe09ca3082140e67f5ad34fb65fb6e228f119d3812261ae51449)
|
|
291
305
|
- [FastMCP](https://github.com/jlowin/fastmcp/pull/2309)
|
|
306
|
+
- [iceberg-python](https://github.com/apache/iceberg-python/pull/2533)
|
|
307
|
+
- [msgspec](https://github.com/jcrist/msgspec/pull/918)
|
|
308
|
+
- [humanize](https://github.com/python-humanize/humanize/pull/276)
|
|
292
309
|
|
|
293
310
|
<!-- why:end -->
|
|
294
311
|
|
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.15"
|
|
27
27
|
},
|
|
28
28
|
"node_modules/@isaacs/balanced-match": {
|
|
29
29
|
"engines": {
|
|
@@ -896,5 +896,5 @@
|
|
|
896
896
|
}
|
|
897
897
|
},
|
|
898
898
|
"requires": true,
|
|
899
|
-
"version": "0.2.
|
|
899
|
+
"version": "0.2.15"
|
|
900
900
|
}
|
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.15",
|
|
3
3
|
"author": "j178 <hi@j178.dev>",
|
|
4
4
|
"bin": {
|
|
5
5
|
"prek": "run-prek.js"
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
"zipExt": ".tar.gz"
|
|
225
225
|
}
|
|
226
226
|
},
|
|
227
|
-
"version": "0.2.
|
|
227
|
+
"version": "0.2.15",
|
|
228
228
|
"volta": {
|
|
229
229
|
"node": "18.14.1",
|
|
230
230
|
"npm": "9.5.0"
|