@theholocron/cli 4.18.3 → 5.0.0-alpha.3
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/dist/cli.mjs +325 -47
- package/dist/cli.mjs.map +1 -1
- package/dist/index.d.mts +24 -11
- package/package.json +8 -9
package/dist/index.d.mts
CHANGED
|
@@ -338,25 +338,38 @@ interface HolocronConfig {
|
|
|
338
338
|
* single source for `holocron run` / `holocron ci` / the generated CI
|
|
339
339
|
* workflows / `package.json` scripts.
|
|
340
340
|
*
|
|
341
|
-
* Supported values
|
|
342
|
-
* "
|
|
343
|
-
* "
|
|
341
|
+
* Supported values (intent-facing vocabulary — epic #672, D3):
|
|
342
|
+
* "verification.unitTests" | "verification.typeSafety" | "verification.performance" |
|
|
343
|
+
* "sourceQuality.staticAnalysis" | "sourceQuality.formatting" |
|
|
344
|
+
* "sourceQuality.structuredDataValidation" | "sourceQuality.deadCodeAnalysis" |
|
|
345
|
+
* "security.secretDetection" | "security.codeScanning" |
|
|
346
|
+
* "delivery.build" | "delivery.publish" | "delivery.deploy" | "delivery.bundleSize" |
|
|
347
|
+
* "platform.repoSync" | "platform.commitStandards" | "platform.repoValidation" |
|
|
348
|
+
* "knowledge.wiki" | "knowledge.docs" | "knowledge.components" |
|
|
349
|
+
* "review" | "tag" | "stale" | "greetings" | "dependencies" | "bookkeeping"
|
|
344
350
|
*
|
|
345
351
|
* `holocron setup` writes `.github/workflows/<name>.yml` for each entry,
|
|
346
352
|
* calling the corresponding reusable workflow in `theholocron/.github`.
|
|
347
353
|
* Files are overwritten on each run — they are generated artifacts.
|
|
348
354
|
*
|
|
349
|
-
* ### deploy
|
|
350
|
-
*
|
|
351
|
-
* `docs: true` uses the org-standard
|
|
355
|
+
* ### delivery.deploy / knowledge.docs / knowledge.components
|
|
356
|
+
* `delivery.deploy` uses `docs` and/or `storybook` in `with:` — setup
|
|
357
|
+
* derives `paths:` automatically. `docs: true` uses the org-standard
|
|
358
|
+
* `docs/` directory; `docs: { path: "custom" }` overrides it.
|
|
359
|
+
* `knowledge.docs` / `knowledge.components` are the same underlying
|
|
360
|
+
* mechanism, each dedicated to exactly one type — they imply the
|
|
361
|
+
* corresponding shorthand, so a repo using them never has to spell out
|
|
362
|
+
* `docs: true` / `storybook: […]` itself.
|
|
352
363
|
*
|
|
353
364
|
* ```ts
|
|
354
365
|
* // Docs only (standard layout)
|
|
355
|
-
* { name: "deploy", with: { docs: true } }
|
|
366
|
+
* { name: "delivery.deploy", with: { docs: true } }
|
|
367
|
+
* // …or equivalently, the dedicated task:
|
|
368
|
+
* "knowledge.docs"
|
|
356
369
|
*
|
|
357
370
|
* // Docs + monorepo storybooks
|
|
358
371
|
* {
|
|
359
|
-
* name: "deploy",
|
|
372
|
+
* name: "delivery.deploy",
|
|
360
373
|
* with: {
|
|
361
374
|
* docs: true,
|
|
362
375
|
* storybook: [
|
|
@@ -367,7 +380,7 @@ interface HolocronConfig {
|
|
|
367
380
|
* }
|
|
368
381
|
*
|
|
369
382
|
* // Non-standard docs location
|
|
370
|
-
* { name: "deploy", with: { docs: { path: "packages/site" } } }
|
|
383
|
+
* { name: "delivery.deploy", with: { docs: { path: "packages/site" } } }
|
|
371
384
|
* ```
|
|
372
385
|
*
|
|
373
386
|
* ### run-chromatic
|
|
@@ -389,8 +402,8 @@ interface HolocronConfig {
|
|
|
389
402
|
* that the reusable workflow accepts.
|
|
390
403
|
*
|
|
391
404
|
* @example
|
|
392
|
-
* ["
|
|
393
|
-
* { "name": "deploy", "with": { "docs": true } }
|
|
405
|
+
* ["sourceQuality.staticAnalysis", { "name": "delivery.publish", "with": { "run-build": false } }]
|
|
406
|
+
* { "name": "delivery.deploy", "with": { "docs": true } }
|
|
394
407
|
*/
|
|
395
408
|
tasks?: Array<string | TaskEntryConfig>;
|
|
396
409
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0-alpha.3",
|
|
4
4
|
"description": "The Holocron CLI - a pluggable, capability-based orchestrator for spinning up and operating software projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"pino-pretty": "^13.1.3",
|
|
58
58
|
"posthog-node": "^5.51.6",
|
|
59
59
|
"yargs": "^18.1.0",
|
|
60
|
-
"@theholocron/
|
|
61
|
-
"@theholocron/
|
|
60
|
+
"@theholocron/astromech": "5.0.0-alpha.3",
|
|
61
|
+
"@theholocron/datapad": "5.0.0-alpha.3"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@theholocron/eslint-config": "^8.0.0",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"tsx": "4.23.12",
|
|
76
76
|
"typescript": "^5.9.3",
|
|
77
77
|
"vitest": "^4.1.11",
|
|
78
|
-
"@theholocron/rollup-plugin-transform-template": "
|
|
78
|
+
"@theholocron/rollup-plugin-transform-template": "5.0.0-alpha.3"
|
|
79
79
|
},
|
|
80
80
|
"engines": {
|
|
81
81
|
"node": ">=22.0.0"
|
|
@@ -84,13 +84,12 @@
|
|
|
84
84
|
"access": "public"
|
|
85
85
|
},
|
|
86
86
|
"scripts": {
|
|
87
|
-
"build": "tsdown
|
|
87
|
+
"delivery.build": "tsdown",
|
|
88
|
+
"sourceQuality.staticAnalysis": "eslint .",
|
|
88
89
|
"start": "node ./dist/cli.mjs",
|
|
89
|
-
"lint": "eslint .",
|
|
90
|
-
"typecheck": "tsc --noEmit",
|
|
91
|
-
"test": "vitest run",
|
|
92
90
|
"test:watch": "vitest",
|
|
93
|
-
"
|
|
91
|
+
"verification.typeSafety": "tsc --noEmit",
|
|
92
|
+
"verification.unitTests": "vitest run"
|
|
94
93
|
},
|
|
95
94
|
"main": "./dist/index.mjs",
|
|
96
95
|
"types": "./dist/index.d.mts"
|