From a6a6527de3cac4915643fa4e088a60c2cd298179 Mon Sep 17 00:00:00 2001 From: defi-moses Date: Wed, 27 Nov 2024 10:38:40 -0500 Subject: [PATCH] reducing dependency bloat --- packages/sdk-router/package.json | 8 ++++---- packages/synapse-constants/package.json | 10 ++++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/packages/sdk-router/package.json b/packages/sdk-router/package.json index 471a4f10e4..9eb87d8ba0 100644 --- a/packages/sdk-router/package.json +++ b/packages/sdk-router/package.json @@ -45,13 +45,17 @@ }, "module": "dist/sdk-v2.esm.js", "devDependencies": { + "@babel/core": "^7.20.12", + "@babel/plugin-transform-modules-commonjs": "^7.24.8", "@codecov/rollup-plugin": "^0.0.1-beta.10", "@ethersproject/providers": "^5.7.0", "@types/big.js": "^4.0.5", "@types/jest": "^24.0.25", + "babel-jest": "^25.2.6", "cspell": "^8.15.4", "dotenv": "^16.3.1", "husky": "^8.0.1", + "jest": "^29.7.0", "jest-fetch-mock": "^3.0.3", "jest-mock-extended": "^3.0.5", "node-fetch": "^2.0.0", @@ -62,8 +66,6 @@ "typescript": "^4.8.3" }, "dependencies": { - "@babel/core": "^7.20.12", - "@babel/plugin-transform-modules-commonjs": "^7.24.8", "@ethersproject/abi": "^5.7.0", "@ethersproject/abstract-provider": "^5.7.0", "@ethersproject/address": "^5.7.0", @@ -71,11 +73,9 @@ "@ethersproject/bytes": "^5.7.0", "@ethersproject/constants": "^5.7.0", "@ethersproject/contracts": "^5.7.0", - "babel-jest": "^25.2.6", "big.js": "^5.2.2", "decimal.js-light": "^2.5.1", "ethers": "^5.7.2", - "jest": "^29.7.0", "jsbi": "^4.3.0", "node-cache": "^5.1.2", "tiny-invariant": "^1.2.0", diff --git a/packages/synapse-constants/package.json b/packages/synapse-constants/package.json index 88fb1a70f9..40d5edb05d 100644 --- a/packages/synapse-constants/package.json +++ b/packages/synapse-constants/package.json @@ -32,20 +32,22 @@ "maps:generate": "node ./src/scripts/generateMaps.cjs && node ./src/scripts/findMissing.cjs && yarn build" }, "dependencies": { - "@codecov/rollup-plugin": "^1.2.0", "@ethersproject/address": "5.7.0", "@ethersproject/bignumber": "5.7.0", + "ethers": "5.7.2", + "viem": "^2.21.6" + }, + "devDependencies": { + "@codecov/rollup-plugin": "^1.2.0", "@rollup/plugin-commonjs": "^28.0.0", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^15.3.0", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-url": "^8.0.2", "babel-plugin-transform-export-extensions": "^6.22.0", - "ethers": "5.7.2", "lodash": "^4.17.21", "rollup": "^4.22.4", "rollup-plugin-typescript2": "^0.36.0", - "typescript": "^5.3.3", - "viem": "^2.21.6" + "typescript": "^5.3.3" } }