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

Understanding Versioning of TSConfigs #203

Closed
stuft2 opened this issue Jul 10, 2023 · 1 comment
Closed

Understanding Versioning of TSConfigs #203

stuft2 opened this issue Jul 10, 2023 · 1 comment

Comments

@stuft2
Copy link

stuft2 commented Jul 10, 2023

I would like to understand how these configurations are being versioned. It seems that every so often a change is made that breaks my code. For example, the change from module: commonjs to module: Node16 in all the node configurations. I was using those configurations to compile specifically to commonjs but after a minor version update, all my code is compiling to Node16 syntax. Should I be locking on an exact version of my configuration?

@orta
Copy link
Member

orta commented Jul 10, 2023

You should always be locking your dependencies regardless and updating them when you're OK with handling the changes, but we did do a major version bump for all those that we could for it to indicate the change as mentioned in the README:

We target the latest versions stable version of TypeScript, note that because we want to be consistent with the versioning the target runtime we can't always do semver releases.

You're welcome to read #197 to understand why we did the most recent change

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

No branches or pull requests

2 participants