@taraxvoid/voidflow 0.12.1 → 0.13.0-next.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 +12 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -220,6 +220,17 @@ site's own `lefthook.yml` can add commands (for example image compression) but
|
|
|
220
220
|
cannot override ones defined here. Differences go through `package.json`
|
|
221
221
|
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
|
+
Likewise, define `check:precommit` and the typecheck step runs it instead of
|
|
224
|
+
`check`. CI keeps calling the full scripts, so these only narrow what runs
|
|
225
|
+
locally. Common uses:
|
|
226
|
+
|
|
227
|
+
- bun: `"test:unit:precommit": "bun test --changed"` runs only the test files
|
|
228
|
+
whose imports reach an uncommitted change.
|
|
229
|
+
- pnpm workspace: `pnpm -r --filter '...[HEAD]' run <script>` runs only the
|
|
230
|
+
changed packages and their dependents. Fall back to the full run when a
|
|
231
|
+
root-level file (lockfile, shared tsconfig) changed, since those don't
|
|
232
|
+
belong to any package. If the root `package.json` defines the same script
|
|
233
|
+
as a recursive run, add `--filter '!{.}'` so it doesn't recurse.
|
|
223
234
|
|
|
224
235
|
Install the binary through mise (`lefthook = "<version>"` in `mise.toml`) and
|
|
225
236
|
set the `prepare` script so `bun install` wires the hooks, but make it tolerate a
|
|
@@ -305,7 +316,7 @@ Semver, released with [release-please](https://github.com/googleapis/release-ple
|
|
|
305
316
|
| maintenance | `release/N.x` | `0.9.4` | `release-N.x` |
|
|
306
317
|
|
|
307
318
|
release-please keeps a standing release PR open on each channel's branch, updated as commits land.
|
|
308
|
-
Merging it bumps `package.json` (and [`CHANGELOG.md`](CHANGELOG.md) on stable), tags `vX.Y.Z
|
|
319
|
+
Merging it bumps `package.json` (and [`CHANGELOG.md`](CHANGELOG.md) on stable), tags `vX.Y.Z` (`vX.Y.Z-next[.N]` on `next`),
|
|
309
320
|
creates the GitHub release and publishes to npm and JSR under the channel's dist-tag. The PR is
|
|
310
321
|
opened with the org's release-bot GitHub App token (`RELEASE_BOT_CLIENT_ID` /
|
|
311
322
|
`RELEASE_BOT_APP_PRIVATE_KEY`) so CI runs on it.
|