@theholocron/astromech 5.0.0-alpha.260 → 5.0.0-alpha.262

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -23,6 +23,12 @@ export declare function codecovComponentBlock(packages: WorkspacePackage$1[]): s
23
23
  * already declare it.
24
24
  */
25
25
  export declare function ensureIfNotFound(yaml: string): string;
26
+ /**
27
+ * The `uploads` input of the `verification.unitTests` workflow: a JSON list of `{ flag, files }`, one per package
28
+ * that has a flag. `files` is where the package writes its lcov report (`<location>/coverage/lcov.info`), unless
29
+ * `lcovPaths` names another for that slug (a package whose test runner writes it elsewhere).
30
+ */
31
+ export declare function codecovUploads(packages: WorkspacePackage$1[], lcovPaths?: Record<string, string>): string;
26
32
  export declare function mergeCodecovComponents(existing: string, packages: WorkspacePackage$1[]): string;
27
33
  /**
28
34
  * Every package the repo's `pnpm-workspace.yaml` declares (the default roots
package/dist/index.mjs CHANGED
@@ -8,7 +8,7 @@ import { stringifyJson } from "@theholocron/json-utils";
8
8
  import { spawnSync } from "node:child_process";
9
9
  import { findExecutableSync } from "@theholocron/fs-utils";
10
10
  // src/templates/codecov/codecov.yml
11
- var codecov_default = "codecov:\n require_ci_to_pass: true\n\ncoverage:\n precision: 2\n round: down\n status:\n project:\n default:\n target: auto\n threshold: 2%\n # Infra-only PRs (dep bumps, config, lockfile) touch no coverable code,\n # so codecov produces no report to compare. Pass instead of blocking\n # forever on a required check that will never post.\n if_not_found: success\n patch:\n default:\n target: 80%\n if_not_found: success\n\ncomment:\n layout: \"reach,diff,flags,components\"\n behavior: default\n require_changes: true\n\ncomponent_management:\n default_rules:\n statuses:\n - type: patch\n target: 80%\n if_not_found: success\n individual_components:\n";
11
+ var codecov_default = "codecov:\n require_ci_to_pass: true\n\ncoverage:\n precision: 2\n round: down\n status:\n project:\n default:\n target: auto\n threshold: 2%\n # Infra-only PRs (dep bumps, config, lockfile) touch no coverable code,\n # so codecov produces no report to compare. Pass instead of blocking\n # forever on a required check that will never post.\n if_not_found: success\n patch:\n default:\n target: 80%\n if_not_found: success\n\ncomment:\n layout: \"reach,diff,flags\"\n behavior: default\n require_changes: true\n\ncomponent_management:\n default_rules:\n statuses:\n - type: patch\n target: 80%\n if_not_found: success\n informational: true\n individual_components:\n";
12
12
  // src/workspace/workspace-globs.ts
13
13
  /**
14
14
  * The `packages:` list of a `pnpm-workspace.yaml`. A line-based read of the
@@ -208,10 +208,128 @@ function ensureIfNotFound(yaml) {
208
208
  }
209
209
  return out.join("\n");
210
210
  }
211
+ /** Folders that never get a flag: `docs` coverage must not count toward the aggregate statuses. */
212
+ const FLAGLESS_FOLDERS = /* @__PURE__ */ new Set(["docs"]);
213
+ /**
214
+ * One Codecov flag per workspace package (its slug, the same name as its
215
+ * component), in package order, without `docs`. A flag per package, not per
216
+ * group folder: Codecov carries a flag forward whole or not at all, so a run that
217
+ * tests one package of a group would otherwise drop the group's other packages.
218
+ */
219
+ function codecovFlagNames(packages) {
220
+ return packages.filter((pkg) => !FLAGLESS_FOLDERS.has(location(pkg).split("/")[0])).map((pkg) => pkg.slug);
221
+ }
222
+ /**
223
+ * The `uploads` input of the `verification.unitTests` workflow: a JSON list of `{ flag, files }`, one per package
224
+ * that has a flag. `files` is where the package writes its lcov report (`<location>/coverage/lcov.info`), unless
225
+ * `lcovPaths` names another for that slug (a package whose test runner writes it elsewhere).
226
+ */
227
+ function codecovUploads(packages, lcovPaths = {}) {
228
+ const flags = new Set(codecovFlagNames(packages));
229
+ const entries = packages.filter((pkg) => flags.has(pkg.slug)).map((pkg) => ({
230
+ flag: pkg.slug,
231
+ files: lcovPaths[pkg.slug] ?? `${location(pkg)}/coverage/lcov.info`
232
+ }));
233
+ return JSON.stringify(entries);
234
+ }
235
+ /** `[start, end)` of a top-level key's section; trailing blank lines are not part of it. `null` when absent. */
236
+ function section(lines, key) {
237
+ const start = lines.indexOf(`${key}:`);
238
+ if (start === -1) return null;
239
+ let end = lines.findIndex((line, i) => i > start && /^[A-Za-z_]/.test(line));
240
+ if (end === -1) end = lines.length;
241
+ while (lines[end - 1].trim() === "") end--;
242
+ return [start, end];
243
+ }
244
+ /** Insert the entries of `wanted` that no existing list item names, after the list's last line (`listEnd`). */
245
+ function appendMissingItems(lines, listStart, listEnd, wanted, itemName, render) {
246
+ const have = new Set(lines.slice(listStart + 1, listEnd).map((line) => itemName.exec(line)?.[1]));
247
+ lines.splice(listEnd, 0, ...wanted.filter((name) => !have.has(name)).map(render));
248
+ }
249
+ const FLAG_ENTRY = /^ {4}- name:\s*(\S+)/;
250
+ const flagEntry = (name) => ` - name: ${name}`;
251
+ /**
252
+ * Ensure a top-level `flag_management:` section carries `default_rules.carryforward`
253
+ * and one `individual_flags` entry per flag. A missing section is inserted before
254
+ * `component_management:`; an existing one only gains the entries it lacks, so hand
255
+ * edits (extra flags, per-flag `paths`/`statuses`, a different `carryforward`) survive.
256
+ */
257
+ function ensureFlagManagement(yaml, flags) {
258
+ const lines = yaml.split("\n");
259
+ const listHead = flags.length === 0 ? " individual_flags: []" : " individual_flags:";
260
+ const range = section(lines, "flag_management");
261
+ if (!range) {
262
+ const block = [
263
+ "flag_management:",
264
+ " default_rules:",
265
+ " carryforward: true",
266
+ listHead,
267
+ ...flags.map(flagEntry)
268
+ ];
269
+ const at = lines.indexOf("component_management:");
270
+ if (at === -1) lines.push("", ...block);
271
+ else lines.splice(at, 0, ...block, "");
272
+ return lines.join("\n");
273
+ }
274
+ const [start, end] = range;
275
+ const list = lines.findIndex((line, i) => i > start && i < end && /^ {2}individual_flags:/.test(line));
276
+ if (list === -1) lines.splice(end, 0, listHead, ...flags.map(flagEntry));
277
+ else if (/\[\s*\]\s*$/.test(lines[list])) {
278
+ if (flags.length > 0) lines.splice(list, 1, listHead, ...flags.map(flagEntry));
279
+ } else appendMissingItems(lines, list, end, flags, FLAG_ENTRY, flagEntry);
280
+ return lines.join("\n");
281
+ }
282
+ /**
283
+ * Scope `coverage.status.project.default` and `coverage.status.patch.default` to
284
+ * the flags, so the required `codecov/project` and `codecov/patch` contexts keep
285
+ * their names while only counting the grouped (non-`docs`) coverage. A block that
286
+ * already lists flags only gains the missing ones; an inline `flags: [...]` is left alone.
287
+ */
288
+ function scopeAggregateStatuses(yaml, flags) {
289
+ if (flags.length === 0) return yaml;
290
+ const lines = yaml.split("\n");
291
+ for (const kind of ["project", "patch"]) {
292
+ const at = lines.indexOf(` ${kind}:`);
293
+ if (at === -1 || lines[at + 1] !== " default:") continue;
294
+ let end = at + 2;
295
+ while (end < lines.length && /^ {8}/.test(lines[end])) end++;
296
+ const flagsAt = lines.findIndex((line, i) => i >= at + 2 && i < end && /^ {8}flags:/.test(line));
297
+ if (flagsAt === -1) lines.splice(at + 2, 0, " flags:", ...flags.map((name) => ` - ${name}`));
298
+ else if (!/^ {8}flags:\s*\S/.test(lines[flagsAt])) {
299
+ let listEnd = flagsAt + 1;
300
+ while (listEnd < end && /^ {10}- /.test(lines[listEnd])) listEnd++;
301
+ appendMissingItems(lines, flagsAt, listEnd, flags, /^ {10}- (\S+)/, (name) => ` - ${name}`);
302
+ }
303
+ }
304
+ return lines.join("\n");
305
+ }
306
+ /**
307
+ * Make the per-component statuses (`component_management.default_rules.statuses`)
308
+ * informational, so the ~70 `codecov/patch/<component>` contexts post but never block.
309
+ */
310
+ function ensureInformationalComponentStatuses(yaml) {
311
+ const lines = yaml.split("\n");
312
+ const range = section(lines, "component_management");
313
+ if (!range) return yaml;
314
+ const stop = lines.indexOf(INDIVIDUAL_COMPONENTS_MARKER);
315
+ const limit = stop === -1 ? range[1] : stop;
316
+ const starts = lines.flatMap((line, i) => i > range[0] && i < limit && /^ {6}- type:/.test(line) ? [i] : []);
317
+ for (const first of starts.reverse()) {
318
+ let last = first + 1;
319
+ while (last < limit && /^ {8}\S/.test(lines[last])) last++;
320
+ if (!lines.slice(first, last).some((line) => /^ {8}informational:/.test(line))) lines.splice(last, 0, " informational: true");
321
+ }
322
+ return lines.join("\n");
323
+ }
324
+ /** Everything `codecov.yml` needs on top of the components list: if_not_found, flags, scoped aggregates, informational components. */
325
+ function applyStatusRules(yaml, flags) {
326
+ return ensureInformationalComponentStatuses(scopeAggregateStatuses(ensureFlagManagement(ensureIfNotFound(yaml), flags), flags));
327
+ }
211
328
  function mergeCodecovComponents(existing, packages) {
329
+ const flags = codecovFlagNames(packages);
212
330
  const idx = existing.indexOf(INDIVIDUAL_COMPONENTS_MARKER);
213
- if (idx === -1) return ensureIfNotFound(existing);
214
- return ensureIfNotFound(existing.slice(0, idx + 24)) + codecovComponentBlock(packages);
331
+ if (idx === -1) return applyStatusRules(existing, flags);
332
+ return applyStatusRules(existing.slice(0, idx + 24), flags) + codecovComponentBlock(packages);
215
333
  }
