@theholocron/astromech 5.0.0-alpha.450 → 5.0.0-alpha.451
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/config/index.d.mts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@theholocron/astromech/config` — the config surface, kept in a
|
|
3
|
+
* zero-runtime-dep entry so `astromech.config.ts` and `@theholocron/cli`
|
|
4
|
+
* can import it without pulling the task runner.
|
|
5
|
+
*/
|
|
1
6
|
import { n as TaskEntry, r as TasksConfig, t as TaskConfigItem } from "../schema.type-DRfLKO70.mjs";
|
|
2
7
|
import { Loaded } from "@theholocron/datapad";
|
|
3
8
|
/**
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@theholocron/astromech` — the Holocron task runner.
|
|
3
|
+
*
|
|
4
|
+
* An astromech droid runs a starfighter's maintenance, diagnostics and
|
|
5
|
+
* system wiring while the pilot flies. This does that for a repo: one
|
|
6
|
+
* task manifest drives `holocron run` (local), `holocron run ci` (the CI
|
|
7
|
+
* suite locally), the generated GitHub Actions workflows, the
|
|
8
|
+
* `package.json` scripts, the linter set, and the required-checks list.
|
|
9
|
+
*
|
|
10
|
+
* A plain library — not a capability plugin. `@theholocron/cli` depends
|
|
11
|
+
* on it and instantiates it once.
|
|
12
|
+
*
|
|
13
|
+
* ```ts
|
|
14
|
+
* import { createAstromech } from "@theholocron/astromech";
|
|
15
|
+
*
|
|
16
|
+
* const astromech = createAstromech({ cwd });
|
|
17
|
+
* const report = astromech.run("test", { passthrough: ["--watch"] });
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* The config surface (`defineConfig`, `TasksConfig`, `loadTasksConfig`)
|
|
21
|
+
* lives in the zero-runtime-dep `@theholocron/astromech/config` subpath.
|
|
22
|
+
*/
|
|
1
23
|
import { r as TasksConfig } from "./schema.type-DRfLKO70.mjs";
|
|
2
24
|
/** What the `ci` aggregate check waits on, as the two inputs of its reusable workflow. */
|
|
3
25
|
interface AggregateChecks {
|
|
@@ -109,7 +109,7 @@ function assignSpecIds(specs) {
|
|
|
109
109
|
return match ? [Number(match[1])] : [];
|
|
110
110
|
});
|
|
111
111
|
let next = Math.max(0, ...taken) + 1;
|
|
112
|
-
const unnumbered = specs.filter((s) => !s.id).sort((a, b) => (a.time ??
|
|
112
|
+
const unnumbered = specs.filter((s) => !s.id).sort((a, b) => (a.time ?? 1e400) - (b.time ?? 1e400) || a.path.localeCompare(b.path));
|
|
113
113
|
return new Map(unnumbered.map((s) => [s.path, `SPEC-${String(next++).padStart(4, "0")}`]));
|
|
114
114
|
}
|
|
115
115
|
// src/repo-validation/specs/spec-locations/spec-locations.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/astromech",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.451",
|
|
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,10 +55,10 @@
|
|
|
55
55
|
"@commitlint/lint": "^21.2.3",
|
|
56
56
|
"@commitlint/load": "^21.2.3",
|
|
57
57
|
"@commitlint/types": "^21.2.3",
|
|
58
|
-
"@theholocron/
|
|
58
|
+
"@theholocron/datapad": "5.0.0-alpha.451",
|
|
59
59
|
"@theholocron/json-utils": "^1.17.0-alpha.4",
|
|
60
|
+
"@theholocron/fs-utils": "^1.17.0-alpha.4",
|
|
60
61
|
"@theholocron/misc-utils": "^1.17.0-alpha.4",
|
|
61
|
-
"@theholocron/datapad": "5.0.0-alpha.450",
|
|
62
62
|
"@theholocron/pkg-utils": "^1.17.0-alpha.4"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
@@ -69,16 +69,16 @@
|
|
|
69
69
|
"eslint": "^10.14.0",
|
|
70
70
|
"eslint-plugin-n": "^18.5.0",
|
|
71
71
|
"globals": "^17.14.0",
|
|
72
|
-
"prettier": "^3.
|
|
73
|
-
"tsdown": "^0.23.
|
|
72
|
+
"prettier": "^3.10.1",
|
|
73
|
+
"tsdown": "^0.23.7",
|
|
74
74
|
"typescript": "^5.9.3",
|
|
75
75
|
"vitest": "^5.1.0",
|
|
76
76
|
"@theholocron/ci": "1.0.0",
|
|
77
77
|
"@theholocron/commitlint-config": "^8.9.0-alpha.17",
|
|
78
|
-
"@theholocron/
|
|
78
|
+
"@theholocron/rollup-plugin-transform-template": "^8.9.0-alpha.17",
|
|
79
79
|
"@theholocron/tsconfig": "^8.9.0-alpha.17",
|
|
80
80
|
"@theholocron/tsdown-config": "^8.9.0-alpha.17",
|
|
81
|
-
"@theholocron/
|
|
81
|
+
"@theholocron/eslint-config": "^8.9.0-alpha.17",
|
|
82
82
|
"@theholocron/vitest-config": "^8.9.0-alpha.17"
|
|
83
83
|
},
|
|
84
84
|
"engines": {
|