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

@@ -35,10 +35,10 @@
"@kit/ui": "workspace:^",
"@radix-ui/react-icons": "^1.3.0",
"@supabase/supabase-js": "^2.45.0",
"@tanstack/react-query": "5.51.15",
"@tanstack/react-query": "5.51.16",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"lucide-react": "^0.417.0",
"lucide-react": "^0.418.0",
"next": "14.2.5",
"next-themes": "0.3.0",
"react": "18.3.1",

View File

@@ -74,6 +74,7 @@ export const UpdatePasswordForm = ({
// if the user does not have an email assigned, it's possible they
// don't have an email/password factor linked, and the UI is out of sync
if (!email) {
/* eslint-disable @typescript-eslint/prefer-promise-reject-errors */
return Promise.reject(t(`cannotUpdatePassword`));
}