216
334
  /**
217
335
  * Every package the repo's `pnpm-workspace.yaml` declares (the default roots
@@ -249,7 +367,8 @@ function readWorkspacePackages(repoRoot) {
249
367
  }
250
368
  /** A brand-new `codecov.yml` — the scaffold header + the base template + this repo's component list. */
251
369
  function createCodecovConfig(packages) {
252
- return `${scaffoldHeader()}${codecov_default.trimEnd()}${codecovComponentBlock(packages)}`;
370
+ const base = applyStatusRules(codecov_default.trimEnd(), codecovFlagNames(packages));
371
+ return `${scaffoldHeader()}${base}${codecovComponentBlock(packages)}`;
253
372
  }
254
373
  /**
255
374
  * The full pipeline `holocron repo setup` needs: read this repo's public
@@ -271,7 +390,7 @@ var install_default = "name: Install dependencies\ndescription: Install project
271
390
  // src/templates/reusable/actions/notify.yml
272
391
  var notify_default = "name: Notify\ndescription: >\n Post a message to a chat channel through an incoming webhook. The request\n body is Discord-compatible (`content`, `username`, `allowed_mentions`), so\n the webhook must accept that shape. Does nothing (and never fails the\n calling job) when no webhook is provided, so repos that haven't set one up\n are unaffected. Set `strict` for a check whose only purpose is to prove the\n notification works: it then fails when the webhook is missing or rejects the post.\n\ninputs:\n webhook:\n description: >\n Incoming webhook URL for the target channel.\n A webhook posts to exactly one channel, so pass the secret for the\n channel this message belongs in (for example\n `secrets.HOLOCRON_NOTIFY_WEBHOOK_ALERTS`). Empty = skip.\n required: false\n default: \"\"\n message:\n description: Message text. Truncated to 2000 characters.\n required: true\n mention:\n description: >\n Optional role id (digits only) to ping. Only that one role can\n be mentioned; anything else in the message never pings.\n required: false\n default: \"\"\n username:\n description: Display name for the post.\n required: false\n default: \"Holocron\"\n strict:\n description: >\n \"true\" fails the step when no webhook is set or the post is rejected.\n Off by default: a notification problem must never fail the job it reports on.\n required: false\n default: \"false\"\n\nruns:\n using: composite\n steps:\n - name: Post the notification\n shell: bash\n run: |\n if [ -z \"$WEBHOOK\" ]; then\n if [ \"$STRICT\" = \"true\" ]; then\n echo \"::error::No notification webhook set.\"\n exit 1\n fi\n echo \"::notice::No notification webhook set — skipping notification.\"\n exit 0\n fi\n echo \"::add-mask::$WEBHOOK\"\n # allowed_mentions.parse = [] so message text can never ping @everyone\n # or a role; only the explicit `mention` role id is allowed through. The\n # body is built with jq so quotes/newlines in the message can't break the JSON.\n content=\"$MESSAGE\"\n roles='[]'\n # A mention that is not a role id is dropped, which is right for a real\n # notification but would let a check pass without ever pinging anyone.\n if [ \"$STRICT\" = \"true\" ] && [ -n \"$MENTION\" ] && ! [[ \"$MENTION\" =~ ^[0-9]+$ ]]; then\n echo \"::error::The mention is not a role id (digits only).\"\n exit 1\n fi\n if [[ \"$MENTION\" =~ ^[0-9]+$ ]]; then\n content=\"<@&$MENTION> $MESSAGE\"\n roles=$(jq -cn --arg r \"$MENTION\" '[$r]')\n fi\n body=$(jq -n --arg content \"${content:0:2000}\" --arg username \"$USERNAME\" --argjson roles \"$roles\" \\\n '{content: $content, username: $username, allowed_mentions: {parse: [], roles: $roles}}')\n status=$(curl -sS -o /dev/null -w '%{http_code}' --max-time 15 \\\n -H 'Content-Type: application/json' -d \"$body\" \"$WEBHOOK\" || true)\n case \"${status:-000}\" in\n 2??) echo \"Notification posted.\" ;;\n *)\n if [ \"$STRICT\" = \"true\" ]; then\n echo \"::error::Notification failed (HTTP ${status:-000}).\"\n exit 1\n fi\n echo \"::warning::Notification failed (HTTP ${status:-000}).\"\n ;;\n esac\n env:\n WEBHOOK: ${{ inputs.webhook }}\n MESSAGE: ${{ inputs.message }}\n MENTION: ${{ inputs.mention }}\n USERNAME: ${{ inputs.username }}\n STRICT: ${{ inputs.strict }}\n";
273
392
  // src/templates/reusable/actions/setup.yml
274
- var setup_default = "name: Setup\ndescription: Prepare the environment and install project dependencies.\n\ninputs:\n node-version:\n description: Node.js version\n required: false\n default: \"22.x\"\n\nruns:\n using: composite\n\n steps:\n - uses: theholocron/.github/.github/actions/setup-node@main\n with:\n node-version: ${{ inputs.node-version }}\n\n - uses: theholocron/.github/.github/actions/install@main\n\n # Restored before the bootstrap build below so `pnpm build` replays from the cache instead of running cold.\n - name: Cache Turbo artifacts\n if: ${{ hashFiles('turbo.json') != '' }}\n uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0\n with:\n path: .turbo\n key: turbo-${{ runner.os }}-${{ github.sha }}\n restore-keys: |\n turbo-${{ runner.os }}-\n\n # `@theholocron/cli`'s `dist/cli.mjs` doesn't exist yet at this point, so\n # pnpm's workspace bin-linking can't create `node_modules/.bin/holocron`\n # (silent `WARN ... ENOENT`, not a hard failure). Every package whose\n # scripts delegate via `holocron run <task> --` then fails at run time\n # with `holocron: not found` (#698). Same fix the `holocron` composite\n # action already applies for its own direct invocation (see its \"Build\n # the workspace when the CLI resolves to an unbuilt checkout\" step) —\n # mirrored here so it also covers *nested* `holocron run <task> --`\n # calls from inside package.json scripts, which that action's own guard\n # doesn't reach. `pnpm build` (not a scoped `--filter`) so the CLI's own\n # workspace dependencies (e.g. astromech) build\n # in topological order too — a scoped build skips them and fails.\n # No-op in every consumer repo, where the published tarball already\n # ships `dist/`.\n - name: Build the Holocron CLI\n shell: bash\n run: |\n if [ ! -f node_modules/@theholocron/cli/dist/cli.mjs ]; then\n echo \"→ @theholocron/cli dist/ missing — building the workspace from source\" >&2\n pnpm build\n echo \"→ re-linking node_modules/.bin — pnpm skipped it pre-build\" >&2\n pnpm install --frozen-lockfile\n fi\n\n # A Turbo token with no team turns the remote cache off without a word: every task just runs cold. `TURBO_TEAM` is\n # an organization variable that `holocron repo setup` writes from `repo.variables.org.TURBO_TEAM` in\n # holocron.config.ts. Quiet when there is no token, because then the cache is meant to be off.\n - name: Warn when the Turbo remote cache is off\n if: ${{ hashFiles('turbo.json') != '' }}\n shell: bash\n run: |\n if [ -n \"$TURBO_TOKEN\" ] && [ -z \"$TURBO_TEAM\" ]; then\n echo \"::warning title=Turbo remote cache is off::TURBO_TOKEN is set but TURBO_TEAM is not. Declare it under repo.variables.org in holocron.config.ts and run holocron repo setup.\"\n fi\n";
393
+ var setup_default = "name: Setup\ndescription: Prepare the environment and install project dependencies.\n\ninputs:\n node-version:\n description: Node.js version\n required: false\n default: \"22.x\"\n\nruns:\n using: composite\n\n steps:\n - uses: theholocron/.github/.github/actions/setup-node@main\n with:\n node-version: ${{ inputs.node-version }}\n\n - uses: theholocron/.github/.github/actions/install@main\n\n # Restored before the bootstrap build below so `pnpm build` replays from the cache instead of running cold.\n # The key names the workflow and job: actions/cache never overwrites an existing key, so with one key per commit only\n # the first job to finish saved its .turbo and every other job's entries (type checks, unit tests) were lost.\n - name: Cache Turbo artifacts\n if: ${{ hashFiles('turbo.json') != '' }}\n uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0\n with:\n path: .turbo\n key: turbo-${{ runner.os }}-${{ github.workflow }}-${{ github.job }}-${{ github.sha }}\n restore-keys: |\n turbo-${{ runner.os }}-${{ github.workflow }}-${{ github.job }}-\n turbo-${{ runner.os }}-\n\n # `@theholocron/cli`'s `dist/cli.mjs` doesn't exist yet at this point, so\n # pnpm's workspace bin-linking can't create `node_modules/.bin/holocron`\n # (silent `WARN ... ENOENT`, not a hard failure). Every package whose\n # scripts delegate via `holocron run <task> --` then fails at run time\n # with `holocron: not found` (#698). Same fix the `holocron` composite\n # action already applies for its own direct invocation (see its \"Build\n # the workspace when the CLI resolves to an unbuilt checkout\" step) —\n # mirrored here so it also covers *nested* `holocron run <task> --`\n # calls from inside package.json scripts, which that action's own guard\n # doesn't reach. `pnpm build` (not a scoped `--filter`) so the CLI's own\n # workspace dependencies (e.g. astromech) build\n # in topological order too — a scoped build skips them and fails.\n # No-op in every consumer repo, where the published tarball already\n # ships `dist/`.\n - name: Build the Holocron CLI\n shell: bash\n run: |\n if [ ! -f node_modules/@theholocron/cli/dist/cli.mjs ]; then\n echo \"→ @theholocron/cli dist/ missing — building the workspace from source\" >&2\n pnpm build\n echo \"→ re-linking node_modules/.bin — pnpm skipped it pre-build\" >&2\n pnpm install --frozen-lockfile\n fi\n\n # A Turbo token with no team turns the remote cache off without a word: every task just runs cold. `TURBO_TEAM` is\n # an organization variable that `holocron repo setup` writes from `repo.variables.org.TURBO_TEAM` in\n # holocron.config.ts. Quiet when there is no token, because then the cache is meant to be off.\n - name: Warn when the Turbo remote cache is off\n if: ${{ hashFiles('turbo.json') != '' }}\n shell: bash\n run: |\n if [ -n \"$TURBO_TOKEN\" ] && [ -z \"$TURBO_TEAM\" ]; then\n echo \"::warning title=Turbo remote cache is off::TURBO_TOKEN is set but TURBO_TEAM is not. Declare it under repo.variables.org in holocron.config.ts and run holocron repo setup.\"\n fi\n";
275
394
  // src/templates/reusable/actions/setup-node.yml
276
395
  var setup_node_default = "name: Setup Node\ndescription: Install pnpm and Node.js with pnpm dependency caching.\n\ninputs:\n node-version:\n description: Node.js version\n required: false\n default: \"22.x\"\nruns:\n using: composite\n\n steps:\n - name: Setup pnpm\n if: ${{ hashFiles('pnpm-lock.yaml') != '' }}\n uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4\n\n - name: Setup Node.js\n uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0\n with:\n node-version: ${{ hashFiles('.node-version') != '' && '' || inputs.node-version }}\n node-version-file: ${{ hashFiles('.node-version') != '' && '.node-version' || '' }}\n cache: ${{ hashFiles('pnpm-lock.yaml') != '' && 'pnpm' || '' }}\n # Do NOT add registry-url here. setup-node writes .npmrc with\n # _authToken=${NODE_AUTH_TOKEN} and sets NPM_CONFIG_USERCONFIG to it.\n # pnpm reads that file, fails env-var substitution when the token is\n # empty, and loses auth entirely. Without registry-url, pnpm 10.15+\n # handles Trusted Publishing via its own native OIDC exchange.\n\n - name: Add node_modules/.bin to PATH\n shell: bash\n run: echo \"$GITHUB_WORKSPACE/node_modules/.bin\" >> $GITHUB_PATH\n";
277
396
  // src/templates/reusable/bookkeeping.yml
@@ -398,13 +517,13 @@ var verification_visualRegression_default = "name: Visual Regression\n\non: # ya
398
517
  /**
399
518
  * A value as a YAML scalar for a `with:` entry. Bare `[` and `{` would parse as
400
519
  * sequence and mapping nodes, so values that start with one (JSON) are single-quoted
401
- * and stay strings.
520
+ * and stay strings; a `'` inside is doubled, which is how YAML escapes it in single quotes.
402
521
  */
403
522
  function yamlScalar(value) {
404
523
  if (value === true) return "true";
405
524
  if (value === false) return "false";
406
525
  const text = String(value);
407
- return text.startsWith("[") || text.startsWith("{") ? `'${text}'` : text;
526
+ return text.startsWith("[") || text.startsWith("{") ? `'${text.replaceAll("'", "''")}'` : text;
408
527
  }
409
528
  // src/generators/github-action-thin-callers/grouped-publish/grouped-publish.ts
410
529
  /** The reusable's inputs a group may set for itself; everything else is shared by all releases. */
@@ -773,12 +892,6 @@ function extractPreviewConfig(raw, ctx = {}) {
773
892
  * all repos with a `deploy` workflow get previews without per-repo config.
774
893
  */
775
894
  function generateCombinedDeployContent(deployWith, paths, preview) {
776
- const yamlScalar = (v) => {
777
- if (v === true) return "true";
778
- if (v === false) return "false";
779
- const s = String(v);
780
- return s.startsWith("[") || s.startsWith("{") ? `'${s}'` : s;
781
- };
782
895
  const withLines = (entries) => Object.entries(entries).map(([k, v]) => ` ${k}: ${yamlScalar(v)}`).join("\n");
783
896
  const pathsBlock = paths.length > 0 ? ` paths:\n${paths.map((p) => ` - ${p}\n`).join("")}` : "";
784
897
  const previewWith = {
@@ -3171,4 +3284,4 @@ function createConfig$9() {
3171
3284
  function createIgnoreConfig$1() {
3172
3285
  return `${workflowHeader()}${_yamlignore_default}`;
3173
3286
  }
3174
- export { CI_ORDER, DEFAULT_WORKSPACE_ROOTS, KNOWN_TASKS, KNOWN_WORKFLOWS, REUSABLE_ACTIONS, REUSABLE_WORKFLOWS, TASKS, WORKFLOW_CHECK_CONTEXTS, WORKFLOW_TEMPLATES, WORKFLOW_TEMPLATE_PROPERTIES, codecovComponentBlock, codecovConfig, createIgnoreConfig as createAlexignore, createRcConfig as createAlexrc, createAstromech, createCodecovConfig, createConfig as createCommitMsg, createConfig$1 as createDependabot, createConfig$2 as createDevmoji, createConfig$3 as createEditorconfig, createConfig$4 as createEditorconfigChecker, createHeader, createConfig$5 as createLabeler, createConfig$6 as createPreCommit, createConfig$7 as createPrePush, createConfig$8 as createPrepareCommitMsg, createTsconfig, createIgnoreConfig$1 as createYamlignore, createConfig$9 as createYamllint, defaultListDirs, defaultPaths, defaultReadJson, deployOnRelease, deriveDeployPaths, discoverWorkspacePackages, ensureIfNotFound, extractPreviewConfig, generateCombinedDeployContent, generateThinCallerContent, matchNamespace, mergeCodecovComponents, normalizeWorkflowWith, readWorkspaceGlobs, readWorkspacePackages, requiredChecks, resolveWorkspaceGlobs, reusableTemplates, runCi, runGroup, runTask, workspacePackages };
3287
+ export { CI_ORDER, DEFAULT_WORKSPACE_ROOTS, KNOWN_TASKS, KNOWN_WORKFLOWS, REUSABLE_ACTIONS, REUSABLE_WORKFLOWS, TASKS, WORKFLOW_CHECK_CONTEXTS, WORKFLOW_TEMPLATES, WORKFLOW_TEMPLATE_PROPERTIES, codecovComponentBlock, codecovConfig, codecovUploads, createIgnoreConfig as createAlexignore, createRcConfig as createAlexrc, createAstromech, createCodecovConfig, createConfig as createCommitMsg, createConfig$1 as createDependabot, createConfig$2 as createDevmoji, createConfig$3 as createEditorconfig, createConfig$4 as createEditorconfigChecker, createHeader, createConfig$5 as createLabeler, createConfig$6 as createPreCommit, createConfig$7 as createPrePush, createConfig$8 as createPrepareCommitMsg, createTsconfig, createIgnoreConfig$1 as createYamlignore, createConfig$9 as createYamllint, defaultListDirs, defaultPaths, defaultReadJson, deployOnRelease, deriveDeployPaths, discoverWorkspacePackages, ensureIfNotFound, extractPreviewConfig, generateCombinedDeployContent, generateThinCallerContent, matchNamespace, mergeCodecovComponents, normalizeWorkflowWith, readWorkspaceGlobs, readWorkspacePackages, requiredChecks, resolveWorkspaceGlobs, reusableTemplates, runCi, runGroup, runTask, workspacePackages };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/astromech",
3
- "version": "5.0.0-alpha.260",
3
+ "version": "5.0.0-alpha.262",
4
4
  "description": "The Holocron task runner — one task manifest drives `holocron run`, `holocron run ci`, the CI workflows, package.json scripts, linters, and required checks.",
5
5
  "keywords": [
6
6
  "ci",
@@ -50,8 +50,8 @@
50
50
  "@commitlint/lint": "^21.2.3",
51
51
  "@commitlint/load": "^21.2.3",
52
52
  "@commitlint/types": "^21.2.3",
53
- "@theholocron/datapad": "5.0.0-alpha.260",
54
53
  "@theholocron/fs-utils": "^1.16.1-alpha.1",
54
+ "@theholocron/datapad": "5.0.0-alpha.262",
55
55
  "@theholocron/json-utils": "^1.16.1-alpha.1",
56
56
  "@theholocron/pkg-utils": "^1.16.1-alpha.1"
57
57
  },
@@ -70,12 +70,12 @@
70
70
  "typescript": "^5.9.3",
71
71
  "vitest": "^5.0.5",
72
72
  "@theholocron/commitlint-config": "^8.9.0-alpha.3",
73
- "@theholocron/semantic-release-config": "^8.9.0-alpha.3",
74
73
  "@theholocron/eslint-config": "^8.9.0-alpha.3",
75
- "@theholocron/tsdown-config": "^8.9.0-alpha.3",
76
74
  "@theholocron/rollup-plugin-transform-template": "^8.9.0-alpha.3",
75
+ "@theholocron/tsdown-config": "^8.9.0-alpha.3",
77
76
  "@theholocron/vitest-config": "^8.9.0-alpha.3",
78
- "@theholocron/tsconfig": "^8.9.0-alpha.3"
77
+ "@theholocron/tsconfig": "^8.9.0-alpha.3",
78
+ "@theholocron/semantic-release-config": "^8.9.0-alpha.3"
79
79
  },
80
80
  "peerDependencies": {
81
81
  "@semantic-release/commit-analyzer": "^13",