@theholocron/cli 4.9.0 → 4.10.0

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/index.d.mts CHANGED
@@ -389,6 +389,15 @@ interface HolocronConfig {
389
389
  * task-derived list from `astro.requiredChecks()`.
390
390
  */
391
391
  extraRequiredChecks?: string[];
392
+ /**
393
+ * Git hooks `holocron setup` installs. `true` / `{ prePush: true }` writes
394
+ * `.husky/pre-push` (runs `holocron ci` before every push); `false` /
395
+ * `{ prePush: false }` opts out. Omitted → on for `protection: "strict"`,
396
+ * off otherwise. `--hooks` / `--no-hooks` on `holocron setup` override.
397
+ */
398
+ hooks?: boolean | {
399
+ prePush?: boolean;
400
+ };
392
401
  providers: RawProvidersConfig;
393
402
  apps?: AppConfig[];
394
403
  doctor?: DoctorConfig;
@@ -461,6 +470,9 @@ interface ResolvedHolocronConfig {
461
470
  syncScripts?: boolean;
462
471
  holocronScript?: string;
463
472
  extraRequiredChecks?: string[];
473
+ hooks?: boolean | {
474
+ prePush?: boolean;
475
+ };
464
476
  providers: ResolvedProvidersConfig;
465
477
  apps: AppConfig[];
466
478
  doctor: DoctorConfig;
package/dist/index.mjs CHANGED
@@ -207,6 +207,7 @@ function resolveConfig(raw) {
207
207
  syncScripts: raw.syncScripts,
208
208
  holocronScript: raw.holocronScript,
209
209
  extraRequiredChecks: raw.extraRequiredChecks,
210
+ hooks: raw.hooks,
210
211
  providers,
211
212
  apps: raw.apps ?? [],
212
213
  doctor: raw.doctor ?? {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/cli",
3
- "version": "4.9.0",
3
+ "version": "4.10.0",
4
4
  "description": "The Holocron CLI - a pluggable, capability-based orchestrator for spinning up and operating software projects.",
5
5
  "keywords": [
6
6
  "cli",
@@ -52,9 +52,9 @@
52
52
  "ora": "^9.4.1",
53
53
  "posthog-node": "^5.51.6",
54
54
  "yargs": "^18.1.0",
55
- "@theholocron/astromech": "4.9.0",
56
- "@theholocron/datapad": "4.9.0",
57
- "@theholocron/logger": "4.9.0"
55
+ "@theholocron/astromech": "4.10.0",
56
+ "@theholocron/datapad": "4.10.0",
57
+ "@theholocron/logger": "4.10.0"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@theholocron/eslint-config": "^8.0.0",
@@ -71,7 +71,7 @@
71
71
  "tsx": "4.23.12",
72
72
  "typescript": "^5.9.3",
73
73
  "vitest": "^4.1.11",
74
- "@theholocron/rollup-plugin-transform-template": "4.9.0"
74
+ "@theholocron/rollup-plugin-transform-template": "4.10.0"
75
75
  },
76
76
  "engines": {
77
77
  "node": ">=22.0.0"