Skip to content

include .cts files when discovering migrations#1273

Merged
WikiRik merged 1 commit into
sequelize:mainfrom
dakoenig:main
Mar 27, 2023
Merged

include .cts files when discovering migrations#1273
WikiRik merged 1 commit into
sequelize:mainfrom
dakoenig:main

Conversation

@dakoenig
Copy link
Copy Markdown
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
Copy Markdown

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.

2 participants