Skip to content

Commit

Permalink
chore: upgrade wagmi, dependencies (#2168)
Browse files Browse the repository at this point in the history
* chore: upgrade wagmi

* chore: upgrade pnpm

* chore: upgrade to node v20

* chore: upgrade changeset, commitlint

* chore: upgrade husky

* chore: upgrade testing-library/react, jsdom, vitest

* chore: upgrade typescript to match wagmi

* chore: upgrade biome

* chore: upgrade next, react, react-dom

* chore: changeset

* chore: upgrade docsearch, fix label

* fix: husky migration to prepare

* chore: wagmi 2.12.9

* chore: pnpm 9.10.0

* chore: upgrade vanilla-extract, postcss

* chore: upgrade rainbowkit ui depens

* chore: upgrade changesets

* chore: upgrade next, next-intl

* chore: upgrade site depends
  • Loading branch information
DanielSinclair authored Sep 10, 2024
1 parent 8d9a4e6 commit 17c22b2
Show file tree
Hide file tree
Showing 205 changed files with 7,837 additions and 10,294 deletions.
18 changes: 18 additions & 0 deletions .changeset/honest-dolphins-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
"with-next-siwe-iron-session": patch
"with-next-rainbow-button": patch
"with-next-siwe-next-auth": patch
"with-next-custom-button": patch
"with-next-wallet-button": patch
"with-create-react-app": patch
"with-next-app-i18n": patch
"with-next-mint-nft": patch
"@rainbow-me/create-rainbowkit": patch
"with-next-app": patch
"with-remix": patch
"with-next": patch
"with-vite": patch
"example": patch
---

Upgraded `wagmi` to `^2.12.9`
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on: [pull_request, push]

env:
pnpm: 9.6.0
pnpm: 9.10.0
RAINBOW_PROVIDER_API_KEY: RAINBOW_PROVIDER_API_KEY
WALLETCONNECT_PROJECT_ID: YOUR_PROJECT_ID
ALCHEMY_ID: YOUR_ALCHEMY_ID
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main

env:
pnpm: 9.6.0
pnpm: 9.10.0
RAINBOW_PROVIDER_API_KEY: RAINBOW_PROVIDER_API_KEY

concurrency: ${{ github.workflow }}-${{ github.ref }}
Expand Down
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

pnpm commitlint --config commitlint.config.cjs --edit "$1"
pnpm commitlint --config commitlint.config.js --edit "$1"
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"javascript": {
"formatter": {
"quoteStyle": "single",
"trailingComma": "all",
"trailingCommas": "all",
"semicolons": "always"
}
},
Expand Down
6 changes: 4 additions & 2 deletions commitlint.config.cjs → commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const defaultConfig = require('@commitlint/config-conventional');
import defaultConfig from '@commitlint/config-conventional';

module.exports = {
const Configuration = {
extends: ['@commitlint/config-conventional'],
rules: {
...defaultConfig.rules,
Expand All @@ -22,3 +22,5 @@ module.exports = {
],
},
};

export default Configuration;
14 changes: 7 additions & 7 deletions examples/with-create-react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
"dependencies": {
"@rainbow-me/rainbowkit": "workspace:*",
"@testing-library/jest-dom": "^6.2.0",
"@testing-library/react": "^14.1.2",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.12",
"@types/node": "^18.19.3",
"@types/react": "^18.3.0",
"react-dom": "^18.3.0",
"@types/node": "^20.14.8",
"@types/react": "^18.3.5",
"react-dom": "^18.3.1",
"react-scripts": "5.0.1",
"react": "^18.3.0",
"typescript": "5.4.2",
"react": "^18.3.1",
"typescript": "5.5.2",
"util": "0.12.5",
"viem": "2.17.0",
"wagmi": "^2.12.0",
"wagmi": "^2.12.9",
"@tanstack/react-query": "^5.51.11"
},
"scripts": {
Expand Down
20 changes: 10 additions & 10 deletions examples/with-next-app-i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@
},
"dependencies": {
"@rainbow-me/rainbowkit": "workspace:*",
"next": "^14.2.3",
"next-intl": "^3.9.4",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"next": "^14.2.9",
"next-intl": "^3.19.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"viem": "2.17.0",
"wagmi": "^2.12.0",
"wagmi": "^2.12.9",
"@tanstack/react-query": "^5.51.11"
},
"devDependencies": {
"@types/node": "^18.19.3",
"@types/react": "^18.3.0",
"next": "^14.2.3",
"typescript": "5.4.2"
"@types/node": "^20.14.8",
"@types/react": "^18.3.5",
"next": "^14.2.9",
"typescript": "5.5.2"
},
"engines": {
"node": ">=18.0.0"
"node": ">=20.0.0"
}
}
2 changes: 1 addition & 1 deletion examples/with-next-app-i18n/src/app/[locale]/providers.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use client';

import * as React from 'react';
import React from 'react';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import { WagmiProvider } from 'wagmi';
import {
Expand Down
17 changes: 8 additions & 9 deletions examples/with-next-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,19 @@
},
"dependencies": {
"@rainbow-me/rainbowkit": "workspace:*",
"next": "^14.2.3",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"next": "^14.2.9",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"viem": "2.17.0",
"wagmi": "^2.12.0",
"wagmi": "^2.12.9",
"@tanstack/react-query": "^5.51.11"
},
"devDependencies": {
"@types/node": "^18.19.3",
"@types/react": "^18.3.0",
"next": "^14.2.3",
"typescript": "5.4.2"
"@types/node": "^20.14.8",
"@types/react": "^18.3.5",
"typescript": "5.5.2"
},
"engines": {
"node": ">=18.0.0"
"node": ">=20.0.0"
}
}
2 changes: 1 addition & 1 deletion examples/with-next-app/src/app/providers.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use client';

