@j178/prek 0.2.9 → 0.2.10

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,38 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.10
4
+
5
+ Released on 2025-10-18.
6
+
7
+ ### Enhancements
8
+
9
+ - Add `--fail-fast` CLI flag to stop after first hook failure ([#908](https://github.com/j178/prek/pull/908))
10
+ - Add collision detection for hook env directories ([#914](https://github.com/j178/prek/pull/914))
11
+ - Error out if not projects found ([#913](https://github.com/j178/prek/pull/913))
12
+ - Implement `check-xml` as builtin hook ([#894](https://github.com/j178/prek/pull/894))
13
+ - Implement `check-merge-conflict` as builtin hook ([#885](https://github.com/j178/prek/pull/885))
14
+ - Use line-by-line reading in `check-merge-conflict` ([#910](https://github.com/j178/prek/pull/910))
15
+
16
+ ### Bug fixes
17
+
18
+ - Fix pygrep hook env health check ([#921](https://github.com/j178/prek/pull/921))
19
+ - Group `pygrep` with `python` when installing pygrep hooks ([#920](https://github.com/j178/prek/pull/920))
20
+ - Ignore `.` prefixed directory when searching managed Python for pygrep ([#919](https://github.com/j178/prek/pull/919))
21
+
22
+ ### Documentation
23
+
24
+ - Add contribution guide ([#912](https://github.com/j178/prek/pull/912))
25
+
26
+ ### Other changes
27
+
28
+
29
+ ### Contributors
30
+
31
+ - @AdityasWorks
32
+ - @j178
33
+ - @kenwoodjw
34
+ - @lmmx
35
+
3
36
  ## 0.2.9
4
37
 
5
38
  Released on 2025-10-16.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # prek
4
4
 
5
- <img width="220" alt="prek" src="./docs/assets/logo_512.webp" />
5
+ <img width="220" alt="prek" src="./docs/assets/logo.webp" />
6
6
 
7
7
  [![CI](https://github.com/j178/prek/actions/workflows/ci.yml/badge.svg)](https://github.com/j178/prek/actions/workflows/ci.yml)
8
8
  [![codecov](https://codecov.io/github/j178/prek/graph/badge.svg?token=MP6TY24F43)](https://codecov.io/github/j178/prek)
@@ -24,7 +24,7 @@ while also providing some additional long-requested features.
24
24
  > [!WARNING]
25
25
  > prek is not production-ready yet. Some subcommands and languages are not implemented. See the current gaps for drop-in parity: [TODO](https://prek.j178.dev/todo/).
26
26
  >
27
- > It's already being adopted by [some projects](#who-is-using-prek), please give it a try - we'd love your feedback!
27
+ > But it's already being adopted by [some projects](#who-is-using-prek) like Airflow, so please give it a try - we'd love your feedback!
28
28
 
29
29
  <!-- features:start -->
30
30
  ## Features
@@ -108,7 +108,7 @@ On Linux and macOS:
108
108
 
109
109
  <!-- linux-standalone-install:start -->
110
110
  ```bash
111
- curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.2.9/prek-installer.sh | sh
111
+ curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.2.10/prek-installer.sh | sh
112
112
  ```
113
113
  <!-- linux-standalone-install:end -->
114
114
 
@@ -116,7 +116,7 @@ On Windows:
116
116
 
117
117
  <!-- windows-standalone-install:start -->
118
118
  ```powershell
119
- powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.2.9/prek-installer.ps1 | iex"
119
+ powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.2.10/prek-installer.ps1 | iex"
120
120
  ```
121
121
  <!-- windows-standalone-install:end -->
122
122
 
@@ -132,6 +132,9 @@ prek is published as Python binary wheel to PyPI, you can install it using `pip`
132
132
  # Using uv (recommended)
133
133
  uv tool install prek
134
134
 
135
+ # Using uvx (install and run in one command)
136
+ uvx prek
137
+
135
138
  # Using pip
136
139
  pip install prek
137
140
 
@@ -170,7 +173,7 @@ mise use prek
170
173
  <summary>Cargo binstall</summary>
171
174
 
172
175
  <!-- cargo-binstall:start -->
173
- Install pre-compiled binaries from GitHub using Cargo binstall (Rust 1.89+ is required):
176
+ Install pre-compiled binaries from GitHub using [cargo-binstall](https://github.com/cargo-bins/cargo-binstall):
174
177
 
175
178
  ```bash
176
179
  cargo binstall prek --git https://github.com/j178/prek
@@ -23,7 +23,7 @@
23
23
  "hasInstallScript": true,
24
24
  "license": "MIT",
25
25
  "name": "@j178/prek",
26
- "version": "0.2.9"
26
+ "version": "0.2.10"
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.9"
899
+ "version": "0.2.10"
900
900
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "artifactDownloadUrl": "https://github.com/j178/prek/releases/download/v0.2.9",
2
+ "artifactDownloadUrl": "https://github.com/j178/prek/releases/download/v0.2.10",
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.9",
227
+ "version": "0.2.10",
228
228
  "volta": {
229
229
  "node": "18.14.1",
230
230
  "npm": "9.5.0"