@theholocron/cli 5.0.0-alpha.471 → 5.0.0-alpha.472
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 +10 -0
- package/dist/presets.d.mts +5 -2
- package/dist/presets.mjs +5 -3
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -513,6 +513,16 @@ deploy`. A package that doesn't apply is skipped; a deploy that
|
|
|
513
513
|
doesn't succeed exits non-zero. The shared `release` workflow runs it as its own
|
|
514
514
|
`deploy` job after the release job (opt in with `deploy-on-release: true`).
|
|
515
515
|
|
|
516
|
+
Each package is compared from the commit it was last deployed at, not only from
|
|
517
|
+
`--from`: a successful deploy moves a `deployed/<package>` tag
|
|
518
|
+
(`@theholocron/sentinel` is `deployed/theholocron-sentinel`) to the release
|
|
519
|
+
commit and pushes it, so a release whose deploy job failed is made up by the next
|
|
520
|
+
release, even one that touches nothing in the app. A package with no tag yet (or
|
|
521
|
+
one whose tag is not an ancestor of `--to`) falls back to `--from`, and the skip
|
|
522
|
+
line then says `No deploy is recorded for it yet.` A tag that cannot be pushed is
|
|
523
|
+
a warning, not a failed deploy. `--dry-run` writes no tag; the deploy job needs
|
|
524
|
+
`contents: write`.
|
|
525
|
+
|
|
516
526
|
### `holocron run ci`
|
|
517
527
|
|
|
518
528
|
```bash
|
package/dist/presets.d.mts
CHANGED
|
@@ -53,8 +53,11 @@ declare function nextjs({ test: testOverrides }?: NextjsOptions): Capability[];
|
|
|
53
53
|
* Contributes: GitHub source/CI/issues providers, strict branch protection,
|
|
54
54
|
* and the standard task set, spoken as flat task ids: the `lint` suite's leaves
|
|
55
55
|
* (`lint:code`, `lint:editorconfig`, `lint:markdown`, `lint:data`, `lint:commits`),
|
|
56
|
-
* `format`, `scan:secrets`, `test:unit`, `scan:code`, `
|
|
57
|
-
* `greet`, `update-deps` and `label`.
|
|
56
|
+
* `format`, `scan:secrets`, `test:unit`, `scan:code`, `mark-stale`,
|
|
57
|
+
* `greet`, `update-deps` and `label`. `annotate` (ReviewDog) is no longer in the set: `lint:code` annotates eslint and
|
|
58
|
+
* actionlint findings with problem matchers only where `ci/matchers/*.json` exist (the shared workflow skips them
|
|
59
|
+
* otherwise), so a repo lists `annotate` itself to keep ReviewDog, or provides its own matchers. A repo that got the
|
|
60
|
+
* `annotate` caller from this preset must delete that generated workflow by hand (#2338).
|
|
58
61
|
* The gating tasks (lint leaves, `format`, `scan:secrets`, `test:unit`) are marked
|
|
59
62
|
* `required` — `holocron setup` derives their branch-protection check contexts from
|
|
60
63
|
* the manifest. A repo overrides a task by listing it again; `compose()` also lets
|
package/dist/presets.mjs
CHANGED
|
@@ -179,8 +179,11 @@ function nextjs({ test: testOverrides = {} } = {}) {
|
|
|
179
179
|
* Contributes: GitHub source/CI/issues providers, strict branch protection,
|
|
180
180
|
* and the standard task set, spoken as flat task ids: the `lint` suite's leaves
|
|
181
181
|
* (`lint:code`, `lint:editorconfig`, `lint:markdown`, `lint:data`, `lint:commits`),
|
|
182
|
-
* `format`, `scan:secrets`, `test:unit`, `scan:code`, `
|
|
183
|
-
* `greet`, `update-deps` and `label`.
|
|
182
|
+
* `format`, `scan:secrets`, `test:unit`, `scan:code`, `mark-stale`,
|
|
183
|
+
* `greet`, `update-deps` and `label`. `annotate` (ReviewDog) is no longer in the set: `lint:code` annotates eslint and
|
|
184
|
+
* actionlint findings with problem matchers only where `ci/matchers/*.json` exist (the shared workflow skips them
|
|
185
|
+
* otherwise), so a repo lists `annotate` itself to keep ReviewDog, or provides its own matchers. A repo that got the
|
|
186
|
+
* `annotate` caller from this preset must delete that generated workflow by hand (#2338).
|
|
184
187
|
* The gating tasks (lint leaves, `format`, `scan:secrets`, `test:unit`) are marked
|
|
185
188
|
* `required` — `holocron setup` derives their branch-protection check contexts from
|
|
186
189
|
* the manifest. A repo overrides a task by listing it again; `compose()` also lets
|
|
@@ -240,7 +243,6 @@ function node() {
|
|
|
240
243
|
required: true
|
|
241
244
|
},
|
|
242
245
|
"scan:code",
|
|
243
|
-
"annotate",
|
|
244
246
|
"mark-stale",
|
|
245
247
|
"greet",
|
|
246
248
|
"update-deps",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/cli",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.472",
|
|
4
4
|
"description": "The Holocron CLI - a pluggable, capability-based orchestrator for spinning up and operating software projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -59,18 +59,18 @@
|
|
|
59
59
|
"posthog-node": "^5.71.0",
|
|
60
60
|
"tsx": "4.23.15",
|
|
61
61
|
"yargs": "^18.1.0",
|
|
62
|
-
"@theholocron/
|
|
63
|
-
"@theholocron/
|
|
64
|
-
"@theholocron/dagobah": "5.0.0-alpha.471",
|
|
62
|
+
"@theholocron/datapad": "5.0.0-alpha.472",
|
|
63
|
+
"@theholocron/dagobah": "5.0.0-alpha.472",
|
|
65
64
|
"@theholocron/env-utils": "^1.17.0-alpha.5",
|
|
66
|
-
"@theholocron/
|
|
65
|
+
"@theholocron/astromech": "5.0.0-alpha.472",
|
|
67
66
|
"@theholocron/fs-utils": "^1.17.0-alpha.5",
|
|
68
|
-
"@theholocron/
|
|
67
|
+
"@theholocron/git-utils": "^1.17.0-alpha.5",
|
|
68
|
+
"@theholocron/misc-utils": "^1.17.0-alpha.5",
|
|
69
69
|
"@theholocron/http-client": "^1.58.0-alpha.40",
|
|
70
70
|
"@theholocron/json-utils": "^1.17.0-alpha.5",
|
|
71
|
-
"@theholocron/kyber": "5.0.0-alpha.
|
|
72
|
-
"@theholocron/misc-utils": "^1.17.0-alpha.5",
|
|
71
|
+
"@theholocron/kyber": "5.0.0-alpha.472",
|
|
73
72
|
"@theholocron/observability": "^0.7.0-alpha.5",
|
|
73
|
+
"@theholocron/github-client": "^1.58.0-alpha.40",
|
|
74
74
|
"@theholocron/pkg-utils": "^1.17.0-alpha.5"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
@@ -84,10 +84,10 @@
|
|
|
84
84
|
"tsdown": "^0.23.7",
|
|
85
85
|
"typescript": "^5.9.3",
|
|
86
86
|
"vitest": "^5.1.0",
|
|
87
|
-
"@theholocron/tsconfig": "^8.9.0-alpha.20",
|
|
88
|
-
"@theholocron/vitest-config": "^8.9.0-alpha.20",
|
|
89
87
|
"@theholocron/eslint-config": "^8.9.0-alpha.20",
|
|
90
|
-
"@theholocron/rollup-plugin-transform-template": "^8.9.0-alpha.20"
|
|
88
|
+
"@theholocron/rollup-plugin-transform-template": "^8.9.0-alpha.20",
|
|
89
|
+
"@theholocron/tsconfig": "^8.9.0-alpha.20",
|
|
90
|
+
"@theholocron/vitest-config": "^8.9.0-alpha.20"
|
|
91
91
|
},
|
|
92
92
|
"engines": {
|
|
93
93
|
"node": ">=22.0.0"
|