Description:
Some packages in the monorepo have inconsistent TypeScript build configurations, leading to different output structures in dist/ folders. This causes import issues and type definition problems for consumers.
Expected Behaviour:
- All packages generate consistent
.d.ts type definitions
- Uniform
dist/ output structure across all packages
- Source maps consistently generated for debugging
Approach:
- Audit all
tsconfig.json and tsconfig.prod.json files
- Create shared base TypeScript config
- Ensure all packages extend the base config
- Verify type definitions are properly exported in
package.json
Description:
Some packages in the monorepo have inconsistent TypeScript build configurations, leading to different output structures in
dist/folders. This causes import issues and type definition problems for consumers.Expected Behaviour:
.d.tstype definitionsdist/output structure across all packagesApproach:
tsconfig.jsonandtsconfig.prod.jsonfilespackage.json