Skip to content

Commit

Permalink
feat: improve peer dependencies (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov authored Dec 20, 2024
1 parent 12c632d commit cb159cf
Show file tree
Hide file tree
Showing 19 changed files with 2,800 additions and 3,113 deletions.
6 changes: 3 additions & 3 deletions examples/deposit-flow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"preview": "vite preview"
},
"dependencies": {
"@lifi/sdk": "^3.4.3",
"@lifi/sdk": "^3.4.4",
"@lifi/widget": "workspace:^",
"@mui/material": "^6.2.0",
"@tanstack/react-query": "^5.62.7",
"@tanstack/react-query": "^5.62.8",
"events": "^3.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand All @@ -27,7 +27,7 @@
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react": "^4.3.4",
"typescript": "^5.7.2",
"vite": "^6.0.3",
"vite": "^6.0.5",
"vite-plugin-node-polyfills": "^0.22.0"
}
}
16 changes: 8 additions & 8 deletions examples/dynamic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@
"preview": "vite preview"
},
"dependencies": {
"@dynamic-labs/bitcoin": "^3.9.2",
"@dynamic-labs/ethereum": "^3.9.2",
"@dynamic-labs/sdk-react-core": "^3.9.2",
"@dynamic-labs/solana": "^3.9.2",
"@dynamic-labs/wagmi-connector": "^3.9.2",
"@dynamic-labs/bitcoin": "^3.9.4",
"@dynamic-labs/ethereum": "^3.9.4",
"@dynamic-labs/sdk-react-core": "^3.9.4",
"@dynamic-labs/solana": "^3.9.4",
"@dynamic-labs/wagmi-connector": "^3.9.4",
"@lifi/wallet-management": "workspace:^",
"@lifi/widget": "workspace:^",
"@mui/material": "^6.2.0",
"@solana/wallet-adapter-base": "^0.9.23",
"@solana/wallet-adapter-react": "^0.15.35",
"@solana/web3.js": "^1.98.0",
"@tanstack/react-query": "^5.62.7",
"@tanstack/react-query": "^5.62.8",
"mitt": "^3.0.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand All @@ -31,8 +31,8 @@
"@types/react": "^18.3.17",
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react-swc": "^3.7.2",
"globals": "^15.13.0",
"globals": "^15.14.0",
"typescript": "^5.7.2",
"vite": "^6.0.3"
"vite": "^6.0.5"
}
}
2 changes: 1 addition & 1 deletion examples/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"start": "next start"
},
"dependencies": {
"@lifi/sdk": "^3.4.3",
"@lifi/sdk": "^3.4.4",
"@lifi/widget": "^3.12.5",
"next": "^14.2.20",
"react": "^18.3.1",
Expand Down
4 changes: 2 additions & 2 deletions examples/rainbowkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"@lifi/widget": "workspace:^",
"@rainbow-me/rainbowkit": "^2.2.1",
"@tanstack/react-query": "^5.62.7",
"@tanstack/react-query": "^5.62.8",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"viem": "^2.21.55",
Expand All @@ -22,7 +22,7 @@
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react-swc": "^3.7.2",
"typescript": "^5.7.2",
"vite": "^6.0.3",
"vite": "^6.0.5",
"vite-plugin-node-polyfills": "^0.22.0"
}
}
2 changes: 1 addition & 1 deletion examples/remix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@types/react": "^18.3.17",
"@types/react-dom": "^18.3.5",
"typescript": "^5.7.2",
"vite": "^6.0.3",
"vite": "^6.0.5",
"vite-tsconfig-paths": "^5.1.4"
},
"engines": {
Expand Down
6 changes: 3 additions & 3 deletions examples/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@
"check": "svelte-check --tsconfig ./tsconfig.json"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^5.0.2",
"@sveltejs/vite-plugin-svelte": "^5.0.3",
"@tsconfig/svelte": "^5.0.4",
"@types/events": "^3.0.3",
"@types/node": "^22.10.2",
"@types/react": "^18.3.17",
"@types/react-dom": "^18.3.5",
"svelte": "^5.14.1",
"svelte": "^5.15.0",
"svelte-check": "^4.1.1",
"svelte-preprocess": "^6.0.2",
"tslib": "^2.8.1",
"typescript": "^5.7.2",
"vite": "^6.0.3",
"vite": "^6.0.5",
"vite-plugin-node-polyfills": "^0.22.0"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions examples/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@lifi/wallet-management": "^3.4.7",
"@lifi/widget": "workspace:^",
"@mui/material": "^6.2.0",
"@tanstack/react-query": "^5.62.7",
"@tanstack/react-query": "^5.62.8",
"@wagmi/connectors": "^5.7.0",
"events": "^3.3.0",
"react": "^18.3.1",
Expand All @@ -29,7 +29,7 @@
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react": "^4.3.4",
"typescript": "^5.7.2",
"vite": "^6.0.3",
"vite": "^6.0.5",
"vite-plugin-node-polyfills": "^0.22.0"
}
}
2 changes: 1 addition & 1 deletion examples/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@vitejs/plugin-vue": "^5.2.1",
"@vitejs/plugin-vue-jsx": "^4.1.1",
"typescript": "^5.7.2",
"vite": "^6.0.3",
"vite": "^6.0.5",
"vite-plugin-node-polyfills": "^0.22.0",
"vue-tsc": "^2.1.10"
}
Expand Down
6 changes: 3 additions & 3 deletions examples/zustand-widget-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"@lifi/widget": "workspace:^",
"@mui/material": "^6.2.0",
"@tanstack/react-query": "^5.62.7",
"@tanstack/react-query": "^5.62.8",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"wagmi": "^2.14.3",
Expand All @@ -21,9 +21,9 @@
"@types/react": "^18.3.17",
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react": "^4.3.4",
"globals": "^15.13.0",
"globals": "^15.14.0",
"typescript": "^5.7.2",
"vite": "^6.0.3",
"vite": "^6.0.5",
"vite-plugin-node-polyfills": "^0.22.0"
}
}
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "3.12.5",
"version": "3.12.6-alpha.0",
"private": true,
"sideEffects": false,
"type": "module",
Expand Down Expand Up @@ -32,9 +32,7 @@
"postinstall": "husky"
},
"lint-staged": {
"*": [
"pnpm pre-commit"
]
"*": ["pnpm pre-commit"]
},
"standard-version": {
"scripts": {
Expand Down
26 changes: 11 additions & 15 deletions packages/wallet-management/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lifi/wallet-management",
"version": "3.4.7",
"version": "3.4.8-alpha.0",
"description": "LI.FI Wallet Management solution.",
"type": "module",
"main": "./src/index.ts",
Expand Down Expand Up @@ -48,27 +48,24 @@
"lifi"
],
"dependencies": {
"@bigmi/client": "^0.0.6",
"@bigmi/core": "^0.0.6",
"@bigmi/react": "^0.0.6",
"@bigmi/client": "^0.0.7",
"@bigmi/core": "^0.0.7",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@lifi/sdk": "^3.4.3",
"@lifi/sdk": "^3.4.4",
"@mui/icons-material": "^6.2.0",
"@mui/lab": "6.0.0-beta.19",
"@mui/lab": "6.0.0-beta.20",
"@mui/material": "^6.2.0",
"@mui/system": "^6.2.0",
"@solana/wallet-adapter-base": "^0.9.23",
"@solana/wallet-adapter-react": "^0.15.35",
"@solana/web3.js": "^1.98.0",
"@wagmi/core": "^2.16.0",
"i18next": "^24.1.2",
"i18next": "^24.2.0",
"mitt": "^3.0.1",
"react": "^18.3.1",
"react-i18next": "^15.2.0",
"use-sync-external-store": "^1.4.0",
"viem": "^2.21.55",
"wagmi": "^2.14.3",
"zustand": "^5.0.2"
},
"devDependencies": {
Expand All @@ -78,12 +75,11 @@
"typescript": "^5.7.2"
},
"peerDependencies": {
"@bigmi/react": ">=0.0.7",
"@solana/wallet-adapter-react": "^0.15.35",
"react": ">=18",
"react-dom": ">=18"
"react-dom": ">=18",
"wagmi": "^2.14.0"
},
"files": [
"dist/**",
"src/**",
"!tsconfig.json"
]
"files": ["dist/**", "src/**", "!tsconfig.json"]
}
8 changes: 4 additions & 4 deletions packages/widget-embedded/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
},
"author": "Eugene Chybisov <eugene@li.finance>",
"dependencies": {
"@lifi/sdk": "^3.4.3",
"@lifi/sdk": "^3.4.4",
"@lifi/wallet-management": "workspace:*",
"@lifi/widget": "workspace:*",
"@mui/icons-material": "^6.2.0",
"@mui/lab": "6.0.0-beta.19",
"@mui/lab": "6.0.0-beta.20",
"@mui/material": "^6.2.0",
"@mui/system": "^6.2.0",
"@opensea/seaport-js": "4.0.4",
"@tanstack/react-query": "^5.62.7",
"@tanstack/react-query": "^5.62.8",
"bignumber.js": "^9.1.2",
"ethers": "^6.13.4",
"events": "^3.3.0",
Expand All @@ -36,7 +36,7 @@
"@vitejs/plugin-react-swc": "^3.7.2",
"source-map-explorer": "^2.5.3",
"typescript": "^5.7.2",
"vite": "^6.0.3",
"vite": "^6.0.5",
"vite-plugin-node-polyfills": "^0.22.0",
"web-vitals": "^4.2.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/widget-playground-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@mui/material": "^6.2.0",
"@mui/material-nextjs": "^6.2.0",
"@mui/system": "^6.2.0",
"@tanstack/react-query": "^5.62.7",
"@tanstack/react-query": "^5.62.8",
"core-js": "^3.39.0",
"next": "14.2.15",
"react": "^18.3.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/widget-playground-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@lifi/widget-playground": "workspace:*",
"@mui/material": "^6.2.0",
"@mui/system": "^6.2.0",
"@tanstack/react-query": "^5.62.7",
"@tanstack/react-query": "^5.62.8",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
Expand All @@ -28,7 +28,7 @@
"rollup-plugin-polyfill-node": "^0.13.0",
"source-map-explorer": "^2.5.3",
"typescript": "^5.7.2",
"vite": "^6.0.3",
"vite": "^6.0.5",
"vite-plugin-node-polyfills": "0.17.0",
"web-vitals": "^4.2.4"
},
Expand Down
9 changes: 5 additions & 4 deletions packages/widget-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,22 @@
"./widget-config": "./src/defaultWidgetConfig.ts"
},
"dependencies": {
"@bigmi/react": "^0.0.7",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@lifi/sdk": "^3.4.3",
"@lifi/sdk": "^3.4.4",
"@lifi/wallet-management": "workspace:*",
"@lifi/widget": "workspace:*",
"@monaco-editor/react": "^4.6.0",
"@mui/icons-material": "^6.2.0",
"@mui/lab": "6.0.0-beta.19",
"@mui/lab": "6.0.0-beta.20",
"@mui/material": "^6.2.0",
"@mui/system": "^6.2.0",
"@rainbow-me/rainbowkit": "^2.2.1",
"@solana/wallet-adapter-base": "^0.9.23",
"@solana/wallet-adapter-react": "^0.15.35",
"@solana/web3.js": "^1.98.0",
"@tanstack/react-query": "^5.62.7",
"@tanstack/react-query": "^5.62.8",
"csstype": "^3.1.3",
"lodash.isequal": "^4.5.0",
"microdiff": "^1.4.0",
Expand All @@ -60,7 +61,7 @@
"cpy-cli": "^5.0.0",
"madge": "^8.0.0",
"typescript": "^5.7.2",
"vite": "^6.0.3",
"vite": "^6.0.5",
"vitest": "^2.1.8"
},
"private": true
Expand Down
22 changes: 11 additions & 11 deletions packages/widget/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lifi/widget",
"version": "3.12.5",
"version": "3.12.6-alpha.0",
"description": "LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.",
"type": "module",
"main": "./src/index.ts",
Expand Down Expand Up @@ -48,23 +48,20 @@
"lifi"
],
"dependencies": {
"@bigmi/client": "^0.0.6",
"@bigmi/core": "^0.0.6",
"@bigmi/react": "^0.0.6",
"@bigmi/client": "^0.0.7",
"@bigmi/core": "^0.0.7",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@lifi/sdk": "^3.4.3",
"@lifi/sdk": "^3.4.4",
"@lifi/wallet-management": "workspace:^",
"@mui/icons-material": "^6.2.0",
"@mui/lab": "6.0.0-beta.19",
"@mui/lab": "6.0.0-beta.20",
"@mui/material": "^6.2.0",
"@mui/system": "^6.2.0",
"@solana/wallet-adapter-base": "^0.9.23",
"@solana/wallet-adapter-react": "^0.15.35",
"@solana/web3.js": "^1.98.0",
"@tanstack/react-query": "^5.62.7",
"@tanstack/react-virtual": "^3.11.2",
"i18next": "^24.1.2",
"i18next": "^24.2.0",
"microdiff": "^1.4.0",
"mitt": "^3.0.1",
"react": "^18.3.1",
Expand All @@ -73,7 +70,6 @@
"react-intersection-observer": "^9.14.0",
"react-router-dom": "^6.28.0",
"viem": "^2.21.55",
"wagmi": "^2.14.3",
"zustand": "^5.0.2"
},
"devDependencies": {
Expand All @@ -82,8 +78,12 @@
"typescript": "^5.7.2"
},
"peerDependencies": {
"@bigmi/react": ">=0.0.7",
"@solana/wallet-adapter-react": "^0.15.35",
"@tanstack/react-query": "^5.62.0",
"react": ">=18",
"react-dom": ">=18"
"react-dom": ">=18",
"wagmi": "^2.14.0"
},
"files": ["dist/**", "src/**", "!tsconfig.json"]
}
Loading

0 comments on commit cb159cf

Please sign in to comment.