import * as React from 'react';
import React from 'react';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import { WagmiProvider } from 'wagmi';
import { RainbowKitProvider } from '@rainbow-me/rainbowkit';
Expand Down
14 changes: 7 additions & 7 deletions examples/with-next-custom-button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
},
"dependencies": {
"@rainbow-me/rainbowkit": "workspace:*",
"next": "^14.2.3",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"next": "^14.2.9",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"viem": "2.17.0",
"wagmi": "^2.12.0",
"wagmi": "^2.12.9",
"@tanstack/react-query": "^5.51.11"
},
"devDependencies": {
"@types/node": "^18.19.3",
"@types/react": "^18.3.0",
"typescript": "5.4.2"
"@types/node": "^20.14.8",
"@types/react": "^18.3.5",
"typescript": "5.5.2"
}
}
2 changes: 1 addition & 1 deletion examples/with-next-mint-nft/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
16 changes: 8 additions & 8 deletions examples/with-next-mint-nft/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
},
"dependencies": {
"@rainbow-me/rainbowkit": "workspace:*",
"framer-motion": "^6.3.3",
"next": "^14.2.3",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"framer-motion": "^11.5.4",
"next": "^14.2.9",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"viem": "2.17.0",
"wagmi": "^2.12.0",
"wagmi": "^2.12.9",
"@tanstack/react-query": "^5.51.11"
},
"devDependencies": {
"@types/node": "^18.19.3",
"@types/react": "^18.3.0",
"typescript": "5.4.2"
"@types/node": "^20.14.8",
"@types/react": "^18.3.5",
"typescript": "5.5.2"
}
}
14 changes: 7 additions & 7 deletions examples/with-next-rainbow-button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
},
"dependencies": {
"@rainbow-me/rainbow-button": "workspace:*",
"next": "^14.2.3",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"next": "^14.2.9",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"viem": "2.17.0",
"wagmi": "^2.12.0",
"wagmi": "^2.12.9",
"@tanstack/react-query": "^5.51.11"
},
"devDependencies": {
"@types/node": "^18.19.3",
"@types/react": "^18.3.0",
"typescript": "5.4.2"
"@types/node": "^20.14.8",
"@types/react": "^18.3.5",
"typescript": "5.5.2"
}
}
14 changes: 7 additions & 7 deletions examples/with-next-siwe-iron-session/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@
"@rainbow-me/rainbowkit": "workspace:*",
"ethers": "^5.6.8",
"iron-session": "^6.3.1",
"next": "^14.2.3",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"next": "^14.2.9",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"siwe": "^2.1.4",
"viem": "2.17.0",
"wagmi": "^2.12.0",
"wagmi": "^2.12.9",
"@tanstack/react-query": "^5.51.11"
},
"devDependencies": {
"@types/node": "^18.19.3",
"@types/react": "^18.3.0",
"typescript": "5.4.2"
"@types/node": "^20.14.8",
"@types/react": "^18.3.5",
"typescript": "5.5.2"
}
}
14 changes: 7 additions & 7 deletions examples/with-next-siwe-next-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@
"@rainbow-me/rainbowkit": "workspace:*",
"@rainbow-me/rainbowkit-siwe-next-auth": "workspace:*",
"ethers": "^5.6.8",
"next": "^14.2.3",
"next": "^14.2.9",
"next-auth": "4.24.5",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"siwe": "^2.1.4",
"viem": "2.17.0",
"wagmi": "^2.12.0",
"wagmi": "^2.12.9",
"@tanstack/react-query": "^5.51.11"
},
"devDependencies": {
"@types/node": "^18.19.3",
"@types/react": "^18.3.0",
"typescript": "5.4.2"
"@types/node": "^20.14.8",
"@types/react": "^18.3.5",
"typescript": "5.5.2"
}
}
14 changes: 7 additions & 7 deletions examples/with-next-wallet-button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
},
"dependencies": {
"@rainbow-me/rainbowkit": "workspace:*",
"next": "^14.2.3",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"next": "^14.2.9",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"viem": "2.17.0",
"wagmi": "^2.12.0",
"wagmi": "^2.12.9",
"@tanstack/react-query": "^5.51.11"
},
"devDependencies": {
"@types/node": "^18.19.3",
"@types/react": "^18.3.0",
"typescript": "5.4.2"
"@types/node": "^20.14.8",
"@types/react": "^18.3.5",
"typescript": "5.5.2"
}
}
14 changes: 7 additions & 7 deletions examples/with-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
},
"dependencies": {
"@rainbow-me/rainbowkit": "workspace:*",
"next": "^14.2.3",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"next": "^14.2.9",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"viem": "2.17.0",
"wagmi": "^2.12.0",
"wagmi": "^2.12.9",
"@tanstack/react-query": "^5.51.11"
},
"devDependencies": {
"@types/node": "^18.19.3",
"@types/react": "^18.3.0",
"typescript": "5.4.2"
"@types/node": "^20.14.8",
"@types/react": "^18.3.5",
"typescript": "5.5.2"
}
}
12 changes: 6 additions & 6 deletions examples/with-remix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@
"@remix-run/node": "^2.9.2",
"@remix-run/react": "^2.9.2",
"@remix-run/serve": "^2.9.2",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"viem": "2.17.0",
"wagmi": "^2.12.0",
"wagmi": "^2.12.9",
"@tanstack/react-query": "^5.51.11"
},
"devDependencies": {
"@remix-run/dev": "^2.9.2",
"@types/react": "^18.3.0",
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"typescript": "5.4.2"
"typescript": "5.5.2"
},
"engines": {
"node": ">=18.0.0"
"node": ">=20.0.0"
}
}
10 changes: 5 additions & 5 deletions examples/with-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@
},
"dependencies": {
"@rainbow-me/rainbowkit": "workspace:*",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"viem": "2.17.0",
"wagmi": "^2.12.0",
"wagmi": "^2.12.9",
"@tanstack/react-query": "^5.51.11"
},
"devDependencies": {
"@types/react": "^18.3.0",
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.2.1",
"typescript": "5.4.2",
"typescript": "5.5.2",
"vite": "^5.2.11"
}
}
Loading

0 comments on commit 17c22b2

Please sign in to comment.