@hublo/sentinel 1.2.0-alpha.11 → 1.2.0-alpha.12
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
|
@@ -504,7 +504,7 @@ function composeDevScript(existing, command) {
|
|
|
504
504
|
if (at === -1) return existing;
|
|
505
505
|
const rest = (chunks[at] ?? "").replace(/^.*?(^|\s|\/)vite(\s|$)/, "");
|
|
506
506
|
const options = appOptions(rest);
|
|
507
|
-
chunks[at] = options === "" ? command : `${command} -- ${options}`;
|
|
507
|
+
chunks[at] = options === "" ? `${command} --` : `${command} -- ${options}`;
|
|
508
508
|
return chunks.join(CHAIN);
|
|
509
509
|
}
|
|
510
510
|
|
|
@@ -858,9 +858,9 @@ function buildScripts(cwd) {
|
|
|
858
858
|
const own2 = moduleName(cwd);
|
|
859
859
|
scripts[DEV_SCRIPT_NAME] = composeDevScript(
|
|
860
860
|
existingDev,
|
|
861
|
-
//
|
|
862
|
-
//
|
|
863
|
-
`${selfCommand(cwd, "--run --dev") ?? SENTINEL_DEV_COMMAND} --module ${own2}
|
|
861
|
+
// No trailing `--` here: `composeDevScript` owns the separator, and adding one on both
|
|
862
|
+
// sides produced `-- --`, handing Vite an argument nobody wrote.
|
|
863
|
+
`${selfCommand(cwd, "--run --dev") ?? SENTINEL_DEV_COMMAND} --module ${own2}`
|
|
864
864
|
);
|
|
865
865
|
}
|
|
866
866
|
return scripts;
|
|
@@ -6433,4 +6433,4 @@ export {
|
|
|
6433
6433
|
detectFramework,
|
|
6434
6434
|
dispatch
|
|
6435
6435
|
};
|
|
6436
|
-
//# sourceMappingURL=chunk-
|
|
6436
|
+
//# sourceMappingURL=chunk-I4ATYZKK.js.map
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hublo/sentinel",
|
|
3
|
-
"version": "1.2.0-alpha.
|
|
3
|
+
"version": "1.2.0-alpha.12",
|
|
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",
|