@theholocron/astromech 5.1.3 → 5.1.4

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
@@ -277,9 +277,10 @@ export declare function aggregateChecks(config: TasksConfig, statusContexts?: re
277
277
  export declare function aggregatePoster(config: Pick<TasksConfig, "ci">): CiAggregatePoster;
278
278
  /**
279
279
  * Where the reusable workflows and composite actions that every generated workflow calls are hosted, and at which ref.
280
- * This is the only place that says so: the templates are written against the spelling in {@link TEMPLATE_HOME}, and
281
- * {@link rehome} rewrites it to {@link CI_HOME} once, where the template maps are built. Moving the home is a change
282
- * to {@link CI_HOME} alone (spec `tech-workflows-in-holocron`, issue #1474).
280
+ * The templates and the reusables' sources spell every reference as {@link CI_TARGET} does, so a reference is
281
+ * what the file says. {@link CI_HOME} is where the code that writes a reference itself (`reusableWorkflowRef`) and
282
+ * `localize` look; moving the home means changing it and the references in the sources (spec
283
+ * `tech-workflows-in-holocron`, issue #1474, #2904).
283
284
  */
284
285
  /** The base path of a hosted workflow or action, without its name: `<owner>/<repo>/<dir>`, and the ref to run it at. */
285
286
  interface CiHome {
@@ -296,12 +297,10 @@ interface CiHome {
296
297
  * uses it as it is.
297
298
  */
298
299
  export declare const DEFAULT_ORG = "theholocron";
299
- /** The `owner/repo` of the org's `.github` repo, which hosts the frozen reusable workflows (and Sentinel's dispatch target). */
300
+ /** The `owner/repo` of the org's `.github` repo, which holds the frozen reusable workflows (and Sentinel's dispatch target). */
300
301
  export declare const DOT_GITHUB_REPO = "theholocron/.github";
301
302
  /** The `owner/repo` of this monorepo, where the CLI, the reusables' sources and the Trusted Publisher config live. */
302
303
  export declare const HOLOCRON_REPO = "theholocron/holocron";
303
- /** How the templates spell a reference. Never emitted as it is, and never to be changed: {@link rehome} reads it. */
304
- export declare const TEMPLATE_HOME: CiHome;
305
304
  /**
306
305
  * `text` with every reference to a hosted reusable workflow at `home` rewritten to the file in the same checkout
307
306
  * (`./.github/workflows/<name>.yml`). For the repo that serves the reusables: its own callers then run the reusable at