pleumrouter 0.5.12 → 0.5.13

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/package.json +1 -1
  2. package/src/upgrade.mjs +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pleumrouter",
3
- "version": "0.5.12",
3
+ "version": "0.5.13",
4
4
  "description": "Official PleumRouter terminal CLI — launch any coding agent against PleumRouter.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/upgrade.mjs CHANGED
@@ -3,9 +3,10 @@ import { spawn } from "node:child_process";
3
3
  // 최신 버전으로 전역 재설치. brew tap 보류 상태라 npm 경로([[project_pleum_cli]]).
4
4
  export function upgrade() {
5
5
  console.log("▶ npm install -g pleumrouter@latest\n");
6
- const child = spawn("npm", ["install", "-g", "pleumrouter@latest"], {
6
+ const bin = process.platform === "win32" ? "npm.cmd" : "npm";
7
+ const child = spawn(bin, ["install", "-g", "pleumrouter@latest"], {
7
8
  stdio: "inherit",
8
- shell: process.platform === "win32",
9
+ shell: false,
9
10
  });
10
11
  child.on("error", (e) => {
11
12
  console.error(`✗ ${e.message}`);