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

Upgrade to TypeScript 5.0 #574

Merged
merged 4 commits into from
Apr 4, 2023
Merged

Upgrade to TypeScript 5.0 #574

merged 4 commits into from
Apr 4, 2023

Conversation

smaye81
Copy link
Member

@smaye81 smaye81 commented Apr 4, 2023

This upgrades Connect-ES' packages to use TypeScript 5.0.3.

The major change was to accommodate the new verbatimModuleSyntax flag. This required removing the usage of importsNotUsedAsValues from our main tsconfig and applying the new flag to any build commands generating ESM output. Note that we can't use this in our main tsconfig.base.json because it isn't permitted when the module output is CJS.

For consistency, this flag was used in all the CLI commands for generating ESM. The only place where it was put into the actual tsconfig.json was for the example.

@smaye81 smaye81 requested a review from timostamm April 4, 2023 20:45
@smaye81 smaye81 marked this pull request as ready for review April 4, 2023 21:05
@smaye81 smaye81 merged commit ed86117 into main Apr 4, 2023
@smaye81 smaye81 deleted the sayers/update_ts5.0 branch April 4, 2023 21:18
@timostamm timostamm mentioned this pull request Apr 11, 2023
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.

None yet

2 participants