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:
parent
ff822a156d
commit
aa878003b9
10 changed files with 94 additions and 14 deletions
5
.changeset/little-moons-rush.md
Normal file
5
.changeset/little-moons-rush.md
Normal 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.
|
||||
5
.changeset/shaggy-doors-trade.md
Normal file
5
.changeset/shaggy-doors-trade.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'emigrate': minor
|
||||
---
|
||||
|
||||
Support reading config from for instance emigrate.config.js
|
||||
Loading…
Add table
Add a link
Reference in a new issue