Skip to content

Conversation

@mondoreale
Copy link
Contributor

This pull request updates TypeScript configuration files in the packages/cli-tools directory to improve project structure and build reliability. The changes focus on refining TypeScript build references, streamlining included files, and enhancing the build and type-checking scripts.

TypeScript configuration improvements

  • Updated tsconfig.json to explicitly declare references to both tsconfig.jest.json and tsconfig.node.json, and enabled project composition for better type safety and build performance.
  • Refined tsconfig.node.json to include only the src and bin directories, and expanded references to additional internal packages (dht, trackerless-network, and test-utils) to ensure proper dependency tracking.
  • Simplified tsconfig.jest.json to only include the test directory and added a reference to tsconfig.node.json for improved test isolation and correctness.

Build and type-check script enhancements

  • Modified the build and check scripts in package.json to use the composite TypeScript build mode and to run type checking on both Jest and Node configs, ensuring more comprehensive validation before building.

@mondoreale mondoreale requested a review from teogeb December 8, 2025 15:30
@linear
Copy link

linear bot commented Dec 8, 2025

@github-actions github-actions bot added the cli-tools Related to CLI Tools Package label Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli-tools Related to CLI Tools Package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants