@adunne09/waldo 0.0.0-dev-202603152023 → 0.0.0-dev-202603160010
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/bin/waldo +6 -2
- package/package.json +6 -6
package/bin/waldo
CHANGED
|
@@ -286,7 +286,7 @@ function runGlobalUpgrade(method, target) {
|
|
|
286
286
|
})();
|
|
287
287
|
|
|
288
288
|
const result = childProcess.spawnSync(command[0], command[1], {
|
|
289
|
-
stdio: "
|
|
289
|
+
stdio: ["ignore", "ignore", "pipe"],
|
|
290
290
|
cwd: os.homedir(),
|
|
291
291
|
});
|
|
292
292
|
|
|
@@ -299,6 +299,10 @@ function runGlobalUpgrade(method, target) {
|
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
301
|
|
|
302
|
+
function formatAutoUpdateSuccessMessage(current, latest) {
|
|
303
|
+
return `Updated Waldo from ${current} to ${latest}. Restart to apply changes.`;
|
|
304
|
+
}
|
|
305
|
+
|
|
302
306
|
const platformMap = {
|
|
303
307
|
darwin: "darwin",
|
|
304
308
|
linux: "linux",
|
|
@@ -364,7 +368,7 @@ async function maybeAutoUpdate() {
|
|
|
364
368
|
}
|
|
365
369
|
|
|
366
370
|
runGlobalUpgrade(method, latest);
|
|
367
|
-
console.error(
|
|
371
|
+
console.error(formatAutoUpdateSuccessMessage(current, latest));
|
|
368
372
|
} catch {
|
|
369
373
|
const current = resolveCurrentVersion();
|
|
370
374
|
console.error(`Waldo update failed; continuing with ${current}.`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adunne09/waldo",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-202603160010",
|
|
4
4
|
"waldoReleaseTag": "dev",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
"postinstall": "bun ./postinstall.mjs || node ./postinstall.mjs"
|
|
14
14
|
},
|
|
15
15
|
"optionalDependencies": {
|
|
16
|
-
"@adunne09/waldo-darwin-arm64": "0.0.0-dev-
|
|
17
|
-
"@adunne09/waldo-darwin-x64": "0.0.0-dev-
|
|
18
|
-
"@adunne09/waldo-linux-arm64": "0.0.0-dev-
|
|
19
|
-
"@adunne09/waldo-linux-x64": "0.0.0-dev-
|
|
20
|
-
"@adunne09/waldo-windows-x64": "0.0.0-dev-
|
|
16
|
+
"@adunne09/waldo-darwin-arm64": "0.0.0-dev-202603160010",
|
|
17
|
+
"@adunne09/waldo-darwin-x64": "0.0.0-dev-202603160010",
|
|
18
|
+
"@adunne09/waldo-linux-arm64": "0.0.0-dev-202603160010",
|
|
19
|
+
"@adunne09/waldo-linux-x64": "0.0.0-dev-202603160010",
|
|
20
|
+
"@adunne09/waldo-windows-x64": "0.0.0-dev-202603160010"
|
|
21
21
|
}
|
|
22
22
|
}
|