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

rework generateTSConfig #3703

Merged
merged 3 commits into from
Jul 25, 2024
Merged

rework generateTSConfig #3703

merged 3 commits into from
Jul 25, 2024

Conversation

lesleydreyer
Copy link
Contributor

@lesleydreyer lesleydreyer commented Jul 25, 2024

The generateTSConfig writes to commonjs.

Ideas were to...
A) check the package.json and adjust the compilerOptions to module/target/resolution to nodenext/esnext if it's a module
B) remove generateTSConfig completely
C) keep some options

We looked at the git history and weren't completely clear why generating a tsconfig is needed since we already do what it's doing in the tsconfigs, so decided maybe keeping the references and just allow the original options for the rest.

@lesleydreyer lesleydreyer changed the title rework generate tsconfig WIP rework generate tsconfig Jul 25, 2024
@lesleydreyer lesleydreyer changed the title WIP rework generate tsconfig Draft: rework generate tsconfig Jul 25, 2024
@lesleydreyer lesleydreyer changed the title Draft: rework generate tsconfig rework generateTSConfig Jul 25, 2024
Copy link
Member

@jsnoble jsnoble left a comment

Choose a reason for hiding this comment

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

LGTM

@jsnoble jsnoble merged commit 40a66dd into master Jul 25, 2024
60 of 62 checks passed
@jsnoble jsnoble deleted the rework-sync-tsconfig branch July 25, 2024 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants