@theholocron/cli 5.0.0-alpha.113 → 5.0.0-alpha.115
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 +2 -2
- package/dist/cli.mjs +8 -3
- package/dist/cli.mjs.map +1 -1
- package/dist/index.d.mts +6 -2
- package/dist/index.mjs +8 -3
- package/package.json +11 -11
package/dist/index.d.mts
CHANGED
|
@@ -744,9 +744,13 @@ interface LoadedConfig {
|
|
|
744
744
|
filepath: string;
|
|
745
745
|
}
|
|
746
746
|
/**
|
|
747
|
-
* Read + parse + resolve `holocron.config.*` from the given
|
|
747
|
+
* Read + parse + resolve `holocron.config.*` starting from the given
|
|
748
|
+
* directory, walking up through ancestors to the nearest `.git` boundary
|
|
749
|
+
* when `cwd` itself has no match — every command is usable from any
|
|
750
|
+
* subdirectory of a repo, not only its exact root (see
|
|
751
|
+
* `@theholocron/datapad`'s own doc comment for the stop conditions).
|
|
748
752
|
* Throws {@link ConfigFileError} when nothing is found or a file cannot
|
|
749
|
-
* be loaded, or `ConfigError` when the config
|
|
753
|
+
* be loaded, or `ConfigError` when the config fails schema checks.
|
|
750
754
|
*/
|
|
751
755
|
declare function loadConfig(cwd: string): Promise<LoadedConfig>;
|
|
752
756
|
//#endregion
|
package/dist/index.mjs
CHANGED
|
@@ -495,14 +495,19 @@ function defineConfig(config) {
|
|
|
495
495
|
*/
|
|
496
496
|
const execFileAsync = promisify(execFile);
|
|
497
497
|
/**
|
|
498
|
-
* Read + parse + resolve `holocron.config.*` from the given
|
|
498
|
+
* Read + parse + resolve `holocron.config.*` starting from the given
|
|
499
|
+
* directory, walking up through ancestors to the nearest `.git` boundary
|
|
500
|
+
* when `cwd` itself has no match — every command is usable from any
|
|
501
|
+
* subdirectory of a repo, not only its exact root (see
|
|
502
|
+
* `@theholocron/datapad`'s own doc comment for the stop conditions).
|
|
499
503
|
* Throws {@link ConfigFileError} when nothing is found or a file cannot
|
|
500
|
-
* be loaded, or `ConfigError` when the config
|
|
504
|
+
* be loaded, or `ConfigError` when the config fails schema checks.
|
|
501
505
|
*/
|
|
502
506
|
async function loadConfig(cwd) {
|
|
503
507
|
const found = await loadConfigFile({
|
|
504
508
|
cwd,
|
|
505
|
-
name: "holocron"
|
|
509
|
+
name: "holocron",
|
|
510
|
+
walkUp: true
|
|
506
511
|
});
|
|
507
512
|
if (!found) throw new ConfigFileError$1(`no holocron.config.{ts,js,mjs,cjs,json} found in ${cwd}. Create one — see the README for the schema.`);
|
|
508
513
|
return {
|
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.115",
|
|
4
4
|
"description": "The Holocron CLI - a pluggable, capability-based orchestrator for spinning up and operating software projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"@napi-rs/keyring": "^1.3.0",
|
|
50
50
|
"@sentry/node": "^10.70.0",
|
|
51
51
|
"@theholocron/components-doc": "^1.6.0",
|
|
52
|
-
"@theholocron/env-utils": "^1.
|
|
53
|
-
"@theholocron/github-client": "^1.
|
|
54
|
-
"@theholocron/http-client": "^1.
|
|
52
|
+
"@theholocron/env-utils": "^1.9.2",
|
|
53
|
+
"@theholocron/github-client": "^1.37.1",
|
|
54
|
+
"@theholocron/http-client": "^1.37.1",
|
|
55
55
|
"@theholocron/observability": "^0.4.0",
|
|
56
56
|
"@theholocron/registry-doc": "^1.12.0",
|
|
57
57
|
"chalk": "^6.0.0",
|
|
@@ -60,15 +60,15 @@
|
|
|
60
60
|
"pino-pretty": "^13.1.3",
|
|
61
61
|
"posthog-node": "^5.51.6",
|
|
62
62
|
"yargs": "^18.1.0",
|
|
63
|
-
"@theholocron/
|
|
64
|
-
"@theholocron/
|
|
63
|
+
"@theholocron/astromech": "5.0.0-alpha.115",
|
|
64
|
+
"@theholocron/datapad": "5.0.0-alpha.115"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@commitlint/config-conventional": "^21.2.3",
|
|
68
|
-
"@theholocron/commitlint-config": "^8.
|
|
69
|
-
"@theholocron/eslint-config": "^8.
|
|
70
|
-
"@theholocron/tsconfig": "^8.
|
|
71
|
-
"@theholocron/vitest-config": "^8.
|
|
68
|
+
"@theholocron/commitlint-config": "^8.7.0",
|
|
69
|
+
"@theholocron/eslint-config": "^8.7.0",
|
|
70
|
+
"@theholocron/tsconfig": "^8.7.0",
|
|
71
|
+
"@theholocron/vitest-config": "^8.7.0",
|
|
72
72
|
"@types/node": "^26",
|
|
73
73
|
"@types/yargs": "^17.0.35",
|
|
74
74
|
"@vitest/coverage-v8": "^4.1.11",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"tsx": "4.23.12",
|
|
81
81
|
"typescript": "^5.9.3",
|
|
82
82
|
"vitest": "^4.1.11",
|
|
83
|
-
"@theholocron/rollup-plugin-transform-template": "5.0.0-alpha.
|
|
83
|
+
"@theholocron/rollup-plugin-transform-template": "5.0.0-alpha.115"
|
|
84
84
|
},
|
|
85
85
|
"engines": {
|
|
86
86
|
"node": ">=22.0.0"
|