@webpieces/rules-config 0.4.983 → 0.4.984
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.984",
|
|
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",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"inversify": "7.10.4",
|
|
20
20
|
"reflect-metadata": "0.2.2",
|
|
21
21
|
"minimatch": "10.0.1",
|
|
22
|
-
"@webpieces/tooling-common": "0.4.
|
|
23
|
-
"@webpieces/repo-workflow-core": "0.4.
|
|
24
|
-
"@webpieces/rules-sdk": "0.4.
|
|
22
|
+
"@webpieces/tooling-common": "0.4.984",
|
|
23
|
+
"@webpieces/repo-workflow-core": "0.4.984",
|
|
24
|
+
"@webpieces/rules-sdk": "0.4.984"
|
|
25
25
|
},
|
|
26
26
|
"author": "Dean Hiller",
|
|
27
27
|
"license": "Apache-2.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@webpieces/tooling-testkit": "0.4.
|
|
37
|
+
"@webpieces/tooling-testkit": "0.4.984"
|
|
38
38
|
},
|
|
39
39
|
"types": "./src/index.d.ts",
|
|
40
40
|
"bin": {
|
|
@@ -323,6 +323,10 @@ pnpm wp-push-dev --list # what is currently in the pool
|
|
|
323
323
|
pnpm wp-push-dev --remove # take your branch back out (this is the rollback)
|
|
324
324
|
```
|
|
325
325
|
|
|
326
|
+
`--remove` is for rolling back a copy that broke dev. When you are done testing, or after your PR lands,
|
|
327
|
+
leave the copy alone: the business-day reset removes it. Re-publishing replaces your own copy, so you
|
|
328
|
+
don't need to remove it first.
|
|
329
|
+
|
|
326
330
|
**What `wp-push-dev` does before it publishes.** It fetches `origin/dev`, merges it into a THROWAWAY
|
|
327
331
|
branch (`<your-branch>DevResolve`, never your branch), and runs `commands.push-dev.buildCommand` on the
|
|
328
332
|
merged tree. Only when the merge is clean (or you resolved it) and that build is green does it publish.
|
|
@@ -350,6 +354,12 @@ alone can only be heard by a workflow's `on: delete:`, which GitHub cannot filte
|
|
|
350
354
|
branch deletion in the repo would start a dev-deploy run. If the marker push fails, the command stops
|
|
351
355
|
and says so — your copy is already gone, but `dev` was **not** rebuilt; follow what it prints.
|
|
352
356
|
|
|
357
|
+
`--remove` **refuses** when the copy is already on `origin/main` — every file it changes (relative to its
|
|
358
|
+
merge-base with `origin/main`) already has the copy's content there. Removing it would take nothing off
|
|
359
|
+
dev, because main keeps it there, and would only force a full recompose; nothing is deleted and no marker
|
|
360
|
+
is pushed. If that code is what broke dev, the fix is a revert PR against main. When only SOME of those
|
|
361
|
+
files are on main, `--remove` warns, naming them, and removes the rest.
|
|
362
|
+
|
|
353
363
|
The three names come from `pr-gate.devDeploy` in `webpieces.config.json` — `branchNamespace`
|
|
354
364
|
(default `dev-include`), `devBranch` (default `dev`) and `removeNamespace` (default `dev-remove`) —
|
|
355
365
|
substitute them below if the repo overrides any.
|