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

3
pnpm-lock.yaml generated
View file

@ -59,6 +59,9 @@ importers:
'@emigrate/plugin-tools':
specifier: workspace:*
version: link:../plugin-tools
cosmiconfig:
specifier: 8.3.6
version: 8.3.6(typescript@5.2.2)
devDependencies:
'@emigrate/tsconfig':
specifier: workspace:*