From 9fdec3c2c8fbc1647843bb2f49a45224daa5aa30 Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Tue, 3 Mar 2026 10:55:23 -0800 Subject: [PATCH] Fix npm publish command process invocation - Pass command and args directly to `ChildProcess.make` in the publish CLI - Remove fragile template-literal invocation to ensure command runs reliably --- apps/server/scripts/cli.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/server/scripts/cli.ts b/apps/server/scripts/cli.ts index 09dda34865980968c85acc554e77dafa25850cba..ad79e85654d9fcb80276a564e609c5a1269af5ce 100644 --- a/apps/server/scripts/cli.ts +++ b/apps/server/scripts/cli.ts @@ -135,11 +135,11 @@ const publishCmd = Command.make( yield* Effect.log(`[cli] Running: npm ${args.join(" ")}`); yield* runCommand( - ChildProcess.make({ + ChildProcess.make("npm", [...args], { cwd: serverDir, stdout: config.verbose ? "inherit" : "ignore", stderr: "inherit", - })`npm ${args.join(" ")}`, + }), ); }), // Release: restore -- 2.54.0