authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-06-04 22:22:37-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-06-05 05:22:37+00:00
logb870a6e349d4322173896c7090892572fd7b8cac
treec90e4eb1c1168c47c86dc6abff420431fa918617
parente1cb19b55b9a29de03e2a2a7b3542f738f4843cb
signature Signed by PGP key B5690EEEBB952194

Rename function for publishing arguments to vp pm (#2967)


1 files changed, 4 insertions(+), 4 deletions(-)

apps/server/scripts/cli.ts+4-4
......@@ -202,7 +202,7 @@ interface PublishCommandConfig {
202202 readonly dryRun: boolean;
203203}
204204
205const createPnpmPublishArgs = (config: PublishCommandConfig): ReadonlyArray<string> => {
205const createVpPmPublishArgs = (config: PublishCommandConfig): ReadonlyArray<string> => {
206206 const args = [
207207 "--filter",
208208 "t3",
......@@ -289,11 +289,11 @@ const publishCmd = Command.make(
289289 // config, including override selectors, is interpreted correctly.
290290 () =>
291291 Effect.gen(function* () {
292 const args = createPnpmPublishArgs(config);
292 const args = createVpPmPublishArgs(config);
293293
294 yield* Effect.log(`[cli] Running: pnpm ${args.join(" ")}`);
294 yield* Effect.log(`[cli] Running: vp pm ${args.join(" ")}`);
295295 yield* runCommand(
296 ChildProcess.make("pnpm", [...args], {
296 ChildProcess.make("vp", ["pm", ...args], {
297297 cwd: repoRoot,
298298 stdout: config.verbose ? "inherit" : "ignore",
299299 stderr: "inherit",