@theholocron/cli 5.0.0-alpha.151 → 5.0.0-alpha.152
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 +20 -11
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +5 -2
- package/package.json +6 -5
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CARDINALITY, ProviderApiError, REQUIRED_CAPABILITIES, WebhookVerificationError, isMulti } from "./plugin/capabilities.mjs";
|
|
2
2
|
import { AuthError, createResolveToken as createResolveToken$1, createRestClient } from "@theholocron/http-client";
|
|
3
|
-
import { createEnvLookup } from "@theholocron/env-utils";
|
|
3
|
+
import { createEnvLookup, withEnvPrefix } from "@theholocron/env-utils";
|
|
4
4
|
import { Entry, findCredentials } from "@napi-rs/keyring";
|
|
5
5
|
import { basename, dirname, join } from "node:path";
|
|
6
6
|
import { readPackageJson } from "@theholocron/pkg-utils";
|
|
@@ -10,7 +10,10 @@ import lint from "@commitlint/lint";
|
|
|
10
10
|
import { loadTasksConfig } from "@theholocron/astromech/config";
|
|
11
11
|
import { ConfigFileError, ConfigFileError as ConfigFileError$1, loadConfigFile } from "@theholocron/datapad";
|
|
12
12
|
import { readGitRemote } from "@theholocron/git-utils";
|
|
13
|
-
|
|
13
|
+
//#region src/env.ts
|
|
14
|
+
/** Singleton env for simple global lookups throughout the CLI. */
|
|
15
|
+
const env = createEnvLookup();
|
|
16
|
+
withEnvPrefix(env, "HOLOCRON");
|
|
14
17
|
/**
|
|
15
18
|
* Create an injectable env for commands that accept a fake env in tests.
|
|
16
19
|
* Pass `input.env` when available, falls back to `process.env`.
|
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.152",
|
|
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,7 +49,7 @@
|
|
|
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.
|
|
52
|
+
"@theholocron/env-utils": "^1.15.1",
|
|
53
53
|
"@theholocron/fs-utils": "^1.13.0",
|
|
54
54
|
"@theholocron/git-utils": "^1.12.0",
|
|
55
55
|
"@theholocron/github-client": "^1.41.0",
|
|
@@ -60,13 +60,14 @@
|
|
|
60
60
|
"@theholocron/pkg-utils": "^1.13.0",
|
|
61
61
|
"@theholocron/registry-doc": "^1.12.0",
|
|
62
62
|
"chalk": "^6.0.0",
|
|
63
|
+
"dotenv": "^17.4.2",
|
|
63
64
|
"ora": "^9.4.1",
|
|
64
65
|
"pino": "^10.3.1",
|
|
65
66
|
"pino-pretty": "^13.1.3",
|
|
66
67
|
"posthog-node": "^5.51.6",
|
|
67
68
|
"yargs": "^18.1.0",
|
|
68
|
-
"@theholocron/astromech": "5.0.0-alpha.
|
|
69
|
-
"@theholocron/datapad": "5.0.0-alpha.
|
|
69
|
+
"@theholocron/astromech": "5.0.0-alpha.152",
|
|
70
|
+
"@theholocron/datapad": "5.0.0-alpha.152"
|
|
70
71
|
},
|
|
71
72
|
"devDependencies": {
|
|
72
73
|
"@commitlint/config-conventional": "^21.2.3",
|
|
@@ -85,7 +86,7 @@
|
|
|
85
86
|
"tsx": "4.23.12",
|
|
86
87
|
"typescript": "^5.9.3",
|
|
87
88
|
"vitest": "^4.1.11",
|
|
88
|
-
"@theholocron/rollup-plugin-transform-template": "5.0.0-alpha.
|
|
89
|
+
"@theholocron/rollup-plugin-transform-template": "5.0.0-alpha.152"
|
|
89
90
|
},
|
|
90
91
|
"engines": {
|
|
91
92
|
"node": ">=22.0.0"
|