bloby-bot 0.47.13 → 0.47.14

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.
Files changed (2) hide show
  1. package/bin/cli.js +3 -1
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -1524,8 +1524,10 @@ async function update() {
1524
1524
  // app permanently broken (e.g. crash loop on a new import). Treat as fatal,
1525
1525
  // surface the npm output so the cause is debuggable, and don't claim success.
1526
1526
  try {
1527
- execSync('npm install --omit=dev', { cwd: DATA_DIR, stdio: 'inherit', timeout: 300_000 });
1527
+ execSync('npm install --omit=dev', { cwd: DATA_DIR, stdio: 'pipe', timeout: 300_000 });
1528
1528
  } catch (e) {
1529
+ if (e.stdout) process.stderr.write(e.stdout);
1530
+ if (e.stderr) process.stderr.write(e.stderr);
1529
1531
  console.log(`\n ${c.red}✗${c.reset} npm install failed during update: ${e.message}`);
1530
1532
  console.log(` Your install is now partially upgraded. To recover:\n cd ~/.bloby && npm install --omit=dev\n`);
1531
1533
  fs.rmSync(tmpDir, { recursive: true, force: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bloby-bot",
3
- "version": "0.47.13",
3
+ "version": "0.47.14",
4
4
  "releaseNotes": [
5
5
  "1. Something great..",
6
6
  "2. ",