Skip to content

Conversation

@rbarker-dev
Copy link
Contributor

Description

This pull request standardizes dependency management and improves consistency across all packages in the monorepo. The most significant changes are the enforcement of exact dependency versions, updates to package dependencies (including major version bumps and new packages), and minor configuration improvements for testing and error handling.

Dependency management and standardization:

  • Added save-exact=true to all .npmrc files to ensure all dependencies are installed with exact versions, preventing version drift across environments.
  • Updated all package.json files to use exact version numbers for both dependencies and devDependencies, replacing caret (^) and tilde (~) ranges. This affects all major packages: backend, cli, contracts, defenders, sdk, web, and the root. [1] [2] [3] [4] [5] [6] [7]
  • Added or updated several dependencies across packages, including new packages like @hashgraph/hedera-custodians-integration, @notabene/pii-sdk, web3, react-app-rewired, and debug. [1] [2] [3] [4] [5]

Testing and configuration improvements:

  • Updated transform and moduleNameMapper patterns in Jest configurations for backend and web to remove unnecessary regex anchors and improve compatibility with new dependency versions. [1] [2]

Code style and error handling:

  • Minor formatting changes for improved readability in error messages and service/controller method calls in backend/src/transaction/transaction.controller.ts and backend/src/transaction/transaction.service.ts. [1] [2]

New dependencies and features:

  • Added new dependencies such as debug, chalk, and other utility packages to defenders and the root package.json to support improved logging and CLI output. [1] [2]

Monorepo-wide consistency:

  • Ensured all packages follow the same dependency versioning and configuration patterns, reducing maintenance overhead and potential for version conflicts. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

Let me know if you have questions about how these changes affect dependency management or development workflow!

Related Issue(s)

Closes #1322

@rbarker-dev rbarker-dev self-assigned this Sep 9, 2025
@rbarker-dev rbarker-dev requested review from a team as code owners September 9, 2025 20:18
@rbarker-dev rbarker-dev added the dependencies Pull requests that update a dependency file label Sep 9, 2025
@rbarker-dev rbarker-dev linked an issue Sep 9, 2025 that may be closed by this pull request
@swirlds-automation
Copy link

swirlds-automation commented Sep 9, 2025

Snyk checks have failed. 13 issues have been found so far.

Icon Severity Issues
Critical 5
High 8
Medium 0
Low 0

security/snyk check is complete. 13 issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@rbarker-dev rbarker-dev marked this pull request as draft September 10, 2025 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pin third party node dependencies

3 participants