@webpieces/rules-config 0.4.593 → 0.4.594
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webpieces/rules-config",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.594",
|
|
4
4
|
"description": "Shared webpieces.config.json loader. Single source of truth for validation rule configuration consumed by @webpieces/ai-hook-rules, @webpieces/code-rules, and @webpieces/nx-webpieces-rules.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -191,16 +191,18 @@ flow are not interchangeable.
|
|
|
191
191
|
5. **`pnpm wp-finish-upsert-pr`** — STAGE ③: requires stage ②'s receipt, your `review.json` (its `title`
|
|
192
192
|
becomes the PR title) and every reviewer's verdict, then pushes and creates/updates the PR. It re-runs
|
|
193
193
|
the build gate ONLY if HEAD moved since stage ②, so the three stages still cost one build.
|
|
194
|
-
6. **`pnpm wp-land-pr`** — squash-merge THIS branch's already-posted PR into main
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
194
|
+
6. **`pnpm wp-land-pr`** — squash-merge THIS branch's already-posted PR into main with the gated commit
|
|
195
|
+
body, then archive the pre-squash tip and reap the landed worktree. It runs no build gate and
|
|
196
|
+
re-renders nothing — the bytes that land are the bytes stage ③ produced. NOT gated on
|
|
197
|
+
`pr-gate.mergeMode`: running it IS the intent to merge, so it works on a `mergeMode: NONE` repo whose
|
|
198
|
+
policy is "a human decides when".
|
|
199
|
+
|
|
200
|
+
**The commit body is the PR DESCRIPTION**, which stage ③ writes as one compact string (PR link, risk,
|
|
201
|
+
non-green flags, short summary, build-command footer) and reuses verbatim as its `--body-file`. The
|
|
202
|
+
full dashboard and the reviewer output live in the PR's 1st and 2nd comments so they stay out of
|
|
203
|
+
`git log`. So with `squash_merge_commit_title: PR_TITLE` and `squash_merge_commit_message: PR_BODY` set
|
|
204
|
+
on the repo, this command, a bare `gh pr merge`, and the GitHub Merge button all produce identical
|
|
205
|
+
history — prefer this one for the archiving and worktree cleanup, not because the others are wrong.
|
|
204
206
|
7. **`pnpm wp-cleanup`** — delete the local branches that are provably dead (merged PR, squash-merge
|
|
205
207
|
backup of a merged branch, or no commits of their own). Run it after the merge lands, or any time the
|
|
206
208
|
branch cap blocks you. It takes no arguments and needs no judgement call from you: it recomputes the
|