diff --git a/apps/webapp/app/components/SetupCommands.tsx b/apps/webapp/app/components/SetupCommands.tsx index 8d94aa629..fa9ec55d1 100644 --- a/apps/webapp/app/components/SetupCommands.tsx +++ b/apps/webapp/app/components/SetupCommands.tsx @@ -131,7 +131,7 @@ export function TriggerDevStep({ extra }: { extra?: string }) { } // Trigger.dev version 3 setup commands -const v3PackageTag = "v3"; +const v3PackageTag = "beta"; export function InitCommandV3() { const project = useProject(); diff --git a/docs/v3/cli-deploy.mdx b/docs/v3/cli-deploy.mdx index 957d2b14d..6265dd27a 100644 --- a/docs/v3/cli-deploy.mdx +++ b/docs/v3/cli-deploy.mdx @@ -8,15 +8,15 @@ You run the command like this: ```bash npm -npx trigger.dev@v3 deploy +npx trigger.dev@beta deploy ``` ```bash pnpm -pnpm dlx trigger.dev@v3 deploy +pnpm dlx trigger.dev@beta deploy ``` ```bash yarn -yarn dlx trigger.dev@v3 deploy +yarn dlx trigger.dev@beta deploy ``` diff --git a/docs/v3/cli-dev.mdx b/docs/v3/cli-dev.mdx index 0cad51ea4..27d5856d3 100644 --- a/docs/v3/cli-dev.mdx +++ b/docs/v3/cli-dev.mdx @@ -8,15 +8,15 @@ This runs a server on your machine that can execute Trigger.dev tasks: ```bash npm -npx trigger.dev@v3 dev +npx trigger.dev@beta dev ``` ```bash pnpm -pnpm dlx trigger.dev@v3 dev +pnpm dlx trigger.dev@beta dev ``` ```bash yarn -yarn dlx trigger.dev@v3 dev +yarn dlx trigger.dev@beta dev ``` @@ -34,15 +34,15 @@ You can use the `--debugger` flag to run the server in debug mode. This will all ```bash npm -npx trigger.dev@v3 dev --debugger +npx trigger.dev@beta dev --debugger ``` ```bash pnpm -pnpm dlx trigger.dev@v3 dev --debugger +pnpm dlx trigger.dev@beta dev --debugger ``` ```bash yarn -yarn dlx trigger.dev@v3 dev --debugger +yarn dlx trigger.dev@beta dev --debugger ``` diff --git a/docs/v3/github-actions.mdx b/docs/v3/github-actions.mdx index e59385b11..391b465c7 100644 --- a/docs/v3/github-actions.mdx +++ b/docs/v3/github-actions.mdx @@ -22,16 +22,16 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Use Node.js 18.x - uses: actions/setup-node@v3 + - name: Use Node.js 20.x + uses: actions/setup-node@v4 with: - node-version: "18.x" + node-version: "20.x" - name: 🚀 Deploy Trigger.dev env: TRIGGER_ACCESS_TOKEN: ${{ secrets.TRIGGER_ACCESS_TOKEN }} run: | - npx trigger.dev@v3 deploy + npx trigger.dev@beta deploy ``` If you already have a GitHub action file, you can just add the final step "🚀 Deploy Trigger.dev" to your existing file. diff --git a/docs/v3/quick-start.mdx b/docs/v3/quick-start.mdx index b5fbe6898..a7d4f7971 100644 --- a/docs/v3/quick-start.mdx +++ b/docs/v3/quick-start.mdx @@ -43,15 +43,15 @@ Run this command in the root of your project to get started: ```bash npm -npx trigger.dev@v3 init +npx trigger.dev@beta init ``` ```bash pnpm -pnpm dlx trigger.dev@v3 init +pnpm dlx trigger.dev@beta init ``` ```bash yarn -yarn dlx trigger.dev@v3 init +yarn dlx trigger.dev@beta init ``` @@ -72,15 +72,15 @@ The CLI `dev` command runs a server for your tasks. It will watches for changes ```bash npm -npx trigger.dev@v3 dev +npx trigger.dev@beta dev ``` ```bash pnpm -pnpm dlx trigger.dev@v3 dev +pnpm dlx trigger.dev@beta dev ``` ```bash yarn -yarn dlx trigger.dev@v3 dev +yarn dlx trigger.dev@beta dev ``` diff --git a/packages/cli-v3/src/commands/init.ts b/packages/cli-v3/src/commands/init.ts index f0c752da8..fc3398ca6 100644 --- a/packages/cli-v3/src/commands/init.ts +++ b/packages/cli-v3/src/commands/init.ts @@ -36,7 +36,7 @@ import { login } from "./login"; const InitCommandOptions = CommonCommandOptions.extend({ projectRef: z.string().optional(), overrideConfig: z.boolean().default(false), - tag: z.string().default("latest"), + tag: z.string().default("beta"), skipPackageInstall: z.boolean().default(false), }); @@ -55,7 +55,7 @@ export function configureInitCommand(program: Command) { .option( "-t, --tag ", "The version of the @trigger.dev/sdk package to install", - "latest" + "beta" ) .option("--skip-package-install", "Skip installing the @trigger.dev/sdk package") .option("--override-config", "Override the existing config file if it exists")