| ... | @@ -53,7 +53,7 @@ const buildCmd = Command.make( | ... | @@ -53,7 +53,7 @@ const buildCmd = Command.make( |
| 53 | cwd: serverDir, | 53 | cwd: serverDir, |
| 54 | stdout: config.verbose ? "inherit" : "ignore", | 54 | stdout: config.verbose ? "inherit" : "ignore", |
| 55 | stderr: "inherit", | 55 | stderr: "inherit", |
| 56 | })`tsdown`, | 56 | })`bun tsdown`, |
| 57 | ); | 57 | ); |
| 58 | | 58 | |
| 59 | const webDist = path.join(repoRoot, "apps/web/dist"); | 59 | const webDist = path.join(repoRoot, "apps/web/dist"); |
| ... | @@ -63,7 +63,7 @@ const buildCmd = Command.make( | ... | @@ -63,7 +63,7 @@ const buildCmd = Command.make( |
| 63 | yield* fs.copy(webDist, clientTarget); | 63 | yield* fs.copy(webDist, clientTarget); |
| 64 | yield* Effect.log("[cli] Bundled web app into dist/client"); | 64 | yield* Effect.log("[cli] Bundled web app into dist/client"); |
| 65 | } else { | 65 | } else { |
| 66 | yield* Effect.log("[cli] Web dist not found — skipping client bundle."); | 66 | yield* Effect.logWarning("[cli] Web dist not found — skipping client bundle."); |
| 67 | } | 67 | } |
| 68 | }), | 68 | }), |
| 69 | ).pipe(Command.withDescription("Build the server package (tsdown + bundle web client).")); | 69 | ).pipe(Command.withDescription("Build the server package (tsdown + bundle web client).")); |
| ... | @@ -135,11 +135,11 @@ const publishCmd = Command.make( | ... | @@ -135,11 +135,11 @@ const publishCmd = Command.make( |
| 135 | | 135 | |
| 136 | yield* Effect.log(`[cli] Running: npm ${args.join(" ")}`); | 136 | yield* Effect.log(`[cli] Running: npm ${args.join(" ")}`); |
| 137 | yield* runCommand( | 137 | yield* runCommand( |
| 138 | ChildProcess.make("npm", args, { | 138 | ChildProcess.make({ |
| 139 | cwd: serverDir, | 139 | cwd: serverDir, |
| 140 | stdout: config.verbose ? "inherit" : "ignore", | 140 | stdout: config.verbose ? "inherit" : "ignore", |
| 141 | stderr: "inherit", | 141 | stderr: "inherit", |
| 142 | }), | 142 | })`npm ${args.join(" ")}`, |
| 143 | ); | 143 | ); |
| 144 | }), | 144 | }), |
| 145 | // Release: restore | 145 | // Release: restore |