From 786d5508f0fe0ffafdb9b464ea156742ba2e1b21 Mon Sep 17 00:00:00 2001 From: Matt Aitken Date: Tue, 9 Jul 2024 15:52:42 +0100 Subject: [PATCH] Cover upgrading dev dependency --- docs/v3/upgrading-packages.mdx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/v3/upgrading-packages.mdx b/docs/v3/upgrading-packages.mdx index 7046b2753..7cff51fff 100644 --- a/docs/v3/upgrading-packages.mdx +++ b/docs/v3/upgrading-packages.mdx @@ -47,3 +47,19 @@ You can deploy using [GitHub Actions](/v3/github-actions). We recommend that you sure to update this version to the latest version (e.g. `npx trigger.dev@3.0.0-beta.48 deploy`). + +## package.json dev dependency + +Instead of using `npx`, `pnpm dlx` or `yarn dlx` you can add the Trigger.dev CLI as a dev dependency to your package.json file. + +For example: + +```json +{ + "devDependencies": { + "trigger": "^3.0.0-beta.48" + } +} +``` + +If you've done this make sure to update the version to match the `@trigger.dev/sdk` package.