@theholocron/cli 5.0.0-alpha.270 → 5.0.0-alpha.272
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 +23 -36
- package/dist/cli.mjs +94 -13
- package/dist/cli.mjs.map +1 -1
- package/dist/{compose-CDyegVKe.mjs → compose-8k8KP396.mjs} +21 -1
- package/dist/{index-CL7nYbMl.d.mts → index-DSzAZQdK.d.mts} +18 -1
- package/dist/index.d.mts +36 -27
- package/dist/index.mjs +7 -3
- package/dist/presets.d.mts +1 -1
- package/dist/presets.mjs +1 -1
- package/package.json +9 -9
|
@@ -112,6 +112,25 @@ function taskName(e) {
|
|
|
112
112
|
return typeof e === "string" ? e : e.name;
|
|
113
113
|
}
|
|
114
114
|
/**
|
|
115
|
+
* Merge two lists of `repo.secrets.sync` entries. An entry is the same sync when its environment and scope match;
|
|
116
|
+
* the keys then add up, and an entry that names no keys (every key the vault holds) stays that way.
|
|
117
|
+
*/
|
|
118
|
+
function mergeSync(a, b) {
|
|
119
|
+
const merged = /* @__PURE__ */ new Map();
|
|
120
|
+
for (const entry of [...a ?? [], ...b ?? []]) {
|
|
121
|
+
const id = `${entry.environment}\0${entry.scope ?? "repo"}`;
|
|
122
|
+
const have = merged.get(id);
|
|
123
|
+
merged.set(id, have ? {
|
|
124
|
+
...have,
|
|
125
|
+
...have.keys && entry.keys ? { keys: [.../* @__PURE__ */ new Set([...have.keys, ...entry.keys])] } : { keys: void 0 }
|
|
126
|
+
} : { ...entry });
|
|
127
|
+
}
|
|
128
|
+
return [...merged.values()].map(({ keys, ...rest }) => keys ? {
|
|
129
|
+
...rest,
|
|
130
|
+
keys
|
|
131
|
+
} : rest);
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
115
134
|
* Merge any number of capability fragments into a single preset object that
|
|
116
135
|
* spreads directly into `defineConfig()`.
|
|
117
136
|
*
|
|
@@ -185,7 +204,8 @@ function compose(...args) {
|
|
|
185
204
|
repo.secrets = {
|
|
186
205
|
...repo.secrets?.repo || secrets.repo ? { repo: union(repo.secrets?.repo, secrets.repo) } : {},
|
|
187
206
|
...repo.secrets?.org || secrets.org ? { org: union(repo.secrets?.org, secrets.org) } : {},
|
|
188
|
-
...Object.keys(environments).length > 0 ? { environments } : {}
|
|
207
|
+
...Object.keys(environments).length > 0 ? { environments } : {},
|
|
208
|
+
...repo.secrets?.sync || secrets.sync ? { sync: mergeSync(repo.secrets?.sync, secrets.sync) } : {}
|
|
189
209
|
};
|
|
190
210
|
}
|
|
191
211
|
if (topics) {
|
|
@@ -122,6 +122,23 @@ interface RepoSecrets {
|
|
|
122
122
|
org?: string[];
|
|
123
123
|
/** Environment secrets, by environment name. */
|
|
124
124
|
environments?: Record<string, string[]>;
|
|
125
|
+
/**
|
|
126
|
+
* The vault environments `holocron secrets sync` fills secrets from. `holocron doctor secrets` expects the
|
|
127
|
+
* keys each one holds (or lists) at its scope. Names only; the doctor never reads or prints a value.
|
|
128
|
+
*/
|
|
129
|
+
sync?: RepoSecretsSync[];
|
|
130
|
+
}
|
|
131
|
+
/** One vault environment that `holocron secrets sync` pushes into GitHub secrets, declared so the doctor can check them. */
|
|
132
|
+
interface RepoSecretsSync {
|
|
133
|
+
/** The vault environment id, as given to `holocron secrets sync <environmentId>`. */
|
|
134
|
+
environment: string;
|
|
135
|
+
/**
|
|
136
|
+
* The vault keys pushed to GitHub (the `--github-secret` allowlist). Omit it for every key the vault
|
|
137
|
+
* environment holds, which the doctor then asks the `vault` provider to list.
|
|
138
|
+
*/
|
|
139
|
+
keys?: string[];
|
|
140
|
+
/** Where the secrets land, as `--github-secret-scope` words it: `"repo"` (the default), `"env=<name>"` or `"org=<name>"`. */
|
|
141
|
+
scope?: string;
|
|
125
142
|
}
|
|
126
143
|
interface RepoConfig {
|
|
127
144
|
/** "owner/name" — the GitHub repository coordinate. Derived from the git remote when absent. */
|
|
@@ -641,4 +658,4 @@ interface ComposedPreset {
|
|
|
641
658
|
* const preset = compose(node(), nextjs());
|
|
642
659
|
*/
|
|
643
660
|
declare function compose(...args: (Capability | Capability[])[]): ComposedPreset;
|
|
644
|
-
export {
|
|
661
|
+
export { ResolvedProvidersConfig as A, RepoProperties as C, RepoVariables as D, RepoSecretsSync as E, TelemetryConfig as F, WorkflowWithConfig as I, SingleEntry as M, StorybookDeployProject as N, ResolvedHolocronConfig as O, TaskEntryConfig as P, RepoConfig as S, RepoSecrets as T, LogConfig as _, ConfigError as a, RawProviderEntry as b, resolvePluginPackage as c, ChromaticProjectConfig as d, DocsConfig as f, HolocronConfig as g, EslintConfig as h, TaskEntry as i, ResolvedTuple as j, ResolvedProviderEntry as k, AppConfig as l, EnvConfig as m, Capability as n, resolveConfig as o, DoctorConfig as p, ComposedPreset as r, resolveEntry as s, compose as t, CapabilityConfigPackage as u, MultiEntry as v, RepoProtection as w, RawProvidersConfig as x, ProviderOptions as y };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,10 +1,37 @@
|
|
|
1
1
|
import { $ as LifecycleSlot, $t as WikiProvisionOpts, A as DeploymentProject, At as RepoRef, B as EnsureRelayResult, Bt as SourceTeamMember, C as ConnectionStringOptions, Ct as NotificationsSignIn, D as DeployScriptConfig, Dt as ParseWebhookInput, E as DeployFunctionResult, Et as PagesConfig, F as Dns, Ft as Secrets, G as EnvironmentReviewer, Gt as TeamPermission, H as EnsureWebhookResult, Ht as Storage, I as DnsRecord, It as ServerInspection, J as Issue, Jt as TrackerDoctorReport, K as Environments, Kt as Tooling, L as DnsRecordRequest, Lt as Source, M as DeploymentRecord, Mt as ResolvedCapability, N as DeploymentTarget, Nt as Ruleset, O as DeployScriptResult, Ot as ProviderIdentity, P as DeploymentTrigger, Pt as SecretScope, Q as LifecycleResult, Qt as Wiki, R as DnsRecordType, Rt as SourceBranch, S as CiRunStatus, St as NotificationsServerLayout, T as DeployFunctionConfig, Tt as NotificationsWelcomeLayout, U as EnsuredResource, Ut as StorageBranch, V as EnsureResult, Vt as StatusCategory, W as Environment, Wt as TeamEntry, X as Issues, Xt as Vault, Y as IssueSearchFilter, Yt as TrackerUser, Z as LabelDef, Zt as WebhookDashboardInfo, _ as Cardinality, _t as NotificationsLayout, a as REQUIRED_CAPABILITIES, at as MonitoringAssertionComparison, b as CiRun, bt as NotificationsOnboardingLayout, c as Analytics, ct as MonitoringCheckInput, d as AuthEvent, dt as Notifications, en as WikiProxyConfig, et as Logs, f as AuthEventType, ft as NotificationsAccess, g as CapabilityKey, gt as NotificationsEveryoneLayout, h as CapabilityImpls, ht as NotificationsDelivery, i as ProviderApiError, it as MonitoringAssertion, j as DeploymentProjectSettings, jt as RepoSettings, k as Deployment, kt as PullRequest, l as Auth, lt as MonitoringHttpMethod, m as AuthUser, mt as NotificationsChannelLayout, n as ElevationRequiredError, nt as MonitoringAlertChannelInput, o as WebhookVerificationError, ot as MonitoringAssertionSource, p as AuthIdentity, pt as NotificationsApplicationLayout, q as Errors, qt as ToolingDoctorReport, r as MissingTokenError, rt as MonitoringAlertChannelResult, s as isMulti, st as MonitoringCheck, t as CARDINALITY, tn as Workers, tt as Monitoring, u as AuthDescription, ut as NormalizedAuthUser, v as CardinalityFor, vt as NotificationsLinksLayout, w as CreateAuthUserInput, wt as NotificationsSignedIn, x as CiRunFilter, xt as NotificationsPinnedLayout, y as Ci, yt as NotificationsMember, z as EnsureRelayInput, zt as SourceFile } from "./index-CwxYoWzS.mjs";
|
|
2
|
-
import { A as
|
|
2
|
+
import { A as ResolvedProvidersConfig, C as RepoProperties, D as RepoVariables, E as RepoSecretsSync, F as TelemetryConfig, I as WorkflowWithConfig, M as SingleEntry, N as StorybookDeployProject, O as ResolvedHolocronConfig, P as TaskEntryConfig, S as RepoConfig, T as RepoSecrets, _ as LogConfig, a as ConfigError, b as RawProviderEntry, c as resolvePluginPackage, d as ChromaticProjectConfig, f as DocsConfig, g as HolocronConfig, h as EslintConfig, i as TaskEntry, j as ResolvedTuple, k as ResolvedProviderEntry, l as AppConfig, m as EnvConfig, n as Capability, o as resolveConfig, p as DoctorConfig, r as ComposedPreset, s as resolveEntry, t as compose, u as CapabilityConfigPackage, v as MultiEntry, w as RepoProtection, x as RawProvidersConfig, y as ProviderOptions } from "./index-DSzAZQdK.mjs";
|
|
3
3
|
import { AuthError, RequestOptions, ResolveTokenConfig as ResolveTokenConfig$1, ResolveTokenInput, ResolveTokenInput as ResolveTokenInput$1, RestClient, RestClientConfig, createRestClient } from "@theholocron/http-client";
|
|
4
4
|
import { PackageJson } from "@theholocron/pkg-utils";
|
|
5
5
|
import { ConfigFileError } from "@theholocron/datapad";
|
|
6
6
|
import "@theholocron/observability/core";
|
|
7
7
|
import { WorkspacePackage } from "@theholocron/astromech";
|
|
8
|
+
interface VerifyTokenSuccess {
|
|
9
|
+
ok: true;
|
|
10
|
+
/** "workplace: acme" / "user: cnewton@x" — surfaced in success output. */
|
|
11
|
+
subject: string;
|
|
12
|
+
/** When the token stops working, ISO 8601 in UTC, for a provider that reports it. Absent when unknown or never. */
|
|
13
|
+
expiresAt?: string;
|
|
14
|
+
}
|
|
15
|
+
interface VerifyTokenFailure {
|
|
16
|
+
ok: false;
|
|
17
|
+
/** Reason the token was rejected. Surfaces to the operator. */
|
|
18
|
+
message: string;
|
|
19
|
+
}
|
|
20
|
+
type VerifyTokenResult = VerifyTokenSuccess | VerifyTokenFailure;
|
|
21
|
+
/** One token a plugin takes, and where it is looked up. */
|
|
22
|
+
interface PluginToken {
|
|
23
|
+
/** The plugin's own environment variable, e.g. `HOLOCRON_ADMIN_TOKEN`. */
|
|
24
|
+
envName: string;
|
|
25
|
+
/** The vendor's own environment variable, e.g. `CLOUDFLARE_API_TOKEN`; read after `envName` and before the keyring. */
|
|
26
|
+
vendorEnvName?: string;
|
|
27
|
+
/** The OS keyring entry, e.g. `github.admin`. */
|
|
28
|
+
keyringKey: string;
|
|
29
|
+
/**
|
|
30
|
+
* `false` when the plugin's `verifyToken` does not apply to this token (it checks a different credential, such as
|
|
31
|
+
* a webhook URL), so `holocron doctor tokens` reports it as set without calling the plugin. Default `true`.
|
|
32
|
+
*/
|
|
33
|
+
verifiable?: boolean;
|
|
34
|
+
}
|
|
8
35
|
type ResolveTokenConfig = Omit<ResolveTokenConfig$1, "getKeyringToken">;
|
|
9
36
|
interface FeatureResolverConfig {
|
|
10
37
|
/** Env var name for this feature, e.g. `"HOLOCRON_ISSUES_TOKEN"`. */
|
|
@@ -17,14 +44,16 @@ interface FeatureResolverConfig {
|
|
|
17
44
|
/** A resolver from `createFeatureResolver`: call it for the token, or read `token` to see where it looks. */
|
|
18
45
|
type FeatureResolver = ((input?: ResolveTokenInput$1) => string) & {
|
|
19
46
|
/** The environment variable and keyring entry this resolver reads, for `holocron doctor tokens`. */
|
|
20
|
-
readonly token:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
47
|
+
readonly token: PluginToken;
|
|
48
|
+
};
|
|
49
|
+
/** A resolver from `createResolveToken`: call it for the token, or read `token` to see where it looks. */
|
|
50
|
+
type TokenResolver = ((input?: ResolveTokenInput$1) => string) & {
|
|
51
|
+
/** The environment variables and keyring entry this resolver reads, for `holocron doctor tokens`. */
|
|
52
|
+
readonly token: PluginToken;
|
|
24
53
|
};
|
|
25
54
|
/** Wraps `createResolveToken` from `@theholocron/http` and injects the
|
|
26
55
|
* system keyring so plugins stay at a one-liner call site. */
|
|
27
|
-
export declare function createResolveToken(config: ResolveTokenConfig):
|
|
56
|
+
export declare function createResolveToken(config: ResolveTokenConfig): TokenResolver;
|
|
28
57
|
/**
|
|
29
58
|
* Build a strict, single-feature token resolver.
|
|
30
59
|
*
|
|
@@ -75,26 +104,6 @@ export declare function deleteToken(provider: string): boolean;
|
|
|
75
104
|
* platforms the underlying credential store supports.
|
|
76
105
|
*/
|
|
77
106
|
export declare function listStoredProviders(): string[];
|
|
78
|
-
interface VerifyTokenSuccess {
|
|
79
|
-
ok: true;
|
|
80
|
-
/** "workplace: acme" / "user: cnewton@x" — surfaced in success output. */
|
|
81
|
-
subject: string;
|
|
82
|
-
/** When the token stops working, ISO 8601 in UTC, for a provider that reports it. Absent when unknown or never. */
|
|
83
|
-
expiresAt?: string;
|
|
84
|
-
}
|
|
85
|
-
interface VerifyTokenFailure {
|
|
86
|
-
ok: false;
|
|
87
|
-
/** Reason the token was rejected. Surfaces to the operator. */
|
|
88
|
-
message: string;
|
|
89
|
-
}
|
|
90
|
-
type VerifyTokenResult = VerifyTokenSuccess | VerifyTokenFailure;
|
|
91
|
-
/** One token a plugin takes, and where it is looked up. */
|
|
92
|
-
interface PluginToken {
|
|
93
|
-
/** The environment variable, e.g. `HOLOCRON_ADMIN_TOKEN`. */
|
|
94
|
-
envName: string;
|
|
95
|
-
/** The OS keyring entry, e.g. `github.admin`. */
|
|
96
|
-
keyringKey: string;
|
|
97
|
-
}
|
|
98
107
|
export declare function defineConfig(config: HolocronConfig): HolocronConfig;
|
|
99
108
|
interface LoadedConfig {
|
|
100
109
|
resolved: ResolvedHolocronConfig;
|
|
@@ -239,4 +248,4 @@ export declare function describeNetworkError(err: unknown, timeoutMs: number): s
|
|
|
239
248
|
* earlier one failed is reported as not tried rather than failing a second time for the same reason.
|
|
240
249
|
*/
|
|
241
250
|
export declare function connectionProbe(input: ConnectionProbeInput): Probe;
|
|
242
|
-
export { Analytics, type AppConfig, Auth, AuthDescription, AuthError, AuthEvent, AuthEventType, AuthIdentity, AuthUser, CARDINALITY, type Capability, type CapabilityConfigPackage, CapabilityImpls, CapabilityKey, Cardinality, CardinalityFor, type ChromaticProjectConfig, Ci, CiRun, CiRunFilter, CiRunStatus, type ComposedPreset, ConfigError, ConfigFileError, ConnectionStringOptions, CreateAuthUserInput, DeployFunctionConfig, DeployFunctionResult, DeployScriptConfig, DeployScriptResult, Deployment, DeploymentProject, DeploymentProjectSettings, DeploymentRecord, DeploymentTarget, DeploymentTrigger, type DeriveProfileInput, Dns, DnsRecord, DnsRecordRequest, DnsRecordType, type DocsConfig, type DoctorConfig, ElevationRequiredError, EnsureRelayInput, EnsureRelayResult, EnsureResult, EnsureWebhookResult, EnsuredResource, type EnvConfig, Environment, EnvironmentReviewer, Environments, Errors, type EslintConfig, type FeatureResolver, type FeatureResolverConfig, type HolocronConfig, type HolocronProfile, Issue, IssueSearchFilter, Issues, LabelDef, LifecycleResult, LifecycleSlot, type LoadedConfig, type LogConfig, Logs, MissingTokenError, Monitoring, MonitoringAlertChannelInput, MonitoringAlertChannelResult, MonitoringAssertion, MonitoringAssertionComparison, MonitoringAssertionSource, MonitoringCheck, MonitoringCheckInput, MonitoringHttpMethod, type MultiEntry, NormalizedAuthUser, Notifications, NotificationsAccess, NotificationsApplicationLayout, NotificationsChannelLayout, NotificationsDelivery, NotificationsEveryoneLayout, NotificationsLayout, NotificationsLinksLayout, NotificationsMember, NotificationsOnboardingLayout, NotificationsPinnedLayout, NotificationsServerLayout, NotificationsSignIn, NotificationsSignedIn, NotificationsWelcomeLayout, type PackageJsonLike, PagesConfig, ParseWebhookInput, type PluginProbes, type PluginToken, type Probe, type ProbeContext, type ProbeRow, ProviderApiError, ProviderIdentity, type ProviderOptions, PullRequest, REQUIRED_CAPABILITIES, type RawProviderEntry, type RawProvidersConfig, type RepoConfig, type RepoProperties, type RepoProtection, RepoRef, type RepoSecrets, RepoSettings, type RepoVariables, type RequestOptions, type ResolveTokenConfig, type ResolveTokenInput, ResolvedCapability, type ResolvedHolocronConfig, type ResolvedProviderEntry, type ResolvedProvidersConfig, type ResolvedTuple, type RestClient, type RestClientConfig, Ruleset, SecretScope, Secrets, ServerInspection, type SingleEntry, Source, SourceBranch, SourceFile, SourceTeamMember, StatusCategory, Storage, StorageBranch, type StorybookDeployProject, type TaskEntry, type TaskEntryConfig, TeamEntry, TeamPermission, type TelemetryConfig, Tooling, ToolingDoctorReport, TrackerDoctorReport, TrackerUser, Vault, type VerifyTokenFailure, type VerifyTokenResult, type VerifyTokenSuccess, WebhookDashboardInfo, WebhookVerificationError, Wiki, WikiProvisionOpts, WikiProxyConfig, Workers, type WorkflowWithConfig, compose, createRestClient, isMulti, resolveConfig, resolveEntry, resolvePluginPackage };
|
|
251
|
+
export { Analytics, type AppConfig, Auth, AuthDescription, AuthError, AuthEvent, AuthEventType, AuthIdentity, AuthUser, CARDINALITY, type Capability, type CapabilityConfigPackage, CapabilityImpls, CapabilityKey, Cardinality, CardinalityFor, type ChromaticProjectConfig, Ci, CiRun, CiRunFilter, CiRunStatus, type ComposedPreset, ConfigError, ConfigFileError, ConnectionStringOptions, CreateAuthUserInput, DeployFunctionConfig, DeployFunctionResult, DeployScriptConfig, DeployScriptResult, Deployment, DeploymentProject, DeploymentProjectSettings, DeploymentRecord, DeploymentTarget, DeploymentTrigger, type DeriveProfileInput, Dns, DnsRecord, DnsRecordRequest, DnsRecordType, type DocsConfig, type DoctorConfig, ElevationRequiredError, EnsureRelayInput, EnsureRelayResult, EnsureResult, EnsureWebhookResult, EnsuredResource, type EnvConfig, Environment, EnvironmentReviewer, Environments, Errors, type EslintConfig, type FeatureResolver, type FeatureResolverConfig, type HolocronConfig, type HolocronProfile, Issue, IssueSearchFilter, Issues, LabelDef, LifecycleResult, LifecycleSlot, type LoadedConfig, type LogConfig, Logs, MissingTokenError, Monitoring, MonitoringAlertChannelInput, MonitoringAlertChannelResult, MonitoringAssertion, MonitoringAssertionComparison, MonitoringAssertionSource, MonitoringCheck, MonitoringCheckInput, MonitoringHttpMethod, type MultiEntry, NormalizedAuthUser, Notifications, NotificationsAccess, NotificationsApplicationLayout, NotificationsChannelLayout, NotificationsDelivery, NotificationsEveryoneLayout, NotificationsLayout, NotificationsLinksLayout, NotificationsMember, NotificationsOnboardingLayout, NotificationsPinnedLayout, NotificationsServerLayout, NotificationsSignIn, NotificationsSignedIn, NotificationsWelcomeLayout, type PackageJsonLike, PagesConfig, ParseWebhookInput, type PluginProbes, type PluginToken, type Probe, type ProbeContext, type ProbeRow, ProviderApiError, ProviderIdentity, type ProviderOptions, PullRequest, REQUIRED_CAPABILITIES, type RawProviderEntry, type RawProvidersConfig, type RepoConfig, type RepoProperties, type RepoProtection, RepoRef, type RepoSecrets, type RepoSecretsSync, RepoSettings, type RepoVariables, type RequestOptions, type ResolveTokenConfig, type ResolveTokenInput, ResolvedCapability, type ResolvedHolocronConfig, type ResolvedProviderEntry, type ResolvedProvidersConfig, type ResolvedTuple, type RestClient, type RestClientConfig, Ruleset, SecretScope, Secrets, ServerInspection, type SingleEntry, Source, SourceBranch, SourceFile, SourceTeamMember, StatusCategory, Storage, StorageBranch, type StorybookDeployProject, type TaskEntry, type TaskEntryConfig, TeamEntry, TeamPermission, type TelemetryConfig, type TokenResolver, Tooling, ToolingDoctorReport, TrackerDoctorReport, TrackerUser, Vault, type VerifyTokenFailure, type VerifyTokenResult, type VerifyTokenSuccess, WebhookDashboardInfo, WebhookVerificationError, Wiki, WikiProvisionOpts, WikiProxyConfig, Workers, type WorkflowWithConfig, compose, createRestClient, isMulti, resolveConfig, resolveEntry, resolvePluginPackage };
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CARDINALITY, ElevationRequiredError, MissingTokenError, ProviderApiError, REQUIRED_CAPABILITIES, WebhookVerificationError, isMulti } from "./plugin/capabilities.mjs";
|
|
2
|
-
import { a as resolvePluginPackage, i as resolveEntry, n as ConfigError, r as resolveConfig, t as compose } from "./compose-
|
|
2
|
+
import { a as resolvePluginPackage, i as resolveEntry, n as ConfigError, r as resolveConfig, t as compose } from "./compose-8k8KP396.mjs";
|
|
3
3
|
import { AuthError, createResolveToken as createResolveToken$1, createRestClient } from "@theholocron/http-client";
|
|
4
4
|
import { createEnvLookup, withEnvPrefix } from "@theholocron/env-utils";
|
|
5
5
|
import { Entry, findCredentials } from "@napi-rs/keyring";
|
|
@@ -93,10 +93,14 @@ function listStoredProviders() {
|
|
|
93
93
|
/** Wraps `createResolveToken` from `@theholocron/http` and injects the
|
|
94
94
|
* system keyring so plugins stay at a one-liner call site. */
|
|
95
95
|
function createResolveToken(config) {
|
|
96
|
-
return createResolveToken$1({
|
|
96
|
+
return Object.assign(createResolveToken$1({
|
|
97
97
|
...config,
|
|
98
98
|
getKeyringToken: getToken
|
|
99
|
-
})
|
|
99
|
+
}), { token: {
|
|
100
|
+
envName: config.envName,
|
|
101
|
+
vendorEnvName: config.vendorEnvName,
|
|
102
|
+
keyringKey: config.keyringService
|
|
103
|
+
} });
|
|
100
104
|
}
|
|
101
105
|
/**
|
|
102
106
|
* Build a strict, single-feature token resolver.
|
package/dist/presets.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as Capability, r as ComposedPreset, t as compose } from "./index-
|
|
1
|
+
import { n as Capability, r as ComposedPreset, t as compose } from "./index-DSzAZQdK.mjs";
|
|
2
2
|
interface AuditOptions {
|
|
3
3
|
/** Enable Knip unused-export analysis (default: false). */
|
|
4
4
|
knip?: boolean;
|
package/dist/presets.mjs
CHANGED
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.272",
|
|
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,17 +52,17 @@
|
|
|
52
52
|
"pino-pretty": "^13.1.3",
|
|
53
53
|
"posthog-node": "^5.57.2",
|
|
54
54
|
"yargs": "^18.1.0",
|
|
55
|
-
"@theholocron/astromech": "5.0.0-alpha.
|
|
56
|
-
"@theholocron/datapad": "5.0.0-alpha.
|
|
57
|
-
"@theholocron/fs-utils": "^1.16.1-alpha.1",
|
|
55
|
+
"@theholocron/astromech": "5.0.0-alpha.272",
|
|
56
|
+
"@theholocron/datapad": "5.0.0-alpha.272",
|
|
58
57
|
"@theholocron/env-utils": "^1.16.1-alpha.1",
|
|
59
|
-
"@theholocron/
|
|
58
|
+
"@theholocron/fs-utils": "^1.16.1-alpha.1",
|
|
60
59
|
"@theholocron/github-client": "^1.58.0-alpha.2",
|
|
61
60
|
"@theholocron/http-client": "^1.58.0-alpha.2",
|
|
61
|
+
"@theholocron/misc-utils": "^1.16.1-alpha.1",
|
|
62
|
+
"@theholocron/json-utils": "^1.16.1-alpha.1",
|
|
62
63
|
"@theholocron/git-utils": "^1.16.1-alpha.1",
|
|
63
64
|
"@theholocron/observability": "^0.6.1-alpha.1",
|
|
64
|
-
"@theholocron/pkg-utils": "^1.16.1-alpha.1"
|
|
65
|
-
"@theholocron/misc-utils": "^1.16.1-alpha.1"
|
|
65
|
+
"@theholocron/pkg-utils": "^1.16.1-alpha.1"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@types/node": "^26",
|
|
@@ -76,10 +76,10 @@
|
|
|
76
76
|
"tsx": "4.23.15",
|
|
77
77
|
"typescript": "^5.9.3",
|
|
78
78
|
"vitest": "^5.0.5",
|
|
79
|
+
"@theholocron/eslint-config": "^8.9.0-alpha.3",
|
|
79
80
|
"@theholocron/rollup-plugin-transform-template": "^8.9.0-alpha.3",
|
|
80
81
|
"@theholocron/tsconfig": "^8.9.0-alpha.3",
|
|
81
|
-
"@theholocron/vitest-config": "^8.9.0-alpha.3"
|
|
82
|
-
"@theholocron/eslint-config": "^8.9.0-alpha.3"
|
|
82
|
+
"@theholocron/vitest-config": "^8.9.0-alpha.3"
|
|
83
83
|
},
|
|
84
84
|
"engines": {
|
|
85
85
|
"node": ">=22.0.0"
|