@taraxvoid/voidflow 0.12.3 → 0.12.4

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 +5 -0
  2. package/package.json +6 -1
package/README.md CHANGED
@@ -271,6 +271,11 @@ cannot override ones defined here. Differences go through `package.json`
271
271
  scripts: define `test:unit:precommit` (for example excluding tests that need a
272
272
  built `dist/`) and the pre-commit unit step runs it instead of `test:unit`.
273
273
 
274
+ Hook-level options merge too. Don't set `parallel: true` under `pre-commit:` in
275
+ the site's `lefthook.yml`: it applies to the merged hook, so every step,
276
+ including the shared ones, starts at once and their `priority` order is ignored
277
+ (tests that share a database or build output can then time out).
278
+
274
279
  Install the binary through mise (`lefthook = "<version>"` in `mise.toml`) and
275
280
  set the `prepare` script so `bun install` wires the hooks, but make it tolerate a
276
281
  missing binary:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taraxvoid/voidflow",
3
- "version": "0.12.3",
3
+ "version": "0.12.4",
4
4
  "description": "Shared workflows, actions and tooling for @taraxvoid sites",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -49,6 +49,11 @@
49
49
  "peerDependencies": {
50
50
  "@playwright/test": ">=1.40"
51
51
  },
52
+ "peerDependenciesMeta": {
53
+ "@playwright/test": {
54
+ "optional": true
55
+ }
56
+ },
52
57
  "devDependencies": {
53
58
  "@playwright/test": "^1.40.0",
54
59
  "@socketsecurity/bun-security-scanner": "^1.1.3"