Skip to content

Commit

Permalink
refactor/separation of dependencies (#2734)
Browse files Browse the repository at this point in the history
  • Loading branch information
enesozturk authored Aug 23, 2024
1 parent 3837d9a commit c9fb843
Show file tree
Hide file tree
Showing 3 changed files with 124 additions and 114 deletions.
85 changes: 53 additions & 32 deletions packages/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"dist",
"!tsconfig.tsbuildinfo"
],
"scripts": {
"build:clean": "rm -rf dist",
"build": "tsc --build tsconfig.build.json",
"watch": "tsc --watch",
"typecheck": "tsc --noEmit",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
},
"exports": {
".": {
"types": "./dist/types/exports/index.d.ts",
Expand Down Expand Up @@ -50,21 +57,57 @@
"default": "./dist/esm/utils/library/vue/index.js"
}
},
"scripts": {
"build:clean": "rm -rf dist",
"build": "tsc --build tsconfig.build.json",
"watch": "tsc --watch",
"typecheck": "tsc --noEmit",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
"typesVersions": {
"*": {
"react": [
"./dist/types/exports/react.d.ts"
],
"adapters/evm/ethers": [
"./dist/types/adapters/evm/ethers/index.d.ts"
],
"adapters/evm/ethers5": [
"./dist/types/adapters/evm/ethers5/index.d.ts"
],
"adapters/evm/wagmi": [
"./dist/types/adapters/evm/wagmi/index.d.ts"
],
"adapters/solana/web3js": [
"./dist/types/adapters/solana/web3js/index.d.ts"
],
"utils/library/react": [
"./dist/types/utils/library/react/index.d.ts"
],
"utils/library/vue": [
"./dist/types/utils/library/vue/index.d.ts"
]
}
},
"dependencies": {
"@walletconnect/utils": "2.14.0",
"@web3modal/common": "workspace:*",
"@web3modal/core": "workspace:*",
"@web3modal/polyfills": "workspace:*",
"@web3modal/scaffold-ui": "workspace:*",
"@web3modal/scaffold-utils": "workspace:*",
"@web3modal/siwe": "workspace:*",
"@web3modal/ui": "workspace:*",
"@web3modal/wallet": "workspace:*"
},
"optionalDependencies": {
"borsh": "0.7.0",
"bs58": "5.0.0"
},
"devDependencies": {
"@coinbase/wallet-sdk": "4.0.3",
"@ethersproject/sha2": "5.7.0",
"@solana/wallet-adapter-base": "0.9.23",
"@solana/wallet-standard-features": "1.2.0",
"@solana/wallet-standard-util": "1.1.1",
"@solana/web3.js": "1.95.2",
"@walletconnect/utils": "2.14.0",
"@types/react": "18.2.0",
"@types/react-dom": "18.2.0",
"@vitest/coverage-v8": "2.0.5",
"@vue/runtime-core": "3.4.3",
"@wagmi/connectors": "5.1.5",
"@wagmi/core": "2.13.4",
"@wallet-standard/app": "1.0.1",
Expand All @@ -74,36 +117,14 @@
"@walletconnect/ethereum-provider": "2.15.1",
"@walletconnect/types": "2.13.3",
"@walletconnect/universal-provider": "2.15.0",
"@web3modal/common": "workspace:*",
"@web3modal/core": "workspace:*",
"@web3modal/polyfills": "workspace:*",
"@web3modal/scaffold-ui": "workspace:*",
"@web3modal/scaffold-utils": "workspace:*",
"@web3modal/siwe": "workspace:*",
"@web3modal/ui": "workspace:*",
"@web3modal/wallet": "workspace:*",
"bn.js": "5.2.1",
"borsh": "0.7.0",
"bs58": "5.0.0",
"buffer": "6.0.3",
"ethers": "6.13.0",
"ethers5": "npm:ethers@5.7.2",
"lit": "3.1.0",
"valtio": "1.11.2",
"viem": "2.19.6",
"vue": "3.4.3",
"wagmi": "2.12.5"
},
"devDependencies": {
"@types/bn.js": "5.1.5",
"@vitest/coverage-v8": "2.0.5",
"@vue/runtime-core": "3.4.3",
"@types/react": "18.2.0",
"@types/react-dom": "18.2.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"viem": "2.19.6",
"vitest": "2.0.3",
"vue": "3.4.3"
"vue": "3.4.3",
"wagmi": "2.12.5"
},
"keywords": [
"web3",
Expand Down
8 changes: 5 additions & 3 deletions packages/scaffold-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,17 @@
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
},
"dependencies": {
"@coinbase/wallet-sdk": "4.0.3",
"@solana/web3.js": "1.95.2",
"@solana/wallet-adapter-base": "0.9.23",
"@web3modal/common": "workspace:*",
"@web3modal/core": "workspace:*",
"@web3modal/polyfills": "workspace:*",
"@web3modal/wallet": "workspace:*",
"valtio": "1.11.2"
},
"devDependencies": {
"@coinbase/wallet-sdk": "4.0.3",
"@solana/web3.js": "1.95.2",
"@solana/wallet-adapter-base": "0.9.23"
},
"keywords": [
"web3",
"crypto",
Expand Down
145 changes: 66 additions & 79 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c9fb843

Please sign in to comment.