Skip to content

Commit 0d52803

Browse files
authored
chore: Upgrade docs, examples and tests to React 18.3 (#1026)
1 parent 0bb5827 commit 0d52803

File tree

12 files changed

+697
-273
lines changed

12 files changed

+697
-273
lines changed

docs/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
"next": "^14.2.1",
2121
"nextra": "^2.13.2",
2222
"nextra-theme-docs": "^2.13.2",
23-
"react": "^18.2.0",
24-
"react-dom": "^18.2.0",
23+
"react": "^18.3.0",
24+
"react-dom": "^18.3.0",
2525
"tailwindcss": "^3.3.2"
2626
},
2727
"devDependencies": {
2828
"@types/node": "^20.1.2",
29-
"@types/react": "^18.2.29",
29+
"@types/react": "^18.3.0",
3030
"autoprefixer": "^10.4.0",
3131
"eslint": "^8.54.0",
3232
"eslint-config-molindo": "^7.0.0",

examples/example-app-router-migration/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
"dependencies": {
1313
"next": "^14.2.1",
1414
"next-intl": "latest",
15-
"react": "^18.2.0",
16-
"react-dom": "^18.2.0"
15+
"react": "^18.3.0",
16+
"react-dom": "^18.3.0"
1717
},
1818
"devDependencies": {
1919
"@types/lodash": "^4.14.176",
2020
"@types/node": "^20.1.2",
21-
"@types/react": "^18.2.29",
21+
"@types/react": "^18.3.0",
2222
"eslint": "^8.54.0",
2323
"eslint-config-molindo": "^7.0.0",
2424
"eslint-config-next": "^14.0.3",

examples/example-app-router-next-auth/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
"next": "^14.2.1",
1414
"next-auth": "^4.24.4",
1515
"next-intl": "latest",
16-
"react": "^18.2.0",
17-
"react-dom": "^18.2.0"
16+
"react": "^18.3.0",
17+
"react-dom": "^18.3.0"
1818
},
1919
"devDependencies": {
2020
"@playwright/test": "^1.41.2",
2121
"@types/lodash": "^4.14.176",
2222
"@types/node": "^20.1.2",
23-
"@types/react": "^18.2.29",
23+
"@types/react": "^18.3.0",
2424
"eslint": "^8.54.0",
2525
"eslint-config-molindo": "^7.0.0",
2626
"eslint-config-next": "^14.0.3",

examples/example-app-router-playground/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"ms": "2.1.3",
1818
"next": "^14.2.1",
1919
"next-intl": "latest",
20-
"react": "^18.2.0",
21-
"react-dom": "^18.2.0"
20+
"react": "^18.3.0",
21+
"react-dom": "^18.3.0"
2222
},
2323
"devDependencies": {
2424
"@jest/globals": "^29.5.0",
@@ -27,7 +27,7 @@
2727
"@types/jest": "^29.5.0",
2828
"@types/lodash": "^4.14.176",
2929
"@types/node": "^20.1.2",
30-
"@types/react": "^18.2.29",
30+
"@types/react": "^18.3.0",
3131
"chokidar-cli": "3.0.0",
3232
"eslint": "^8.54.0",
3333
"eslint-config-molindo": "^7.0.0",

examples/example-app-router/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"clsx": "^1.2.1",
1616
"next": "^14.2.1",
1717
"next-intl": "latest",
18-
"react": "^18.2.0",
19-
"react-dom": "^18.2.0",
18+
"react": "^18.3.0",
19+
"react-dom": "^18.3.0",
2020
"tailwindcss": "^3.3.2"
2121
},
2222
"devDependencies": {
@@ -26,7 +26,7 @@
2626
"@types/jest": "^29.5.0",
2727
"@types/lodash": "^4.14.176",
2828
"@types/node": "^20.1.2",
29-
"@types/react": "^18.2.29",
29+
"@types/react": "^18.3.0",
3030
"autoprefixer": "^10.4.0",
3131
"eslint": "^8.54.0",
3232
"eslint-config-molindo": "^7.0.0",

examples/example-pages-router-advanced/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414
"lodash": "^4.17.21",
1515
"next": "^14.2.1",
1616
"next-intl": "latest",
17-
"react": "^18.2.0",
18-
"react-dom": "^18.2.0"
17+
"react": "^18.3.0",
18+
"react-dom": "^18.3.0"
1919
},
2020
"devDependencies": {
2121
"@testing-library/react": "^13.0.0",
2222
"@types/accept-language-parser": "^1.5.3",
2323
"@types/jest": "^29.5.1",
2424
"@types/lodash": "^4.14.176",
2525
"@types/node": "^20.1.2",
26-
"@types/react": "^18.2.29",
26+
"@types/react": "^18.3.0",
2727
"eslint": "^8.54.0",
2828
"eslint-config-molindo": "^7.0.0",
2929
"eslint-config-next": "^14.0.3",

examples/example-pages-router/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
"date-fns": "^2.16.1",
1414
"next": "^14.2.1",
1515
"next-intl": "latest",
16-
"react": "^18.2.0",
17-
"react-dom": "^18.2.0"
16+
"react": "^18.3.0",
17+
"react-dom": "^18.3.0"
1818
},
1919
"devDependencies": {
2020
"@types/lodash": "^4.14.176",
2121
"@types/node": "^20.1.2",
22-
"@types/react": "^18.2.29",
22+
"@types/react": "^18.3.0",
2323
"eslint": "^8.54.0",
2424
"eslint-config-molindo": "^7.0.0",
2525
"eslint-config-next": "^14.0.3",

examples/example-remix/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
"@remix-run/react": "^1.15.0",
1515
"@remix-run/serve": "^1.15.0",
1616
"accept-language-parser": "^1.5.0",
17-
"react": "^18.2.0",
18-
"react-dom": "^18.2.0",
17+
"react": "^18.3.0",
18+
"react-dom": "^18.3.0",
1919
"use-intl": "^2.14.3"
2020
},
2121
"devDependencies": {
2222
"@remix-run/dev": "^1.15.0",
2323
"@types/accept-language-parser": "^1.5.3",
24-
"@types/react": "^18.2.29",
25-
"@types/react-dom": "^18.2.1",
24+
"@types/react": "^18.3.0",
25+
"@types/react-dom": "^18.3.0",
2626
"eslint": "^8.54.0",
2727
"eslint-config-molindo": "^7.0.0",
2828
"typescript": "^5.2.2"

examples/example-use-intl/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
"preview": "vite preview"
1111
},
1212
"dependencies": {
13-
"react": "^18.2.0",
14-
"react-dom": "^18.2.0",
13+
"react": "^18.3.0",
14+
"react-dom": "^18.3.0",
1515
"use-intl": "latest"
1616
},
1717
"devDependencies": {
18-
"@types/react": "^18.2.55",
19-
"@types/react-dom": "^18.2.19",
18+
"@types/react": "^18.3.0",
19+
"@types/react-dom": "^18.3.0",
2020
"@vitejs/plugin-react": "^4.2.1",
2121
"eslint-config-molindo": "^7.0.0",
2222
"eslint": "^8.56.0",

packages/next-intl/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -95,16 +95,16 @@
9595
"@testing-library/react": "^13.0.0",
9696
"@types/negotiator": "^0.6.1",
9797
"@types/node": "^20.1.2",
98-
"@types/react": "18.2.34",
99-
"@types/react-dom": "^18.2.17",
98+
"@types/react": "^18.3.0",
99+
"@types/react-dom": "^18.3.0",
100100
"eslint": "^8.54.0",
101101
"eslint-config-molindo": "^7.0.0",
102102
"eslint-plugin-deprecation": "^1.4.1",
103103
"next": "^14.2.1",
104104
"path-to-regexp": "^6.2.1",
105105
"publint": "^0.2.7",
106-
"react": "^18.2.0",
107-
"react-dom": "^18.2.0",
106+
"react": "^18.3.0",
107+
"react-dom": "^18.3.0",
108108
"rollup": "^3.28.1",
109109
"rollup-plugin-preserve-directives": "0.2.0",
110110
"size-limit": "^8.2.6",

packages/use-intl/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,14 @@
7474
"@size-limit/preset-big-lib": "^8.2.6",
7575
"@testing-library/react": "^13.0.0",
7676
"@types/node": "^20.1.2",
77-
"@types/react": "^18.2.29",
78-
"@types/react-dom": "^18.2.5",
77+
"@types/react": "^18.3.0",
78+
"@types/react-dom": "^18.3.0",
7979
"date-fns": "^2.16.1",
8080
"eslint": "^8.54.0",
8181
"eslint-config-molindo": "^7.0.0",
8282
"publint": "^0.2.7",
83-
"react": "^18.2.0",
84-
"react-dom": "^18.2.0",
83+
"react": "^18.3.0",
84+
"react-dom": "^18.3.0",
8585
"rollup": "^3.28.1",
8686
"size-limit": "^8.2.6",
8787
"typescript": "^5.2.2",

0 commit comments

Comments
 (0)