Skip to content

Commit 7695d70

Browse files
authored
chore: Upgrade libs (#2847)
1 parent e173ebb commit 7695d70

28 files changed

Lines changed: 11268 additions & 13638 deletions

File tree

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- &node-setup
2626
uses: actions/setup-node@v4
2727
with:
28-
node-version: 20
28+
node-version: 22
2929
cache: "pnpm"
3030
- &install-dependencies
3131
name: Install dependencies

.github/workflows/playwright.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
9090
- uses: actions/setup-node@v4
9191
with:
92-
node-version: 20
92+
node-version: 22
9393
cache: "pnpm"
9494
- name: Install pnpm
9595
run: npm install -g pnpm
@@ -135,7 +135,7 @@ jobs:
135135
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
136136
- uses: actions/setup-node@v4
137137
with:
138-
node-version: 20
138+
node-version: 22
139139
cache: "pnpm"
140140
- name: Install dependencies
141141
run: pnpm install

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM node:20 AS builder
1+
FROM node:22-bookworm AS builder
22

33
ARG ENV_NAME
44
ENV ENV_NAME=$ENV_NAME
55
ARG NEXT_PUBLIC_LATEST_COMMIT_SHA
66
ENV NEXT_PUBLIC_LATEST_COMMIT_SHA=$NEXT_PUBLIC_LATEST_COMMIT_SHA
77
ENV NEXT_TELEMETRY_DISABLED=1
8-
ENV PNPM_VERSION=10.28.2
8+
ENV PNPM_VERSION=10.33.4
99
RUN corepack enable && corepack install -g pnpm@$PNPM_VERSION
1010

1111
WORKDIR /app
@@ -27,8 +27,8 @@ COPY ./$ENV_FILE ./.env
2727
RUN pnpm build
2828

2929
# Production image, copy all the files and run next
30-
FROM node:20-alpine AS runner
31-
ENV PNPM_VERSION=10.28.2
30+
FROM node:22-alpine AS runner
31+
ENV PNPM_VERSION=10.33.4
3232

3333
WORKDIR /app
3434

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ For agents and contributors picking up work in this repo, start with [AGENTS.md]
1414

1515
## Getting Started
1616

17-
Requires `node >=20` (see `.nvmrc` — run `nvm use`).
17+
Requires Node 22+ (see `.nvmrc` — run `nvm use`).
1818

1919
```sh
2020
pnpm install

eslint.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ const eslintConfig = defineConfig([
1111
// Global ignores
1212
globalIgnores([
1313
'**/node_modules/**',
14+
'**/.cache-synpress/**',
15+
'**/storybook-static/**',
1416
'**/.next/**',
1517
'**/dist/**',
1618
'**/build/**',

package.json

Lines changed: 90 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -5,153 +5,147 @@
55
"private": true,
66
"repository": "https://github.com/jumperexchange/jumper-exchange",
77
"engines": {
8-
"node": ">=20.0.0"
8+
"node": ">=22.0.0"
99
},
1010
"dependencies": {
11-
"@abstract-foundation/agw-client": "^1.11.0",
12-
"@abstract-foundation/agw-react": "^1.11.0",
13-
"@base-org/account": "^2.5.3",
11+
"@abstract-foundation/agw-client": "^1.12.3",
12+
"@abstract-foundation/agw-react": "^1.13.0",
13+
"@base-org/account": "^2.5.5",
1414
"@bigmi/client": "^0.8.0",
1515
"@bigmi/core": "^0.8.0",
1616
"@bigmi/react": "^0.8.0",
1717
"@coinbase/wallet-sdk": "^4.3.7",
1818
"@emotion/cache": "^11.14.0",
1919
"@emotion/react": "^11.14.0",
20-
"@emotion/styled": "^11.14.0",
21-
"@farcaster/miniapp-sdk": "^0.2.2",
22-
"@farcaster/miniapp-wagmi-connector": "^1.1.0",
23-
"@fingerprintjs/fingerprintjs": "^5.0.1",
24-
"@formatjs/intl-localematcher": "^0.8.2",
25-
"@intercom/messenger-js-sdk": "^0.0.18",
20+
"@emotion/styled": "^11.14.1",
21+
"@farcaster/miniapp-sdk": "^0.3.0",
22+
"@farcaster/miniapp-wagmi-connector": "^1.1.1",
23+
"@fingerprintjs/fingerprintjs": "^5.2.0",
24+
"@formatjs/intl-localematcher": "^0.8.6",
25+
"@intercom/messenger-js-sdk": "^0.0.19",
2626
"@lifi/explorer": "0.6.3",
27-
"@lifi/sdk": "^4.0.0-beta.7",
28-
"@lifi/sdk-provider-bitcoin": "^4.0.0-beta.7",
29-
"@lifi/sdk-provider-ethereum": "^4.0.0-beta.7",
30-
"@lifi/sdk-provider-solana": "^4.0.0-beta.7",
31-
"@lifi/sdk-provider-sui": "^4.0.0-beta.7",
32-
"@lifi/sdk-provider-tron": "^4.0.0-beta.7",
33-
"@lifi/wallet-management": "4.0.0-beta.17",
34-
"@lifi/widget": "4.0.0-beta.17",
35-
"@lifi/widget-provider": "4.0.0-beta.17",
36-
"@lifi/widget-provider-bitcoin": "^4.0.0-beta.17",
37-
"@lifi/widget-provider-ethereum": "^4.0.0-beta.17",
38-
"@lifi/widget-provider-solana": "^4.0.0-beta.17",
39-
"@lifi/widget-provider-sui": "^4.0.0-beta.17",
40-
"@lifi/widget-provider-tron": "^4.0.0-beta.17",
41-
"@merkl/api": "1.9.23",
42-
"@metamask/connect-evm": "^0.9.1",
43-
"@mswjs/interceptors": "^0.41.3",
44-
"@mui/icons-material": "^9.0.0",
45-
"@mui/material": "^9.0.0",
46-
"@mui/material-nextjs": "^9.0.0",
47-
"@mui/system": "^9.0.0",
48-
"@mui/utils": "^9.0.0",
49-
"@mysten/dapp-kit-react": "^2.0.0",
50-
"@mysten/sui": "^2.15.0",
27+
"@lifi/sdk": "^4.0.1-alpha.0",
28+
"@lifi/sdk-provider-bitcoin": "^4.0.1-alpha.0",
29+
"@lifi/sdk-provider-ethereum": "^4.0.1-alpha.0",
30+
"@lifi/sdk-provider-solana": "^4.0.1-alpha.0",
31+
"@lifi/sdk-provider-sui": "^4.0.1-alpha.0",
32+
"@lifi/sdk-provider-tron": "^4.0.0-beta.8",
33+
"@lifi/wallet-management": "4.0.0-beta.18",
34+
"@lifi/widget": "4.0.0-beta.18",
35+
"@lifi/widget-provider": "4.0.0-beta.18",
36+
"@lifi/widget-provider-bitcoin": "^4.0.0-beta.18",
37+
"@lifi/widget-provider-ethereum": "^4.0.0-beta.18",
38+
"@lifi/widget-provider-solana": "^4.0.0-beta.18",
39+
"@lifi/widget-provider-sui": "^4.0.0-beta.18",
40+
"@lifi/widget-provider-tron": "^4.0.0-beta.18",
41+
"@merkl/api": "1.20.0",
42+
"@metamask/connect-evm": "^1.1.0",
43+
"@mswjs/interceptors": "^0.41.8",
44+
"@mui/icons-material": "^9.0.1",
45+
"@mui/material": "^9.0.1",
46+
"@mui/material-nextjs": "^9.0.1",
47+
"@mui/system": "^9.0.1",
48+
"@mui/utils": "^9.0.1",
49+
"@mysten/dapp-kit-react": "^2.0.2",
50+
"@mysten/sui": "^2.16.1",
5151
"@safe-global/safe-apps-sdk": "^9.1.0",
52-
"@sentry/browser": "^10.38.0",
53-
"@sentry/nextjs": "^10.38.0",
54-
"@sentry/react": "^10.38.0",
52+
"@sentry/browser": "^10.52.0",
53+
"@sentry/nextjs": "^10.52.0",
54+
"@sentry/react": "^10.52.0",
5555
"@solana/client": "1.7.0",
56-
"@solana/kit": "^6.5.0",
56+
"@solana/kit": "^6.9.0",
5757
"@solana/react-hooks": "1.4.1",
5858
"@strapi/blocks-react-renderer": "^1.0.2",
59-
"@tanstack/react-form": "^1.28.6",
60-
"@tanstack/react-query": "^5.97.0",
61-
"@tronweb3/tronwallet-adapter-react-hooks": "^1.1.11",
59+
"@tanstack/react-form": "^1.29.1",
60+
"@tanstack/react-query": "^5.100.9",
61+
"@tronweb3/tronwallet-adapter-react-hooks": "^1.1.12",
6262
"@turtledev/api": "1.4.5",
63-
"@wagmi/core": "^3.4.1",
63+
"@wagmi/core": "^3.4.8",
6464
"@walletconnect/ethereum-provider": "^2.23.9",
6565
"accept-language": "^3.0.20",
6666
"blo": "^2.0.0",
6767
"date-fns": "^4.1.0",
6868
"ethers": "^6.16.0",
6969
"extract-colors": "^4.2.1",
70-
"graphql": "^16.13.2",
71-
"html-react-parser": "^5.2.17",
72-
"i18next": "^26.0.4",
70+
"graphql": "^16.14.0",
71+
"html-react-parser": "^6.1.0",
72+
"i18next": "^26.0.10",
7373
"i18next-resources-to-backend": "^1.2.1",
7474
"jsonwebtoken": "^9.0.3",
75-
"lodash": "^4.17.23",
76-
"motion": "^12.32.0",
75+
"lodash": "^4.18.1",
76+
"motion": "^12.38.0",
7777
"negotiator": "^1.0.0",
78-
"next": "16.2.3",
79-
"next-i18n-router": "^5.5.7",
78+
"next": "16.2.6",
79+
"next-i18n-router": "^5.5.8",
8080
"nuqs": "^2.8.9",
8181
"p-limit": "^7.3.0",
8282
"polished": "^4.3.1",
83-
"react": "19.2.5",
83+
"react": "19.2.6",
8484
"react-animated-counter": "^1.9.0",
8585
"react-confetti": "^6.4.0",
86-
"react-cookie": "^8.1.0",
86+
"react-cookie": "^8.1.2",
8787
"react-day-picker": "^9.14.0",
88-
"react-dom": "19.2.5",
89-
"react-i18next": "^17.0.2",
88+
"react-dom": "19.2.6",
89+
"react-i18next": "^17.0.7",
9090
"recharts": "^3.8.1",
9191
"sharp": "^0.34.5",
9292
"superjson": "^2.2.6",
93-
"swiper": "12.1.3",
94-
"universal-cookie": "^8.1.0",
95-
"uuid": "^13.0.0",
96-
"viem": "^2.47.11",
97-
"wagmi": "^3.6.0",
98-
"zod": "^4.3.6",
99-
"zustand": "^5.0.12"
93+
"swiper": "12.1.4",
94+
"universal-cookie": "^8.1.2",
95+
"uuid": "^14.0.0",
96+
"viem": "^2.48.11",
97+
"wagmi": "^3.6.9",
98+
"zod": "^4.4.3",
99+
"zustand": "^5.0.13"
100100
},
101101
"devDependencies": {
102102
"@chromatic-com/storybook": "^5.1.2",
103-
"@eslint/js": "^9.39.2",
104-
"@next/bundle-analyzer": "16.2.3",
105-
"@next/eslint-plugin-next": "16.2.3",
106-
"@playwright/test": "1.58.2",
107-
"@rainbow-me/rainbowkit": "^2.2.10",
103+
"@eslint/js": "^10.0.1",
104+
"@next/bundle-analyzer": "16.2.6",
105+
"@next/eslint-plugin-next": "16.2.6",
106+
"@playwright/test": "1.59.1",
107+
"@rainbow-me/rainbowkit": "^2.2.11",
108108
"@storybook/addon-a11y": "^10.3.6",
109109
"@storybook/addon-docs": "^10.3.6",
110110
"@storybook/addon-onboarding": "^10.3.6",
111111
"@storybook/addon-vitest": "^10.3.6",
112112
"@storybook/nextjs-vite": "^10.3.6",
113-
"@testing-library/jest-dom": "^6.8.0",
113+
"@testing-library/jest-dom": "^6.9.1",
114114
"@testing-library/react": "^16.3.2",
115115
"@types/gtag.js": "^0.0.20",
116116
"@types/jsonwebtoken": "^9.0.10",
117117
"@types/lodash": "^4.17.24",
118118
"@types/negotiator": "^0.6.4",
119-
"@types/node": "^25.5.2",
119+
"@types/node": "^22.19.0",
120120
"@types/react": "^19.2.14",
121121
"@types/react-dom": "^19.2.3",
122122
"@vitejs/plugin-react": "^6.0.1",
123-
"@vitest/browser": "^4.1.4",
124-
"@vitest/browser-playwright": "^4.1.4",
125-
"@vitest/coverage-v8": "^4.1.4",
123+
"@vitest/browser": "^4.1.5",
124+
"@vitest/browser-playwright": "^4.1.5",
125+
"@vitest/coverage-v8": "^4.1.5",
126126
"babel-plugin-react-compiler": "^1.0.0",
127-
"dotenv": "^17.3.1",
128-
"eslint": "9.39.2",
129-
"eslint-config-next": "16.2.3",
127+
"dotenv": "^17.4.2",
128+
"eslint": "10.3.0",
130129
"eslint-config-prettier": "^10.1.8",
131-
"eslint-config-react-app": "^7.0.1",
132-
"eslint-plugin-import": "^2.31.0",
133130
"eslint-plugin-jsx-a11y": "^6.10.2",
134-
"eslint-plugin-prettier": "^5.5.5",
135-
"eslint-plugin-react": "^7.37.5",
136-
"eslint-plugin-react-hooks": "^7.0.1",
137-
"eslint-plugin-storybook": "^10.3.6",
131+
"eslint-plugin-react-hooks": "^7.1.1",
138132
"husky": "^9.1.7",
139-
"i18next-resources-for-ts": "^2.0.2",
140-
"import-in-the-middle": "^2.0.6",
141-
"jsdom": "^29.0.2",
142-
"lint-staged": "^16.4.0",
133+
"i18next-resources-for-ts": "^2.1.0",
134+
"import-in-the-middle": "^3.0.1",
135+
"jsdom": "^29.1.1",
136+
"lint-staged": "^17.0.2",
143137
"pino": "^10.3.1",
144138
"pino-pretty": "^13.1.3",
145-
"playwright": "1.58.2",
146-
"playwright-qase-reporter": "^2.2.3",
147-
"prettier": "^3.8.1",
139+
"playwright": "1.59.1",
140+
"playwright-qase-reporter": "^2.5.0",
141+
"prettier": "^3.8.3",
148142
"storybook": "^10.3.6",
149143
"storybook-addon-pseudo-states": "^10.3.6",
150-
"typescript": "^5.9.2",
151-
"typescript-eslint": "^8.58.1",
152-
"vite": "^8.0.8",
144+
"typescript": "^6.0.3",
145+
"typescript-eslint": "^8.59.2",
146+
"vite": "^8.0.11",
153147
"vite-plugin-node-polyfills": "^0.26.0",
154-
"vitest": "^4.1.4",
148+
"vitest": "^4.1.5",
155149
"web-vitals": "^5.2.0"
156150
},
157151
"scripts": {
@@ -201,6 +195,11 @@
201195
]
202196
},
203197
"pnpm": {
198+
"peerDependencyRules": {
199+
"allowedVersions": {
200+
"eslint": "10"
201+
}
202+
},
204203
"overrides": {
205204
"@safe-global/safe-apps-provider": ">=0.18.6",
206205
"hono": "^4.12.7"
@@ -221,5 +220,5 @@
221220
"utf-8-validate"
222221
]
223222
},
224-
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319"
223+
"packageManager": "pnpm@10.33.4"
225224
}

0 commit comments

Comments
 (0)