Skip to content

chore: upgrade dependencies, improve test config, and update TypeScript setup#117

Open
fahmidareem3 wants to merge 7 commits intodevelopfrom
chore/security-updates
Open

chore: upgrade dependencies, improve test config, and update TypeScript setup#117
fahmidareem3 wants to merge 7 commits intodevelopfrom
chore/security-updates

Conversation

@fahmidareem3
Copy link
Copy Markdown
Contributor

Summary

This PR focuses on dependency upgrades, test configuration improvements, and TypeScript setup updates across the monorepo to ensure better stability, compatibility, and developer experience.


Changes

🔧 Dependency Updates

  • Upgraded core dependencies:
    • typescript → 6.0.3
    • jest → 30.3.0
    • ts-jest → 29.4.9
    • @types/node → 25.5.2
    • viem → 2.47.6
    • @changesets/cli → 2.30.0

🧪 Testing Improvements

  • Updated Jest configuration:
    • Added explicit testMatch
    • Increased testTimeout
  • Separated test scripts:
    • test:unit
    • test:integration
  • Added dedicated tsconfig.test.json for test environment

⚙️ TypeScript Configuration

  • Upgraded to TypeScript 6 support:
    • Added "ignoreDeprecations": "6.0"
  • Improved compiler settings:
    • Updated target, module, and moduleResolution
    • Enabled:
      • experimentalDecorators
      • emitDecoratorMetadata
  • Enhanced type support for Jest and Node

📦 Package Adjustments

  • Refined scripts for better test targeting
  • Improved build and type consistency across:
    • contracts
    • payments

Impact

  • ✅ Better compatibility with latest TypeScript ecosystem
  • ✅ More reliable and structured testing setup
  • ✅ Improved developer experience and maintainability
  • ⚠️ Minor breaking changes may occur due to TypeScript 6 upgrade (handled via config)

Notes

  • No functional logic changes introduced
  • Primarily focused on tooling, testing, and DX improvements

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2e0739b97d

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread packages/contracts/package.json Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant