@theholocron/cli 5.0.0-alpha.347 → 5.0.0-alpha.349

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.
@@ -1,6 +1,6 @@
1
1
  import { CARDINALITY, REQUIRED_CAPABILITIES } from "./plugin/capabilities.mjs";
2
2
  import { resolvePluginPackage } from "@theholocron/kyber/plugins";
3
- import { ConfigError, ConfigFileError, createConfigSystem, lastWins, mergeByKey, shallowMerge, union } from "@theholocron/kyber/config";
3
+ import { ConfigError, ConfigError as ConfigError$1, ConfigFileError, createConfigSystem, lastWins, mergeByKey, shallowMerge, union } from "@theholocron/kyber/config";
4
4
  import { basename, dirname } from "node:path";
5
5
  import { readPackageJson } from "@theholocron/pkg-utils";
6
6
  import { resolveTaskName } from "@theholocron/astromech";
@@ -15,7 +15,7 @@ const COMMUNITY_PREFIX = "holocron-plugin-";
15
15
  * is how third-party plugins published outside the org work.
16
16
  */
17
17
  function resolvePluginPackage$1(provider) {
18
- if (!provider) throw new ConfigError("provider name is empty");
18
+ if (!provider) throw new ConfigError$1("provider name is empty");
19
19
  return resolvePluginPackage(provider, PLUGIN_PREFIX, COMMUNITY_PREFIX);
20
20
  }
21
21
  /** A bare `[provider, options]` tuple, with both elements present? */
