File tree Expand file tree Collapse file tree
packages/cli-v3/src/commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " trigger.dev " : patch
3+ ---
4+
5+ Init command will now correctly install v4-beta packages
Original file line number Diff line number Diff line change @@ -36,7 +36,8 @@ import { login } from "./login.js";
3636const 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>" ,
You can’t perform that action at this time.
0 commit comments