@hublo/sentinel 1.4.0-alpha.21 → 1.4.0-alpha.22

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.
@@ -16,7 +16,7 @@ import {
16
16
  registerAdapters,
17
17
  resolve,
18
18
  resolveBin
19
- } from "../chunk-7LE72AFG.js";
19
+ } from "../chunk-SIGFE5KL.js";
20
20
  import {
21
21
  WORKSPACE_ROOT_MARKER,
22
22
  ensureWorkspacePrep,
@@ -7848,11 +7848,13 @@ function concurrencyBlock(cwd, reading, target) {
7848
7848
  if (declared !== void 0) {
7849
7849
  return declared === "1" ? ` fileParallelism: false,` : ` maxWorkers: ${declared},`;
7850
7850
  }
7851
- const ci = projectTargets(cwd)?.[target]?.configurations?.ci;
7852
- if (ci === void 0) return "";
7853
- if (ci.runInBand === true) return ` fileParallelism: false,`;
7854
- if (typeof ci.maxWorkers === "number") {
7855
- return ci.maxWorkers === 1 ? ` fileParallelism: false,` : ` maxWorkers: ${ci.maxWorkers},`;
7851
+ const nxTarget = projectTargets(cwd)?.[target];
7852
+ for (const level of [nxTarget?.options, nxTarget?.configurations?.ci]) {
7853
+ if (level === void 0) continue;
7854
+ if (level.runInBand === true) return ` fileParallelism: false,`;
7855
+ if (typeof level.maxWorkers === "number") {
7856
+ return level.maxWorkers === 1 ? ` fileParallelism: false,` : ` maxWorkers: ${level.maxWorkers},`;
7857
+ }
7856
7858
  }
7857
7859
  return "";
7858
7860
  }
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  registerAdapters,
8
8
  resolve,
9
9
  setDefaultRunner
10
- } from "./chunk-7LE72AFG.js";
10
+ } from "./chunk-SIGFE5KL.js";
11
11
  import "./chunk-NW6UHNYX.js";
12
12
  export {
13
13
  BaseAdapter,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hublo/sentinel",
3
- "version": "1.4.0-alpha.21",
3
+ "version": "1.4.0-alpha.22",
4
4
  "description": "One CLI that guards code health across Hublo repos: shared lint/typescript/build/test presets, static & dynamic analysis, and architecture checks.",
5
5
  "type": "module",
6
6
  "license": "MIT",