Commit Graph

38 Commits

Author SHA1 Message Date
Eric Allam b737f7af92 Report worker metrics when WORKER_REPORTER_EMAIL env var is set 2023-10-10 23:06:07 +01:00
Hemachandar 9a187f9eda chore: upgrade zod to 3.22.3 (#570)
* chore: upgrade zod to 3.22.3

* add changeset
2023-10-05 17:00:33 +01:00
Matt Aitken 2397fcb640 Express frameworks docs + CLI (#512)
* Manual setup docs

* Added the onboarding

* The emails package now works with Node > 18

* Added CLi support for Express, including custom init command finished messages

* Need to actually log out the installation complete message…

* Fix for an old Remix reference

* Renamed the page export

* Use resolvedOptions.triggerUrl

* Typo in manual instructions
2023-09-27 17:44:50 +01:00
Matt Aitken 9ff4c0dbd5 Project-wide Prettier setup (#237)
* Setup project-wide prettier

* Remove old workspace file

* Remove old debugging directives

* New top-level .prettierignore

* Updated Prettier config settings

* Contrubuting guide: Fix for some bad code blocks

* Added more ignores

* Improved the format script command

* printWidth set to 100

* Formatted entire repo (pnpm run format)
2023-08-01 10:21:22 +01:00
Matt Aitken 92233f2e90 Core package and move to @latest (#235)
* Changeset should ignore the example projects

* Removed note in Contributing instructions about not adding a changeset for internal

* Renamed @trigger.dev/internal to @trigger.dev/core. Set sdk and internal to be ES2020, so we don’t get errors about private identifiers

* Env vars in nextjs-example use square bracket syntax to avoid Turbo Repo errors

* Set the tsconfigs back for core and sdk

* @examples/nextjs compile error with undefined tasks

* Set the example projects to use ES2015 to avoid private modifier complaints

* package-tester example, which will use built packages

* package-tester package.json

* Created a readme for the package-tester

* Added all the packages to package-tester

* Create .env.local.example and readme instructions

* Added name to the package.json

* Upgraded @types/react and @types/react-dom everywhrre, so we can use server actions

* Upgraded @types/react and @types/react-dom everywhrre, so we can use server actions

* Reworked the react package build, so it generates separate files

* The SDK no longer bundles core

* package-tester setup with a server action and react hooks

* Added new SDK methods with logging

* Working tsup settings for client and server

* Explicit react hooks return types

* Added all the hooks for testing

* Added OpenAI step to the job to check types are still ok in integrations

* Get rid of rogue Changeset ignores

* Changeset: @trigger.dev/core is now a separate package

* Exited prerelease mode, added a changeset

* Changed @next to @latest

* Deleted seed.js, this shouldn’t be committed

* Ignore seed.js

* The webapp was importing @trigger.dev/core with a folder path rather package name…

* More webapp imports instead of @trigger.dev/core were a folder path

* Accidentally edited Stripe internal API url in the comment

* Added “sideEffects”: false so @trigger.dev/core is tree shaken by Remix
2023-07-31 18:47:34 +01:00
Eric Allam 0b45338300 Remove the bad RESEND_API_KEY from .env.example 2023-07-17 13:00:38 +01:00
Eric Allam 0b004fbcaf Print out emails instead of sending them through resend if missing resend API key 2023-07-13 12:20:54 +01:00
Eric Allam f01af9c0ec Remove a bunch of unused webapp deps and upgrade packages to zod 3.21.4 2023-07-07 14:47:28 +01:00
Matt Aitken dfedd3a6e8 Consistently use “Log in” everywhere 2023-07-06 10:08:09 +01:00
Matt Aitken b3ccfeb015 A lot of work on email invites 2023-06-01 19:12:58 +01:00
Matt Aitken f88952d8f6 Remove log of email 2023-05-16 16:54:29 +01:00
D-K-P 6732015b5c Updated the welcome email 2023-02-17 11:44:19 +00:00
D-K-P d97470e517 Changed the anchor font sizes 2023-01-15 10:35:08 -08:00
D-K-P dc6393681f Removed imports 2023-01-14 19:26:44 -08:00
D-K-P df8089544c Email copy updates and updated links 2023-01-13 13:48:34 +00:00
D-K-P 878034dd9a Email copy updates 2023-01-13 11:25:39 +00:00
D-K-P 3c7874ae42 Loads of email updates + creation of styles / footer components 2023-01-12 19:30:27 +00:00
Matt Aitken b65954214f Moving to node 16 2023-01-12 13:22:06 +00:00
D-K-P 5bf6aecda0 Updated magic link 2023-01-11 15:19:08 +00:00
D-K-P 9e4c0aee39 Updated copy and renamed files to be less confusing 2023-01-11 15:17:11 +00:00
D-K-P 66badc6bc5 Added workflow failed email, logo and edited the other email intros 2023-01-11 14:31:16 +00:00
D-K-P 13ed10f82d Added connect integration email 2023-01-11 14:24:59 +00:00
D-K-P e8d05885f8 Typo in workflowId 2023-01-11 14:21:37 +00:00
D-K-P a609fde976 Added connect workflow email 2023-01-11 14:20:41 +00:00
D-K-P b7aa693cf1 Welcome email in but links need updating when they’re ready 2023-01-11 14:01:27 +00:00
Eric Allam e55f5db6a9 Fixed issue with incorrect casing on import 2023-01-11 11:31:14 +00:00
D-K-P 21cb9ee5a9 Updated welcome email and magic link 2023-01-11 10:46:48 +00:00
D-K-P 44bc592fc5 Edited welcome email and deleted static images folder 2023-01-10 22:06:34 +00:00
Eric Allam cfc451ffaa Added a playground for James and updates react-email 2023-01-05 16:55:11 +00:00
Matt Aitken 6909a5cdf5 Email images are working 2023-01-05 11:22:12 +00:00
Matt Aitken 5171b8592c Send welcome email with a delay 2023-01-04 18:11:00 +00:00
Matt Aitken 91bc0764d9 Magic link and welcome (without delay atm) email now sending with Resend 2023-01-04 17:13:33 +00:00
Matt Aitken 9f9104e64a Improved readme 2023-01-04 17:13:26 +00:00
Matt Aitken 75ac1c9c2d I put the port in the wrong command… idiot 2023-01-04 12:39:30 +00:00
Matt Aitken a36c76603c Delete built files 2023-01-04 12:21:31 +00:00
Matt Aitken 5c970b5283 Setup react-email but the preview isn’t working right now 2023-01-04 12:21:31 +00:00
Matt Aitken c3b90f8f3a Deleted built files 2023-01-04 12:21:31 +00:00
Matt Aitken 8a3d717e43 WIP on setting Resend up 2023-01-04 12:21:31 +00:00