Remove Cloudflare mailer implementation, update dependencies and updated code to reflect stricter EsLint settings
Deleted CloudflareMailer class and its implementation from the mailers package. Updated dependencies across various packages, converting certain imports to use `type` only, and bumped versions for packages like `react-query`, `lucide-react`, and others.
This commit is contained in:
@@ -19,12 +19,6 @@ Make sure the app installs the `@kit/mailers` package before using it.
|
||||
|
||||
By default, the package uses `nodemailer`.
|
||||
|
||||
To use Cloudflare, please set the environment variable `MAILER_PROVIDER` to `cloudflare`.
|
||||
|
||||
```
|
||||
MAILER_PROVIDER=cloudflare
|
||||
```
|
||||
|
||||
To use [Resend](https:///resend.com)'s HTTP API, please set the environment variable `MAILER_PROVIDER` to `resend`.
|
||||
|
||||
```
|
||||
@@ -48,10 +42,6 @@ async function sendEmail() {
|
||||
}
|
||||
```
|
||||
|
||||
## Cloudflare
|
||||
|
||||
If you're using the `cloudflare` provider, please also read the instructions of the package [Vercel Email](https://github.com/Sh4yy/vercel-email) to setup your Workers.
|
||||
|
||||
## Resend
|
||||
|
||||
If you're using the `resend` provider, please add the following environment variables:
|
||||
|
||||
Reference in New Issue
Block a user