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

include .cts files when discovering migrations #1273

Merged
merged 1 commit into from
Mar 27, 2023
Merged

Conversation

dakoenig
Copy link
Contributor

The migrator currently uses /^(?!.*\.d\.ts$).*\.(cjs|js|ts)$/ to look for migration files. This regex does not include .cts files, which are TypeScripts version of .cjs files.
Since .ts and .cjs files are already supported, the migrator can include .cts files without further changes.

@WikiRik WikiRik merged commit 4ddb8d4 into sequelize:main Mar 27, 2023
@github-actions
Copy link

github-actions bot commented Jun 5, 2023

🎉 This PR is included in version 6.6.1 🎉

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants