@mutmutco/cli 3.117.0 → 3.117.1
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/main.cjs +16 -9
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -11640,14 +11640,21 @@ async function fetchNpmReleasedVersion() {
|
|
|
11640
11640
|
}
|
|
11641
11641
|
var NPM_INSTALL_TIMEOUT_MS = 12e4;
|
|
11642
11642
|
var CLI_VERSION_PROBE_TIMEOUT_MS = 3e4;
|
|
11643
|
+
function resolveNpmSpawn(args) {
|
|
11644
|
+
if (!isWin) return { file: "npm", args };
|
|
11645
|
+
const cli = (0, import_node_path16.join)((0, import_node_path16.dirname)(process.execPath), "node_modules", "npm", "bin", "npm-cli.js");
|
|
11646
|
+
if ((0, import_node_fs17.existsSync)(cli)) return { file: process.execPath, args: [cli, ...args] };
|
|
11647
|
+
return { file: "cmd.exe", args: ["/c", "npm", ...args] };
|
|
11648
|
+
}
|
|
11643
11649
|
async function npmSelfUpdateCli(target, onStep, deps = {}) {
|
|
11644
11650
|
const command = cliUpdateCommand(target);
|
|
11645
11651
|
const args = npmSelfUpdateArgs(`@mutmutco/cli@${target ?? "latest"}`);
|
|
11646
11652
|
onStep?.(command);
|
|
11647
11653
|
let last = "";
|
|
11654
|
+
const spawnSpec = resolveNpmSpawn(args);
|
|
11648
11655
|
const result = await (deps.run ?? runNpmStreaming)({
|
|
11649
|
-
file:
|
|
11650
|
-
args:
|
|
11656
|
+
file: spawnSpec.file,
|
|
11657
|
+
args: spawnSpec.args,
|
|
11651
11658
|
timeoutMs: NPM_INSTALL_TIMEOUT_MS,
|
|
11652
11659
|
onLine: (line) => {
|
|
11653
11660
|
const message = narrateNpmLine(line);
|
|
@@ -15779,10 +15786,10 @@ var rollout_plan_default = {
|
|
|
15779
15786
|
note: "The v4.0.0 stamp happens at cut time (D6e #4463); until then the candidate is the origin/development head artifacts (built cli/dist + npm pack), identity proven by dist content hash (D6a)."
|
|
15780
15787
|
},
|
|
15781
15788
|
baseline: {
|
|
15782
|
-
version: "3.117.
|
|
15783
|
-
tag: "v3.117.
|
|
15784
|
-
commit: "
|
|
15785
|
-
npm: "@mutmutco/cli@3.117.
|
|
15789
|
+
version: "3.117.1",
|
|
15790
|
+
tag: "v3.117.1",
|
|
15791
|
+
commit: "b413403fb412",
|
|
15792
|
+
npm: "@mutmutco/cli@3.117.1"
|
|
15786
15793
|
},
|
|
15787
15794
|
exitCriterion: "fleet-n-of-n",
|
|
15788
15795
|
hubOnlyShortcut: "forbidden",
|
|
@@ -15799,14 +15806,14 @@ var rollout_plan_default = {
|
|
|
15799
15806
|
repo: "mutmutco/mmi-hub",
|
|
15800
15807
|
role: "canary",
|
|
15801
15808
|
schedule: "train",
|
|
15802
|
-
v3Target: "v3.117.
|
|
15809
|
+
v3Target: "v3.117.1"
|
|
15803
15810
|
}
|
|
15804
15811
|
],
|
|
15805
15812
|
rollbackTrigger: "Any red inside the post-cut soak window: `devops train gate` FAIL attributable to the v4 doors, Hub endpoint health probe failure, a v3 client refused while the compat window must still admit it (SUPPORTED_MINOR_WINDOW=2, MIN_CLIENT_VERSION 0.0.0 \u2014 D6a), or npm consumer install/doctor failure on the v4 dist.",
|
|
15806
15813
|
rollback: {
|
|
15807
15814
|
independent: true,
|
|
15808
|
-
mechanism: "npm dist-tag latest -> 3.117.
|
|
15809
|
-
v3Target: "v3.117.
|
|
15815
|
+
mechanism: "npm dist-tag latest -> 3.117.1 and redeploy the Hub Lambda from tag v3.117.1 (b413403fb412); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
|
|
15816
|
+
v3Target: "v3.117.1 (@mutmutco/cli@3.117.1, tag commit b413403fb412 \u2014 the preserved latest-v3 distribution, D6b)"
|
|
15810
15817
|
}
|
|
15811
15818
|
},
|
|
15812
15819
|
{
|
package/package.json
CHANGED