@taraxvoid/voidflow 0.11.0-next → 0.11.0

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 +7 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -204,14 +204,14 @@ remotes:
204
204
  configs:
205
205
  - lefthook/site.yml
206
206
 
207
- # Site-specific differences override the remote by name, e.g. skip tests that
208
- # need a built dist/ before commit:
209
- pre-commit:
210
- commands:
211
- unit:
212
- run: bun run test:unit -- --exclude 'test/build.test.ts'
213
207
  ```
214
208
 
209
+ Lefthook merges `lefthook.yml`, then remotes, then `lefthook-local.yml`, so a
210
+ site's own `lefthook.yml` can add commands (for example image compression) but
211
+ cannot override ones defined here. Differences go through `package.json`
212
+ scripts: define `test:unit:precommit` (for example excluding tests that need a
213
+ built `dist/`) and the pre-commit unit step runs it instead of `test:unit`.
214
+
215
215
  Install the binary through mise (`lefthook = "<version>"` in `mise.toml`) and
216
216
  set `"prepare": "lefthook install"` so `bun install` wires the hooks. `ref`
217
217
  cannot be a commit SHA; pin a release tag.
@@ -287,7 +287,7 @@ Semver, released with [release-please](https://github.com/googleapis/release-ple
287
287
  | maintenance | `release/N.x` | `0.9.4` | `release-N.x` |
288
288
 
289
289
  release-please keeps a standing release PR open on each channel's branch, updated as commits land.
290
- Merging it bumps `package.json` (and [`CHANGELOG.md`](CHANGELOG.md) on stable), tags `vX.Y.Z` (`vX.Y.Z-next[.N]` on `next`),
290
+ Merging it bumps `package.json` (and [`CHANGELOG.md`](CHANGELOG.md) on stable), tags `vX.Y.Z`,
291
291
  creates the GitHub release and publishes to npm and JSR under the channel's dist-tag. The PR is
292
292
  opened with the org's release-bot GitHub App token (`RELEASE_BOT_CLIENT_ID` /
293
293
  `RELEASE_BOT_APP_PRIVATE_KEY`) so CI runs on it.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taraxvoid/voidflow",
3
- "version": "0.11.0-next",
3
+ "version": "0.11.0",
4
4
  "description": "Shared workflows, actions and tooling for @taraxvoid sites",
5
5
  "license": "MIT",
6
6
  "keywords": [