@theholocron/astromech 5.0.0-alpha.113 → 5.0.0-alpha.115

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.
@@ -26,6 +26,10 @@ type TasksInput = TasksConfig | TaskConfigItem[];
26
26
  * `holocron.config.*`, then a dedicated `astromech.config.*` merged on
27
27
  * top (dedicated wins; item arrays concatenate). Returns `{}` when
28
28
  * neither source is present.
29
+ *
30
+ * `walkUp: true` — `holocron run`/`ci` are usable from any subdirectory of
31
+ * a repo, not only its exact root (datapad walks up to the nearest `.git`
32
+ * boundary; see `@theholocron/datapad`'s own doc comment).
29
33
  */
30
34
  declare function loadTasksConfig(cwd: string): Promise<TasksConfig>;
31
35
  /**
@@ -1,4 +1,4 @@
1
- import { n as mergeTasksLayers, r as normalizeTaskEntry, t as loadTasksConfig } from "../load-XHHfD9TX.mjs";
1
+ import { n as mergeTasksLayers, r as normalizeTaskEntry, t as loadTasksConfig } from "../load-ytspboBj.mjs";
2
2
  import { createDefineConfig } from "@theholocron/datapad";
3
3
  //#region src/config/define.ts
4
4
  /**
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { r as normalizeTaskEntry, t as loadTasksConfig } from "./load-XHHfD9TX.mjs";
1
+ import { r as normalizeTaskEntry, t as loadTasksConfig } from "./load-ytspboBj.mjs";
2
2
  import { spawnSync } from "node:child_process";
3
3
  import { existsSync, readFileSync, readdirSync } from "node:fs";
4
4
  import { join, relative } from "node:path";
@@ -15,15 +15,21 @@ function normalizeTaskEntry(item) {
15
15
  * `holocron.config.*`, then a dedicated `astromech.config.*` merged on
16
16
  * top (dedicated wins; item arrays concatenate). Returns `{}` when
17
17
  * neither source is present.
18
+ *
19
+ * `walkUp: true` — `holocron run`/`ci` are usable from any subdirectory of
20
+ * a repo, not only its exact root (datapad walks up to the nearest `.git`
21
+ * boundary; see `@theholocron/datapad`'s own doc comment).
18
22
  */
19
23
  async function loadTasksConfig(cwd) {
20
24
  const dedicated = await loadConfigFile({
21
25
  cwd,
22
- name: "astromech"
26
+ name: "astromech",
27
+ walkUp: true
23
28
  });
24
29
  return mergeTasksLayers((await loadConfigFile({
25
30
  cwd,
26
- name: "holocron"
31
+ name: "holocron",
32
+ walkUp: true
27
33
  }))?.config.tasks, dedicated?.config);
28
34
  }
29
35
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/astromech",
3
- "version": "5.0.0-alpha.113",
3
+ "version": "5.0.0-alpha.115",
4
4
  "description": "The Holocron task runner — one task manifest drives `holocron run`, `holocron ci`, the CI workflows, package.json scripts, linters, and required checks.",
5
5
  "keywords": [
6
6
  "ci",
@@ -37,13 +37,13 @@
37
37
  "dist"
38
38
  ],
39
39
  "dependencies": {
40
- "@theholocron/datapad": "5.0.0-alpha.113"
40
+ "@theholocron/datapad": "5.0.0-alpha.115"
41
41
  },
42
42
  "devDependencies": {
43
- "@theholocron/eslint-config": "^8.6.0",
44
- "@theholocron/tsconfig": "^8.4.5",
45
- "@theholocron/tsdown-config": "^8.4.5",
46
- "@theholocron/vitest-config": "^8.4.5",
43
+ "@theholocron/eslint-config": "^8.7.0",
44
+ "@theholocron/tsconfig": "^8.7.0",
45
+ "@theholocron/tsdown-config": "^8.7.0",
46
+ "@theholocron/vitest-config": "^8.7.0",
47
47
  "@types/node": "^26",
48
48
  "@vitest/coverage-v8": "^4.1.11",
49
49
  "@vitest/eslint-plugin": "^1.6.27",
@@ -53,7 +53,7 @@
53
53
  "tsdown": "^0.22.14",
54
54
  "typescript": "^5.9.3",
55
55
  "vitest": "^4.1.11",
56
- "@theholocron/rollup-plugin-transform-template": "5.0.0-alpha.113"
56
+ "@theholocron/rollup-plugin-transform-template": "5.0.0-alpha.115"
57
57
  },
58
58
  "engines": {
59
59
  "node": ">=22"