Skip to content

Commit 8f395d2

Browse files
authoredDec 9, 2024··
chore(all): Upgrade to use React 19 instead of the RCs (#1808)
1 parent 701a0e3 commit 8f395d2

File tree

12 files changed

+989
-1269
lines changed

12 files changed

+989
-1269
lines changed
 

‎.changeset/gentle-pumpkins-type.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"react-email-starter": patch
3+
"react-email": patch
4+
---
5+
6+
Update to React 19

‎.pnpmfile.cjs

-33
This file was deleted.

‎apps/demo/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
},
1111
"dependencies": {
1212
"@react-email/components": "workspace:*",
13-
"react": "19.0.0-rc-02c0e824-20241028",
14-
"react-dom": "19.0.0-rc-02c0e824-20241028",
13+
"react": "^19",
14+
"react-dom": "^19",
1515
"react-email": "workspace:*"
1616
},
1717
"devDependencies": {
18-
"next": "14.2.16",
19-
"@types/react": "npm:types-react@rc",
20-
"@types/react-dom": "npm:types-react-dom@rc",
18+
"next": "15.0.4",
19+
"@types/react": "^19",
20+
"@types/react-dom": "^19",
2121
"tsx": "4.9.0"
2222
}
2323
}

‎apps/web/package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -21,28 +21,28 @@
2121
"@responsive-email/react-email": "0.0.3",
2222
"@supabase/supabase-js": "2.45.1",
2323
"@vercel/analytics": "1.0.1",
24-
"framer-motion": "12.0.0-alpha.0",
24+
"framer-motion": "12.0.0-alpha.2",
2525
"lucide-react": "^0.428.0",
26-
"next": "15.0.2",
26+
"next": "15.0.4",
2727
"prism-react-renderer": "2.3.1",
28-
"react": "19.0.0-rc-02c0e824-20241028",
29-
"react-dom": "19.0.0-rc-02c0e824-20241028",
28+
"react": "^19",
29+
"react-dom": "^19",
3030
"react-email": "workspace:*",
31-
"resend": "3.5.0",
32-
"vaul": "^0.9.1"
31+
"resend": "4.0.1",
32+
"vaul": "1.1.1"
3333
},
3434
"devDependencies": {
3535
"@next/eslint-plugin-next": "14.2.16",
3636
"@radix-ui/colors": "1.0.1",
37-
"@radix-ui/react-select": "^2.1.1",
37+
"@radix-ui/react-select": "2.1.2",
3838
"@radix-ui/react-slot": "1.1.0",
3939
"@radix-ui/react-tabs": "^1.1.0",
4040
"@radix-ui/react-tooltip": "1.1.2",
4141
"@types/babel__core": "7.20.5",
4242
"@types/babel__traverse": "7.20.6",
4343
"@types/node": "^20",
44-
"@types/react": "^18",
45-
"@types/react-dom": "^18",
44+
"@types/react": "^19",
45+
"@types/react-dom": "^19",
4646
"autoprefixer": "10.4.14",
4747
"classnames": "2.5.1",
4848
"eslint": "^8",

‎benchmarks/tailwind-component/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@react-email/components": "workspace:*",
2424
"@react-email/render": "workspace:*",
2525
"@react-email/tailwind": "workspace:*",
26-
"react": "19.0.0-rc.0",
26+
"react": "18.2.0",
2727
"tailwind-0.0.12": "npm:@react-email/tailwind@0.0.12",
2828
"tailwind-0.0.15": "npm:@react-email/tailwind@0.0.15",
2929
"tinybench": "2.5.1"

‎examples/resend/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@
1010
"start": "next start"
1111
},
1212
"dependencies": {
13-
"next": "15.0.0-canary.117",
13+
"next": "15.0.4",
1414
"@react-email/components": "workspace:0.0.30",
15-
"react": "19.0.0-rc-02c0e824-20241028",
16-
"react-dom": "19.0.0-rc-02c0e824-20241028",
17-
"resend": "4.0.0"
15+
"react": "^19",
16+
"react-dom": "^19",
17+
"resend": "4.0.1"
1818
},
1919
"devDependencies": {
2020
"eslint-config-custom": "workspace:*",
2121
"@types/node": "^20.2.5",
22-
"@types/react": "npm:types-react@rc",
23-
"@types/react-dom": "npm:types-react-dom@rc",
22+
"@types/react": "^19",
23+
"@types/react-dom": "^19",
2424
"typescript": "^5.1.3"
2525
}
2626
}

‎examples/scaleway/next/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@
1111
},
1212
"dependencies": {
1313
"@scaleway/sdk": "1.5.0",
14-
"next": "15.0.0-canary.117",
14+
"next": "15.0.4",
1515
"@react-email/components": "workspace:0.0.30",
16-
"react": "19.0.0-rc-02c0e824-20241028",
17-
"react-dom": "19.0.0-rc-02c0e824-20241028"
16+
"react": "^19",
17+
"react-dom": "^19"
1818
},
1919
"devDependencies": {
2020
"@types/node": "18.14.6",
2121
"eslint-config-custom": "workspace:*",
22-
"@types/react": "npm:types-react@rc",
23-
"@types/react-dom": "npm:types-react-dom@rc",
22+
"@types/react": "^19",
23+
"@types/react-dom": "^19",
2424
"typescript": "4.9.5"
2525
}
2626
}

‎package.json

+3-9
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"devDependencies": {
1919
"@changesets/cli": "2.27.9",
2020
"@types/node": "18.18.0",
21-
"@types/react": "npm:types-react@19.0.0",
22-
"@types/react-dom": "npm:types-react-dom@19.0.0",
21+
"@types/react": "19.0.1",
22+
"@types/react-dom": "19.0.1",
2323
"eslint": "8.50.0",
2424
"happy-dom": "15.10.2",
2525
"prettier": "3.0.3",
@@ -30,11 +30,5 @@
3030
"vite": "5.4.6",
3131
"vitest": "2.0.5"
3232
},
33-
"packageManager": "pnpm@9.14.2+sha512.6e2baf77d06b9362294152c851c4f278ede37ab1eba3a55fda317a4a17b209f4dbb973fb250a77abc463a341fcb1f17f17cfa24091c4eb319cda0d9b84278387",
34-
"pnpm": {
35-
"overrides": {
36-
"@types/react": "npm:types-react@19.0.0-rc.1",
37-
"@types/react-dom": "npm:types-react-dom@19.0.0"
38-
}
39-
}
33+
"packageManager": "pnpm@9.14.2+sha512.6e2baf77d06b9362294152c851c4f278ede37ab1eba3a55fda317a4a17b209f4dbb973fb250a77abc463a341fcb1f17f17cfa24091c4eb319cda0d9b84278387"
4034
}

‎packages/create-email/template/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
},
1010
"dependencies": {
1111
"@react-email/components": "workspace:0.0.30",
12-
"react-dom": "18.3.1",
13-
"react": "18.3.1"
12+
"react-dom": "19.0.0",
13+
"react": "19.0.0"
1414
},
1515
"devDependencies": {
16-
"@types/react": "18.3.4",
17-
"@types/react-dom": "18.3.0",
16+
"@types/react": "19.0.1",
17+
"@types/react-dom": "19.0.1",
1818
"react-email": "workspace:3.0.3"
1919
}
2020
}

‎packages/react-email/package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"glob": "10.3.4",
3838
"log-symbols": "4.1.0",
3939
"mime-types": "2.1.35",
40-
"next": "14.2.16",
40+
"next": "15.0.4",
Has a conversation. Original line has a conversation.
4141
"normalize-path": "3.0.0",
4242
"ora": "5.4.1",
4343
"socket.io": "4.8.0"
@@ -56,23 +56,23 @@
5656
"@types/mime-types": "2.1.4",
5757
"@types/node": "18.0.0",
5858
"@types/normalize-path": "3.0.2",
59-
"@types/react": "^18.2.0",
60-
"@types/react-dom": "^18.2.0",
59+
"@types/react": "^19",
60+
"@types/react-dom": "^19",
6161
"@types/webpack": "5.28.5",
6262
"@vercel/style-guide": "5.1.0",
6363
"autoprefixer": "10.4.14",
6464
"clsx": "2.1.0",
6565
"eslint": "8.50.0",
6666
"eslint-config-prettier": "9.0.0",
6767
"eslint-config-turbo": "2.1.0",
68-
"framer-motion": "12.0.0-alpha.0",
68+
"framer-motion": "12.0.0-alpha.2",
6969
"postcss": "8.4.40",
7070
"prism-react-renderer": "2.1.0",
71-
"react": "18.3.1",
72-
"react-dom": "18.3.1",
71+
"react": "^19",
Has a conversation. Original line has a conversation.
72+
"react-dom": "^19",
7373
"sharp": "0.33.3",
7474
"socket.io-client": "4.8.0",
75-
"sonner": "1.3.1",
75+
"sonner": "1.7.1",
7676
"source-map-js": "1.0.2",
7777
"stacktrace-parser": "0.1.10",
7878
"tailwind-merge": "2.2.0",

‎packages/tailwind/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"eslint-plugin-regex": "1.10.0",
6262
"postcss": "8.4.40",
6363
"postcss-selector-parser": "6.0.16",
64-
"react-dom": "19.0.0-rc-02c0e824-20241028",
64+
"react-dom": "^19",
6565
"shelljs": "0.8.5",
6666
"tailwindcss": "3.4.10",
6767
"tsconfig": "workspace:*",

‎pnpm-lock.yaml

+942-1,189
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

1 commit comments

Comments
 (1)

vercel[bot] commented on Dec 9, 2024

@vercel[bot]

Successfully deployed to the following URLs:

react-email-demo – ./apps/demo

react-email-demo-resend.vercel.app
react-email-demo.vercel.app
demo.react.email
react-email-demo-git-main-resend.vercel.app

Please sign in to comment.