@@ -43,13 +43,13 @@ function normalizeEntry(entry) {
43
43
  function resolveEntry(key, raw) {
44
44
  const cardinality = CARDINALITY[key];
45
45
  if (typeof raw === "string") {
46
- if (cardinality === "many") throw new ConfigError(`\`${key}\` accepts multiple providers; wrap a single one in an array: ["${raw}"]`);
46
+ if (cardinality === "many") throw new ConfigError$1(`\`${key}\` accepts multiple providers; wrap a single one in an array: ["${raw}"]`);
47
47
  return {
48
48
  cardinality: "single",
49
49
  tuple: normalizeEntry(raw)
50
50
  };
51
51
  }
52
- if (!Array.isArray(raw)) throw new ConfigError(`\`${key}\` entry must be a string or array, got ${typeof raw}`);
52
+ if (!Array.isArray(raw)) throw new ConfigError$1(`\`${key}\` entry must be a string or array, got ${typeof raw}`);
53
53
  if (isOptionsTuple(raw)) {
54
54
  if (cardinality === "many") return {
55
55
  cardinality: "many",
@@ -60,13 +60,13 @@ function resolveEntry(key, raw) {
60
60
  tuple: normalizeEntry(raw)
61
61
  };
62
62
  }
63
- if (cardinality === "single") throw new ConfigError(`\`${key}\` accepts exactly one provider; got a multi-provider list with ${raw.length} entries`);
63
+ if (cardinality === "single") throw new ConfigError$1(`\`${key}\` accepts exactly one provider; got a multi-provider list with ${raw.length} entries`);
64
64
  return {
65
65
  cardinality: "many",
66
66
  tuples: raw.map((entry, idx) => {
67
67
  if (typeof entry === "string") return normalizeEntry(entry);
68
68
  if (isOptionsTuple(entry)) return normalizeEntry(entry);
69
- throw new ConfigError(`\`${key}[${idx}]\` must be a provider string or [provider, options] tuple`);
69
+ throw new ConfigError$1(`\`${key}[${idx}]\` must be a provider string or [provider, options] tuple`);
70
70
  })
71
71
  };
72
72
  }
@@ -75,19 +75,19 @@ const HOSTNAME = /^[A-Za-z0-9]([A-Za-z0-9-]*[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0
75
75
  /** Throws a {@link ConfigError} naming the first thing wrong with the `dev` block. */
76
76
  function validateDev(dev) {
77
77
  const nonEmpty = (value) => typeof value === "string" && value.trim() !== "";
78
- if (dev.environment !== void 0 && !nonEmpty(dev.environment)) throw new ConfigError("`dev.environment` must be the name of a vault environment, got an empty value");
78
+ if (dev.environment !== void 0 && !nonEmpty(dev.environment)) throw new ConfigError$1("`dev.environment` must be the name of a vault environment, got an empty value");
79
79
  if (dev.tunnel !== void 0) {
80
- if (!nonEmpty(dev.tunnel.name)) throw new ConfigError("`dev.tunnel.name` must be a name, got an empty value");
81
- if (typeof dev.tunnel.hostname !== "string" || !HOSTNAME.test(dev.tunnel.hostname)) throw new ConfigError(`\`dev.tunnel.hostname\` must be a hostname such as sentinel-dev.example.dev (no scheme or path), got ${JSON.stringify(dev.tunnel.hostname)}`);
80
+ if (!nonEmpty(dev.tunnel.name)) throw new ConfigError$1("`dev.tunnel.name` must be a name, got an empty value");
81
+ if (typeof dev.tunnel.hostname !== "string" || !HOSTNAME.test(dev.tunnel.hostname)) throw new ConfigError$1(`\`dev.tunnel.hostname\` must be a hostname such as sentinel-dev.example.dev (no scheme or path), got ${JSON.stringify(dev.tunnel.hostname)}`);
82
82
  }
83
- if (dev.port !== void 0 && !(Number.isInteger(dev.port) && dev.port >= 1 && dev.port <= 65535)) throw new ConfigError(`\`dev.port\` must be a port from 1 to 65535, got ${JSON.stringify(dev.port)}`);
84
- if (dev.command !== void 0 && !(Array.isArray(dev.command) && dev.command.length > 0 && dev.command.every(nonEmpty))) throw new ConfigError("`dev.command` must be the program and its arguments, e.g. [\"pnpm\", \"run\", \"serve\"]");
83
+ if (dev.port !== void 0 && !(Number.isInteger(dev.port) && dev.port >= 1 && dev.port <= 65535)) throw new ConfigError$1(`\`dev.port\` must be a port from 1 to 65535, got ${JSON.stringify(dev.port)}`);
84
+ if (dev.command !== void 0 && !(Array.isArray(dev.command) && dev.command.length > 0 && dev.command.every(nonEmpty))) throw new ConfigError$1("`dev.command` must be the program and its arguments, e.g. [\"pnpm\", \"run\", \"serve\"]");
85
85
  if (dev.serve !== void 0) {
86
86
  const { serve } = dev;
87
- if (!nonEmpty(serve.handler)) throw new ConfigError("`dev.serve.handler` must be the path of the module that exports the handler");
88
- if (serve.export !== void 0 && !nonEmpty(serve.export)) throw new ConfigError("`dev.serve.export` must be the name of the handler's export, got an empty value");
89
- if (serve.required !== void 0 && !(Array.isArray(serve.required) && serve.required.every(nonEmpty))) throw new ConfigError("`dev.serve.required` must be a list of variable names");
90
- if (serve.logging !== void 0 && !(nonEmpty(serve.logging.tokenVar) && nonEmpty(serve.logging.datasetVar))) throw new ConfigError("`dev.serve.logging` needs a `tokenVar` and a `datasetVar`, both variable names");
87
+ if (!nonEmpty(serve.handler)) throw new ConfigError$1("`dev.serve.handler` must be the path of the module that exports the handler");
88
+ if (serve.export !== void 0 && !nonEmpty(serve.export)) throw new ConfigError$1("`dev.serve.export` must be the name of the handler's export, got an empty value");
89
+ if (serve.required !== void 0 && !(Array.isArray(serve.required) && serve.required.every(nonEmpty))) throw new ConfigError$1("`dev.serve.required` must be a list of variable names");
90
+ if (serve.logging !== void 0 && !(nonEmpty(serve.logging.tokenVar) && nonEmpty(serve.logging.datasetVar))) throw new ConfigError$1("`dev.serve.logging` needs a `tokenVar` and a `datasetVar`, both variable names");
91
91
  }
92
92
  }
93
93
  /** The values `repoValidation.docsCoverage` accepts. */
@@ -107,31 +107,31 @@ function credentialsEnvironment(tuple, config) {
107
107
  }
108
108
  /** Validates a raw `holocron.config` and resolves its provider entries; throws `ConfigError` when `name` or `providers` is missing or an entry is malformed. */
109
109
  function resolveConfig(raw) {
110
- if (!raw.name) throw new ConfigError("`name` is required");
111
- if (!raw.providers || typeof raw.providers !== "object") throw new ConfigError("`providers` block is required");
110
+ if (!raw.name) throw new ConfigError$1("`name` is required");
111
+ if (!raw.providers || typeof raw.providers !== "object") throw new ConfigError$1("`providers` block is required");
112
112
  const providers = {};
113
113
  for (const [key, entry] of Object.entries(raw.providers)) {
114
114
  if (entry === void 0) continue;
115
115
  providers[key] = resolveEntry(key, entry);
116
116
  }
117
- for (const required of REQUIRED_CAPABILITIES) if (!providers[required]) throw new ConfigError(`required capability \`${required}\` is missing from providers`);
117
+ for (const required of REQUIRED_CAPABILITIES) if (!providers[required]) throw new ConfigError$1(`required capability \`${required}\` is missing from providers`);
118
118
  let docs;
119
119
  if (raw.docs !== void 0) {
120
- if (!raw.docs.build) throw new ConfigError("`docs.build` is required when `docs` is set");
120
+ if (!raw.docs.build) throw new ConfigError$1("`docs.build` is required when `docs` is set");
121
121
  docs = raw.docs;
122
122
  }
123
123
  const docsCoverage = raw.repoValidation?.docsCoverage;
124
- if (docsCoverage !== void 0 && !DOCS_COVERAGE_MODES.includes(docsCoverage)) throw new ConfigError(`\`repoValidation.docsCoverage\` must be one of ${DOCS_COVERAGE_MODES.map((m) => `"${m}"`).join(", ")}, got ${JSON.stringify(docsCoverage)}`);
124
+ if (docsCoverage !== void 0 && !DOCS_COVERAGE_MODES.includes(docsCoverage)) throw new ConfigError$1(`\`repoValidation.docsCoverage\` must be one of ${DOCS_COVERAGE_MODES.map((m) => `"${m}"`).join(", ")}, got ${JSON.stringify(docsCoverage)}`);
125
125
  if (raw.credentials !== void 0) {
126
126
  const environment = raw.credentials.environment;
127
- if (typeof environment !== "string" || environment.trim() === "") throw new ConfigError("`credentials.environment` must be the name of an environment, got an empty value");
127
+ if (typeof environment !== "string" || environment.trim() === "") throw new ConfigError$1("`credentials.environment` must be the name of an environment, got an empty value");
128
128
  }
129
129
  if (raw.dev !== void 0) validateDev(raw.dev);
130
130
  const credentialsEntry = providers.credentials;
131
131
  if (credentialsEntry?.cardinality === "many") for (const tuple of credentialsEntry.tuples) {
132
132
  const own = tuple.options.environment;
133
- if (own !== void 0 && (typeof own !== "string" || own.trim() === "")) throw new ConfigError(`the \`environment\` option of the \`${tuple.provider}\` credentials provider must be the name of an environment, got an empty value`);
134
- if (credentialsEnvironment(tuple, raw) === void 0) throw new ConfigError(`the \`${tuple.provider}\` credentials provider has no environment to read: give it an \`environment\` option or set \`credentials.environment\``);
133
+ if (own !== void 0 && (typeof own !== "string" || own.trim() === "")) throw new ConfigError$1(`the \`environment\` option of the \`${tuple.provider}\` credentials provider must be the name of an environment, got an empty value`);
134
+ if (credentialsEnvironment(tuple, raw) === void 0) throw new ConfigError$1(`the \`${tuple.provider}\` credentials provider has no environment to read: give it an \`environment\` option or set \`credentials.environment\``);
135
135
  }
136
136
  const homepage = raw.homepage ?? (docs?.domain ? `https://${docs.domain}/` : void 0);
137
137
  return {
@@ -281,6 +281,86 @@ async function deriveDefaults(found) {
281
281
  if (manifest.extraRequiredChecks) result.extraRequiredChecks = [...result.extraRequiredChecks ?? [], ...manifest.extraRequiredChecks];
282
282
  return result;
283
283
  }
284
+ // src/config/load-config/holocron-areas/holocron-areas.ts
285
+ /**
286
+ * The closed list of area files `loadConfig` reads from `.holocron/` (the directory is `.<config name>`, set by kyber):
287
+ * `.holocron/notifications.*` fills `providers.notifications`' `layout`, and `.holocron/repo.*` fills keys of `repo`.
288
+ * A file not on this list is never read.
289
+ */
290
+ const HOLOCRON_AREAS = ["notifications", "repo"];
291
+ // src/config/load-config/place-notifications/place-notifications.ts
292
+ const isTuple = (entry) => Array.isArray(entry) && entry.length === 2 && typeof entry[0] === "string" && typeof entry[1] === "object" && entry[1] !== null && !Array.isArray(entry[1]);
293
+ const providerName = (entry) => isTuple(entry) ? entry[0] : entry;
294
+ /** Index of the entry the layout belongs to in a multi-provider list: the first `discord`. */
295
+ function findDiscord(entries) {
296
+ return entries.findIndex((entry) => providerName(entry) === "discord");
297
+ }
298
+ function withLayout(entry, layout) {
299
+ return isTuple(entry) ? [entry[0], {
300
+ ...entry[1],
301
+ layout
302
+ }] : [entry, { layout }];
303
+ }
304
+ /**
305
+ * Set `layout` on the notifications provider from `.holocron/notifications.*`. The entry may be a name (`"discord"`),
306
+ * a `[name, options]` tuple, or a list (the first `discord` entry gets it). Throws `ConfigError` when the provider is
307
+ * not set or already has an inline `layout`.
308
+ */
309
+ function placeNotifications(raw, area) {
310
+ if (typeof area.value !== "object" || area.value === null || Array.isArray(area.value)) throw new ConfigError(`${area.path} must export the notifications layout as an object`);
311
+ const entry = raw.providers?.notifications;
312
+ const hint = `Set it in one place: remove the inline \`layout\` or delete ${area.path}`;
313
+ let placed;
314
+ if (entry === void 0) throw new ConfigError(`${area.path} holds the notifications layout, but providers.notifications is not set. Add \`notifications: ["discord", { guildId }]\` to providers`);
315
+ else if (Array.isArray(entry) && !isTuple(entry)) {
316
+ const index = findDiscord(entry);
317
+ if (index === -1) throw new ConfigError(`${area.path} holds the notifications layout, but providers.notifications has no discord entry`);
318
+ const target = entry[index];
319
+ if (isTuple(target) && target[1].layout !== void 0) throw new ConfigError(`the notifications layout is set in providers.notifications and in ${area.path}. ${hint}`);
320
+ placed = entry.map((item, i) => i === index ? withLayout(item, area.value) : item);
321
+ } else {
322
+ if (isTuple(entry) && entry[1].layout !== void 0) throw new ConfigError(`the notifications layout is set in providers.notifications and in ${area.path}. ${hint}`);
323
+ placed = withLayout(entry, area.value);
324
+ }
325
+ return {
326
+ ...raw,
327
+ providers: {
328
+ ...raw.providers,
329
+ notifications: placed
330
+ }
331
+ };
332
+ }
333
+ // src/config/load-config/place-repo/place-repo.ts
334
+ /**
335
+ * Add the keys of `.holocron/repo.*` to `repo`. The keys of the two sources must differ (`repo.defaultBranch` stays
336
+ * inline so Sentinel can find the branch to read): a key set both inline and in the file is a `ConfigError` naming
337
+ * both.
338
+ */
339
+ function placeRepo(raw, area) {
340
+ if (typeof area.value !== "object" || area.value === null || Array.isArray(area.value)) throw new ConfigError(`${area.path} must export the repo settings as an object`);
341
+ const fromFile = area.value;
342
+ const inline = raw.repo ?? {};
343
+ for (const key of Object.keys(fromFile)) if (inline[key] !== void 0) throw new ConfigError(`repo.${key} is set in the config and in ${area.path}. Set it in one place: remove the inline value or the key from ${area.path}`);
344
+ return {
345
+ ...raw,
346
+ repo: {
347
+ ...inline,
348
+ ...fromFile
349
+ }
350
+ };
351
+ }
352
+ // src/config/load-config/place-areas/place-areas.ts
353
+ /**
354
+ * Put the area files of `.holocron/` into the config as loaded, before `deriveDefaults` runs: `notifications` becomes
355
+ * the `layout` of the notifications provider and `repo` supplies keys of `repo`. A value set both inline and in a file
356
+ * is a `ConfigError` naming both (no merge, no precedence). With no area files the config is returned as it was.
357
+ */
358
+ function placeAreas(areas, raw) {
359
+ let result = raw;
360
+ for (const area of areas) if (area.area === "notifications") result = placeNotifications(result, area);
361
+ else if (area.area === "repo") result = placeRepo(result, area);
362
+ return result;
363
+ }
284
364
  // src/config/config-system.ts
285
365
  /**
286
366
  * Holocron's config system: `defineConfig`, `loadConfig` and `compose`, all built from one
@@ -288,7 +368,7 @@ async function deriveDefaults(found) {
288
368
  *
289
369
  * File discovery, the walk up to `.git`, module loading (typed configs via `tsx`) and the derive-then-resolve flow come
290
370
  * from `@theholocron/kyber/config`. The holocron-specific parts are `deriveDefaults` (name, `repo.name`, the task
291
- * manifest), `resolveConfig` and `mergeStrategies`.
371
+ * manifest), `placeAreas` (the `.holocron/` area files, placed before `deriveDefaults`), `resolveConfig` and `mergeStrategies`.
292
372
  *
293
373
  * The three functions live together because each is only a method of the one system object; splitting them back into
294
374
  * one file apiece would just be pass-through wrappers (an exception to the one-function-per-file rule).
@@ -298,6 +378,8 @@ async function deriveDefaults(found) {
298
378
  */
299
379
  const system = createConfigSystem({
300
380
  name: "holocron",
381
+ areas: HOLOCRON_AREAS,
382
+ place: placeAreas,
301
383
  derive: deriveDefaults,
302
384
  resolve: resolveConfig,
303
385
  merge: mergeStrategies
@@ -336,4 +418,4 @@ const loadConfig = system.loadConfig;
336
418
  * const preset = compose(node(), nextjs());
337
419
  */
338
420
  const compose = system.compose;
339
- export { ConfigError as a, resolveEntry as c, loadConfig as i, resolvePluginPackage$1 as l, compose as n, credentialsEnvironment as o, defineConfig as r, resolveConfig as s, ConfigFileError as t };
421
+ export { placeAreas as a, credentialsEnvironment as c, resolvePluginPackage$1 as d, loadConfig as i, resolveConfig as l, compose as n, HOLOCRON_AREAS as o, defineConfig as r, ConfigError$1 as s, ConfigFileError as t, resolveEntry as u };
@@ -1,5 +1,5 @@
1
- import { D as CapabilityKey, Qt as PagesConfig, xn as TeamEntry } from "./index-XBpiD6Sx.mjs";
2
- import { ConfigError, ConfigFileError } from "@theholocron/kyber/config";
1
+ import { D as CapabilityKey, Qt as PagesConfig, xn as TeamEntry } from "./index-CArtx6o0.mjs";
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";
5
5
  /** Structured-logging config. The Axiom **token** never lives here — only in
@@ -845,4 +845,4 @@ declare const loadConfig: (cwd: string) => Promise<LoadedConfig>;
845
845
  * const preset = compose(node(), nextjs());
846
846
  */
847
847
  declare const compose: (...args: (Capability | Capability[])[]) => ComposedPreset;
848
- export { RepoConfig as A, ResolvedTuple as B, EslintConfig as C, ProviderOptions as D, MultiEntry as E, RepoValidationConfig as F, WorkflowWithConfig as G, StorybookDeployProject as H, RepoVariables as I, ResolvedHolocronConfig as L, RepoProtection as M, RepoSecrets as N, RawProviderEntry as O, RepoSecretsSync as P, ResolvedProviderEntry as R, EnvConfig as S, LogConfig as T, TaskEntryConfig as U, SingleEntry as V, TelemetryConfig as W, CredentialsConfig as _, LoadedConfig as a, DocsConfig as b, TaskEntry as c, resolveConfig as d, resolveEntry as f, ChromaticProjectConfig as g, CapabilityConfigPackage as h, loadConfig as i, RepoProperties as j, RawProvidersConfig as k, ConfigError as l, AppConfig as m, compose as n, Capability as o, resolvePluginPackage as p, defineConfig as r, ComposedPreset as s, ConfigFileError as t, credentialsEnvironment as u, DevConfig as v, HolocronConfig as w, DoctorConfig as x, DevServeConfig as y, ResolvedProvidersConfig as z };
848
+ export { RepoConfig as A, ResolvedTuple as B, EslintConfig as C, ProviderOptions as D, MultiEntry as E, RepoValidationConfig as F, WorkflowWithConfig as G, StorybookDeployProject as H, RepoVariables as I, ResolvedHolocronConfig as L, RepoProtection as M, RepoSecrets as N, RawProviderEntry as O, RepoSecretsSync as P, ResolvedProviderEntry as R, EnvConfig as S, LogConfig as T, TaskEntryConfig as U, SingleEntry as V, TelemetryConfig as W, CredentialsConfig as _, LoadedConfig as a, DocsConfig as b, TaskEntry as c, resolveConfig as d, resolveEntry as f, ChromaticProjectConfig as g, CapabilityConfigPackage as h, loadConfig as i, RepoProperties as j, RawProvidersConfig as k, ConfigError$1 as l, AppConfig as m, compose as n, Capability as o, resolvePluginPackage as p, defineConfig as r, ComposedPreset as s, ConfigFileError as t, credentialsEnvironment as u, DevConfig as v, HolocronConfig as w, DoctorConfig as x, DevServeConfig as y, ResolvedProvidersConfig as z };
@@ -1561,7 +1561,7 @@ interface NotificationsPinnedLayout {
1561
1561
  /** The message text (Discord allows up to 2000 characters). Absent when the text comes from `file`. */
1562
1562
  content?: string;
1563
1563
  /**
1564
- * A text file in the repository, relative to its root, whose contents are the message, such as `RULES.md`. The
1564
+ * A text file in the repository, relative to its root, whose contents are the message, such as `.holocron/pinned/rules.md`. The
1565
1565
  * file wins: a hand edit of the pinned message is replaced on the next `setup`, and `doctor` reports it until then.
1566
1566
  */
1567
1567
  file?: string;
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { $ as DnsRecordType, $t as ParseWebhookInput, A as Ci, An as WebhookDashboardInfo, At as MonitoringCheckInput, B as DeployScriptConfig, Bt as NotificationsForumTag, C as BoardTemplate, Cn as Tooling, Ct as MonitoringAlertChannelResult, D as CapabilityKey, Dn as TunnelRoute, Dt as MonitoringAssertionComparison, E as CapabilityImpls, En as TrackerUser, Et as MonitoringAssertion, F as CreateAuthUserInput, Fn as Workers, Ft as NotificationsAccess, G as DeploymentRecord, Gt as NotificationsOnboardingLayout, H as Deployment, Ht as NotificationsLinksLayout, I as Credentials, It as NotificationsApplicationLayout, J as DiscussionPatch, Jt as NotificationsServerLayout, K as DeploymentTarget, Kt as NotificationsPicture, L as CredentialsInspection, Lt as NotificationsChannelLayout, M as CiRunFilter, Mn as WikiProvisionOpts, Mt as MoveReport, N as CiRunStatus, Nn as WikiProxyConfig, Nt as NormalizedAuthUser, O as Cardinality, On as Tunnels, Ot as MonitoringAssertionSource, P as ConnectionStringOptions, Pn as WorkerScriptState, Pt as Notifications, Q as DnsRecordRequest, Qt as PagesConfig, R as DeployFunctionConfig, Rt as NotificationsDelivery, S as BoardSummary, Sn as TeamPermission, St as MonitoringAlertChannelInput, T as BoardView, Tn as TrackerDoctorReport, Tt as MonitoringAlertSettings, U as DeploymentProject, Ut as NotificationsMember, V as DeployScriptResult, Vt as NotificationsLayout, W as DeploymentProjectSettings, Wt as NotificationsMonitoringFeed, X as Dns, Xt as NotificationsSignedIn, Y as DiscussionPost, Yt as NotificationsSignIn, Z as DnsRecord, Zt as NotificationsWelcomeLayout, _ as BoardItem, _n as SourceTeamMember, _t as LabelDef, a as REQUIRED_CAPABILITIES, an as RepoSettings, at as EnsureWebhookResult, b as BoardStatus, bn as StorageBranch, bt as Logs, c as Analytics, cn as SecretScope, ct as EnsuredTunnel, d as AuthEvent, dn as Source, dt as Environments, en as Projects, et as EnsureDiscussionInput, f as AuthEventType, fn as SourceBranch, ft as Errors, g as BoardFieldType, gn as SourceSecurity, gt as Issues, h as BoardField, hn as SourceRulesetDetail, ht as IssueSearchFilter, i as ProviderApiError, in as RepoRef, it as EnsureResult, j as CiRun, jn as Wiki, jt as MonitoringHttpMethod, k as CardinalityFor, kn as Vault, kt as MonitoringCheck, l as Auth, ln as Secrets, lt as Environment, m as AuthUser, mn as SourceRepoInfo, mt as Issue, n as ElevationRequiredError, nn as PullRequest, nt as EnsureRelayResult, o as WebhookVerificationError, on as ResolvedCapability, ot as EnsuredDiscussion, p as AuthIdentity, pn as SourceFile, pt as InspectRelayInput, q as DeploymentTrigger, qt as NotificationsPinnedLayout, r as MissingTokenError, rn as RelayState, rt as EnsureReport, s as isMulti, sn as Ruleset, st as EnsuredResource, t as CARDINALITY, tn as ProviderIdentity, tt as EnsureRelayInput, u as AuthDescription, un as ServerInspection, ut as EnvironmentReviewer, v as BoardRule, vn as StatusCategory, vt as LifecycleResult, w as BoardTemplateFile, wn as ToolingDoctorReport, wt as MonitoringAlertChannelState, x as BoardStatusCategory, xn as TeamEntry, xt as Monitoring, y as BoardState, yn as Storage, yt as LifecycleSlot, z as DeployFunctionResult, zt as NotificationsEveryoneLayout } from "./index-XBpiD6Sx.mjs";
2
- import { A as RepoConfig, B as ResolvedTuple, C as EslintConfig, D as ProviderOptions, E as MultiEntry, F as RepoValidationConfig, G as WorkflowWithConfig, H as StorybookDeployProject, I as RepoVariables, L as ResolvedHolocronConfig, M as RepoProtection, N as RepoSecrets, O as RawProviderEntry, P as RepoSecretsSync, R as ResolvedProviderEntry, S as EnvConfig, T as LogConfig, U as TaskEntryConfig, V as SingleEntry, W as TelemetryConfig, _ 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 RepoProperties, k as RawProvidersConfig, l as ConfigError, m as AppConfig, n as compose, o as Capability, p as resolvePluginPackage, r as defineConfig, s as ComposedPreset, t as ConfigFileError, u as credentialsEnvironment, v as DevConfig, w as HolocronConfig, x as DoctorConfig, y as DevServeConfig, z as ResolvedProvidersConfig } from "./config-system-uaeB3g1g.mjs";
1
+ import { $ as DnsRecordType, $t as ParseWebhookInput, A as Ci, An as WebhookDashboardInfo, At as MonitoringCheckInput, B as DeployScriptConfig, Bt as NotificationsForumTag, C as BoardTemplate, Cn as Tooling, Ct as MonitoringAlertChannelResult, D as CapabilityKey, Dn as TunnelRoute, Dt as MonitoringAssertionComparison, E as CapabilityImpls, En as TrackerUser, Et as MonitoringAssertion, F as CreateAuthUserInput, Fn as Workers, Ft as NotificationsAccess, G as DeploymentRecord, Gt as NotificationsOnboardingLayout, H as Deployment, Ht as NotificationsLinksLayout, I as Credentials, It as NotificationsApplicationLayout, J as DiscussionPatch, Jt as NotificationsServerLayout, K as DeploymentTarget, Kt as NotificationsPicture, L as CredentialsInspection, Lt as NotificationsChannelLayout, M as CiRunFilter, Mn as WikiProvisionOpts, Mt as MoveReport, N as CiRunStatus, Nn as WikiProxyConfig, Nt as NormalizedAuthUser, O as Cardinality, On as Tunnels, Ot as MonitoringAssertionSource, P as ConnectionStringOptions, Pn as WorkerScriptState, Pt as Notifications, Q as DnsRecordRequest, Qt as PagesConfig, R as DeployFunctionConfig, Rt as NotificationsDelivery, S as BoardSummary, Sn as TeamPermission, St as MonitoringAlertChannelInput, T as BoardView, Tn as TrackerDoctorReport, Tt as MonitoringAlertSettings, U as DeploymentProject, Ut as NotificationsMember, V as DeployScriptResult, Vt as NotificationsLayout, W as DeploymentProjectSettings, Wt as NotificationsMonitoringFeed, X as Dns, Xt as NotificationsSignedIn, Y as DiscussionPost, Yt as NotificationsSignIn, Z as DnsRecord, Zt as NotificationsWelcomeLayout, _ as BoardItem, _n as SourceTeamMember, _t as LabelDef, a as REQUIRED_CAPABILITIES, an as RepoSettings, at as EnsureWebhookResult, b as BoardStatus, bn as StorageBranch, bt as Logs, c as Analytics, cn as SecretScope, ct as EnsuredTunnel, d as AuthEvent, dn as Source, dt as Environments, en as Projects, et as EnsureDiscussionInput, f as AuthEventType, fn as SourceBranch, ft as Errors, g as BoardFieldType, gn as SourceSecurity, gt as Issues, h as BoardField, hn as SourceRulesetDetail, ht as IssueSearchFilter, i as ProviderApiError, in as RepoRef, it as EnsureResult, j as CiRun, jn as Wiki, jt as MonitoringHttpMethod, k as CardinalityFor, kn as Vault, kt as MonitoringCheck, l as Auth, ln as Secrets, lt as Environment, m as AuthUser, mn as SourceRepoInfo, mt as Issue, n as ElevationRequiredError, nn as PullRequest, nt as EnsureRelayResult, o as WebhookVerificationError, on as ResolvedCapability, ot as EnsuredDiscussion, p as AuthIdentity, pn as SourceFile, pt as InspectRelayInput, q as DeploymentTrigger, qt as NotificationsPinnedLayout, r as MissingTokenError, rn as RelayState, rt as EnsureReport, s as isMulti, sn as Ruleset, st as EnsuredResource, t as CARDINALITY, tn as ProviderIdentity, tt as EnsureRelayInput, u as AuthDescription, un as ServerInspection, ut as EnvironmentReviewer, v as BoardRule, vn as StatusCategory, vt as LifecycleResult, w as BoardTemplateFile, wn as ToolingDoctorReport, wt as MonitoringAlertChannelState, x as BoardStatusCategory, xn as TeamEntry, xt as Monitoring, y as BoardState, yn as Storage, yt as LifecycleSlot, z as DeployFunctionResult, zt as NotificationsEveryoneLayout } from "./index-CArtx6o0.mjs";
2
+ import { A as RepoConfig, B as ResolvedTuple, C as EslintConfig, D as ProviderOptions, E as MultiEntry, F as RepoValidationConfig, G as WorkflowWithConfig, H as StorybookDeployProject, I as RepoVariables, L as ResolvedHolocronConfig, M as RepoProtection, N as RepoSecrets, O as RawProviderEntry, P as RepoSecretsSync, R as ResolvedProviderEntry, S as EnvConfig, T as LogConfig, U as TaskEntryConfig, V as SingleEntry, W as TelemetryConfig, _ 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 RepoProperties, k as RawProvidersConfig, l as ConfigError, m as AppConfig, n as compose, o as Capability, p as resolvePluginPackage, r as defineConfig, s as ComposedPreset, t as ConfigFileError, u as credentialsEnvironment, v as DevConfig, w as HolocronConfig, x as DoctorConfig, y as DevServeConfig, z as ResolvedProvidersConfig } from "./config-system-C6MsRNbo.mjs";
3
3
  import { AuthError, ResolveTokenConfig as ResolveTokenConfig$1, ResolveTokenInput, ResolveTokenInput as ResolveTokenInput$1 } from "@theholocron/kyber/secrets";
4
4
  import { RequestOptions, RestClient, RestClientConfig, createRestClient } from "@theholocron/http-client";
5
5
  import "@theholocron/kyber/plugins";
@@ -7,6 +7,7 @@ import { PackageJson } from "@theholocron/pkg-utils";
7
7
  import { WorkspacePackage } from "@theholocron/astromech";
8
8
  import { ConnectionProbeInput as ConnectionProbeInput$1 } from "@theholocron/kyber/checks";
9
9
  import "@theholocron/observability/core";
10
+ import { ConfigDirArea } from "@theholocron/datapad";
10
11
  /** A plugin's `verifyToken` result when the provider accepted the token. */
11
12
  interface VerifyTokenSuccess {
12
13
  /** Always `true` for an accepted token. */
@@ -306,6 +307,18 @@ export declare function missingCapabilities(capabilities: readonly string[]): st
306
307
  * own soft-fail behavior.
307
308
  */
308
309
  export declare function readWorkspacePackageJsons(repoRoot: string, workspacePackages: readonly WorkspacePackage[]): Promise<PackageJsonLike[]>;
310
+ /**
311
+ * The closed list of area files `loadConfig` reads from `.holocron/` (the directory is `.<config name>`, set by kyber):
312
+ * `.holocron/notifications.*` fills `providers.notifications`' `layout`, and `.holocron/repo.*` fills keys of `repo`.
313
+ * A file not on this list is never read.
314
+ */
315
+ export declare const HOLOCRON_AREAS: readonly ["notifications", "repo"];
316
+ /**
317
+ * Put the area files of `.holocron/` into the config as loaded, before `deriveDefaults` runs: `notifications` becomes
318
+ * the `layout` of the notifications provider and `repo` supplies keys of `repo`. A value set both inline and in a file
319
+ * is a `ConfigError` naming both (no merge, no precedence). With no area files the config is returned as it was.
320
+ */
321
+ export declare function placeAreas(areas: ConfigDirArea[], raw: HolocronConfig): HolocronConfig;
309
322
  /** What a connection probe needs to check a provider's host and token: kyber's input, with the plugin's `verifyToken` as `verify`. */
310
323
  export interface ConnectionProbeInput extends Omit<ConnectionProbeInput$1, "verify"> {
311
324
  /** The plugin's `verifyToken`: asks the provider who the token belongs to. */
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 ConfigError, c as resolveEntry, i as loadConfig, l as resolvePluginPackage, n as compose, o as credentialsEnvironment, r as defineConfig, s as resolveConfig, t as ConfigFileError } from "./config-system-CZ0F8Uq7.mjs";
2
+ import { a as placeAreas, c as credentialsEnvironment, d as resolvePluginPackage, i as loadConfig, l as resolveConfig, n as compose, o as HOLOCRON_AREAS, r as defineConfig, s as ConfigError, t as ConfigFileError, u as resolveEntry } from "./config-system-5rdWyUAw.mjs";
3
3
  import { Entry, findCredentials } from "@napi-rs/keyring";
4
4
  import { AuthError, createFeatureResolver as createFeatureResolver$1, createKeyring, createResolveToken as createResolveToken$1 } from "@theholocron/kyber/secrets";
5
5
  import { describeError, style } from "@theholocron/kyber/ui";
@@ -392,4 +392,4 @@ async function readWorkspacePackageJsons(repoRoot, workspacePackages) {
392
392
  function connectionProbe(input) {
393
393
  return connectionProbe$1(input);
394
394
  }
395
- export { AuthError, CARDINALITY, ConfigError, ConfigFileError, ElevationRequiredError, MissingTokenError, ProviderApiError, REQUIRED_CAPABILITIES, WebhookVerificationError, compose, connectionProbe, createFeatureResolver, createResolveToken, createRestClient, credentialsEnvironment, defineConfig, deriveCapabilities, deriveCompliance, deriveProfile, deriveStack, isMulti, keyring, loadConfig, missingCapabilities, readLinks, readWorkspacePackageJsons, resolveConfig, resolveEntry, resolvePluginPackage, roleTeamProblem, sourceProblem, syncRoles };
395
+ export { AuthError, CARDINALITY, ConfigError, ConfigFileError, ElevationRequiredError, HOLOCRON_AREAS, MissingTokenError, ProviderApiError, REQUIRED_CAPABILITIES, WebhookVerificationError, compose, connectionProbe, createFeatureResolver, createResolveToken, createRestClient, credentialsEnvironment, defineConfig, deriveCapabilities, deriveCompliance, deriveProfile, deriveStack, isMulti, keyring, loadConfig, missingCapabilities, placeAreas, readLinks, readWorkspacePackageJsons, resolveConfig, resolveEntry, resolvePluginPackage, roleTeamProblem, sourceProblem, syncRoles };
@@ -1,2 +1,2 @@
1
- import { $ as DnsRecordType, $t as ParseWebhookInput, A as Ci, An as WebhookDashboardInfo, At as MonitoringCheckInput, B as DeployScriptConfig, Bt as NotificationsForumTag, C as BoardTemplate, Cn as Tooling, Ct as MonitoringAlertChannelResult, D as CapabilityKey, Dn as TunnelRoute, Dt as MonitoringAssertionComparison, E as CapabilityImpls, En as TrackerUser, Et as MonitoringAssertion, F as CreateAuthUserInput, Fn as Workers, Ft as NotificationsAccess, G as DeploymentRecord, Gt as NotificationsOnboardingLayout, H as Deployment, Ht as NotificationsLinksLayout, I as Credentials, It as NotificationsApplicationLayout, J as DiscussionPatch, Jt as NotificationsServerLayout, K as DeploymentTarget, Kt as NotificationsPicture, L as CredentialsInspection, Lt as NotificationsChannelLayout, M as CiRunFilter, Mn as WikiProvisionOpts, Mt as MoveReport, N as CiRunStatus, Nn as WikiProxyConfig, Nt as NormalizedAuthUser, O as Cardinality, On as Tunnels, Ot as MonitoringAssertionSource, P as ConnectionStringOptions, Pn as WorkerScriptState, Pt as Notifications, Q as DnsRecordRequest, Qt as PagesConfig, R as DeployFunctionConfig, Rt as NotificationsDelivery, S as BoardSummary, Sn as TeamPermission, St as MonitoringAlertChannelInput, T as BoardView, Tn as TrackerDoctorReport, Tt as MonitoringAlertSettings, U as DeploymentProject, Ut as NotificationsMember, V as DeployScriptResult, Vt as NotificationsLayout, W as DeploymentProjectSettings, Wt as NotificationsMonitoringFeed, X as Dns, Xt as NotificationsSignedIn, Y as DiscussionPost, Yt as NotificationsSignIn, Z as DnsRecord, Zt as NotificationsWelcomeLayout, _ as BoardItem, _n as SourceTeamMember, _t as LabelDef, a as REQUIRED_CAPABILITIES, an as RepoSettings, at as EnsureWebhookResult, b as BoardStatus, bn as StorageBranch, bt as Logs, c as Analytics, cn as SecretScope, ct as EnsuredTunnel, d as AuthEvent, dn as Source, dt as Environments, en as Projects, et as EnsureDiscussionInput, f as AuthEventType, fn as SourceBranch, ft as Errors, g as BoardFieldType, gn as SourceSecurity, gt as Issues, h as BoardField, hn as SourceRulesetDetail, ht as IssueSearchFilter, i as ProviderApiError, in as RepoRef, it as EnsureResult, j as CiRun, jn as Wiki, jt as MonitoringHttpMethod, k as CardinalityFor, kn as Vault, kt as MonitoringCheck, l as Auth, ln as Secrets, lt as Environment, m as AuthUser, mn as SourceRepoInfo, mt as Issue, n as ElevationRequiredError, nn as PullRequest, nt as EnsureRelayResult, o as WebhookVerificationError, on as ResolvedCapability, ot as EnsuredDiscussion, p as AuthIdentity, pn as SourceFile, pt as InspectRelayInput, q as DeploymentTrigger, qt as NotificationsPinnedLayout, r as MissingTokenError, rn as RelayState, rt as EnsureReport, s as isMulti, sn as Ruleset, st as EnsuredResource, t as CARDINALITY, tn as ProviderIdentity, tt as EnsureRelayInput, u as AuthDescription, un as ServerInspection, ut as EnvironmentReviewer, v as BoardRule, vn as StatusCategory, vt as LifecycleResult, w as BoardTemplateFile, wn as ToolingDoctorReport, wt as MonitoringAlertChannelState, x as BoardStatusCategory, xn as TeamEntry, xt as Monitoring, y as BoardState, yn as Storage, yt as LifecycleSlot, z as DeployFunctionResult, zt as NotificationsEveryoneLayout } from "../index-XBpiD6Sx.mjs";
1
+ import { $ as DnsRecordType, $t as ParseWebhookInput, A as Ci, An as WebhookDashboardInfo, At as MonitoringCheckInput, B as DeployScriptConfig, Bt as NotificationsForumTag, C as BoardTemplate, Cn as Tooling, Ct as MonitoringAlertChannelResult, D as CapabilityKey, Dn as TunnelRoute, Dt as MonitoringAssertionComparison, E as CapabilityImpls, En as TrackerUser, Et as MonitoringAssertion, F as CreateAuthUserInput, Fn as Workers, Ft as NotificationsAccess, G as DeploymentRecord, Gt as NotificationsOnboardingLayout, H as Deployment, Ht as NotificationsLinksLayout, I as Credentials, It as NotificationsApplicationLayout, J as DiscussionPatch, Jt as NotificationsServerLayout, K as DeploymentTarget, Kt as NotificationsPicture, L as CredentialsInspection, Lt as NotificationsChannelLayout, M as CiRunFilter, Mn as WikiProvisionOpts, Mt as MoveReport, N as CiRunStatus, Nn as WikiProxyConfig, Nt as NormalizedAuthUser, O as Cardinality, On as Tunnels, Ot as MonitoringAssertionSource, P as ConnectionStringOptions, Pn as WorkerScriptState, Pt as Notifications, Q as DnsRecordRequest, Qt as PagesConfig, R as DeployFunctionConfig, Rt as NotificationsDelivery, S as BoardSummary, Sn as TeamPermission, St as MonitoringAlertChannelInput, T as BoardView, Tn as TrackerDoctorReport, Tt as MonitoringAlertSettings, U as DeploymentProject, Ut as NotificationsMember, V as DeployScriptResult, Vt as NotificationsLayout, W as DeploymentProjectSettings, Wt as NotificationsMonitoringFeed, X as Dns, Xt as NotificationsSignedIn, Y as DiscussionPost, Yt as NotificationsSignIn, Z as DnsRecord, Zt as NotificationsWelcomeLayout, _ as BoardItem, _n as SourceTeamMember, _t as LabelDef, a as REQUIRED_CAPABILITIES, an as RepoSettings, at as EnsureWebhookResult, b as BoardStatus, bn as StorageBranch, bt as Logs, c as Analytics, cn as SecretScope, ct as EnsuredTunnel, d as AuthEvent, dn as Source, dt as Environments, en as Projects, et as EnsureDiscussionInput, f as AuthEventType, fn as SourceBranch, ft as Errors, g as BoardFieldType, gn as SourceSecurity, gt as Issues, h as BoardField, hn as SourceRulesetDetail, ht as IssueSearchFilter, i as ProviderApiError, in as RepoRef, it as EnsureResult, j as CiRun, jn as Wiki, jt as MonitoringHttpMethod, k as CardinalityFor, kn as Vault, kt as MonitoringCheck, l as Auth, ln as Secrets, lt as Environment, m as AuthUser, mn as SourceRepoInfo, mt as Issue, n as ElevationRequiredError, nn as PullRequest, nt as EnsureRelayResult, o as WebhookVerificationError, on as ResolvedCapability, ot as EnsuredDiscussion, p as AuthIdentity, pn as SourceFile, pt as InspectRelayInput, q as DeploymentTrigger, qt as NotificationsPinnedLayout, r as MissingTokenError, rn as RelayState, rt as EnsureReport, s as isMulti, sn as Ruleset, st as EnsuredResource, t as CARDINALITY, tn as ProviderIdentity, tt as EnsureRelayInput, u as AuthDescription, un as ServerInspection, ut as EnvironmentReviewer, v as BoardRule, vn as StatusCategory, vt as LifecycleResult, w as BoardTemplateFile, wn as ToolingDoctorReport, wt as MonitoringAlertChannelState, x as BoardStatusCategory, xn as TeamEntry, xt as Monitoring, y as BoardState, yn as Storage, yt as LifecycleSlot, z as DeployFunctionResult, zt as NotificationsEveryoneLayout } from "../index-CArtx6o0.mjs";
2
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, 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,4 +1,4 @@
1
- import { n as compose, o as Capability, s as ComposedPreset } from "./config-system-uaeB3g1g.mjs";
1
+ import { n as compose, o as Capability, s as ComposedPreset } from "./config-system-C6MsRNbo.mjs";
2
2
  /** Options for the audit capability. */
3
3
  interface AuditOptions {
4
4
  /** Enable Knip unused-export analysis (default: false). */
package/dist/presets.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { n as compose } from "./config-system-CZ0F8Uq7.mjs";
1
+ import { n as compose } from "./config-system-5rdWyUAw.mjs";
2
2
  // src/presets/capabilities/audit.ts
3
3
  /**
4
4
  * Adds bundle-size measuring (`measure-bundle`) + optional Knip (`lint:unused`) and
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/cli",
3
- "version": "5.0.0-alpha.347",
3
+ "version": "5.0.0-alpha.349",
4
4
  "description": "The Holocron CLI - a pluggable, capability-based orchestrator for spinning up and operating software projects.",
5
5
  "keywords": [
6
6
  "cli",
@@ -54,19 +54,19 @@
54
54
  "posthog-node": "^5.61.1",
55
55
  "tsx": "4.23.15",
56
56
  "yargs": "^18.1.0",
57
- "@theholocron/datapad": "5.0.0-alpha.347",
58
- "@theholocron/dagobah": "5.0.0-alpha.347",
59
- "@theholocron/astromech": "5.0.0-alpha.347",
57
+ "@theholocron/astromech": "5.0.0-alpha.349",
60
58
  "@theholocron/env-utils": "^1.17.0-alpha.1",
61
59
  "@theholocron/fs-utils": "^1.17.0-alpha.1",
60
+ "@theholocron/datapad": "5.0.0-alpha.349",
62
61
  "@theholocron/git-utils": "^1.17.0-alpha.1",
63
- "@theholocron/github-client": "^1.58.0-alpha.10",
64
- "@theholocron/http-client": "^1.58.0-alpha.10",
62
+ "@theholocron/dagobah": "5.0.0-alpha.349",
63
+ "@theholocron/http-client": "^1.58.0-alpha.11",
64
+ "@theholocron/github-client": "^1.58.0-alpha.11",
65
65
  "@theholocron/json-utils": "^1.17.0-alpha.1",
66
- "@theholocron/kyber": "5.0.0-alpha.347",
66
+ "@theholocron/kyber": "5.0.0-alpha.349",
67
+ "@theholocron/misc-utils": "^1.17.0-alpha.1",
67
68
  "@theholocron/observability": "^0.7.0-alpha.1",
68
- "@theholocron/pkg-utils": "^1.17.0-alpha.1",
69
- "@theholocron/misc-utils": "^1.17.0-alpha.1"
69
+ "@theholocron/pkg-utils": "^1.17.0-alpha.1"
70
70
  },
71
71
  "devDependencies": {
72
72
  "@types/node": "^26",
@@ -79,10 +79,10 @@
79
79
  "tsdown": "^0.23.4",
80
80
  "typescript": "^5.9.3",
81
81
  "vitest": "^5.0.5",
82
- "@theholocron/eslint-config": "^8.9.0-alpha.8",
83
82
  "@theholocron/rollup-plugin-transform-template": "^8.9.0-alpha.8",
83
+ "@theholocron/tsconfig": "^8.9.0-alpha.8",
84
84
  "@theholocron/vitest-config": "^8.9.0-alpha.8",
85
- "@theholocron/tsconfig": "^8.9.0-alpha.8"
85
+ "@theholocron/eslint-config": "^8.9.0-alpha.8"
86
86
  },
87
87
  "engines": {
88
88
  "node": ">=22.0.0"