@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.
Files changed (2) hide show
  1. package/README.md +11 -2
  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 `"prepare": "lefthook install"` so `bun install` wires the hooks. `ref`
226
- cannot be a commit SHA; pin a release tag.
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taraxvoid/voidflow",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "Shared workflows, actions and tooling for @taraxvoid sites",
5
5
  "license": "MIT",
6
6
  "keywords": [