0e919f56f2
* Alerts v1 * Encrypt alert webhook secrets and allow them to be generated by the server * Alert v1 UI * Remove unnecessary emails * Move to using `@react-email/components` * WIP slack alerts * More slack alerts WIP * Update pnpm lock after rebase * Finish implementing Slack alerts * Use a more error like emoji * New secondary variant for the segmented control * Added a simple checkbox style variant to storybook * Style tweak to the segmented control * UI improvements to the alert modal * Use searchable Select for alerts. Changed default variant for SegmentedControl * Secondary button now using secondary colour * segmented control style tweak * Improved the channel column in the alerts table * Updated logo-mono.png * Updated email styles * Email templates updated to new styles * Don’t log the decrypted secret * await enqueing the deployment alert when an index fails * await enqueing the timeout alert --------- Co-authored-by: James Ritchie <james@jamesritchie.co.uk> Co-authored-by: Matt Aitken <matt@mattaitken.com>
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 |