-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
build(ui): Consolidate tsconfig files #106034
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
Conversation
We shouldn't need tsconfig files, i think these are mostly from when we were moving the app to typescript
|
🚨 Warning: This pull request contains Frontend and Backend changes! It's discouraged to make changes to Sentry's Frontend and Backend in a single pull request. The Frontend and Backend are not atomically deployed. If the changes are interdependent of each other, they must be separated into two pull requests and be made forward or backwards compatible, such that the Backend or Frontend can be safely deployed independently. Have questions? Please ask in the |
| "allowJs": true, | ||
| "checkJs": true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keeping these enabled like we had before
| "checkJs": true, | ||
|
|
||
| "esModuleInterop": true, | ||
| "experimentalDecorators": false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
turned off experimental decorators since i think we might have been using them at some point, but we aren't anymore
Adds the typescript (tsgo) nightly native preview https://github.com/microsoft/typescript-go We could continue to adopt this and run it as the typechecker in our github actions. Adds a comment in static/AGENTS.md that should point claude code to the right command related tsconfig consolidation #106034
Saves about 1gb of memory when actively typechecking. After consolidating tsconfigs in #106034 we were typechecking more files. This reverts the fork-ts-typechecker plugin to the original behavior.
Saves about 1gb of memory when actively typechecking. After consolidating tsconfigs in #106034 we were typechecking more files. This reverts the fork-ts-typechecker plugin to the original behavior. reminder that you can always turn this off and save a bunch of cpu/memory with `NO_TS_FORK=1`
consolidates tsconfig files that i think we left hanging around after finishing migrating to typescript. I don't think the complexity of having 3 tsconfigs is worth whatever slight speed increase we see from not typechecking a subset of files. rspack config can be setup to exclude tests if we need to exclude them there
merges root tsconfig with
tsconfig.base.jsonand also: