@hublo/sentinel 1.4.0-alpha.55 → 1.4.0-alpha.56
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
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
palette,
|
|
16
16
|
registerAdapters,
|
|
17
17
|
resolve
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-OA2TER3B.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveContext
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-YHYHR2LU.js";
|
|
22
22
|
import "../chunk-O7REVMOC.js";
|
|
23
23
|
import "../chunk-QXFCZON7.js";
|
|
24
24
|
import {
|
|
@@ -145,7 +145,7 @@ async function runValidate(ctx) {
|
|
|
145
145
|
);
|
|
146
146
|
}
|
|
147
147
|
if (!ctx.targets.includes("test")) return 1;
|
|
148
|
-
const { validateModuleTests } = await import("../validate-
|
|
148
|
+
const { validateModuleTests } = await import("../validate-DXELXSQO.js");
|
|
149
149
|
const outcomes = modules.flatMap(
|
|
150
150
|
(module) => validateModuleTests(module.name, module.root)
|
|
151
151
|
);
|
|
@@ -1042,7 +1042,9 @@ const automock = (): Record<string | symbol, unknown> => {
|
|
|
1042
1042
|
const anything = (): never =>
|
|
1043
1043
|
new Proxy(vi.fn() as never, {
|
|
1044
1044
|
get: (target: Record<string | symbol, unknown>, key: string | symbol) => {
|
|
1045
|
-
if (key === 'then')
|
|
1045
|
+
if (key === 'then') {
|
|
1046
|
+
return undefined
|
|
1047
|
+
}
|
|
1046
1048
|
target[key] ??= anything()
|
|
1047
1049
|
return target[key]
|
|
1048
1050
|
},
|
|
@@ -1051,7 +1053,9 @@ const automock = (): Record<string | symbol, unknown> => {
|
|
|
1051
1053
|
const namespace: Record<string | symbol, unknown> = {}
|
|
1052
1054
|
return new Proxy(namespace, {
|
|
1053
1055
|
get: (target, key) => {
|
|
1054
|
-
if (key === 'then' || key === '__esModule')
|
|
1056
|
+
if (key === 'then' || key === '__esModule') {
|
|
1057
|
+
return undefined
|
|
1058
|
+
}
|
|
1055
1059
|
target[key] ??= anything()
|
|
1056
1060
|
return target[key]
|
|
1057
1061
|
},
|
package/dist/index.js
CHANGED
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
registerAdapters,
|
|
7
7
|
resolve,
|
|
8
8
|
setDefaultRunner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OA2TER3B.js";
|
|
10
10
|
import {
|
|
11
11
|
BaseAdapter
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YHYHR2LU.js";
|
|
13
13
|
import "./chunk-O7REVMOC.js";
|
|
14
14
|
import "./chunk-QXFCZON7.js";
|
|
15
15
|
import "./chunk-KMKQDGI6.js";
|
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.56",
|
|
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",
|