Skip to content

Commit

Permalink
chore: react 18.3, next upgrade (#1948)
Browse files Browse the repository at this point in the history
* chore: upgrade react to 18.3

* chore: raise react peer minimum

* chore: upgrade next
  • Loading branch information
DanielSinclair committed Apr 29, 2024
1 parent 44251b9 commit 6360304
Show file tree
Hide file tree
Showing 21 changed files with 583 additions and 629 deletions.
6 changes: 3 additions & 3 deletions examples/with-create-react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.2",
"@types/node": "^18.19.3",
"@types/react": "^18.2.64",
"react-dom": "^18.2.0",
"@types/react": "^18.3.0",
"react-dom": "^18.3.0",
"react-scripts": "5.0.1",
"react": "^18.2.0",
"react": "^18.3.0",
"typescript": "5.4.2",
"util": "0.12.4",
"viem": "^2.8.12",
Expand Down
12 changes: 6 additions & 6 deletions examples/with-next-app-i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@
},
"dependencies": {
"@rainbow-me/rainbowkit": "workspace:*",
"next": "^14.1.3",
"next": "^14.2.3",
"next-intl": "^3.9.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"viem": "^2.8.12",
"wagmi": "^2.5.11",
"@tanstack/react-query": "^5.28.4"
},
"devDependencies": {
"@types/node": "^18.19.3",
"@types/react": "^18.2.64",
"@types/react": "^18.3.0",
"eslint": "^8.15.0",
"eslint-config-next": "^14.1.3",
"next": "^14.1.3",
"eslint-config-next": "^14.2.3",
"next": "^14.2.3",
"typescript": "5.4.2"
},
"engines": {
Expand Down
12 changes: 6 additions & 6 deletions examples/with-next-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@
},
"dependencies": {
"@rainbow-me/rainbowkit": "workspace:*",
"next": "^14.1.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"next": "^14.2.3",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"viem": "^2.8.12",
"wagmi": "^2.5.11",
"@tanstack/react-query": "^5.28.4"
},
"devDependencies": {
"@types/node": "^18.19.3",
"@types/react": "^18.2.64",
"@types/react": "^18.3.0",
"eslint": "^8.15.0",
"eslint-config-next": "^14.1.3",
"next": "^14.1.3",
"eslint-config-next": "^14.2.3",
"next": "^14.2.3",
"typescript": "5.4.2"
},
"engines": {
Expand Down
10 changes: 5 additions & 5 deletions examples/with-next-custom-button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@
},
"dependencies": {
"@rainbow-me/rainbowkit": "workspace:*",
"next": "^14.1.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"next": "^14.2.3",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"viem": "^2.8.12",
"wagmi": "^2.5.11",
"@tanstack/react-query": "^5.28.4"
},
"devDependencies": {
"@types/node": "^18.19.3",
"@types/react": "^18.2.64",
"@types/react": "^18.3.0",
"eslint": "^8.15.0",
"eslint-config-next": "^14.1.3",
"eslint-config-next": "^14.2.3",
"typescript": "5.4.2"
}
}
10 changes: 5 additions & 5 deletions examples/with-next-mint-nft/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@
"dependencies": {
"@rainbow-me/rainbowkit": "workspace:*",
"framer-motion": "^6.3.3",
"next": "^14.1.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"next": "^14.2.3",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"viem": "^2.8.12",
"wagmi": "^2.5.11",
"@tanstack/react-query": "^5.28.4"
},
"devDependencies": {
"@types/node": "^18.19.3",
"@types/react": "^18.2.64",
"@types/react": "^18.3.0",
"eslint": "^8.15.0",
"eslint-config-next": "^14.1.3",
"eslint-config-next": "^14.2.3",
"typescript": "5.4.2"
}
}
10 changes: 5 additions & 5 deletions examples/with-next-rainbow-button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@
},
"dependencies": {
"@rainbow-me/rainbow-button": "workspace:*",
"next": "^14.1.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"next": "^14.2.3",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"viem": "^2.8.12",
"wagmi": "^2.5.11",
"@tanstack/react-query": "^5.28.4"
},
"devDependencies": {
"@types/node": "^18.19.3",
"@types/react": "^18.2.64",
"@types/react": "^18.3.0",
"eslint": "^8.15.0",
"eslint-config-next": "^14.1.3",
"eslint-config-next": "^14.2.3",
"typescript": "5.4.2"
}
}
10 changes: 5 additions & 5 deletions examples/with-next-siwe-iron-session/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@
"@rainbow-me/rainbowkit": "workspace:*",
"ethers": "^5.6.8",
"iron-session": "^6.3.1",
"next": "^14.1.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"next": "^14.2.3",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"siwe": "^2.1.4",
"viem": "^2.8.12",
"wagmi": "^2.5.11",
"@tanstack/react-query": "^5.28.4"
},
"devDependencies": {
"@types/node": "^18.19.3",
"@types/react": "^18.2.64",
"@types/react": "^18.3.0",
"eslint": "^8.15.0",
"eslint-config-next": "^14.1.3",
"eslint-config-next": "^14.2.3",
"typescript": "5.4.2"
}
}
10 changes: 5 additions & 5 deletions examples/with-next-siwe-next-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@
"@rainbow-me/rainbowkit": "workspace:*",
"@rainbow-me/rainbowkit-siwe-next-auth": "workspace:*",
"ethers": "^5.6.8",
"next": "^14.1.3",
"next": "^14.2.3",
"next-auth": "4.24.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"siwe": "^2.1.4",
"viem": "^2.8.12",
"wagmi": "^2.5.11",
"@tanstack/react-query": "^5.28.4"
},
"devDependencies": {
"@types/node": "^18.19.3",
"@types/react": "^18.2.64",
"@types/react": "^18.3.0",
"eslint": "^8.15.0",
"eslint-config-next": "^14.1.3",
"eslint-config-next": "^14.2.3",
"typescript": "5.4.2"
}
}
10 changes: 5 additions & 5 deletions examples/with-next-wallet-button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@
},
"dependencies": {
"@rainbow-me/rainbowkit": "workspace:*",
"next": "^14.1.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"next": "^14.2.3",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"viem": "^2.8.12",
"wagmi": "^2.5.11",
"@tanstack/react-query": "^5.28.4"
},
"devDependencies": {
"@types/node": "^18.19.3",
"@types/react": "^18.2.64",
"@types/react": "^18.3.0",
"eslint": "^8.15.0",
"eslint-config-next": "^14.1.3",
"eslint-config-next": "^14.2.3",
"typescript": "5.4.2"
}
}
10 changes: 5 additions & 5 deletions examples/with-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@
},
"dependencies": {
"@rainbow-me/rainbowkit": "workspace:*",
"next": "^14.1.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"next": "^14.2.3",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"viem": "^2.8.12",
"wagmi": "^2.5.11",
"@tanstack/react-query": "^5.28.4"
},
"devDependencies": {
"@types/node": "^18.19.3",
"@types/react": "^18.2.64",
"@types/react": "^18.3.0",
"eslint": "^8.15.0",
"eslint-config-next": "^14.1.3",
"eslint-config-next": "^14.2.3",
"typescript": "5.4.2"
}
}
8 changes: 4 additions & 4 deletions examples/with-remix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
"@remix-run/node": "^2.7.2",
"@remix-run/react": "^2.7.2",
"@remix-run/serve": "^2.7.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"viem": "^2.8.12",
"wagmi": "^2.5.11",
"@tanstack/react-query": "^5.28.4"
},
"devDependencies": {
"@remix-run/dev": "^2.7.2",
"@remix-run/eslint-config": "^2.7.2",
"@types/react": "^18.2.64",
"@types/react-dom": "^18.2.21",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"eslint": "^8.15.0",
"typescript": "5.4.2"
},
Expand Down
8 changes: 4 additions & 4 deletions examples/with-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
"dependencies": {
"@rainbow-me/rainbowkit": "workspace:*",
"buffer": "^6.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"viem": "^2.8.12",
"wagmi": "^2.5.11",
"@tanstack/react-query": "^5.28.4"
},
"devDependencies": {
"@types/react": "^18.2.64",
"@types/react-dom": "^18.2.21",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.2.1",
"typescript": "5.4.2",
"vite": "^5.0.12"
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
"@testing-library/react": "^14.1.2",
"@testing-library/user-event": "^14.5.2",
"@types/node": "^18.19.3",
"@types/react": "^18.2.64",
"@types/react-dom": "^18.2.21",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"@vanilla-extract/esbuild-plugin": "^2.3.1",
"@vanilla-extract/vite-plugin": "^3.9.3",
"autoprefixer": "^10.4.16",
Expand All @@ -63,12 +63,12 @@
"husky": "^8.0.3",
"jsdom": "^23.0.1",
"lokijs": "^1.5.12",
"next": "^14.1.3",
"next": "^14.2.3",
"next-auth": "4.24.5",
"postcss": "^8.4.32",
"postcss-prefix-selector": "^1.16.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"recursive-readdir-files": "^2.3.1",
"typescript": "5.4.2",
"viem": "^2.8.12",
Expand Down
10 changes: 5 additions & 5 deletions packages/create-rainbowkit/generated-test-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@
"dependencies": {
"@rainbow-me/rainbowkit": "workspace:*",
"@tanstack/react-query": "^5.28.4",
"next": "^14.1.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"next": "^14.2.3",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"viem": "^2.8.12",
"wagmi": "^2.5.11"
},
"devDependencies": {
"@types/node": "^18.19.3",
"@types/react": "^18.2.64",
"@types/react": "^18.3.0",
"eslint": "^8.15.0",
"eslint-config-next": "^14.1.3",
"eslint-config-next": "^14.2.3",
"typescript": "5.4.2"
}
}
10 changes: 5 additions & 5 deletions packages/create-rainbowkit/templates/next-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@
"dependencies": {
"@rainbow-me/rainbowkit": "workspace:*",
"@tanstack/react-query": "^5.28.4",
"next": "^14.1.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"next": "^14.2.3",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"viem": "^2.8.12",
"wagmi": "^2.5.11"
},
"devDependencies": {
"@types/node": "^18.19.3",
"@types/react": "^18.2.64",
"@types/react": "^18.3.0",
"eslint": "^8.15.0",
"eslint-config-next": "^14.1.3",
"eslint-config-next": "^14.2.3",
"typescript": "5.4.2"
}
}
6 changes: 3 additions & 3 deletions packages/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"@rainbow-me/rainbow-button": "workspace:*",
"@tanstack/react-query": "^5.28.4",
"ethers": "^5.6.8",
"next": "^14.1.3",
"next": "^14.2.3",
"next-auth": "4.24.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"siwe": "^2.1.4",
"viem": "^2.8.12",
"wagmi": "^2.5.11"
Expand Down
4 changes: 2 additions & 2 deletions packages/rainbow-button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"@rainbow-me/rainbowkit": "workspace:*"
},
"peerDependencies": {
"react": ">=17",
"react-dom": ">=17",
"react": ">=18",
"react-dom": ">=18",
"viem": "2.x",
"wagmi": "2.x"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/rainbowkit-siwe-next-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"peerDependencies": {
"@rainbow-me/rainbowkit": "2.0.x",
"next-auth": ">=4.21.0 <5",
"react": ">=17",
"react": ">=18",
"siwe": "^2.1.4"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit 6360304

Please sign in to comment.