@theholocron/cli 5.0.0-alpha.369 → 5.0.0-alpha.370
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 +1 -0
- package/dist/cli.mjs +622 -1
- package/dist/cli.mjs.map +1 -1
- package/dist/{config-system-uzcuUTOA.d.mts → config-system-513IhEuT.d.mts} +1 -1
- package/dist/{index-CvlWdUi1.d.mts → index-DXC-Eco9.d.mts} +89 -1
- package/dist/index.d.mts +103 -3
- package/dist/index.mjs +93 -1
- package/dist/plugin/capabilities.d.mts +2 -2
- package/dist/presets.d.mts +1 -1
- package/package.json +18 -18
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as CapabilityKey, On as TeamEntry, an as PagesConfig } from "./index-DXC-Eco9.mjs";
|
|
2
2
|
import { ConfigError as ConfigError$1, ConfigFileError } from "@theholocron/kyber/config";
|
|
3
3
|
import { DocsCoverageMode } from "@theholocron/astromech";
|
|
4
4
|
import { LogLevel } from "@theholocron/observability/core";
|
|
@@ -583,6 +583,84 @@ interface TrackerDoctorReport {
|
|
|
583
583
|
note: string;
|
|
584
584
|
}>;
|
|
585
585
|
}
|
|
586
|
+
/** How urgent an issue is, in words no tracker owns. Linear has all five natively; GitHub holds it in a project field. */
|
|
587
|
+
type IssuePriority = "none" | "urgent" | "high" | "medium" | "low";
|
|
588
|
+
/** A comment on an issue, as a migration carries it. */
|
|
589
|
+
interface IssueComment {
|
|
590
|
+
/** Who wrote it, as a display name; the target cannot post as them, so it is named in the text. */
|
|
591
|
+
author?: string;
|
|
592
|
+
/** The comment's text. */
|
|
593
|
+
body: string;
|
|
594
|
+
/** When it was written, as an ISO timestamp. */
|
|
595
|
+
createdAt: string;
|
|
596
|
+
}
|
|
597
|
+
/**
|
|
598
|
+
* An issue with everything a migration can carry, in a shape that does not depend on the provider. `export` produces
|
|
599
|
+
* it and `import` consumes it, so a move between two trackers is one provider's `export` into the other's `import`.
|
|
600
|
+
*/
|
|
601
|
+
interface IssueRecord {
|
|
602
|
+
/** The key in the tracker it was read from (`#42`, `ENG-42`). */
|
|
603
|
+
key: string;
|
|
604
|
+
/** The address of the issue's page, which the target records so a second run finds what a first one made. */
|
|
605
|
+
url: string;
|
|
606
|
+
/** The issue's title. */
|
|
607
|
+
title: string;
|
|
608
|
+
/** The issue's description. */
|
|
609
|
+
body?: string;
|
|
610
|
+
/** The provider's own status name, e.g. `In Progress`. */
|
|
611
|
+
status?: string;
|
|
612
|
+
/** The group the status falls into. */
|
|
613
|
+
statusCategory: StatusCategory;
|
|
614
|
+
/** Whether the issue is finished (done or canceled). */
|
|
615
|
+
closed: boolean;
|
|
616
|
+
/** How urgent it is; `undefined` when the source does not hold one. */
|
|
617
|
+
priority?: IssuePriority;
|
|
618
|
+
/** Label names. */
|
|
619
|
+
labels: string[];
|
|
620
|
+
/** Who it is assigned to. */
|
|
621
|
+
assignee?: TrackerUser;
|
|
622
|
+
/** The milestone (GitHub) or project (Linear) it belongs to, by name. */
|
|
623
|
+
milestone?: string;
|
|
624
|
+
/** The key of its parent issue, in the source tracker. */
|
|
625
|
+
parent?: string;
|
|
626
|
+
/** Keys, in the source tracker, of the issues that block it. */
|
|
627
|
+
blockedBy: string[];
|
|
628
|
+
/** Its comments, oldest first. */
|
|
629
|
+
comments: IssueComment[];
|
|
630
|
+
/** When it was created, as an ISO timestamp. */
|
|
631
|
+
createdAt: string;
|
|
632
|
+
/** When it last changed, as an ISO timestamp. */
|
|
633
|
+
updatedAt: string;
|
|
634
|
+
}
|
|
635
|
+
/** Which issues {@link Issues.export} reads. Set one of `keys`, `milestone` or `all`. */
|
|
636
|
+
interface IssueSelector {
|
|
637
|
+
/** Exactly these issues. */
|
|
638
|
+
keys?: string[];
|
|
639
|
+
/** Every issue of this milestone (GitHub) or project (Linear), by name. */
|
|
640
|
+
milestone?: string;
|
|
641
|
+
/** Every issue the provider is configured for. */
|
|
642
|
+
all?: boolean;
|
|
643
|
+
/** Leave out closed issues. */
|
|
644
|
+
openOnly?: boolean;
|
|
645
|
+
}
|
|
646
|
+
/** What {@link Issues.import} needs besides the records. */
|
|
647
|
+
interface ImportOptions {
|
|
648
|
+
/** Put every imported issue in this milestone (GitHub) or project (Linear), by name; made if missing. */
|
|
649
|
+
milestone?: string;
|
|
650
|
+
/** Change nothing; report what would be made. */
|
|
651
|
+
dryRun?: boolean;
|
|
652
|
+
}
|
|
653
|
+
/** What {@link Issues.import} did with one record. */
|
|
654
|
+
interface ImportResult {
|
|
655
|
+
/** The key of the record in the source tracker. */
|
|
656
|
+
source: string;
|
|
657
|
+
/** The key it has in the target, or undefined on a dry run of an issue that does not exist yet. */
|
|
658
|
+
key?: string;
|
|
659
|
+
/** Whether it was made now; false when an earlier run had already made it. */
|
|
660
|
+
created: boolean;
|
|
661
|
+
/** What the target cannot hold of this record and so left out, e.g. `assignee (no matching user)`. */
|
|
662
|
+
dropped: string[];
|
|
663
|
+
}
|
|
586
664
|
/** An issue tracker: finds, reads, creates, moves and comments on issues. */
|
|
587
665
|
interface Issues extends ProviderIdentity {
|
|
588
666
|
/** Identifies this provider as the `issues` capability. */
|
|
@@ -609,6 +687,14 @@ interface Issues extends ProviderIdentity {
|
|
|
609
687
|
comment(key: string, body: string): Promise<void>;
|
|
610
688
|
/** Check the tracker connection and how the lifecycle slots map onto the tracker's statuses. */
|
|
611
689
|
doctor(): Promise<TrackerDoctorReport>;
|
|
690
|
+
/** Read issues with everything a migration carries. Optional: a provider that cannot be migrated from leaves it out. */
|
|
691
|
+
export?(selector: IssueSelector): Promise<IssueRecord[]>;
|
|
692
|
+
/**
|
|
693
|
+
* Make the records in this tracker, with their comments, labels, priority and state, and record each one's source
|
|
694
|
+
* address so a second run skips what exists. Two passes: every record is made first, then the `parent` and
|
|
695
|
+
* `blockedBy` links are set, because they point at records made in the same call. Optional.
|
|
696
|
+
*/
|
|
697
|
+
import?(records: IssueRecord[], options?: ImportOptions): Promise<ImportResult[]>;
|
|
612
698
|
}
|
|
613
699
|
/** Env-var scope on the deploy platform. */
|
|
614
700
|
type DeploymentTarget = "development" | "preview" | "production";
|
|
@@ -2506,6 +2592,8 @@ interface BoardItem {
|
|
|
2506
2592
|
category?: BoardStatusCategory;
|
|
2507
2593
|
/** The keys of the open issues this one is blocked by. */
|
|
2508
2594
|
blockedBy: string[];
|
|
2595
|
+
/** The item's priority, when the board holds one. */
|
|
2596
|
+
priority?: IssuePriority;
|
|
2509
2597
|
}
|
|
2510
2598
|
/** What {@link Projects.ensure} did to bring a board in line with a template. */
|
|
2511
2599
|
interface EnsureReport {
|
|
@@ -2724,4 +2812,4 @@ declare class WebhookVerificationError extends Error {
|
|
|
2724
2812
|
}
|
|
2725
2813
|
/** Whether `key` is a capability that can have several providers active at once. */
|
|
2726
2814
|
declare function isMulti<K extends CapabilityKey>(key: K): CardinalityFor<K> extends "many" ? true : false;
|
|
2727
|
-
export { DnsRecordType as $,
|
|
2815
|
+
export { DnsRecordType as $, NotificationsPinnedLayout as $t, Ci as A, Tooling as An, MonitoringAlertChannelState as At, DeployScriptConfig as B, WikiProxyConfig as Bn, Notifications as Bt, BoardTemplate as C, SourceSecurity as Cn, LabelDef as Ct, CapabilityKey as D, StorageBranch as Dn, Monitoring as Dt, CapabilityImpls as E, Storage as En, Logs as Et, CreateAuthUserInput as F, Tunnels as Fn, MonitoringCheck as Ft, DeploymentRecord as G, NotificationsEveryoneLayout as Gt, Deployment as H, Workers as Hn, NotificationsApplicationLayout as Ht, Credentials as I, Vault as In, MonitoringCheckInput as It, DiscussionPatch as J, NotificationsLinksLayout as Jt, DeploymentTarget as K, NotificationsForumTag as Kt, CredentialsInspection as L, WebhookDashboardInfo as Ln, MonitoringHttpMethod as Lt, CiRunFilter as M, TrackerDoctorReport as Mn, MonitoringAssertion as Mt, CiRunStatus as N, TrackerUser as Nn, MonitoringAssertionComparison as Nt, Cardinality as O, TeamEntry as On, MonitoringAlertChannelInput as Ot, ConnectionStringOptions as P, TunnelRoute as Pn, MonitoringAssertionSource as Pt, DnsRecordRequest as Q, NotificationsPicture as Qt, DeployFunctionConfig as R, Wiki as Rn, MoveReport as Rt, BoardSummary as S, SourceRulesetDetail as Sn, Issues as St, BoardView as T, StatusCategory as Tn, LifecycleSlot as Tt, DeploymentProject as U, NotificationsChannelLayout as Ut, DeployScriptResult as V, WorkerScriptState as Vn, NotificationsAccess as Vt, DeploymentProjectSettings as W, NotificationsDelivery as Wt, Dns as X, NotificationsMonitoringFeed as Xt, DiscussionPost as Y, NotificationsMember as Yt, DnsRecord as Z, NotificationsOnboardingLayout as Zt, BoardItem as _, ServerInspection as _n, IssueComment as _t, REQUIRED_CAPABILITIES as a, PagesConfig as an, EnsureWebhookResult as at, BoardStatus as b, SourceFile as bn, IssueSearchFilter as bt, Analytics as c, ProviderIdentity as cn, EnsuredTunnel as ct, AuthEvent as d, RepoRef as dn, Environments as dt, NotificationsPrsFeed as en, EnsureDiscussionInput as et, AuthEventType as f, RepoSettings as fn, Errors as ft, BoardFieldType as g, Secrets as gn, Issue as gt, BoardField as h, SecretScope as hn, InspectRelayInput as ht, ProviderApiError as i, NotificationsWelcomeLayout as in, EnsureResult as it, CiRun as j, ToolingDoctorReport as jn, MonitoringAlertSettings as jt, CardinalityFor as k, TeamPermission as kn, MonitoringAlertChannelResult as kt, Auth as l, PullRequest as ln, Environment as lt, AuthUser as m, Ruleset as mn, ImportResult as mt, ElevationRequiredError as n, NotificationsSignIn as nn, EnsureRelayResult as nt, WebhookVerificationError as o, ParseWebhookInput as on, EnsuredDiscussion as ot, AuthIdentity as p, ResolvedCapability as pn, ImportOptions as pt, DeploymentTrigger as q, NotificationsLayout as qt, MissingTokenError as r, NotificationsSignedIn as rn, EnsureReport as rt, isMulti as s, Projects as sn, EnsuredResource as st, CARDINALITY as t, NotificationsServerLayout as tn, EnsureRelayInput as tt, AuthDescription as u, RelayState as un, EnvironmentReviewer as ut, BoardRule as v, Source as vn, IssuePriority as vt, BoardTemplateFile as w, SourceTeamMember as wn, LifecycleResult as wt, BoardStatusCategory as x, SourceRepoInfo as xn, IssueSelector as xt, BoardState as y, SourceBranch as yn, IssueRecord as yt, DeployFunctionResult as z, WikiProvisionOpts as zn, NormalizedAuthUser as zt };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { $ as DnsRecordType, $t as
|
|
2
|
-
import { A as RawProviderEntry, B as ResolvedHolocronConfig, C as EslintConfig, D as MultiEntry, E as LogConfig, F as RepoSecrets, G as StorybookDeployProject, H as ResolvedProvidersConfig, I as RepoSecretsSync, J as WorkflowWithConfig, K as TaskEntryConfig, L as RepoValidationConfig, M as RepoConfig, N as RepoProperties, O as OrgConfig, P as RepoProtection, R as RepoVariables, S as EnvConfig, T as HolocronConfig, U as ResolvedTuple, V as ResolvedProviderEntry, W as SingleEntry, _ as CredentialsConfig, a as LoadedConfig, b as DocsConfig, c as TaskEntry, d as resolveConfig, f as resolveEntry, g as ChromaticProjectConfig, h as CapabilityConfigPackage, i as loadConfig, j as RawProvidersConfig, k as ProviderOptions, l as ConfigError, m as AppConfig, n as compose, o as Capability, p as resolvePluginPackage, q as TelemetryConfig, r as defineConfig, s as ComposedPreset, t as ConfigFileError, u as credentialsEnvironment, v as DevConfig, w as GitHubAppConfig, x as DoctorConfig, y as DevServeConfig, z as RepoVariablesSync } from "./config-system-
|
|
1
|
+
import { $ as DnsRecordType, $t as NotificationsPinnedLayout, A as Ci, An as Tooling, At as MonitoringAlertChannelState, B as DeployScriptConfig, Bn as WikiProxyConfig, Bt as Notifications, C as BoardTemplate, Cn as SourceSecurity, Ct as LabelDef, D as CapabilityKey, Dn as StorageBranch, Dt as Monitoring, E as CapabilityImpls, En as Storage, Et as Logs, F as CreateAuthUserInput, Fn as Tunnels, Ft as MonitoringCheck, G as DeploymentRecord, Gt as NotificationsEveryoneLayout, H as Deployment, Hn as Workers, Ht as NotificationsApplicationLayout, I as Credentials, In as Vault, It as MonitoringCheckInput, J as DiscussionPatch, Jt as NotificationsLinksLayout, K as DeploymentTarget, Kt as NotificationsForumTag, L as CredentialsInspection, Ln as WebhookDashboardInfo, Lt as MonitoringHttpMethod, M as CiRunFilter, Mn as TrackerDoctorReport, Mt as MonitoringAssertion, N as CiRunStatus, Nn as TrackerUser, Nt as MonitoringAssertionComparison, O as Cardinality, On as TeamEntry, Ot as MonitoringAlertChannelInput, P as ConnectionStringOptions, Pn as TunnelRoute, Pt as MonitoringAssertionSource, Q as DnsRecordRequest, Qt as NotificationsPicture, R as DeployFunctionConfig, Rn as Wiki, Rt as MoveReport, S as BoardSummary, Sn as SourceRulesetDetail, St as Issues, T as BoardView, Tn as StatusCategory, Tt as LifecycleSlot, U as DeploymentProject, Ut as NotificationsChannelLayout, V as DeployScriptResult, Vn as WorkerScriptState, Vt as NotificationsAccess, W as DeploymentProjectSettings, Wt as NotificationsDelivery, X as Dns, Xt as NotificationsMonitoringFeed, Y as DiscussionPost, Yt as NotificationsMember, Z as DnsRecord, Zt as NotificationsOnboardingLayout, _ as BoardItem, _n as ServerInspection, _t as IssueComment, a as REQUIRED_CAPABILITIES, an as PagesConfig, at as EnsureWebhookResult, b as BoardStatus, bn as SourceFile, bt as IssueSearchFilter, c as Analytics, cn as ProviderIdentity, ct as EnsuredTunnel, d as AuthEvent, dn as RepoRef, dt as Environments, en as NotificationsPrsFeed, et as EnsureDiscussionInput, f as AuthEventType, fn as RepoSettings, ft as Errors, g as BoardFieldType, gn as Secrets, gt as Issue, h as BoardField, hn as SecretScope, ht as InspectRelayInput, i as ProviderApiError, in as NotificationsWelcomeLayout, it as EnsureResult, j as CiRun, jn as ToolingDoctorReport, jt as MonitoringAlertSettings, k as CardinalityFor, kn as TeamPermission, kt as MonitoringAlertChannelResult, l as Auth, ln as PullRequest, lt as Environment, m as AuthUser, mn as Ruleset, mt as ImportResult, n as ElevationRequiredError, nn as NotificationsSignIn, nt as EnsureRelayResult, o as WebhookVerificationError, on as ParseWebhookInput, ot as EnsuredDiscussion, p as AuthIdentity, pn as ResolvedCapability, pt as ImportOptions, q as DeploymentTrigger, qt as NotificationsLayout, r as MissingTokenError, rn as NotificationsSignedIn, rt as EnsureReport, s as isMulti, sn as Projects, st as EnsuredResource, t as CARDINALITY, tn as NotificationsServerLayout, tt as EnsureRelayInput, u as AuthDescription, un as RelayState, ut as EnvironmentReviewer, v as BoardRule, vn as Source, vt as IssuePriority, w as BoardTemplateFile, wn as SourceTeamMember, wt as LifecycleResult, x as BoardStatusCategory, xn as SourceRepoInfo, xt as IssueSelector, y as BoardState, yn as SourceBranch, yt as IssueRecord, z as DeployFunctionResult, zn as WikiProvisionOpts, zt as NormalizedAuthUser } from "./index-DXC-Eco9.mjs";
|
|
2
|
+
import { A as RawProviderEntry, B as ResolvedHolocronConfig, C as EslintConfig, D as MultiEntry, E as LogConfig, F as RepoSecrets, G as StorybookDeployProject, H as ResolvedProvidersConfig, I as RepoSecretsSync, J as WorkflowWithConfig, K as TaskEntryConfig, L as RepoValidationConfig, M as RepoConfig, N as RepoProperties, O as OrgConfig, P as RepoProtection, R as RepoVariables, S as EnvConfig, T as HolocronConfig, U as ResolvedTuple, V as ResolvedProviderEntry, W as SingleEntry, _ as CredentialsConfig, a as LoadedConfig, b as DocsConfig, c as TaskEntry, d as resolveConfig, f as resolveEntry, g as ChromaticProjectConfig, h as CapabilityConfigPackage, i as loadConfig, j as RawProvidersConfig, k as ProviderOptions, l as ConfigError, m as AppConfig, n as compose, o as Capability, p as resolvePluginPackage, q as TelemetryConfig, r as defineConfig, s as ComposedPreset, t as ConfigFileError, u as credentialsEnvironment, v as DevConfig, w as GitHubAppConfig, x as DoctorConfig, y as DevServeConfig, z as RepoVariablesSync } from "./config-system-513IhEuT.mjs";
|
|
3
3
|
import { AuthError, ResolveTokenConfig as ResolveTokenConfig$1, ResolveTokenInput, ResolveTokenInput as ResolveTokenInput$1, resolveValue } from "@theholocron/kyber/secrets";
|
|
4
|
+
import { CheckRow } from "@theholocron/kyber/ui";
|
|
4
5
|
import { RequestOptions, RestClient, RestClientConfig, createRestClient } from "@theholocron/http-client";
|
|
5
6
|
import "@theholocron/kyber/plugins";
|
|
6
7
|
import { PackageJson } from "@theholocron/pkg-utils";
|
|
@@ -134,6 +135,32 @@ interface Probe {
|
|
|
134
135
|
}
|
|
135
136
|
/** A plugin's probes by name (kebab-case), as returned from `createPlugin` next to `capabilities`. */
|
|
136
137
|
type PluginProbes = Record<string, Probe>;
|
|
138
|
+
/**
|
|
139
|
+
* One step of a provider's `setup` or `doctor`, in the shape the shared renderer prints (`printCheckRows`): an id, a
|
|
140
|
+
* title, `ok` / `fail` / `skip`, one line of detail and, for a failure, a line per problem.
|
|
141
|
+
*/
|
|
142
|
+
type ProviderRow = CheckRow;
|
|
143
|
+
/** What a provider's `setup` and `doctor` are handed. */
|
|
144
|
+
interface ProviderActionContext {
|
|
145
|
+
/**
|
|
146
|
+
* `--dry-run`: `setup` reports what it would change as `ok` rows and changes nothing. `doctor` never changes
|
|
147
|
+
* anything, so it ignores this.
|
|
148
|
+
*/
|
|
149
|
+
dryRun: boolean;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Something only one provider has (a Linear team's automation, a Discord server's roles) and no provider-neutral
|
|
153
|
+
* command can express. It reports one row per step and does not stop at the first failure: a step that fails is a
|
|
154
|
+
* `fail` row and the next step still runs. It never prints a token.
|
|
155
|
+
*/
|
|
156
|
+
type ProviderAction = (ctx: ProviderActionContext) => Promise<ProviderRow[]>;
|
|
157
|
+
/** A provider's `setup` and `doctor`, as `holocron provider <name> setup|doctor` finds them. */
|
|
158
|
+
interface ProviderActions {
|
|
159
|
+
/** Makes what the provider's own config block declares. Optional. */
|
|
160
|
+
setup?: ProviderAction;
|
|
161
|
+
/** Compares what the provider's own config block declares with what exists, read-only. Optional. */
|
|
162
|
+
doctor?: ProviderAction;
|
|
163
|
+
}
|
|
137
164
|
interface RoleSyncOutcome {
|
|
138
165
|
role: string;
|
|
139
166
|
team: string;
|
|
@@ -312,6 +339,79 @@ export declare function missingCapabilities(capabilities: readonly string[]): st
|
|
|
312
339
|
* own soft-fail behavior.
|
|
313
340
|
*/
|
|
314
341
|
export declare function readWorkspacePackageJsons(repoRoot: string, workspacePackages: readonly WorkspacePackage[]): Promise<PackageJsonLike[]>;
|
|
342
|
+
/**
|
|
343
|
+
* The labels every repository gets from `repo setup`, with their GitHub colours (hex, no `#`) and descriptions. A
|
|
344
|
+
* plugin that makes labels of its own, such as Linear's setup, takes the colour of the one with the same name.
|
|
345
|
+
*/
|
|
346
|
+
export declare const CANONICAL_LABELS: readonly [{
|
|
347
|
+
readonly name: "bug";
|
|
348
|
+
readonly color: "d73a4a";
|
|
349
|
+
readonly description: "Something isn't working";
|
|
350
|
+
}, {
|
|
351
|
+
readonly name: "chore";
|
|
352
|
+
readonly color: "ededed";
|
|
353
|
+
readonly description: "Maintenance, no user-facing change";
|
|
354
|
+
}, {
|
|
355
|
+
readonly name: "ci";
|
|
356
|
+
readonly color: "0075ca";
|
|
357
|
+
readonly description: "CI/CD pipeline changes";
|
|
358
|
+
}, {
|
|
359
|
+
readonly name: "dependencies";
|
|
360
|
+
readonly color: "0366d6";
|
|
361
|
+
readonly description: "Dependency update";
|
|
362
|
+
}, {
|
|
363
|
+
readonly name: "documentation";
|
|
364
|
+
readonly color: "0075ca";
|
|
365
|
+
readonly description: "Documentation only";
|
|
366
|
+
}, {
|
|
367
|
+
readonly name: "duplicate";
|
|
368
|
+
readonly color: "cfd3d7";
|
|
369
|
+
readonly description: "Already reported";
|
|
370
|
+
}, {
|
|
371
|
+
readonly name: "enhancement";
|
|
372
|
+
readonly color: "a2eeef";
|
|
373
|
+
readonly description: "New feature or request";
|
|
374
|
+
}, {
|
|
375
|
+
readonly name: "good first issue";
|
|
376
|
+
readonly color: "7057ff";
|
|
377
|
+
readonly description: "Good for newcomers";
|
|
378
|
+
}, {
|
|
379
|
+
readonly name: "help wanted";
|
|
380
|
+
readonly color: "008672";
|
|
381
|
+
readonly description: "Extra attention needed";
|
|
382
|
+
}, {
|
|
383
|
+
readonly name: "invalid";
|
|
384
|
+
readonly color: "e4e669";
|
|
385
|
+
readonly description: "Doesn't seem right";
|
|
386
|
+
}, {
|
|
387
|
+
readonly name: "performance";
|
|
388
|
+
readonly color: "fbca04";
|
|
389
|
+
readonly description: "Performance improvement";
|
|
390
|
+
}, {
|
|
391
|
+
readonly name: "question";
|
|
392
|
+
readonly color: "d876e3";
|
|
393
|
+
readonly description: "Further information requested";
|
|
394
|
+
}, {
|
|
395
|
+
readonly name: "refactor";
|
|
396
|
+
readonly color: "cfd3d7";
|
|
397
|
+
readonly description: "Code restructuring";
|
|
398
|
+
}, {
|
|
399
|
+
readonly name: "released";
|
|
400
|
+
readonly color: "ededed";
|
|
401
|
+
readonly description: "Included in a release";
|
|
402
|
+
}, {
|
|
403
|
+
readonly name: "test";
|
|
404
|
+
readonly color: "bfd4f2";
|
|
405
|
+
readonly description: "Test-related changes";
|
|
406
|
+
}, {
|
|
407
|
+
readonly name: "triage";
|
|
408
|
+
readonly color: "e4e669";
|
|
409
|
+
readonly description: "Needs investigation";
|
|
410
|
+
}, {
|
|
411
|
+
readonly name: "wontfix";
|
|
412
|
+
readonly color: "ffffff";
|
|
413
|
+
readonly description: "Won't be addressed";
|
|
414
|
+
}];
|
|
315
415
|
/**
|
|
316
416
|
* The closed list of area files `loadConfig` reads from `.holocron/` (the directory is `.<config name>`, set by kyber):
|
|
317
417
|
* `.holocron/notifications.*` fills `providers.notifications`' `layout`, `.holocron/repo.*` fills keys of `repo`, and `.holocron/org.*` fills provider options (`teamId`, `accountId`) a config leaves out.
|
|
@@ -340,4 +440,4 @@ export interface ConnectionProbeInput extends Omit<ConnectionProbeInput$1, "veri
|
|
|
340
440
|
* kyber's `connectionProbe`; this types the result as the plugin system's {@link Probe} and `verify` as `VerifyTokenResult`.
|
|
341
441
|
*/
|
|
342
442
|
export declare function connectionProbe(input: ConnectionProbeInput): Probe;
|
|
343
|
-
export { Analytics, type AppConfig, Auth, AuthDescription, AuthError, AuthEvent, AuthEventType, AuthIdentity, AuthUser, BoardField, BoardFieldType, BoardItem, BoardRule, BoardState, BoardStatus, BoardStatusCategory, BoardSummary, BoardTemplate, BoardTemplateFile, BoardView, CARDINALITY, type Capability, type CapabilityConfigPackage, CapabilityImpls, CapabilityKey, Cardinality, CardinalityFor, type ChromaticProjectConfig, Ci, CiRun, CiRunFilter, CiRunStatus, type ComposedPreset, ConfigError, ConfigFileError, ConnectionStringOptions, CreateAuthUserInput, Credentials, type CredentialsConfig, CredentialsInspection, DeployFunctionConfig, DeployFunctionResult, DeployScriptConfig, DeployScriptResult, Deployment, DeploymentProject, DeploymentProjectSettings, DeploymentRecord, DeploymentTarget, DeploymentTrigger, type DeriveProfileInput, type DevConfig, type DevServeConfig, DiscussionPatch, DiscussionPost, Dns, DnsRecord, DnsRecordRequest, DnsRecordType, type DocsConfig, type DoctorConfig, ElevationRequiredError, EnsureDiscussionInput, EnsureRelayInput, EnsureRelayResult, EnsureReport, EnsureResult, EnsureWebhookResult, EnsuredDiscussion, EnsuredResource, EnsuredTunnel, type EnvConfig, Environment, EnvironmentReviewer, Environments, Errors, type EslintConfig, type FeatureResolver, type FeatureResolverConfig, type GitHubAppConfig, type HolocronConfig, type HolocronProfile, InspectRelayInput, Issue, IssueSearchFilter, Issues, LabelDef, LifecycleResult, LifecycleSlot, type LinksFile, type LoadedConfig, type LogConfig, Logs, type MemberLink, MissingTokenError, Monitoring, MonitoringAlertChannelInput, MonitoringAlertChannelResult, MonitoringAlertChannelState, MonitoringAlertSettings, MonitoringAssertion, MonitoringAssertionComparison, MonitoringAssertionSource, MonitoringCheck, MonitoringCheckInput, MonitoringHttpMethod, MoveReport, type MultiEntry, NormalizedAuthUser, Notifications, NotificationsAccess, NotificationsApplicationLayout, NotificationsChannelLayout, NotificationsDelivery, NotificationsEveryoneLayout, NotificationsForumTag, NotificationsLayout, NotificationsLinksLayout, NotificationsMember, NotificationsMonitoringFeed, NotificationsOnboardingLayout, NotificationsPicture, NotificationsPinnedLayout, NotificationsPrsFeed, NotificationsServerLayout, NotificationsSignIn, NotificationsSignedIn, NotificationsWelcomeLayout, type OrgConfig, type PackageJsonLike, PagesConfig, ParseWebhookInput, type PluginProbes, type PluginToken, type Probe, type ProbeContext, type ProbeRow, Projects, ProviderApiError, ProviderIdentity, type ProviderOptions, PullRequest, REQUIRED_CAPABILITIES, type RawProviderEntry, type RawProvidersConfig, RelayState, type RepoConfig, type RepoProperties, type RepoProtection, RepoRef, type RepoSecrets, type RepoSecretsSync, RepoSettings, type RepoValidationConfig, type RepoVariables, type RepoVariablesSync, 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, SourceRepoInfo, SourceRulesetDetail, SourceSecurity, SourceTeamMember, StatusCategory, Storage, StorageBranch, type StorybookDeployProject, type SyncRolesInput, type SyncRolesResult, type TaskEntry, type TaskEntryConfig, TeamEntry, TeamPermission, type TelemetryConfig, type TokenResolver, Tooling, ToolingDoctorReport, TrackerDoctorReport, TrackerUser, TunnelRoute, Tunnels, Vault, type VerifyTokenFailure, type VerifyTokenResult, type VerifyTokenSuccess, WebhookDashboardInfo, WebhookVerificationError, Wiki, WikiProvisionOpts, WikiProxyConfig, WorkerScriptState, Workers, type WorkflowWithConfig, compose, createRestClient, credentialsEnvironment, defineConfig, isMulti, loadConfig, resolveConfig, resolveEntry, resolvePluginPackage, resolveValue };
|
|
443
|
+
export { Analytics, type AppConfig, Auth, AuthDescription, AuthError, AuthEvent, AuthEventType, AuthIdentity, AuthUser, BoardField, BoardFieldType, BoardItem, BoardRule, BoardState, BoardStatus, BoardStatusCategory, BoardSummary, BoardTemplate, BoardTemplateFile, BoardView, CARDINALITY, type Capability, type CapabilityConfigPackage, CapabilityImpls, CapabilityKey, Cardinality, CardinalityFor, type ChromaticProjectConfig, Ci, CiRun, CiRunFilter, CiRunStatus, type ComposedPreset, ConfigError, ConfigFileError, ConnectionStringOptions, CreateAuthUserInput, Credentials, type CredentialsConfig, CredentialsInspection, DeployFunctionConfig, DeployFunctionResult, DeployScriptConfig, DeployScriptResult, Deployment, DeploymentProject, DeploymentProjectSettings, DeploymentRecord, DeploymentTarget, DeploymentTrigger, type DeriveProfileInput, type DevConfig, type DevServeConfig, DiscussionPatch, DiscussionPost, Dns, DnsRecord, DnsRecordRequest, DnsRecordType, type DocsConfig, type DoctorConfig, ElevationRequiredError, EnsureDiscussionInput, EnsureRelayInput, EnsureRelayResult, EnsureReport, EnsureResult, EnsureWebhookResult, EnsuredDiscussion, EnsuredResource, EnsuredTunnel, type EnvConfig, Environment, EnvironmentReviewer, Environments, Errors, type EslintConfig, type FeatureResolver, type FeatureResolverConfig, type GitHubAppConfig, type HolocronConfig, type HolocronProfile, ImportOptions, ImportResult, InspectRelayInput, Issue, IssueComment, IssuePriority, IssueRecord, IssueSearchFilter, IssueSelector, Issues, LabelDef, LifecycleResult, LifecycleSlot, type LinksFile, type LoadedConfig, type LogConfig, Logs, type MemberLink, MissingTokenError, Monitoring, MonitoringAlertChannelInput, MonitoringAlertChannelResult, MonitoringAlertChannelState, MonitoringAlertSettings, MonitoringAssertion, MonitoringAssertionComparison, MonitoringAssertionSource, MonitoringCheck, MonitoringCheckInput, MonitoringHttpMethod, MoveReport, type MultiEntry, NormalizedAuthUser, Notifications, NotificationsAccess, NotificationsApplicationLayout, NotificationsChannelLayout, NotificationsDelivery, NotificationsEveryoneLayout, NotificationsForumTag, NotificationsLayout, NotificationsLinksLayout, NotificationsMember, NotificationsMonitoringFeed, NotificationsOnboardingLayout, NotificationsPicture, NotificationsPinnedLayout, NotificationsPrsFeed, NotificationsServerLayout, NotificationsSignIn, NotificationsSignedIn, NotificationsWelcomeLayout, type OrgConfig, type PackageJsonLike, PagesConfig, ParseWebhookInput, type PluginProbes, type PluginToken, type Probe, type ProbeContext, type ProbeRow, Projects, type ProviderAction, type ProviderActionContext, type ProviderActions, ProviderApiError, ProviderIdentity, type ProviderOptions, type ProviderRow, PullRequest, REQUIRED_CAPABILITIES, type RawProviderEntry, type RawProvidersConfig, RelayState, type RepoConfig, type RepoProperties, type RepoProtection, RepoRef, type RepoSecrets, type RepoSecretsSync, RepoSettings, type RepoValidationConfig, type RepoVariables, type RepoVariablesSync, 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, SourceRepoInfo, SourceRulesetDetail, SourceSecurity, SourceTeamMember, StatusCategory, Storage, StorageBranch, type StorybookDeployProject, type SyncRolesInput, type SyncRolesResult, type TaskEntry, type TaskEntryConfig, TeamEntry, TeamPermission, type TelemetryConfig, type TokenResolver, Tooling, ToolingDoctorReport, TrackerDoctorReport, TrackerUser, TunnelRoute, Tunnels, Vault, type VerifyTokenFailure, type VerifyTokenResult, type VerifyTokenSuccess, WebhookDashboardInfo, WebhookVerificationError, Wiki, WikiProvisionOpts, WikiProxyConfig, WorkerScriptState, Workers, type WorkflowWithConfig, compose, createRestClient, credentialsEnvironment, defineConfig, isMulti, loadConfig, resolveConfig, resolveEntry, resolvePluginPackage, resolveValue };
|
package/dist/index.mjs
CHANGED
|
@@ -384,6 +384,98 @@ async function readWorkspacePackageJsons(repoRoot, workspacePackages) {
|
|
|
384
384
|
}
|
|
385
385
|
return results;
|
|
386
386
|
}
|
|
387
|
+
// src/commands/setup/labels.ts
|
|
388
|
+
/**
|
|
389
|
+
* The labels every repository gets from `repo setup`, with their GitHub colours (hex, no `#`) and descriptions. A
|
|
390
|
+
* plugin that makes labels of its own, such as Linear's setup, takes the colour of the one with the same name.
|
|
391
|
+
*/
|
|
392
|
+
const CANONICAL_LABELS = [
|
|
393
|
+
{
|
|
394
|
+
name: "bug",
|
|
395
|
+
color: "d73a4a",
|
|
396
|
+
description: "Something isn't working"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
name: "chore",
|
|
400
|
+
color: "ededed",
|
|
401
|
+
description: "Maintenance, no user-facing change"
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
name: "ci",
|
|
405
|
+
color: "0075ca",
|
|
406
|
+
description: "CI/CD pipeline changes"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
name: "dependencies",
|
|
410
|
+
color: "0366d6",
|
|
411
|
+
description: "Dependency update"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
name: "documentation",
|
|
415
|
+
color: "0075ca",
|
|
416
|
+
description: "Documentation only"
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
name: "duplicate",
|
|
420
|
+
color: "cfd3d7",
|
|
421
|
+
description: "Already reported"
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
name: "enhancement",
|
|
425
|
+
color: "a2eeef",
|
|
426
|
+
description: "New feature or request"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
name: "good first issue",
|
|
430
|
+
color: "7057ff",
|
|
431
|
+
description: "Good for newcomers"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
name: "help wanted",
|
|
435
|
+
color: "008672",
|
|
436
|
+
description: "Extra attention needed"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
name: "invalid",
|
|
440
|
+
color: "e4e669",
|
|
441
|
+
description: "Doesn't seem right"
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
name: "performance",
|
|
445
|
+
color: "fbca04",
|
|
446
|
+
description: "Performance improvement"
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
name: "question",
|
|
450
|
+
color: "d876e3",
|
|
451
|
+
description: "Further information requested"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
name: "refactor",
|
|
455
|
+
color: "cfd3d7",
|
|
456
|
+
description: "Code restructuring"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
name: "released",
|
|
460
|
+
color: "ededed",
|
|
461
|
+
description: "Included in a release"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
name: "test",
|
|
465
|
+
color: "bfd4f2",
|
|
466
|
+
description: "Test-related changes"
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
name: "triage",
|
|
470
|
+
color: "e4e669",
|
|
471
|
+
description: "Needs investigation"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
name: "wontfix",
|
|
475
|
+
color: "ffffff",
|
|
476
|
+
description: "Won't be addressed"
|
|
477
|
+
}
|
|
478
|
+
];
|
|
387
479
|
// src/plugin/connection-probe/connection-probe.ts
|
|
388
480
|
/**
|
|
389
481
|
* The `connection` probe every provider offers, for telling a network problem from a credential problem. The checks are
|
|
@@ -392,4 +484,4 @@ async function readWorkspacePackageJsons(repoRoot, workspacePackages) {
|
|
|
392
484
|
function connectionProbe(input) {
|
|
393
485
|
return connectionProbe$1(input);
|
|
394
486
|
}
|
|
395
|
-
export { AuthError, CARDINALITY, ConfigError, ConfigFileError, ElevationRequiredError, HOLOCRON_AREAS, MissingTokenError, ProviderApiError, REQUIRED_CAPABILITIES, SHARED_AREAS, WebhookVerificationError, compose, connectionProbe, createFeatureResolver, createResolveToken, createRestClient, credentialsEnvironment, defineConfig, deriveCapabilities, deriveCompliance, deriveProfile, deriveStack, isMulti, keyring, loadConfig, missingCapabilities, placeAreas, readLinks, readWorkspacePackageJsons, resolveConfig, resolveEntry, resolvePluginPackage, resolveValue, roleTeamProblem, sourceProblem, syncRoles };
|
|
487
|
+
export { AuthError, CANONICAL_LABELS, CARDINALITY, ConfigError, ConfigFileError, ElevationRequiredError, HOLOCRON_AREAS, MissingTokenError, ProviderApiError, REQUIRED_CAPABILITIES, SHARED_AREAS, WebhookVerificationError, compose, connectionProbe, createFeatureResolver, createResolveToken, createRestClient, credentialsEnvironment, defineConfig, deriveCapabilities, deriveCompliance, deriveProfile, deriveStack, isMulti, keyring, loadConfig, missingCapabilities, placeAreas, readLinks, readWorkspacePackageJsons, resolveConfig, resolveEntry, resolvePluginPackage, resolveValue, roleTeamProblem, sourceProblem, syncRoles };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as DnsRecordType, $t as
|
|
2
|
-
export { Analytics, Auth, AuthDescription, AuthEvent, AuthEventType, AuthIdentity, AuthUser, BoardField, BoardFieldType, BoardItem, BoardRule, BoardState, BoardStatus, BoardStatusCategory, BoardSummary, BoardTemplate, BoardTemplateFile, BoardView, CARDINALITY, CapabilityImpls, CapabilityKey, Cardinality, CardinalityFor, Ci, CiRun, CiRunFilter, CiRunStatus, ConnectionStringOptions, CreateAuthUserInput, Credentials, CredentialsInspection, DeployFunctionConfig, DeployFunctionResult, DeployScriptConfig, DeployScriptResult, Deployment, DeploymentProject, DeploymentProjectSettings, DeploymentRecord, DeploymentTarget, DeploymentTrigger, DiscussionPatch, DiscussionPost, Dns, DnsRecord, DnsRecordRequest, DnsRecordType, ElevationRequiredError, EnsureDiscussionInput, EnsureRelayInput, EnsureRelayResult, EnsureReport, EnsureResult, EnsureWebhookResult, EnsuredDiscussion, EnsuredResource, EnsuredTunnel, Environment, EnvironmentReviewer, Environments, Errors, InspectRelayInput, Issue, IssueSearchFilter, Issues, LabelDef, LifecycleResult, LifecycleSlot, Logs, MissingTokenError, Monitoring, MonitoringAlertChannelInput, MonitoringAlertChannelResult, MonitoringAlertChannelState, MonitoringAlertSettings, MonitoringAssertion, MonitoringAssertionComparison, MonitoringAssertionSource, MonitoringCheck, MonitoringCheckInput, MonitoringHttpMethod, MoveReport, NormalizedAuthUser, Notifications, NotificationsAccess, NotificationsApplicationLayout, NotificationsChannelLayout, NotificationsDelivery, NotificationsEveryoneLayout, NotificationsForumTag, NotificationsLayout, NotificationsLinksLayout, NotificationsMember, NotificationsMonitoringFeed, NotificationsOnboardingLayout, NotificationsPicture, NotificationsPinnedLayout, NotificationsPrsFeed, NotificationsServerLayout, NotificationsSignIn, NotificationsSignedIn, NotificationsWelcomeLayout, PagesConfig, ParseWebhookInput, Projects, ProviderApiError, ProviderIdentity, PullRequest, REQUIRED_CAPABILITIES, RelayState, RepoRef, RepoSettings, ResolvedCapability, Ruleset, SecretScope, Secrets, ServerInspection, Source, SourceBranch, SourceFile, SourceRepoInfo, SourceRulesetDetail, SourceSecurity, SourceTeamMember, StatusCategory, Storage, StorageBranch, TeamEntry, TeamPermission, Tooling, ToolingDoctorReport, TrackerDoctorReport, TrackerUser, TunnelRoute, Tunnels, Vault, WebhookDashboardInfo, WebhookVerificationError, Wiki, WikiProvisionOpts, WikiProxyConfig, WorkerScriptState, Workers, isMulti };
|
|
1
|
+
import { $ as DnsRecordType, $t as NotificationsPinnedLayout, A as Ci, An as Tooling, At as MonitoringAlertChannelState, B as DeployScriptConfig, Bn as WikiProxyConfig, Bt as Notifications, C as BoardTemplate, Cn as SourceSecurity, Ct as LabelDef, D as CapabilityKey, Dn as StorageBranch, Dt as Monitoring, E as CapabilityImpls, En as Storage, Et as Logs, F as CreateAuthUserInput, Fn as Tunnels, Ft as MonitoringCheck, G as DeploymentRecord, Gt as NotificationsEveryoneLayout, H as Deployment, Hn as Workers, Ht as NotificationsApplicationLayout, I as Credentials, In as Vault, It as MonitoringCheckInput, J as DiscussionPatch, Jt as NotificationsLinksLayout, K as DeploymentTarget, Kt as NotificationsForumTag, L as CredentialsInspection, Ln as WebhookDashboardInfo, Lt as MonitoringHttpMethod, M as CiRunFilter, Mn as TrackerDoctorReport, Mt as MonitoringAssertion, N as CiRunStatus, Nn as TrackerUser, Nt as MonitoringAssertionComparison, O as Cardinality, On as TeamEntry, Ot as MonitoringAlertChannelInput, P as ConnectionStringOptions, Pn as TunnelRoute, Pt as MonitoringAssertionSource, Q as DnsRecordRequest, Qt as NotificationsPicture, R as DeployFunctionConfig, Rn as Wiki, Rt as MoveReport, S as BoardSummary, Sn as SourceRulesetDetail, St as Issues, T as BoardView, Tn as StatusCategory, Tt as LifecycleSlot, U as DeploymentProject, Ut as NotificationsChannelLayout, V as DeployScriptResult, Vn as WorkerScriptState, Vt as NotificationsAccess, W as DeploymentProjectSettings, Wt as NotificationsDelivery, X as Dns, Xt as NotificationsMonitoringFeed, Y as DiscussionPost, Yt as NotificationsMember, Z as DnsRecord, Zt as NotificationsOnboardingLayout, _ as BoardItem, _n as ServerInspection, _t as IssueComment, a as REQUIRED_CAPABILITIES, an as PagesConfig, at as EnsureWebhookResult, b as BoardStatus, bn as SourceFile, bt as IssueSearchFilter, c as Analytics, cn as ProviderIdentity, ct as EnsuredTunnel, d as AuthEvent, dn as RepoRef, dt as Environments, en as NotificationsPrsFeed, et as EnsureDiscussionInput, f as AuthEventType, fn as RepoSettings, ft as Errors, g as BoardFieldType, gn as Secrets, gt as Issue, h as BoardField, hn as SecretScope, ht as InspectRelayInput, i as ProviderApiError, in as NotificationsWelcomeLayout, it as EnsureResult, j as CiRun, jn as ToolingDoctorReport, jt as MonitoringAlertSettings, k as CardinalityFor, kn as TeamPermission, kt as MonitoringAlertChannelResult, l as Auth, ln as PullRequest, lt as Environment, m as AuthUser, mn as Ruleset, mt as ImportResult, n as ElevationRequiredError, nn as NotificationsSignIn, nt as EnsureRelayResult, o as WebhookVerificationError, on as ParseWebhookInput, ot as EnsuredDiscussion, p as AuthIdentity, pn as ResolvedCapability, pt as ImportOptions, q as DeploymentTrigger, qt as NotificationsLayout, r as MissingTokenError, rn as NotificationsSignedIn, rt as EnsureReport, s as isMulti, sn as Projects, st as EnsuredResource, t as CARDINALITY, tn as NotificationsServerLayout, tt as EnsureRelayInput, u as AuthDescription, un as RelayState, ut as EnvironmentReviewer, v as BoardRule, vn as Source, vt as IssuePriority, w as BoardTemplateFile, wn as SourceTeamMember, wt as LifecycleResult, x as BoardStatusCategory, xn as SourceRepoInfo, xt as IssueSelector, y as BoardState, yn as SourceBranch, yt as IssueRecord, z as DeployFunctionResult, zn as WikiProvisionOpts, zt as NormalizedAuthUser } from "../index-DXC-Eco9.mjs";
|
|
2
|
+
export { Analytics, Auth, AuthDescription, AuthEvent, AuthEventType, AuthIdentity, AuthUser, BoardField, BoardFieldType, BoardItem, BoardRule, BoardState, BoardStatus, BoardStatusCategory, BoardSummary, BoardTemplate, BoardTemplateFile, BoardView, CARDINALITY, CapabilityImpls, CapabilityKey, Cardinality, CardinalityFor, Ci, CiRun, CiRunFilter, CiRunStatus, ConnectionStringOptions, CreateAuthUserInput, Credentials, CredentialsInspection, DeployFunctionConfig, DeployFunctionResult, DeployScriptConfig, DeployScriptResult, Deployment, DeploymentProject, DeploymentProjectSettings, DeploymentRecord, DeploymentTarget, DeploymentTrigger, DiscussionPatch, DiscussionPost, Dns, DnsRecord, DnsRecordRequest, DnsRecordType, ElevationRequiredError, EnsureDiscussionInput, EnsureRelayInput, EnsureRelayResult, EnsureReport, EnsureResult, EnsureWebhookResult, EnsuredDiscussion, EnsuredResource, EnsuredTunnel, Environment, EnvironmentReviewer, Environments, Errors, ImportOptions, ImportResult, InspectRelayInput, Issue, IssueComment, IssuePriority, IssueRecord, IssueSearchFilter, IssueSelector, Issues, LabelDef, LifecycleResult, LifecycleSlot, Logs, MissingTokenError, Monitoring, MonitoringAlertChannelInput, MonitoringAlertChannelResult, MonitoringAlertChannelState, MonitoringAlertSettings, MonitoringAssertion, MonitoringAssertionComparison, MonitoringAssertionSource, MonitoringCheck, MonitoringCheckInput, MonitoringHttpMethod, MoveReport, NormalizedAuthUser, Notifications, NotificationsAccess, NotificationsApplicationLayout, NotificationsChannelLayout, NotificationsDelivery, NotificationsEveryoneLayout, NotificationsForumTag, NotificationsLayout, NotificationsLinksLayout, NotificationsMember, NotificationsMonitoringFeed, NotificationsOnboardingLayout, NotificationsPicture, NotificationsPinnedLayout, NotificationsPrsFeed, NotificationsServerLayout, NotificationsSignIn, NotificationsSignedIn, NotificationsWelcomeLayout, PagesConfig, ParseWebhookInput, Projects, ProviderApiError, ProviderIdentity, PullRequest, REQUIRED_CAPABILITIES, RelayState, RepoRef, RepoSettings, ResolvedCapability, Ruleset, SecretScope, Secrets, ServerInspection, Source, SourceBranch, SourceFile, SourceRepoInfo, SourceRulesetDetail, SourceSecurity, SourceTeamMember, StatusCategory, Storage, StorageBranch, TeamEntry, TeamPermission, Tooling, ToolingDoctorReport, TrackerDoctorReport, TrackerUser, TunnelRoute, Tunnels, Vault, WebhookDashboardInfo, WebhookVerificationError, Wiki, WikiProvisionOpts, WikiProxyConfig, WorkerScriptState, Workers, isMulti };
|
package/dist/presets.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as compose, o as Capability, s as ComposedPreset } from "./config-system-
|
|
1
|
+
import { n as compose, o as Capability, s as ComposedPreset } from "./config-system-513IhEuT.mjs";
|
|
2
2
|
/** Options for the audit capability. */
|
|
3
3
|
interface AuditOptions {
|
|
4
4
|
/** Enable Knip unused-export analysis (default: false). */
|
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.370",
|
|
4
4
|
"description": "The Holocron CLI - a pluggable, capability-based orchestrator for spinning up and operating software projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -48,41 +48,41 @@
|
|
|
48
48
|
"chalk": "^6.0.1",
|
|
49
49
|
"clipboardy": "^5.3.2",
|
|
50
50
|
"dotenv": "^17.4.2",
|
|
51
|
-
"ora": "^
|
|
51
|
+
"ora": "^10.0.0",
|
|
52
52
|
"pino": "^10.4.0",
|
|
53
53
|
"pino-pretty": "^13.2.0",
|
|
54
|
-
"posthog-node": "^5.61.
|
|
54
|
+
"posthog-node": "^5.61.2",
|
|
55
55
|
"tsx": "4.23.15",
|
|
56
56
|
"yargs": "^18.1.0",
|
|
57
|
-
"@theholocron/
|
|
58
|
-
"@theholocron/
|
|
59
|
-
"@theholocron/datapad": "5.0.0-alpha.369",
|
|
60
|
-
"@theholocron/git-utils": "^1.17.0-alpha.2",
|
|
61
|
-
"@theholocron/fs-utils": "^1.17.0-alpha.2",
|
|
57
|
+
"@theholocron/astromech": "5.0.0-alpha.370",
|
|
58
|
+
"@theholocron/datapad": "5.0.0-alpha.370",
|
|
62
59
|
"@theholocron/env-utils": "^1.17.0-alpha.2",
|
|
63
|
-
"@theholocron/
|
|
64
|
-
"@theholocron/
|
|
65
|
-
"@theholocron/
|
|
60
|
+
"@theholocron/git-utils": "^1.17.0-alpha.2",
|
|
61
|
+
"@theholocron/dagobah": "5.0.0-alpha.370",
|
|
62
|
+
"@theholocron/github-client": "^1.58.0-alpha.17",
|
|
63
|
+
"@theholocron/http-client": "^1.58.0-alpha.17",
|
|
66
64
|
"@theholocron/json-utils": "^1.17.0-alpha.2",
|
|
65
|
+
"@theholocron/fs-utils": "^1.17.0-alpha.2",
|
|
67
66
|
"@theholocron/misc-utils": "^1.17.0-alpha.2",
|
|
68
|
-
"@theholocron/
|
|
69
|
-
"@theholocron/observability": "^0.7.0-alpha.2"
|
|
67
|
+
"@theholocron/kyber": "5.0.0-alpha.370",
|
|
68
|
+
"@theholocron/observability": "^0.7.0-alpha.2",
|
|
69
|
+
"@theholocron/pkg-utils": "^1.17.0-alpha.2"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@types/node": "^26",
|
|
73
73
|
"@types/yargs": "^17.0.35",
|
|
74
|
-
"@vitest/coverage-v8": "^5.0
|
|
74
|
+
"@vitest/coverage-v8": "^5.1.0",
|
|
75
75
|
"@vitest/eslint-plugin": "^1.6.28",
|
|
76
76
|
"eslint": "^10.14.0",
|
|
77
77
|
"eslint-plugin-n": "^18.5.0",
|
|
78
78
|
"globals": "^17.14.0",
|
|
79
|
-
"tsdown": "^0.23.
|
|
79
|
+
"tsdown": "^0.23.5",
|
|
80
80
|
"typescript": "^5.9.3",
|
|
81
|
-
"vitest": "^5.0
|
|
81
|
+
"vitest": "^5.1.0",
|
|
82
82
|
"@theholocron/eslint-config": "^8.9.0-alpha.11",
|
|
83
83
|
"@theholocron/rollup-plugin-transform-template": "^8.9.0-alpha.11",
|
|
84
|
-
"@theholocron/
|
|
85
|
-
"@theholocron/
|
|
84
|
+
"@theholocron/tsconfig": "^8.9.0-alpha.11",
|
|
85
|
+
"@theholocron/vitest-config": "^8.9.0-alpha.11"
|
|
86
86
|
},
|
|
87
87
|
"engines": {
|
|
88
88
|
"node": ">=22.0.0"
|