@theholocron/cli 5.0.0-alpha.412 → 5.0.0-alpha.414
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 +2 -1
- package/dist/cli.mjs.map +1 -1
- package/dist/presets.d.mts +3 -3
- package/dist/presets.mjs +4 -4
- package/package.json +8 -8
package/dist/presets.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ interface AuditOptions {
|
|
|
9
9
|
lighthouseConfig?: string;
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
|
-
* Adds bundle-size measuring (`measure
|
|
12
|
+
* Adds bundle-size measuring (`measure:bundle`) + optional Knip (`lint:unused`) and
|
|
13
13
|
* Lighthouse (`test:perf`) auditing. Each task is marked `required` — `holocron setup`
|
|
14
14
|
* derives the branch-protection checks from the manifest.
|
|
15
15
|
* Requires: node
|
|
@@ -109,7 +109,7 @@ type DocsSitePreset = ComposedPreset;
|
|
|
109
109
|
* Includes the "audit / Conclusion" check in `extraRequiredChecks` so branch
|
|
110
110
|
* protection works for repos that add the audit workflow explicitly. The
|
|
111
111
|
* tasks are intentionally left repo-specific — add the ones you want as flat ids:
|
|
112
|
-
* tasks: [...preset.tasks, { name: "measure
|
|
112
|
+
* tasks: [...preset.tasks, { name: "measure:bundle", required: true }, "lint:unused", ...]
|
|
113
113
|
*
|
|
114
114
|
* For docs-only sites without TypeScript source, use docsSitePreset() instead.
|
|
115
115
|
*
|
|
@@ -120,7 +120,7 @@ type DocsSitePreset = ComposedPreset;
|
|
|
120
120
|
* description: "...",
|
|
121
121
|
* homepage: "https://docs.theholocron.dev/my-lib/",
|
|
122
122
|
* repo: { ...preset.repo, name: "theholocron/my-lib", topics: ["typescript"] },
|
|
123
|
-
* tasks: [...preset.tasks, { name: "measure
|
|
123
|
+
* tasks: [...preset.tasks, { name: "measure:bundle", required: true }, { name: "release", with: { "run-build": true } }, "sync-repo"],
|
|
124
124
|
* providers: { ...preset.providers, secrets: "github" },
|
|
125
125
|
* });
|
|
126
126
|
*/
|
package/dist/presets.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { n as compose } from "./config-system-DYqb53Rd.mjs";
|
|
|
2
2
|
import { DEFAULT_ORG } from "@theholocron/astromech";
|
|
3
3
|
// src/presets/capabilities/audit.ts
|
|
4
4
|
/**
|
|
5
|
-
* Adds bundle-size measuring (`measure
|
|
5
|
+
* Adds bundle-size measuring (`measure:bundle`) + optional Knip (`lint:unused`) and
|
|
6
6
|
* Lighthouse (`test:perf`) auditing. Each task is marked `required` — `holocron setup`
|
|
7
7
|
* derives the branch-protection checks from the manifest.
|
|
8
8
|
* Requires: node
|
|
@@ -13,7 +13,7 @@ function audit({ knip = false, performance = false, lighthouseConfig } = {}) {
|
|
|
13
13
|
requires: ["node"],
|
|
14
14
|
tasks: [
|
|
15
15
|
{
|
|
16
|
-
name: "measure
|
|
16
|
+
name: "measure:bundle",
|
|
17
17
|
required: true
|
|
18
18
|
},
|
|
19
19
|
...knip ? [{
|
|
@@ -297,7 +297,7 @@ function wiki() {
|
|
|
297
297
|
* Includes the "audit / Conclusion" check in `extraRequiredChecks` so branch
|
|
298
298
|
* protection works for repos that add the audit workflow explicitly. The
|
|
299
299
|
* tasks are intentionally left repo-specific — add the ones you want as flat ids:
|
|
300
|
-
* tasks: [...preset.tasks, { name: "measure
|
|
300
|
+
* tasks: [...preset.tasks, { name: "measure:bundle", required: true }, "lint:unused", ...]
|
|
301
301
|
*
|
|
302
302
|
* For docs-only sites without TypeScript source, use docsSitePreset() instead.
|
|
303
303
|
*
|
|
@@ -308,7 +308,7 @@ function wiki() {
|
|
|
308
308
|
* description: "...",
|
|
309
309
|
* homepage: "https://docs.theholocron.dev/my-lib/",
|
|
310
310
|
* repo: { ...preset.repo, name: "theholocron/my-lib", topics: ["typescript"] },
|
|
311
|
-
* tasks: [...preset.tasks, { name: "measure
|
|
311
|
+
* tasks: [...preset.tasks, { name: "measure:bundle", required: true }, { name: "release", with: { "run-build": true } }, "sync-repo"],
|
|
312
312
|
* providers: { ...preset.providers, secrets: "github" },
|
|
313
313
|
* });
|
|
314
314
|
*/
|
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.414",
|
|
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,16 +59,16 @@
|
|
|
59
59
|
"posthog-node": "^5.61.2",
|
|
60
60
|
"tsx": "4.23.15",
|
|
61
61
|
"yargs": "^18.1.0",
|
|
62
|
-
"@theholocron/
|
|
63
|
-
"@theholocron/
|
|
64
|
-
"@theholocron/
|
|
62
|
+
"@theholocron/dagobah": "5.0.0-alpha.414",
|
|
63
|
+
"@theholocron/astromech": "5.0.0-alpha.414",
|
|
64
|
+
"@theholocron/datapad": "5.0.0-alpha.414",
|
|
65
|
+
"@theholocron/git-utils": "^1.17.0-alpha.4",
|
|
65
66
|
"@theholocron/github-client": "^1.58.0-alpha.27",
|
|
67
|
+
"@theholocron/fs-utils": "^1.17.0-alpha.4",
|
|
66
68
|
"@theholocron/env-utils": "^1.17.0-alpha.4",
|
|
67
69
|
"@theholocron/http-client": "^1.58.0-alpha.27",
|
|
68
70
|
"@theholocron/json-utils": "^1.17.0-alpha.4",
|
|
69
|
-
"@theholocron/
|
|
70
|
-
"@theholocron/git-utils": "^1.17.0-alpha.4",
|
|
71
|
-
"@theholocron/kyber": "5.0.0-alpha.412",
|
|
71
|
+
"@theholocron/kyber": "5.0.0-alpha.414",
|
|
72
72
|
"@theholocron/misc-utils": "^1.17.0-alpha.4",
|
|
73
73
|
"@theholocron/pkg-utils": "^1.17.0-alpha.4",
|
|
74
74
|
"@theholocron/observability": "^0.7.0-alpha.4"
|
|
@@ -84,9 +84,9 @@
|
|
|
84
84
|
"tsdown": "^0.23.5",
|
|
85
85
|
"typescript": "^5.9.3",
|
|
86
86
|
"vitest": "^5.1.0",
|
|
87
|
-
"@theholocron/eslint-config": "^8.9.0-alpha.16",
|
|
88
87
|
"@theholocron/rollup-plugin-transform-template": "^8.9.0-alpha.16",
|
|
89
88
|
"@theholocron/tsconfig": "^8.9.0-alpha.16",
|
|
89
|
+
"@theholocron/eslint-config": "^8.9.0-alpha.16",
|
|
90
90
|
"@theholocron/vitest-config": "^8.9.0-alpha.16"
|
|
91
91
|
},
|
|
92
92
|
"engines": {
|