@theholocron/cli 4.12.1 → 4.13.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/README.md +24 -0
- package/dist/cli.mjs +6 -0
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +7 -0
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -6,6 +6,7 @@ import { execFile } from "node:child_process";
|
|
|
6
6
|
import { readFile } from "node:fs/promises";
|
|
7
7
|
import { basename, dirname, join } from "node:path";
|
|
8
8
|
import { promisify } from "node:util";
|
|
9
|
+
import { loadTasksConfig } from "@theholocron/astromech/config";
|
|
9
10
|
import { ConfigFileError, ConfigFileError as ConfigFileError$1, loadConfigFile } from "@theholocron/datapad";
|
|
10
11
|
createEnvLookup();
|
|
11
12
|
/**
|
|
@@ -351,6 +352,12 @@ async function deriveDefaults(configDir, raw) {
|
|
|
351
352
|
name: repoName
|
|
352
353
|
};
|
|
353
354
|
}
|
|
355
|
+
const manifest = await loadTasksConfig(configDir);
|
|
356
|
+
if (manifest.tasks) result.tasks = manifest.tasks;
|
|
357
|
+
if (manifest.syncScripts !== void 0) result.syncScripts = manifest.syncScripts;
|
|
358
|
+
if (manifest.holocronScript !== void 0) result.holocronScript = manifest.holocronScript;
|
|
359
|
+
if (manifest.hooks !== void 0) result.hooks = manifest.hooks;
|
|
360
|
+
if (manifest.extraRequiredChecks) result.extraRequiredChecks = [...result.extraRequiredChecks ?? [], ...manifest.extraRequiredChecks];
|
|
354
361
|
return result;
|
|
355
362
|
}
|
|
356
363
|
async function readPackageJsonName(dir) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/cli",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.13.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.
|
|
56
|
-
"@theholocron/datapad": "4.
|
|
57
|
-
"@theholocron/logger": "4.
|
|
55
|
+
"@theholocron/astromech": "4.13.0",
|
|
56
|
+
"@theholocron/datapad": "4.13.0",
|
|
57
|
+
"@theholocron/logger": "4.13.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.
|
|
74
|
+
"@theholocron/rollup-plugin-transform-template": "4.13.0"
|
|
75
75
|
},
|
|
76
76
|
"engines": {
|
|
77
77
|
"node": ">=22.0.0"
|