@webpieces/rules-config 0.4.525 → 0.4.526
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.526",
|
|
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",
|
|
@@ -28,6 +28,9 @@ Stage ② is where verification happens, deliberately BEFORE any reviewer reads
|
|
|
28
28
|
unresolved merge or a red build, so a broken branch costs no review effort. It records the sha it
|
|
29
29
|
verified, and stage ③ re-runs the build ONLY if HEAD moved since — three stages, one build.
|
|
30
30
|
|
|
31
|
+
All three stages are required and none may be skipped: stage ③ refuses to post a PR unless stage ② has
|
|
32
|
+
run on this branch AND review.json exists.
|
|
33
|
+
|
|
31
34
|
The tooling never commits for you (see the golden rule below), so **commit your work first**, then run
|
|
32
35
|
`pnpm wp-start-upsert-pr`. The only reasons to stop *before* posting are: the human explicitly said "don't
|
|
33
36
|
open a PR yet," or the build/tests are red. Otherwise, finishing the feature and posting the PR are the
|
|
@@ -137,6 +140,7 @@ flow are not interchangeable.
|
|
|
137
140
|
| start | `pnpm wp-start-update` | `pnpm wp-start-upsert-pr` |
|
|
138
141
|
| resolve conflicts | `/wp-merge` | `/wp-merge` |
|
|
139
142
|
| validate + build + brief reviewers | *(n/a — no PR, no review)* | `pnpm wp-review-upsert-pr` |
|
|
143
|
+
| write the review | *(n/a)* | review.json, at the path stage ② prints |
|
|
140
144
|
| finish | `pnpm wp-finish-update` | `pnpm wp-finish-upsert-pr` |
|
|
141
145
|
|
|
142
146
|
- `wp-start-update` **pairs with** `wp-finish-update`. `wp-start-upsert-pr` **pairs with**
|