diff --git a/apps/web/app/page.tsx b/apps/web/app/page.tsx index 324e83a..4fefd26 100644 --- a/apps/web/app/page.tsx +++ b/apps/web/app/page.tsx @@ -2,8 +2,8 @@ import { render } from '@react-email/components'; import { VercelInviteUserEmail } from 'transactional/emails/vercel-invite-user'; -export default function Page(): JSX.Element { - const emailHTML = render(VercelInviteUserEmail({ })); +export default async function Page() { + const emailHTML = await render(); return (
diff --git a/apps/web/next-env.d.ts b/apps/web/next-env.d.ts index 4f11a03..40c3d68 100644 --- a/apps/web/next-env.d.ts +++ b/apps/web/next-env.d.ts @@ -2,4 +2,4 @@ /// // NOTE: This file should not be edited -// see https://nextjs.org/docs/basic-features/typescript for more information. +// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information. diff --git a/apps/web/next.config.js b/apps/web/next.config.js deleted file mode 100644 index d1e4e08..0000000 --- a/apps/web/next.config.js +++ /dev/null @@ -1,2 +0,0 @@ -/** @type {import('next').NextConfig} */ -module.exports = {}; diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts new file mode 100644 index 0000000..4b43c7a --- /dev/null +++ b/apps/web/next.config.ts @@ -0,0 +1,3 @@ +import { NextConfig } from "next"; + +export default {} satisfies NextConfig; diff --git a/apps/web/package.json b/apps/web/package.json index f39cda3..338c297 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -9,10 +9,10 @@ "lint": "eslint . --max-warnings 0" }, "dependencies": { - "@react-email/components": "0.0.14", - "next": "^14.0.3", - "react": "^18.2.0", - "react-dom": "^18.2.0" + "@react-email/components": "0.0.25", + "next": "15.0.1", + "react": "18.3.1", + "react-dom": "18.3.1" }, "devDependencies": { "@next/eslint-plugin-next": "^14.0.2", diff --git a/bun.lockb b/bun.lockb index 191e9a4..a8691c0 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/packages/transactional/package.json b/packages/transactional/package.json index da7df82..a7150ec 100644 --- a/packages/transactional/package.json +++ b/packages/transactional/package.json @@ -7,7 +7,7 @@ "export": "email export" }, "dependencies": { - "@react-email/components": "0.0.14", - "react-email": "2.0.0" + "@react-email/components": "0.0.25", + "react-email": "3.0.1" } }