feat(plugins): automatically prefix plugins when loading if necessary

I.e. when specifying only "--plugin generate-js" Emigrate will load the @emigrate/plugin-generate-js plugin.
This commit is contained in:
Joakim Carlstein 2023-11-10 10:45:15 +01:00
parent ca3ab9ec62
commit 9c239e0ae5
8 changed files with 83 additions and 29 deletions

View file

@ -32,5 +32,8 @@
"license": "MIT",
"devDependencies": {
"@emigrate/tsconfig": "workspace:*"
},
"dependencies": {
"import-from-esm": "1.2.1"
}
}