periderm-cli 0.1.69 → 0.1.70

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.
@@ -38,7 +38,7 @@ export async function checkUpdate() {
38
38
  if (!apiUrl)
39
39
  return null;
40
40
  const isUnix = process.platform !== "win32" && process.platform !== "android";
41
- const npmCmd = isUnix ? `sudo npm install -g ${name}` : `npm install -g ${name}`;
41
+ const npmCmd = isUnix ? `sudo npm update -g ${name}` : `npm update -g ${name}`;
42
42
  const curlCmd = `curl -fsSL ${apiUrl}/install.sh | bash`;
43
43
  const title = `A new version of Periderm CLI is available: ${currentVersion} → ${latestVersion}`;
44
44
  const textNpm = `Update via npm: ${npmCmd}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "periderm-cli",
3
- "version": "0.1.69",
3
+ "version": "0.1.70",
4
4
  "description": "Periderm CLI: A pre-launch checklist to catch user-losing bugs, legal liabilities, revenue leaks, runaway cloud bills and so many more before you ship.",
5
5
  "type": "module",
6
6
  "preferGlobal": true,