@hublo/sentinel 1.5.0-alpha.1 → 1.5.0-alpha.10

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.
@@ -15,18 +15,18 @@ import {
15
15
  palette,
16
16
  registerAdapters,
17
17
  resolve
18
- } from "../chunk-AKAAYAB2.js";
18
+ } from "../chunk-FWGU7QLH.js";
19
19
  import {
20
20
  resolveContext
21
- } from "../chunk-E3MYVYEZ.js";
21
+ } from "../chunk-KLEXJFJ6.js";
22
22
  import {
23
23
  ensureWorkspacePrep,
24
24
  findWorkspaceRoot,
25
25
  inspectWorkspacePrep,
26
26
  readOwnVersion,
27
27
  readProjectPackageJson
28
- } from "../chunk-KMKQDGI6.js";
29
- import "../chunk-3VJGWCAG.js";
28
+ } from "../chunk-YQRDKWSH.js";
29
+ import "../chunk-KH2DCVC6.js";
30
30
  import "../chunk-O7REVMOC.js";
31
31
  import "../chunk-QXFCZON7.js";
32
32
 
@@ -119,7 +119,9 @@ sentinel (${type}): ${asMessage(error)}
119
119
  dryRun: ctx.dryRun,
120
120
  // Only when the FORMAT role actually adopted: a module still formatted by the root
121
121
  // must not be excluded from it.
122
- formattedModule: toRun.includes("format") ? module.root : void 0
122
+ formattedModule: toRun.includes("format") ? module.root : void 0,
123
+ // Same rule for the report directory: only when the STATIC ANALYSIS role adopted.
124
+ analysedModule: toRun.includes("static-analysis")
123
125
  });
124
126
  const prefix = ctx.dryRun ? " dry run: " : " ";
125
127
  for (const change of changes) process.stderr.write(`${prefix}${change}
@@ -146,7 +148,7 @@ async function runValidate(ctx) {
146
148
  );
147
149
  }
148
150
  if (!ctx.targets.includes("test")) return 1;
149
- const { validateModuleTests } = await import("../validate-STUK2AGG.js");
151
+ const { validateModuleTests } = await import("../validate-AWWMBSH5.js");
150
152
  const outcomes = modules.flatMap(
151
153
  (module) => validateModuleTests(module.name, module.root)
152
154
  );
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-ELZHIN6E.js";
4
4
  import {
5
5
  findWorkspaceRoot
6
- } from "./chunk-KMKQDGI6.js";
6
+ } from "./chunk-YQRDKWSH.js";
7
7
 
8
8
  // src/roles/test/setup/workspace.ts
9
9
  function isMissingModule(error) {
@@ -60,4 +60,4 @@ export {
60
60
  installWorkspaceSetup,
61
61
  pinWorkspaceTimezone
62
62
  };
63
- //# sourceMappingURL=chunk-Z7L4FGKP.js.map
63
+ //# sourceMappingURL=chunk-AMCGMLPS.js.map