Skip to content

Commit c8e666b

Browse files
committed
init command to install v4-beta packages
1 parent f5694fd commit c8e666b

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

.changeset/moody-squids-count.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"trigger.dev": patch
3+
---
4+
5+
Init command will now correctly install v4-beta packages

packages/cli-v3/src/commands/init.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ import { login } from "./login.js";
3636
const InitCommandOptions = CommonCommandOptions.extend({
3737
projectRef: z.string().optional(),
3838
overrideConfig: z.boolean().default(false),
39-
tag: z.string().default("latest"),
39+
// TODO: Revert this to "latest" once we have a stable release
40+
tag: z.string().default("v4-beta"),
4041
skipPackageInstall: z.boolean().default(false),
4142
runtime: z.string().default("node"),
4243
pkgArgs: z.string().optional(),
@@ -60,7 +61,8 @@ export function configureInitCommand(program: Command) {
6061
.option(
6162
"-t, --tag <package tag>",
6263
"The version of the @trigger.dev/sdk package to install",
63-
"latest"
64+
// TODO: Revert this to "latest" once we have a stable release
65+
"v4-beta"
6466
)
6567
.option(
6668
"-r, --runtime <runtime>",

0 commit comments

Comments
 (0)