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:
gbuomprisco
2024-08-01 14:57:55 +02:00
parent 5c28eaabeb
commit 23154c366d
48 changed files with 607 additions and 469 deletions

View File

@@ -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: