@j178/prek 0.2.14 → 0.2.16

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,5 +1,43 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.16
4
+
5
+ Released on 2025-11-18.
6
+
7
+ ### Bug fixes
8
+
9
+ - Disallow hook-level `minimum_prek_version` ([#1101](https://github.com/j178/prek/pull/1101))
10
+ - Do not require a project in `prek init-template-dir` ([#1109](https://github.com/j178/prek/pull/1109))
11
+ - Make sure `uv pip install` uses the Python from virtualenv ([#1108](https://github.com/j178/prek/pull/1108))
12
+ - Restore using `serde_yaml` in `check-yaml` hook ([#1106](https://github.com/j178/prek/pull/1106))
13
+
14
+ ### Contributors
15
+
16
+ - @j178
17
+
18
+ ## 0.2.15
19
+
20
+ Released on 2025-11-17.
21
+
22
+ ### Highlights
23
+
24
+ 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).
25
+
26
+ ### Enhancements
27
+
28
+ - Clean up hook environments when install fails ([#1085](https://github.com/j178/prek/pull/1085))
29
+ - Prepare for publishing prek to crates.io ([#1088](https://github.com/j178/prek/pull/1088))
30
+ - Replace `serde-yaml` with `serde_saphyr` ([#1087](https://github.com/j178/prek/pull/1087))
31
+ - Warn unexpected keys in repo and hook level ([#1096](https://github.com/j178/prek/pull/1096))
32
+
33
+ ### Bug fixes
34
+
35
+ - Fix `prek init-template-dir` fails in non-git repo ([#1093](https://github.com/j178/prek/pull/1093))
36
+
37
+ ### Contributors
38
+
39
+ - @j178
40
+
3
41
  ## 0.2.14
4
42
 
5
43
  Released on 2025-11-14.
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.14/prek-installer.sh | sh
61
+ curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.2.16/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.14/prek-installer.ps1 | iex"
69
+ powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.2.16/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 --git https://github.com/j178/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 --git https://github.com/j178/prek
142
+ cargo install --locked prek
143
143
  ```
144
144
  <!-- cargo-install:end -->
145
145
 
@@ -23,7 +23,7 @@
23
23
  "hasInstallScript": true,
24
24
  "license": "MIT",
25
25
  "name": "@j178/prek",
26
- "version": "0.2.14"
26
+ "version": "0.2.16"
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.14"
899
+ "version": "0.2.16"
900
900
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "artifactDownloadUrl": "https://github.com/j178/prek/releases/download/v0.2.14",
2
+ "artifactDownloadUrl": "https://github.com/j178/prek/releases/download/v0.2.16",
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.14",
227
+ "version": "0.2.16",
228
228
  "volta": {
229
229
  "node": "18.14.1",
230
230
  "npm": "9.5.0"