Skip to content
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

chore: tsconfig cleanup #905

Merged
merged 1 commit into from
Sep 15, 2023
Merged

chore: tsconfig cleanup #905

merged 1 commit into from
Sep 15, 2023

Conversation

kanadgupta
Copy link
Member

🧰 Changes

Cleans up and modernizes our tsconfig!

🧬 QA & Testing

If the build passes across the board we should be good to go.

@kanadgupta kanadgupta added this to the v9 milestone Sep 15, 2023
@@ -2,20 +2,14 @@
"compilerOptions": {
"allowJs": true,
"baseUrl": "./src",
"downlevelIteration": true,
"esModuleInterop": true,
Copy link
Member Author

Choose a reason for hiding this comment

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

this flag is enabled by default now that we're on NodeNext

"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
Copy link
Member Author

Choose a reason for hiding this comment

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

this flag is enabled by default

Comment on lines -12 to -14
"paths": {
"editor": [".sink.d.ts"]
},
Copy link
Member Author

Choose a reason for hiding this comment

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

whoops

@kanadgupta kanadgupta added the refactor Issues about tackling technical debt label Sep 15, 2023
@kanadgupta kanadgupta marked this pull request as ready for review September 15, 2023 00:19
@kanadgupta kanadgupta requested a review from erunion September 15, 2023 00:19
@kanadgupta kanadgupta mentioned this pull request Sep 15, 2023
26 tasks
"module": "NodeNext",
"outDir": "dist/",
"paths": {
"editor": [".sink.d.ts"]
},
"resolveJsonModule": true,
Copy link
Member

Choose a reason for hiding this comment

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

Are we importing JSON files anywhere not in a unit test?

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah we use our package.json file in a bunch of places

@kanadgupta kanadgupta merged commit 136dc80 into next Sep 15, 2023
8 checks passed
@kanadgupta kanadgupta deleted the tsconfig-cleanup branch September 15, 2023 17:09
@kanadgupta
Copy link
Member Author

🎉 This PR is included in version 9.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Issues about tackling technical debt released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants