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 {...@@ -202,7 +202,7 @@ interface PublishCommandConfig {
202 readonly dryRun: boolean;202 readonly dryRun: boolean;
203}203}
204204
205const createPnpmPublishArgs = (config: PublishCommandConfig): ReadonlyArray<string> => {205const createVpPmPublishArgs = (config: PublishCommandConfig): ReadonlyArray<string> => {
206 const args = [206 const args = [
207 "--filter",207 "--filter",
208 "t3",208 "t3",
...@@ -289,11 +289,11 @@ const publishCmd = Command.make(...@@ -289,11 +289,11 @@ const publishCmd = Command.make(
289 // config, including override selectors, is interpreted correctly.289 // config, including override selectors, is interpreted correctly.
290 () =>290 () =>
291 Effect.gen(function* () {291 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(" ")}`);
295 yield* runCommand(295 yield* runCommand(
296 ChildProcess.make("pnpm", [...args], {296 ChildProcess.make("vp", ["pm", ...args], {
297 cwd: repoRoot,297 cwd: repoRoot,
298 stdout: config.verbose ? "inherit" : "ignore",298 stdout: config.verbose ? "inherit" : "ignore",
299 stderr: "inherit",299 stderr: "inherit",