@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.
- package/dist/bin/sentinel.js +8 -6
- package/dist/{chunk-Z7L4FGKP.js → chunk-AMCGMLPS.js} +2 -2
- package/dist/{chunk-AKAAYAB2.js → chunk-FWGU7QLH.js} +468 -105
- package/dist/chunk-KH2DCVC6.js +142 -0
- package/dist/chunk-KH2DCVC6.js.map +1 -0
- package/dist/{chunk-E3MYVYEZ.js → chunk-KLEXJFJ6.js} +1 -1
- package/dist/{chunk-KMKQDGI6.js → chunk-YQRDKWSH.js} +31 -2
- package/dist/chunk-YQRDKWSH.js.map +1 -0
- package/dist/index.js +4 -4
- package/dist/roles/static-analysis/config.d.ts +13 -6
- package/dist/roles/static-analysis/config.js +1 -1
- package/dist/roles/test/setup/jest-parity.js +2 -2
- package/dist/roles/test/setup/workspace-entry.js +2 -2
- package/dist/{validate-STUK2AGG.js → validate-AWWMBSH5.js} +2 -2
- package/docs/static-analysis-study.md +30 -0
- package/docs/typescript-traces.md +156 -4
- package/package.json +1 -1
- package/dist/chunk-3VJGWCAG.js +0 -83
- package/dist/chunk-3VJGWCAG.js.map +0 -1
- package/dist/chunk-KMKQDGI6.js.map +0 -1
- /package/dist/{chunk-Z7L4FGKP.js.map → chunk-AMCGMLPS.js.map} +0 -0
package/dist/bin/sentinel.js
CHANGED
|
@@ -15,18 +15,18 @@ import {
|
|
|
15
15
|
palette,
|
|
16
16
|
registerAdapters,
|
|
17
17
|
resolve
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-FWGU7QLH.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveContext
|
|
21
|
-
} from "../chunk-
|
|
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-
|
|
29
|
-
import "../chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
63
|
+
//# sourceMappingURL=chunk-AMCGMLPS.js.map
|