feat(emigrate): add support for reading config from emigrate.config.js (and others)

Also add a new "extension" option for generating empty migration files with the right file extension.
This commit is contained in:
Joakim Carlstein 2023-11-14 16:19:36 +01:00
parent ff822a156d
commit aa878003b9
10 changed files with 94 additions and 14 deletions

View file

@ -0,0 +1,5 @@
---
'emigrate': minor
---
Add the "extension" option for the "new" command to be able to generate empty migration files without any plugin and template and still get the right file extension. It can also be used together with the "template" option to override the template file's file extension when saving the new migration file.

View file

@ -0,0 +1,5 @@
---
'emigrate': minor
---
Support reading config from for instance emigrate.config.js