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:...@@ -273,7 +273,7 @@ jobs:
273 run: bun run build --filter=@t3tools/web --filter=t3273 run: bun run build --filter=@t3tools/web --filter=t3
274274
275 - name: Publish CLI package275 - name: Publish CLI package
276 run: node apps/server/scripts/cli.ts publish --tag alpha --provenance276 run: node apps/server/scripts/cli.ts publish --tag alpha --provenance --verbose
277277
278 release:278 release:
279 name: Publish GitHub Release279 name: Publish GitHub Release
apps/server/scripts/cli.ts+4-4
...@@ -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 );
5858
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(
135135
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: restore145 // Release: restore