@taraxvoid/voidflow 0.12.0 → 0.12.1
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/README.md +11 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -222,8 +222,17 @@ scripts: define `test:unit:precommit` (for example excluding tests that need a
|
|
|
222
222
|
built `dist/`) and the pre-commit unit step runs it instead of `test:unit`.
|
|
223
223
|
|
|
224
224
|
Install the binary through mise (`lefthook = "<version>"` in `mise.toml`) and
|
|
225
|
-
set `
|
|
226
|
-
|
|
225
|
+
set the `prepare` script so `bun install` wires the hooks, but make it tolerate a
|
|
226
|
+
missing binary:
|
|
227
|
+
|
|
228
|
+
```json
|
|
229
|
+
"prepare": "lefthook install || echo 'lefthook not installed (run mise install); git hooks skipped'"
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
A bare `lefthook install` fails the whole install step (exit 127) on any runner
|
|
233
|
+
without the `lefthook` binary, which includes GitHub-hosted and self-hosted CI
|
|
234
|
+
images, and CI never runs git hooks anyway. `ref` cannot be a commit SHA; pin a
|
|
235
|
+
release tag.
|
|
227
236
|
|
|
228
237
|
## Branch rulesets as code
|
|
229
238
|
|