8578c9b281
* Fixed empty env vars overriding in dev runs * Don’t import package.json anymore * fix node10 moduleResolution in @trigger.dev/core * Support self-hosters pushing to a custom registry when running deploy * dev: Fixed stuck runs when a child run fails with a process exit * Make some doc notes about known issues and docker hub private repos * Fix --project-ref when running deploy * Fix —config option when deploying * Fixing the flushing/killing process with the new build system * Add monorepo-react-email e2e test fixture * Fix issue with emitDecoratorMetadata and tsconfigs with extends * Got the emit decorator metadata fixture working * Fixed typechecking yarn e2e CLI tests in monorepos * Add remote forced externals system, in case we come across another package that cannot be bundled (spurred on by header-generator) * Remote externals now powered by JSON Hero to be easier to update * resolve config source files * Add a —javascript option to init, defaults to typescript * Add support for prisma typed sql * Remove msw and retry.interceptFetch * Add missing code to the openai retries example * Don’t generate the v3 catalog prisma client during CI * Fixed v3-catalog task imports * Remove interceptor usage in task file * Only import import-in-the-middle hook if there are instrumented packages * Fix yarn.lock file
Trigger.dev CLI
A CLI that allows you to create, run locally and deploy Trigger.dev background tasks.
Note: this only works with Trigger.dev v3 projects and later. For older projects use the @trigger.dev/cli package.
Trigger.dev is an open source platform that makes it easy to create event-driven background tasks directly in your existing project.
Usage
Login
Logs that machine into Trigger.dev by creating a new Personal Access Token and storing it on the local machine. Once you're logged in you can perform the other actions below.
npx trigger.dev@latest login
| Option | Short option | Description |
|---|---|---|
--api-url |
-a |
Set the API URL for Trigger.dev, defaults to https://api.trigger.dev |
Update
Will update all of your @trigger.dev packages in your package.json to the latest version.
npx trigger.dev@latest update
You can pass the path to the folder that your package.json file lives in:
npx trigger.dev@latest update ./myapp
| Option | Short option | Description |
|---|---|---|
--to |
-t |
The version to update to (ex: 2.1.4), defaults to "latest" |
Who Am I?
Shows the current user that is logged in.
npx trigger.dev@latest whoami
| Option | Short option | Description |
|---|---|---|
--api-url |
-a |
Set the API URL for Trigger.dev, defaults to https://api.trigger.dev |