@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.
package/dist/bin/sentinel.js
CHANGED
|
@@ -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
|
|
7852
|
-
|
|
7853
|
-
|
|
7854
|
-
|
|
7855
|
-
|
|
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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hublo/sentinel",
|
|
3
|
-
"version": "1.4.0-alpha.
|
|
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",
|