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