@theholocron/cli 2.0.0-alpha.0 → 2.0.0-alpha.5
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 +15 -11
- package/dist/capabilities/index.d.mts +2 -2
- package/dist/capabilities/index.mjs +1 -1
- package/dist/{capabilities-QjjhVlDd.mjs → capabilities-DapaKOlX.mjs} +6 -2
- package/dist/cli.mjs +1927 -24
- package/dist/{index-DDxKXqtR.d.mts → index-jxPVFH7-.d.mts} +84 -34
- package/dist/index.d.mts +90 -5
- package/dist/index.mjs +3 -3
- package/dist/{config-DWlIfFZm.mjs → keyring-DwNEmrBc.mjs} +73 -2
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -3,22 +3,26 @@
|
|
|
3
3
|
The Holocron CLI — a pluggable, capability-based orchestrator for
|
|
4
4
|
spinning up and operating software projects.
|
|
5
5
|
|
|
6
|
-
##
|
|
6
|
+
## Install
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
```bash
|
|
9
|
+
npm i -g @theholocron/cli@alpha
|
|
10
|
+
holocron --help
|
|
11
|
+
```
|
|
11
12
|
|
|
12
13
|
## What's in here
|
|
13
14
|
|
|
14
15
|
- `src/capabilities/` — the 14 capability interfaces that providers
|
|
15
|
-
|
|
16
|
+
implement
|
|
16
17
|
- `src/config.ts` — `holocron.config.json` parser + plugin resolution
|
|
17
|
-
- `src/cli.ts` — yargs entry, dispatches subcommands
|
|
18
|
+
- `src/cli.ts` — yargs entry, dispatches subcommands
|
|
19
|
+
- `src/commands/` — `setup`, `doctor`, `deploy`, `secret set`,
|
|
20
|
+
`secrets sync`, `npm publish-initial`
|
|
18
21
|
|
|
19
|
-
##
|
|
22
|
+
## Status
|
|
20
23
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
**`v2.0.0-alpha.0`** — published on npm under the `alpha` dist-tag.
|
|
25
|
+
[Release notes](https://github.com/theholocron/holocron/releases/tag/v2.0.0-alpha.0).
|
|
26
|
+
Design in
|
|
27
|
+
[`.notes/tech-architecture.spec.md`](../../.notes/tech-architecture.spec.md).
|
|
28
|
+
APIs may still shift before stable v2.0.0.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { Analytics, Auth, AuthDescription, AuthEvent, AuthEventType, AuthIdentity, AuthUser, CARDINALITY, CapabilityImpls, CapabilityKey, Cardinality, CardinalityFor, Ci, CiRun, CiRunFilter, CiRunStatus, ConnectionStringOptions, CreateAuthUserInput, Deployment, DeploymentProject, DeploymentProjectSettings, DeploymentRecord, DeploymentTarget, DeploymentTrigger, Dns, DnsRecord, DnsRecordType, Environment, EnvironmentReviewer, Environments, Issue, IssueSearchFilter, Issues, LifecycleResult, LifecycleSlot, NormalizedAuthUser, Notifications, Observability, ParseWebhookInput, ProviderApiError, ProviderIdentity, REQUIRED_CAPABILITIES, RepoRef, RepoSettings, ResolvedCapability, Ruleset, SecretScope, Secrets, Source, StatusCategory, Storage, StorageBranch, Tooling, ToolingDoctorReport, TrackerDoctorReport, TrackerUser, Vault, WebhookDashboardInfo, WebhookVerificationError, isMulti };
|
|
1
|
+
import { $ as StorageBranch, A as EnvironmentReviewer, B as ParseWebhookInput, C as DeploymentTarget, D as DnsRecordType, E as DnsRecord, F as LifecycleResult, G as RepoSettings, H as ProviderIdentity, I as LifecycleSlot, J as SecretScope, K as ResolvedCapability, L as NormalizedAuthUser, M as Issue, N as IssueSearchFilter, O as EnsureResult, P as Issues, Q as Storage, R as Notifications, S as DeploymentRecord, T as Dns, U as REQUIRED_CAPABILITIES, V as ProviderApiError, W as RepoRef, X as Source, Y as Secrets, Z as StatusCategory, _ as ConnectionStringOptions, a as AuthEventType, at as WebhookDashboardInfo, b as DeploymentProject, c as CARDINALITY, d as Cardinality, et as Tooling, f as CardinalityFor, g as CiRunStatus, h as CiRunFilter, i as AuthEvent, it as Vault, j as Environments, k as Environment, l as CapabilityImpls, m as CiRun, n as Auth, nt as TrackerDoctorReport, o as AuthIdentity, ot as WebhookVerificationError, p as Ci, q as Ruleset, r as AuthDescription, rt as TrackerUser, s as AuthUser, st as isMulti, t as Analytics, tt as ToolingDoctorReport, u as CapabilityKey, v as CreateAuthUserInput, w as DeploymentTrigger, x as DeploymentProjectSettings, y as Deployment, z as Observability } from "../index-jxPVFH7-.mjs";
|
|
2
|
+
export { Analytics, Auth, AuthDescription, AuthEvent, AuthEventType, AuthIdentity, AuthUser, CARDINALITY, CapabilityImpls, CapabilityKey, Cardinality, CardinalityFor, Ci, CiRun, CiRunFilter, CiRunStatus, ConnectionStringOptions, CreateAuthUserInput, Deployment, DeploymentProject, DeploymentProjectSettings, DeploymentRecord, DeploymentTarget, DeploymentTrigger, Dns, DnsRecord, DnsRecordType, EnsureResult, Environment, EnvironmentReviewer, Environments, Issue, IssueSearchFilter, Issues, LifecycleResult, LifecycleSlot, NormalizedAuthUser, Notifications, Observability, ParseWebhookInput, ProviderApiError, ProviderIdentity, REQUIRED_CAPABILITIES, RepoRef, RepoSettings, ResolvedCapability, Ruleset, SecretScope, Secrets, Source, StatusCategory, Storage, StorageBranch, Tooling, ToolingDoctorReport, TrackerDoctorReport, TrackerUser, Vault, WebhookDashboardInfo, WebhookVerificationError, isMulti };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as isMulti, i as WebhookVerificationError, n as ProviderApiError, r as REQUIRED_CAPABILITIES, t as CARDINALITY } from "../capabilities-
|
|
1
|
+
import { a as isMulti, i as WebhookVerificationError, n as ProviderApiError, r as REQUIRED_CAPABILITIES, t as CARDINALITY } from "../capabilities-DapaKOlX.mjs";
|
|
2
2
|
export { CARDINALITY, ProviderApiError, REQUIRED_CAPABILITIES, WebhookVerificationError, isMulti };
|
|
@@ -15,8 +15,12 @@ const CARDINALITY = {
|
|
|
15
15
|
analytics: "many",
|
|
16
16
|
observability: "many"
|
|
17
17
|
};
|
|
18
|
-
/**
|
|
19
|
-
|
|
18
|
+
/**
|
|
19
|
+
* No capabilities are strictly required — repos without secrets (e.g. org
|
|
20
|
+
* community health repos) legitimately omit vault. Plugins validate their
|
|
21
|
+
* own requirements at call time.
|
|
22
|
+
*/
|
|
23
|
+
const REQUIRED_CAPABILITIES = [];
|
|
20
24
|
/**
|
|
21
25
|
* Surfaced from every capability call that hits a vendor API. Wraps
|
|
22
26
|
* the underlying error with `status` (HTTP) and `details` so
|