Skip to content

Commit d9d8c6f

Browse files
Rename function for publishing arguments to vp pm
1 parent e1cb19b commit d9d8c6f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎apps/server/scripts/cli.ts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ interface PublishCommandConfig {
202202
readonly dryRun: boolean;
203203
}
204204

205-
const createPnpmPublishArgs = (config: PublishCommandConfig): ReadonlyArray<string> => {
205+
const 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",

0 commit comments

Comments
 (0)