resend / react-email-turborepo-pnpm-example Goto Github PK
View Code? Open in Web Editor NEWThis example shows how to use react.email with Turborepo + pnpm
This example shows how to use react.email with Turborepo + pnpm
Hi,
First time poster so sorry in advance if I am missing any details.
When I pull down this repo and setup it up for the first time following the instructions inside the README.md file, everything works as expected.
However, when I bump the version of react-email to 2.0.0, and follow the steps from the changelog
static
directory inside of ./emails
so the path is ./emails/static
pnpm install
pnpm dev
The preview app loads, but there are no emails displayed in the LHS bar anymore:
And when I manually go to this route http://localhost:3001/preview/vercel-invite-user
I get this error:
Would someone be able to provide any information on what could be causing this error or is there a migration guide on how to transition from 1.10.0 to 2.0.0 within a project that is using nextjs, react-email, turborepo and pnpm?
Thanks for taking the time to read over this issue.
had to install react and type-react and make it work
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@types/react
, @types/react-dom
)eslint
, @types/eslint
)@next/eslint-plugin-next
, next
)@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)apps/web/package.json
@react-email/components 0.0.15
next ^14.0.3
react ^18.2.0
react-dom ^18.2.0
@next/eslint-plugin-next ^14.0.2
@types/eslint ^8.44.7
@types/node ^20.0.0
@types/react ^18.0.22
@types/react-dom ^18.0.7
eslint ^8.53.0
typescript ^5.2.2
package.json
prettier ^3.1.0
@typescript-eslint/eslint-plugin ^7.0.0
@typescript-eslint/parser ^7.0.0
@vercel/style-guide ^5.1.0
eslint-config-prettier ^9.0.0
eslint-config-turbo ^1.10.12
eslint-plugin-only-warn ^1.1.0
next ^14.0.3
styled-jsx ^5.1.2
typescript ^5.2.2
pnpm 8.15.3
packages/transactional/package.json
@react-email/components 0.0.15
react-email 2.1.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.