Skip to content

Commit

Permalink
chore: Upgrade docs, examples and tests to React 18.3 (#1026)
Browse files Browse the repository at this point in the history
  • Loading branch information
amannn committed Apr 26, 2024
1 parent 0bb5827 commit 0d52803
Show file tree
Hide file tree
Showing 12 changed files with 697 additions and 273 deletions.
6 changes: 3 additions & 3 deletions docs/package.json
Expand Up @@ -20,13 +20,13 @@
"next": "^14.2.1",
"nextra": "^2.13.2",
"nextra-theme-docs": "^2.13.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"tailwindcss": "^3.3.2"
},
"devDependencies": {
"@types/node": "^20.1.2",
"@types/react": "^18.2.29",
"@types/react": "^18.3.0",
"autoprefixer": "^10.4.0",
"eslint": "^8.54.0",
"eslint-config-molindo": "^7.0.0",
Expand Down
6 changes: 3 additions & 3 deletions examples/example-app-router-migration/package.json
Expand Up @@ -12,13 +12,13 @@
"dependencies": {
"next": "^14.2.1",
"next-intl": "latest",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.3.0",
"react-dom": "^18.3.0"
},
"devDependencies": {
"@types/lodash": "^4.14.176",
"@types/node": "^20.1.2",
"@types/react": "^18.2.29",
"@types/react": "^18.3.0",
"eslint": "^8.54.0",
"eslint-config-molindo": "^7.0.0",
"eslint-config-next": "^14.0.3",
Expand Down
6 changes: 3 additions & 3 deletions examples/example-app-router-next-auth/package.json
Expand Up @@ -13,14 +13,14 @@
"next": "^14.2.1",
"next-auth": "^4.24.4",
"next-intl": "latest",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.3.0",
"react-dom": "^18.3.0"
},
"devDependencies": {
"@playwright/test": "^1.41.2",
"@types/lodash": "^4.14.176",
"@types/node": "^20.1.2",
"@types/react": "^18.2.29",
"@types/react": "^18.3.0",
"eslint": "^8.54.0",
"eslint-config-molindo": "^7.0.0",
"eslint-config-next": "^14.0.3",
Expand Down
6 changes: 3 additions & 3 deletions examples/example-app-router-playground/package.json
Expand Up @@ -17,8 +17,8 @@
"ms": "2.1.3",
"next": "^14.2.1",
"next-intl": "latest",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.3.0",
"react-dom": "^18.3.0"
},
"devDependencies": {
"@jest/globals": "^29.5.0",
Expand All @@ -27,7 +27,7 @@
"@types/jest": "^29.5.0",
"@types/lodash": "^4.14.176",
"@types/node": "^20.1.2",
"@types/react": "^18.2.29",
"@types/react": "^18.3.0",
"chokidar-cli": "3.0.0",
"eslint": "^8.54.0",
"eslint-config-molindo": "^7.0.0",
Expand Down
6 changes: 3 additions & 3 deletions examples/example-app-router/package.json
Expand Up @@ -15,8 +15,8 @@
"clsx": "^1.2.1",
"next": "^14.2.1",
"next-intl": "latest",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"tailwindcss": "^3.3.2"
},
"devDependencies": {
Expand All @@ -26,7 +26,7 @@
"@types/jest": "^29.5.0",
"@types/lodash": "^4.14.176",
"@types/node": "^20.1.2",
"@types/react": "^18.2.29",
"@types/react": "^18.3.0",
"autoprefixer": "^10.4.0",
"eslint": "^8.54.0",
"eslint-config-molindo": "^7.0.0",
Expand Down
6 changes: 3 additions & 3 deletions examples/example-pages-router-advanced/package.json
Expand Up @@ -14,16 +14,16 @@
"lodash": "^4.17.21",
"next": "^14.2.1",
"next-intl": "latest",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.3.0",
"react-dom": "^18.3.0"
},
"devDependencies": {
"@testing-library/react": "^13.0.0",
"@types/accept-language-parser": "^1.5.3",
"@types/jest": "^29.5.1",
"@types/lodash": "^4.14.176",
"@types/node": "^20.1.2",
"@types/react": "^18.2.29",
"@types/react": "^18.3.0",
"eslint": "^8.54.0",
"eslint-config-molindo": "^7.0.0",
"eslint-config-next": "^14.0.3",
Expand Down
6 changes: 3 additions & 3 deletions examples/example-pages-router/package.json
Expand Up @@ -13,13 +13,13 @@
"date-fns": "^2.16.1",
"next": "^14.2.1",
"next-intl": "latest",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.3.0",
"react-dom": "^18.3.0"
},
"devDependencies": {
"@types/lodash": "^4.14.176",
"@types/node": "^20.1.2",
"@types/react": "^18.2.29",
"@types/react": "^18.3.0",
"eslint": "^8.54.0",
"eslint-config-molindo": "^7.0.0",
"eslint-config-next": "^14.0.3",
Expand Down
8 changes: 4 additions & 4 deletions examples/example-remix/package.json
Expand Up @@ -14,15 +14,15 @@
"@remix-run/react": "^1.15.0",
"@remix-run/serve": "^1.15.0",
"accept-language-parser": "^1.5.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"use-intl": "^2.14.3"
},
"devDependencies": {
"@remix-run/dev": "^1.15.0",
"@types/accept-language-parser": "^1.5.3",
"@types/react": "^18.2.29",
"@types/react-dom": "^18.2.1",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"eslint": "^8.54.0",
"eslint-config-molindo": "^7.0.0",
"typescript": "^5.2.2"
Expand Down
8 changes: 4 additions & 4 deletions examples/example-use-intl/package.json
Expand Up @@ -10,13 +10,13 @@
"preview": "vite preview"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"use-intl": "latest"
},
"devDependencies": {
"@types/react": "^18.2.55",
"@types/react-dom": "^18.2.19",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.2.1",
"eslint-config-molindo": "^7.0.0",
"eslint": "^8.56.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/next-intl/package.json
Expand Up @@ -95,16 +95,16 @@
"@testing-library/react": "^13.0.0",
"@types/negotiator": "^0.6.1",
"@types/node": "^20.1.2",
"@types/react": "18.2.34",
"@types/react-dom": "^18.2.17",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"eslint": "^8.54.0",
"eslint-config-molindo": "^7.0.0",
"eslint-plugin-deprecation": "^1.4.1",
"next": "^14.2.1",
"path-to-regexp": "^6.2.1",
"publint": "^0.2.7",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"rollup": "^3.28.1",
"rollup-plugin-preserve-directives": "0.2.0",
"size-limit": "^8.2.6",
Expand Down
8 changes: 4 additions & 4 deletions packages/use-intl/package.json
Expand Up @@ -74,14 +74,14 @@
"@size-limit/preset-big-lib": "^8.2.6",
"@testing-library/react": "^13.0.0",
"@types/node": "^20.1.2",
"@types/react": "^18.2.29",
"@types/react-dom": "^18.2.5",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"date-fns": "^2.16.1",
"eslint": "^8.54.0",
"eslint-config-molindo": "^7.0.0",
"publint": "^0.2.7",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"rollup": "^3.28.1",
"size-limit": "^8.2.6",
"typescript": "^5.2.2",
Expand Down

0 comments on commit 0d52803

Please sign in to comment.