authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-03-03 09:06:05-08:00
committergravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-03-03 09:06:05-08:00
log4a82c1608f8b88bc6ced686fc23b8eac3dc30d80
treeb778694c3daa6ec9aa82f4add235e5ccccc5fc67
parent3efb3da00701106f972bc73bed2ed4d5e685aa09

fix pub


2 files changed, 5 insertions(+), 5 deletions(-)

.github/workflows/release.yml+1-1
......@@ -273,7 +273,7 @@ jobs:
273273 run: bun run build --filter=@t3tools/web --filter=t3
274274
275275 - name: Publish CLI package
276 run: node apps/server/scripts/cli.ts publish --tag alpha --provenance
276 run: node apps/server/scripts/cli.ts publish --tag alpha --provenance --verbose
277277
278278 release:
279279 name: Publish GitHub Release
apps/server/scripts/cli.ts+4-4
......@@ -53,7 +53,7 @@ const buildCmd = Command.make(
5353 cwd: serverDir,
5454 stdout: config.verbose ? "inherit" : "ignore",
5555 stderr: "inherit",
56 })`tsdown`,
56 })`bun tsdown`,
5757 );
5858
5959 const webDist = path.join(repoRoot, "apps/web/dist");
......@@ -63,7 +63,7 @@ const buildCmd = Command.make(
6363 yield* fs.copy(webDist, clientTarget);
6464 yield* Effect.log("[cli] Bundled web app into dist/client");
6565 } 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.");
6767 }
6868 }),
6969).pipe(Command.withDescription("Build the server package (tsdown + bundle web client)."));
......@@ -135,11 +135,11 @@ const publishCmd = Command.make(
135135
136136 yield* Effect.log(`[cli] Running: npm ${args.join(" ")}`);
137137 yield* runCommand(
138 ChildProcess.make("npm", args, {
138 ChildProcess.make({
139139 cwd: serverDir,
140140 stdout: config.verbose ? "inherit" : "ignore",
141141 stderr: "inherit",
142 }),
142 })`npm ${args.join(" ")}`,
143143 );
144144 }),
145145 // Release: restore