@j178/prek 0.2.19 → 0.2.20
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 +54 -0
- package/README.md +15 -2
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,59 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.20
|
|
4
|
+
|
|
5
|
+
Released on 2025-12-08.
|
|
6
|
+
|
|
7
|
+
### Highlights
|
|
8
|
+
|
|
9
|
+
In this release:
|
|
10
|
+
|
|
11
|
+
- Rust hooks are now fully supported with automatic toolchain management, including package discovery in virtual workspaces. Big thanks to @lmmx for driving this.
|
|
12
|
+
- Added a `prek cache size` subcommand so you can quickly see how much cache space prek is using. Thanks @MatthewMckee4!
|
|
13
|
+
- Nested workspaces are easier to reason about: set `orphan: true` on a project to isolate it from parents so its files are processed only once.
|
|
14
|
+
|
|
15
|
+
Want to show your project runs on prek? Add our README badge to your docs or repo homepage: [](https://github.com/j178/prek)
|
|
16
|
+
|
|
17
|
+
### Enhancements
|
|
18
|
+
|
|
19
|
+
- Support Rust language ([#989](https://github.com/j178/prek/pull/989))
|
|
20
|
+
|
|
21
|
+
- Refactor Rust toolchain management ([#1198](https://github.com/j178/prek/pull/1198))
|
|
22
|
+
- Add support for finding packages in virtual workspaces ([#1180](https://github.com/j178/prek/pull/1180))
|
|
23
|
+
|
|
24
|
+
- Add `prek cache size` command ([#1183](https://github.com/j178/prek/pull/1183))
|
|
25
|
+
- Support orphan projects ([#1129](https://github.com/j178/prek/pull/1129))
|
|
26
|
+
- Fallback to `manual` stage for hooks specified directly in command line ([#1185](https://github.com/j178/prek/pull/1185))
|
|
27
|
+
- Make go module cache read-writeable (thus deletable) ([#1164](https://github.com/j178/prek/pull/1164))
|
|
28
|
+
- Provide more information when validating configs and manifests ([#1182](https://github.com/j178/prek/pull/1182))
|
|
29
|
+
- Improve error message for invalid number of arguments to hook-impl ([#1196](https://github.com/j178/prek/pull/1196))
|
|
30
|
+
|
|
31
|
+
### Bug fixes
|
|
32
|
+
|
|
33
|
+
- Disable git terminal prompts ([#1193](https://github.com/j178/prek/pull/1193))
|
|
34
|
+
- Prevent `post-checkout` deadlock when cloning repos ([#1192](https://github.com/j178/prek/pull/1192))
|
|
35
|
+
- Prevent color output when redirecting stdout to a file ([#1159](https://github.com/j178/prek/pull/1159))
|
|
36
|
+
|
|
37
|
+
### Documentation
|
|
38
|
+
|
|
39
|
+
- Add MacPorts to installation methods ([#1157](https://github.com/j178/prek/pull/1157))
|
|
40
|
+
- Add a FAQ page explaining `prek install --install--hooks` ([#1162](https://github.com/j178/prek/pull/1162))
|
|
41
|
+
|
|
42
|
+
### Other changes
|
|
43
|
+
|
|
44
|
+
- Add `prek: enabled` repo badge ([#1171](https://github.com/j178/prek/pull/1171))
|
|
45
|
+
- Add favicon for docs website ([#1187](https://github.com/j178/prek/pull/1187))
|
|
46
|
+
|
|
47
|
+
### Contributors
|
|
48
|
+
|
|
49
|
+
- @MatthewMckee4
|
|
50
|
+
- @lmmx
|
|
51
|
+
- @j178
|
|
52
|
+
- @joshmarkovic
|
|
53
|
+
- @frazar
|
|
54
|
+
- @jmelahman
|
|
55
|
+
- @drainpixie
|
|
56
|
+
|
|
3
57
|
## 0.2.19
|
|
4
58
|
|
|
5
59
|
Released on 2025-11-26.
|
package/README.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
<br/>prek
|
|
6
6
|
</h1>
|
|
7
7
|
|
|
8
|
+
[](https://github.com/j178/prek)
|
|
8
9
|
[](https://github.com/j178/prek/actions/workflows/ci.yml)
|
|
9
10
|
[](https://codecov.io/github/j178/prek)
|
|
10
11
|
[](https://github.com/j178/prek/releases)
|
|
@@ -58,7 +59,7 @@ On Linux and macOS:
|
|
|
58
59
|
|
|
59
60
|
<!-- linux-standalone-install:start -->
|
|
60
61
|
```bash
|
|
61
|
-
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.2.
|
|
62
|
+
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.2.20/prek-installer.sh | sh
|
|
62
63
|
```
|
|
63
64
|
<!-- linux-standalone-install:end -->
|
|
64
65
|
|
|
@@ -66,7 +67,7 @@ On Windows:
|
|
|
66
67
|
|
|
67
68
|
<!-- windows-standalone-install:start -->
|
|
68
69
|
```powershell
|
|
69
|
-
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.2.
|
|
70
|
+
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.2.20/prek-installer.ps1 | iex"
|
|
70
71
|
```
|
|
71
72
|
<!-- windows-standalone-install:end -->
|
|
72
73
|
|
|
@@ -217,6 +218,18 @@ scoop install main/prek
|
|
|
217
218
|
<!-- scoop-install:end -->
|
|
218
219
|
</details>
|
|
219
220
|
|
|
221
|
+
<details>
|
|
222
|
+
<summary>MacPorts</summary>
|
|
223
|
+
|
|
224
|
+
<!-- macports-install:start -->
|
|
225
|
+
prek is available via [MacPorts](https://ports.macports.org/port/prek/).
|
|
226
|
+
|
|
227
|
+
```bash
|
|
228
|
+
sudo port install prek
|
|
229
|
+
```
|
|
230
|
+
<!-- macports-install:end -->
|
|
231
|
+
</details>
|
|
232
|
+
|
|
220
233
|
<details>
|
|
221
234
|
<summary>GitHub Releases</summary>
|
|
222
235
|
|
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.20"
|
|
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.20"
|
|
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.20",
|
|
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.20",
|
|
228
228
|
"volta": {
|
|
229
229
|
"node": "18.14.1",
|
|
230
230
|
"npm": "9.5.0"
|