@theholocron/astromech 5.0.0-alpha.453 → 5.0.0-alpha.455

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.
@@ -3,7 +3,7 @@
3
3
  * zero-runtime-dep entry so `astromech.config.ts` and `@theholocron/cli`
4
4
  * can import it without pulling the task runner.
5
5
  */
6
- import { n as TaskEntry, r as TasksConfig, t as TaskConfigItem } from "../schema.type-DRfLKO70.mjs";
6
+ import { n as TaskEntry, r as TasksConfig, t as TaskConfigItem } from "../schema.type-Cg6I1dCc.mjs";
7
7
  import { Loaded } from "@theholocron/datapad";
8
8
  /**
9
9
  * The `tasks` config shape — the single manifest of what a repo runs.
package/dist/index.d.mts CHANGED
@@ -20,7 +20,7 @@
20
20
  * The config surface (`defineConfig`, `TasksConfig`, `loadTasksConfig`)
21
21
  * lives in the zero-runtime-dep `@theholocron/astromech/config` subpath.
22
22
  */
23
- import { r as TasksConfig } from "./schema.type-DRfLKO70.mjs";
23
+ import { r as TasksConfig } from "./schema.type-Cg6I1dCc.mjs";
24
24
  /** A commit status a coverage provider reports on a pull request (names only), as `Coverage.statusContexts()` returns it. */
25
25
  interface StatusContext {
26
26
  /** The context GitHub shows, such as `codecov/patch`. */
package/dist/index.mjs CHANGED
@@ -3708,7 +3708,7 @@ function createAstromech(options) {
3708
3708
  const isDocsSite = key === "deploy-docs";
3709
3709
  const isComponents = key === "deploy-components";
3710
3710
  if (resolveTaskName(entry.name).every(({ id }) => TASKS[id]?.workflow === false)) continue;
3711
- if (entry.ci === false || !KNOWN_WORKFLOWS.has(key) && !isDocsSite && !isComponents) continue;
3711
+ if (entry.ci === false || entry.sentinel === true || !KNOWN_WORKFLOWS.has(key) && !isDocsSite && !isComponents) continue;
3712
3712
  if (key === "deploy" && entry.with?.["on"] === "release") continue;
3713
3713
  const rawWith = isDocsSite ? {
3714
3714
  preview: true,
@@ -10,6 +10,13 @@ interface TaskEntry {
10
10
  * in `holocron run ci`. Default `true`.
11
11
  */
12
12
  ci?: boolean;
13
+ /**
14
+ * Sentinel posts this task's check, so no Actions workflow does (`process-sentinel-and-actions-roles`, #2263). No thin
15
+ * caller is written, but the task stays in the manifest: `holocron run ci` runs it locally, and with `required: true` the
16
+ * `ci` aggregate still waits for a check named `<id> / ...`, which Sentinel's check supplies. Unlike `ci: false`, which
17
+ * also takes the task out of `holocron run ci`. Default `false`.
18
+ */
19
+ sentinel?: boolean;
13
20
  /**
14
21
  * Write a `"<name>": "holocron run <name>"` script to `package.json` and
15
22
  * let `holocron run <name>` resolve the task. Default `true`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/astromech",
3
- "version": "5.0.0-alpha.453",
3
+ "version": "5.0.0-alpha.455",
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",
@@ -55,11 +55,11 @@
55
55
  "@commitlint/lint": "^21.2.3",
56
56
  "@commitlint/load": "^21.2.3",
57
57
  "@commitlint/types": "^21.2.3",
58
- "@theholocron/datapad": "5.0.0-alpha.453",
59
- "@theholocron/misc-utils": "^1.17.0-alpha.4",
60
58
  "@theholocron/fs-utils": "^1.17.0-alpha.4",
59
+ "@theholocron/datapad": "5.0.0-alpha.455",
61
60
  "@theholocron/json-utils": "^1.17.0-alpha.4",
62
- "@theholocron/pkg-utils": "^1.17.0-alpha.4"
61
+ "@theholocron/pkg-utils": "^1.17.0-alpha.4",
62
+ "@theholocron/misc-utils": "^1.17.0-alpha.4"
63
63
  },
64
64
  "devDependencies": {
65
65
  "@commitlint/config-conventional": "^21.2.3",
@@ -73,13 +73,13 @@
73
73
  "tsdown": "^0.23.7",
74
74
  "typescript": "^5.9.3",
75
75
  "vitest": "^5.1.0",
76
+ "@theholocron/ci": "1.0.0",
76
77
  "@theholocron/commitlint-config": "^8.9.0-alpha.18",
77
78
  "@theholocron/eslint-config": "^8.9.0-alpha.18",
78
- "@theholocron/ci": "1.0.0",
79
79
  "@theholocron/rollup-plugin-transform-template": "^8.9.0-alpha.18",
80
+ "@theholocron/tsdown-config": "^8.9.0-alpha.18",
80
81
  "@theholocron/tsconfig": "^8.9.0-alpha.18",
81
- "@theholocron/vitest-config": "^8.9.0-alpha.18",
82
- "@theholocron/tsdown-config": "^8.9.0-alpha.18"
82
+ "@theholocron/vitest-config": "^8.9.0-alpha.18"
83
83
  },
84
84
  "engines": {
85
85
  "node": ">=22"