-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(synapse-interface): deprecate unused dependencies #2287
Conversation
* Move deps that are for development into devDeps * Remove unused deps * Remove deprecated code
WalkthroughThe project has undergone a significant transformation, focusing on dependency management and code optimization. Key changes include transitioning from Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: .coderabbit.yaml
Files selected for processing (6)
- packages/synapse-interface/components/StateManagedBridge/BridgeTransactionButton.tsx (1 hunks)
- packages/synapse-interface/package.json (4 hunks)
- packages/synapse-interface/pages/pool/poolManagement/Deposit.tsx (3 hunks)
- packages/synapse-interface/pages/state-managed-bridge/index.tsx (1 hunks)
- packages/synapse-interface/utils/types/index.tsx (1 hunks)
- yarn.lock (15 hunks)
Files skipped from review due to trivial changes (1)
- packages/synapse-interface/package.json
Additional comments: 4
packages/synapse-interface/components/StateManagedBridge/BridgeTransactionButton.tsx (1)
- 8-8: The import of
isAddress
has been successfully updated from@ethersproject/address
toviem
. Please ensure that the functionality ofisAddress
fromviem
matches the expected behavior and that all instances whereisAddress
is used have been tested to confirm correct operation.packages/synapse-interface/utils/types/index.tsx (1)
- 3-3: The import of
getAddress
has been successfully updated from@ethersproject/address
toviem
. Please ensure that the functionality ofgetAddress
fromviem
matches the expected behavior and that all instances wheregetAddress
is used have been tested to confirm correct operation.packages/synapse-interface/pages/pool/poolManagement/Deposit.tsx (1)
- 43-43: The import of
getAddress
andzeroAddress
has been successfully updated to useviem
instead of@ethersproject/address
. Please ensure that the functionality of these functions fromviem
matches the expected behavior and that all instances where they are used have been tested to confirm correct operation.packages/synapse-interface/pages/state-managed-bridge/index.tsx (1)
- 64-64: The import of
isAddress
has been successfully updated to useviem
, and the removal ofcreatePublicClient
andhttp
imports suggests a cleanup of unused imports. Please ensure that the functionality ofisAddress
fromviem
matches the expected behavior and that all instances where it is used have been tested to confirm correct operation. Additionally, confirm that the removal ofcreatePublicClient
andhttp
does not affect any functionality.
Deploying with Cloudflare Pages
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: .coderabbit.yaml
Files selected for processing (2)
- packages/synapse-interface/package.json (4 hunks)
- yarn.lock (17 hunks)
Files skipped from review as they are similar to previous changes (1)
- yarn.lock
Additional comments: 1
packages/synapse-interface/package.json (1)
- 99-107: The addition of testing-related dependencies (
cypress
,@depay/web3-mock
,@testing-library/cypress
,start-server-and-test
,@graphql-codegen/cli
,@graphql-codegen/client-preset
,@graphql-codegen/introspection
,@graphql-codegen/typescript-rtk-query
,@testing-library/jest-dom
,@testing-library/react
,@types/redux-persist
,jest
,jest-environment-jsdom
) is a positive change, enhancing the project's testing capabilities. However, ensure that the newly added dependencies are indeed used within the project's tests to avoid bloating thedevDependencies
. If some of these packages are not utilized, consider removing them to keep the project lean.
Summary by CodeRabbit
044f370ab4472dfb774d93b5fc21e1e3e8adedfe: synapse-interface preview link
da8090ad090f19e7b91d2a3f5df311bd13c1f9b5: synapse-interface preview link
6e6fb45e27395aeb8ba6f36db84f4f61de0ceb06: synapse-interface preview link
6d55f9483ff30cb035b5f0d4196458510ae639ff: synapse-interface preview link