-
Notifications
You must be signed in to change notification settings - Fork 75
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
harmonize TypeScript configs #2712
Comments
Ref: #2621 (comment) |
Regarding design for something like this, I'd suggest going in this direction (though it's just a suggestion and we've already implemented some similar stuff):
A hazard can be cyclic references which are not otherwise surfaced at runtime. For example, package A depends on B but B depends on a type from A. A |
Refs: #2712 ## Description Remove `maxNodeModuleJsDepth` which is no longer necessary. One small step towards - #2712 ### Security Considerations None. ### Scaling Considerations None. ### Documentation Considerations None. ### Testing Considerations None. ### Compatibility Considerations None. ### Upgrade Considerations None.
What is the Problem Being Solved?
Each package has its own TypeScript configuration. This entails that typechecking the repo requires typechecking each package, which repeats checks over transitive imports. That's a contributor to,
Description of the Design
Harmonize the TypeScript configs so there is one master configuration. Each package can be typechecked at will, but the repo as a whole can also be typechecked with one
tsc
.This is distinct from but a step towards unifying ESlint similarly.
Security Considerations
Scaling Considerations
Test Plan
Types building for export is still per package. Existing CI verifies that each package can build its types and pack.
Compatibility Considerations
Upgrade Considerations
The text was updated successfully, but these errors were encountered: