Skip to content

Commit 5070e76

Browse files
committed
update next & react versions (#5640)
closes: CNCT-2563 <!-- start pr-codex --> --- ## PR-Codex overview This PR updates various dependencies to ensure compatibility with `react 19`, including explicitly setting peer dependencies and updating package versions across multiple files. ### Detailed summary - Updated `@types/react` and `@types/react-dom` to `19.0.0`. - Changed `react` and `react-dom` versions to `19.0.0`. - Updated `next` versions from `15.0.3` to `15.0.4`. - Updated `shiki` versions from `1.22.2` to `1.24.0`. - Updated `@next/eslint-plugin-next` and `@next/mdx` versions to `15.0.4`. > The following files were skipped due to too many changes: `pnpm-lock.yaml` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent d1716fc commit 5070e76

File tree

8 files changed

+1441
-1663
lines changed

8 files changed

+1441
-1663
lines changed

.changeset/ninety-foxes-refuse.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"thirdweb": patch
3+
---
4+
5+
accept `react 19` as peer explicitly

apps/dashboard/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"ioredis": "^5.4.1",
6868
"ipaddr.js": "^2.2.0",
6969
"lucide-react": "0.468.0",
70-
"next": "15.0.3",
70+
"next": "15.0.4",
7171
"next-plausible": "^3.12.4",
7272
"next-seo": "^6.5.0",
7373
"next-themes": "^0.4.4",
@@ -76,10 +76,10 @@
7676
"pluralize": "^8.0.0",
7777
"posthog-js": "1.67.1",
7878
"qrcode": "^1.5.3",
79-
"react": "19.0.0-rc-69d4b800-20241021",
79+
"react": "19.0.0",
8080
"react-children-utilities": "^2.10.0",
8181
"react-day-picker": "^8.10.1",
82-
"react-dom": "19.0.0-rc-69d4b800-20241021",
82+
"react-dom": "19.0.0",
8383
"react-dropzone": "^14.3.5",
8484
"react-error-boundary": "^4.1.2",
8585
"react-hook-form": "7.53.2",
@@ -88,7 +88,7 @@
8888
"recharts": "^2.13.3",
8989
"remark-gfm": "^4.0.0",
9090
"server-only": "^0.0.1",
91-
"shiki": "1.22.2",
91+
"shiki": "1.24.0",
9292
"sonner": "^1.7.0",
9393
"spdx-correct": "^3.2.0",
9494
"swagger-ui-react": "^5.18.2",
@@ -102,8 +102,8 @@
102102
"devDependencies": {
103103
"@chakra-ui/cli": "^2.4.1",
104104
"@chromatic-com/storybook": "3.2.2",
105-
"@next/bundle-analyzer": "15.0.3",
106-
"@next/eslint-plugin-next": "15.0.3",
105+
"@next/bundle-analyzer": "15.0.4",
106+
"@next/eslint-plugin-next": "15.0.4",
107107
"@playwright/test": "1.49.0",
108108
"@storybook/addon-essentials": "8.4.7",
109109
"@storybook/addon-interactions": "8.4.7",
@@ -119,8 +119,8 @@
119119
"@types/papaparse": "^5.3.15",
120120
"@types/pluralize": "^0.0.33",
121121
"@types/qrcode": "^1.5.5",
122-
"@types/react": "npm:types-react@19.0.0-rc.1",
123-
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
122+
"@types/react": "19.0.0",
123+
"@types/react-dom": "19.0.0",
124124
"@types/react-table": "^7.7.20",
125125
"@types/spdx-correct": "^3.1.3",
126126
"@types/swagger-ui-react": "^4.18.3",

apps/playground-web/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,25 +32,25 @@
3232
"class-variance-authority": "^0.7.1",
3333
"clsx": "^2.1.1",
3434
"lucide-react": "0.468.0",
35-
"next": "15.0.3",
35+
"next": "15.0.4",
3636
"next-themes": "^0.4.4",
3737
"prettier": "3.3.3",
38-
"react": "19.0.0-rc-69d4b800-20241021",
39-
"react-dom": "19.0.0-rc-69d4b800-20241021",
38+
"react": "19.0.0",
39+
"react-dom": "19.0.0",
4040
"react-pick-color": "^2.0.0",
4141
"server-only": "^0.0.1",
42-
"shiki": "1.22.2",
42+
"shiki": "1.24.0",
4343
"tailwind-merge": "^2.5.5",
4444
"thirdweb": "workspace:*",
4545
"timeago.js": "^4.0.2",
4646
"use-debounce": "^10.0.4"
4747
},
4848
"devDependencies": {
4949
"@types/node": "22.10.1",
50-
"@types/react": "npm:types-react@19.0.0-rc.1",
51-
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
50+
"@types/react": "19.0.0",
51+
"@types/react-dom": "19.0.0",
5252
"eslint": "8.57.0",
53-
"eslint-config-next": "15.0.3",
53+
"eslint-config-next": "15.0.4",
5454
"eslint-plugin-react-compiler": "19.0.0-beta-df7b47d-20241124",
5555
"postcss": "8.4.49",
5656
"tailwindcss": "3.4.16",

apps/portal/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@dirtycajunrice/klee": "^1.0.5",
2020
"@mdx-js/loader": "^2.3.0",
2121
"@mdx-js/react": "^2.3.0",
22-
"@next/mdx": "15.0.3",
22+
"@next/mdx": "15.0.4",
2323
"@radix-ui/react-dialog": "1.1.2",
2424
"@radix-ui/react-dropdown-menu": "^2.1.2",
2525
"@radix-ui/react-slot": "^1.1.0",
@@ -33,18 +33,18 @@
3333
"flexsearch": "^0.7.43",
3434
"github-slugger": "^2.0.0",
3535
"lucide-react": "0.468.0",
36-
"next": "15.0.3",
36+
"next": "15.0.4",
3737
"nextjs-toploader": "^1.6.12",
3838
"node-html-parser": "^6.1.13",
3939
"posthog-js": "1.67.1",
4040
"prettier": "3.3.3",
41-
"react": "19.0.0-rc-69d4b800-20241021",
42-
"react-dom": "19.0.0-rc-69d4b800-20241021",
41+
"react": "19.0.0",
42+
"react-dom": "19.0.0",
4343
"react-html-parser": "2.0.2",
4444
"remark-gfm": "3.0.1",
4545
"semver": "^7.6.0",
4646
"server-only": "^0.0.1",
47-
"shiki": "1.22.2",
47+
"shiki": "1.24.0",
4848
"tailwind-merge": "^2.5.5",
4949
"tailwindcss-animate": "^1.0.7",
5050
"thirdweb": "workspace:*",
@@ -55,16 +55,16 @@
5555
"@types/flexsearch": "^0.7.6",
5656
"@types/mdx": "^2.0.13",
5757
"@types/node": "22.10.1",
58-
"@types/react": "npm:types-react@19.0.0-rc.1",
59-
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
58+
"@types/react": "19.0.0",
59+
"@types/react-dom": "19.0.0",
6060
"@types/react-html-parser": "^2.0.6",
6161
"@types/tryghost__content-api": "^1.3.16",
6262
"@typescript-eslint/eslint-plugin": "7.14.1",
6363
"@typescript-eslint/parser": "7.14.1",
6464
"autoprefixer": "^10.4.19",
6565
"eslint": "8.57.0",
6666
"eslint-config-biome": "1.9.4",
67-
"eslint-config-next": "15.0.3",
67+
"eslint-config-next": "15.0.4",
6868
"eslint-plugin-mdx": "^3.1.5",
6969
"eslint-plugin-svg-jsx": "^1.2.4",
7070
"eslint-plugin-tailwindcss": "^3.17.5",

apps/wallet-ui/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
"clsx": "^2.1.1",
2222
"cmdk": "^1.0.4",
2323
"lucide-react": "0.468.0",
24-
"next": "15.0.3",
24+
"next": "15.0.4",
2525
"next-themes": "^0.4.4",
26-
"react": "19.0.0-rc-69d4b800-20241021",
27-
"react-dom": "19.0.0-rc-69d4b800-20241021",
26+
"react": "19.0.0",
27+
"react-dom": "19.0.0",
2828
"react-hook-form": "7.53.2",
2929
"server-only": "^0.0.1",
3030
"sonner": "^1.7.0",
@@ -35,10 +35,10 @@
3535
"zod": "3.23.8"
3636
},
3737
"devDependencies": {
38-
"@next/eslint-plugin-next": "15.0.3",
38+
"@next/eslint-plugin-next": "15.0.4",
3939
"@types/node": "22.10.1",
40-
"@types/react": "npm:types-react@19.0.0-rc.1",
41-
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
40+
"@types/react": "19.0.0",
41+
"@types/react-dom": "19.0.0",
4242
"@typescript-eslint/eslint-plugin": "7.14.1",
4343
"@typescript-eslint/parser": "7.14.1",
4444
"eslint": "8.57.0",

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@
7777
"elliptic@<6.5.7": "^6.5.7",
7878
"cookie@<0.7.0": "^0.7.0",
7979
"elliptic@<6.6.0": "^6.6.0",
80-
"@types/react": "npm:types-react@19.0.0-rc.1",
81-
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
80+
"@types/react": "19.0.0",
81+
"@types/react-dom": "19.0.0",
8282
"cross-spawn@<6.0.6": "^6.0.6",
8383
"smol-toml@<1.3.1": "^1.3.1"
8484
}

packages/thirdweb/package.json

Lines changed: 22 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -127,60 +127,24 @@
127127
},
128128
"typesVersions": {
129129
"*": {
130-
"adapters/*": [
131-
"./dist/types/exports/adapters/*.d.ts"
132-
],
133-
"auth": [
134-
"./dist/types/exports/auth.d.ts"
135-
],
136-
"chains": [
137-
"./dist/types/exports/chains.d.ts"
138-
],
139-
"contract": [
140-
"./dist/types/exports/contract.d.ts"
141-
],
142-
"deploys": [
143-
"./dist/types/exports/deploys.d.ts"
144-
],
145-
"event": [
146-
"./dist/types/exports/event.d.ts"
147-
],
148-
"extensions/*": [
149-
"./dist/types/exports/extensions/*.d.ts"
150-
],
151-
"pay": [
152-
"./dist/types/exports/pay.d.ts"
153-
],
154-
"react": [
155-
"./dist/types/exports/react.d.ts"
156-
],
157-
"react-native": [
158-
"./dist/types/exports/react-native.d.ts"
159-
],
160-
"rpc": [
161-
"./dist/types/exports/rpc.d.ts"
162-
],
163-
"storage": [
164-
"./dist/types/exports/storage.d.ts"
165-
],
166-
"transaction": [
167-
"./dist/types/exports/transaction.d.ts"
168-
],
169-
"utils": [
170-
"./dist/types/exports/utils.d.ts"
171-
],
172-
"wallets": [
173-
"./dist/types/exports/wallets.d.ts"
174-
],
175-
"wallets/*": [
176-
"./dist/types/exports/wallets/*.d.ts"
177-
],
178-
"modules": [
179-
"./dist/types/exports/modules.d.ts"
180-
],
181-
"social": [
182-
"./dist/types/exports/social.d.ts"
183-
]
130+
"adapters/*": ["./dist/types/exports/adapters/*.d.ts"],
131+
"auth": ["./dist/types/exports/auth.d.ts"],
132+
"chains": ["./dist/types/exports/chains.d.ts"],
133+
"contract": ["./dist/types/exports/contract.d.ts"],
134+
"deploys": ["./dist/types/exports/deploys.d.ts"],
135+
"event": ["./dist/types/exports/event.d.ts"],
136+
"extensions/*": ["./dist/types/exports/extensions/*.d.ts"],
137+
"pay": ["./dist/types/exports/pay.d.ts"],
138+
"react": ["./dist/types/exports/react.d.ts"],
139+
"react-native": ["./dist/types/exports/react-native.d.ts"],
140+
"rpc": ["./dist/types/exports/rpc.d.ts"],
141+
"storage": ["./dist/types/exports/storage.d.ts"],
142+
"transaction": ["./dist/types/exports/transaction.d.ts"],
143+
"utils": ["./dist/types/exports/utils.d.ts"],
144+
"wallets": ["./dist/types/exports/wallets.d.ts"],
145+
"wallets/*": ["./dist/types/exports/wallets/*.d.ts"],
146+
"modules": ["./dist/types/exports/modules.d.ts"],
147+
"social": ["./dist/types/exports/social.d.ts"]
184148
}
185149
},
186150
"browser": {
@@ -230,7 +194,7 @@
230194
"ethers": "^5 || ^6",
231195
"expo-linking": "^6",
232196
"expo-web-browser": "^13 || ^14",
233-
"react": ">=18",
197+
"react": "^18 || ^19",
234198
"react-native": "*",
235199
"react-native-aes-gcm-crypto": "^0.2",
236200
"react-native-passkey": "^3",
@@ -341,7 +305,7 @@
341305
"@testing-library/react": "^16.1.0",
342306
"@testing-library/user-event": "^14.5.2",
343307
"@types/cross-spawn": "^6.0.6",
344-
"@types/react": "npm:types-react@19.0.0-rc.1",
308+
"@types/react": "19.0.0",
345309
"@viem/anvil": "0.0.10",
346310
"@vitejs/plugin-react": "^4.3.4",
347311
"@vitest/coverage-v8": "2.1.8",
@@ -356,8 +320,8 @@
356320
"knip": "5.39.2",
357321
"msw": "2.6.6",
358322
"prettier": "3.3.3",
359-
"react": "19.0.0-rc-69d4b800-20241021",
360-
"react-dom": "19.0.0-rc-69d4b800-20241021",
323+
"react": "19.0.0",
324+
"react-dom": "19.0.0",
361325
"react-native": "0.76.3",
362326
"react-native-aes-gcm-crypto": "0.2.2",
363327
"react-native-passkey": "3.0.0",

0 commit comments

Comments
 (0)