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

feat: support typescript >= 4.5's module resolution #14713

Merged
merged 3 commits into from Jul 3, 2022

Conversation

ephys
Copy link
Member

@ephys ephys commented Jul 3, 2022

Description of changes

See #14610 for details

This PR is that PR, but with the last change request applied.

Closes #14610

How to test this

We don't currently have the infrastructure to test how the different versions & configurations of TypeScript import Sequelize

In the meantime, you can clone github.com/sequelize/sequelize-sscce, update @sequelize/core to its latest version, then edit the package.json configuration of @sequelize/core to apply the changes made to exports

TSC's module resolution option should be set to nodenext, node12, and/or node16 (node16 replaces node12 in newer versions of TSC)

@ephys ephys requested a review from a team July 3, 2022 11:13
@ephys ephys self-assigned this Jul 3, 2022
@ephys ephys added the type: typescript For issues and PRs. Things that involve typescript, such as typings and intellisense. label Jul 3, 2022
@WikiRik
Copy link
Member

WikiRik commented Jul 3, 2022

About the testing; should we incorporate various TypeScript configurations in the weekly CI checks that we are planning on doing?

@ephys
Copy link
Member Author

ephys commented Jul 3, 2022

Yes I think that would be good

@ephys ephys merged commit 4558f57 into main Jul 3, 2022
@ephys ephys deleted the ephys/support-tsc-node16 branch July 3, 2022 14:06
@github-actions
Copy link
Contributor

github-actions bot commented Aug 7, 2022

🎉 This PR is included in version 7.0.0-alpha.15 🎉

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
released on @v7 type: typescript For issues and PRs. Things that involve typescript, such as typings and intellisense.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants