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:
parent
ca3ab9ec62
commit
9c239e0ae5
8 changed files with 83 additions and 29 deletions
11
pnpm-lock.yaml
generated
11
pnpm-lock.yaml
generated
|
|
@ -53,9 +53,6 @@ importers:
|
|||
'@emigrate/plugin-tools':
|
||||
specifier: workspace:*
|
||||
version: link:../plugin-tools
|
||||
import-from-esm:
|
||||
specifier: 1.1.3
|
||||
version: 1.1.3
|
||||
devDependencies:
|
||||
'@emigrate/tsconfig':
|
||||
specifier: workspace:*
|
||||
|
|
@ -72,6 +69,10 @@ importers:
|
|||
version: link:../tsconfig
|
||||
|
||||
packages/plugin-tools:
|
||||
dependencies:
|
||||
import-from-esm:
|
||||
specifier: 1.2.1
|
||||
version: 1.2.1
|
||||
devDependencies:
|
||||
'@emigrate/tsconfig':
|
||||
specifier: workspace:*
|
||||
|
|
@ -3134,8 +3135,8 @@ packages:
|
|||
resolve-from: 4.0.0
|
||||
dev: false
|
||||
|
||||
/import-from-esm@1.1.3:
|
||||
resolution: {integrity: sha512-1BxFAthpQf5qabfPBaFBRAGIh8TVt6WB4ujqedfoF4oVjwyl6S/dZv26gL5kgPhbO1XBqu4hcELUlV/+IPsC3A==}
|
||||
/import-from-esm@1.2.1:
|
||||
resolution: {integrity: sha512-Nly5Ab75rWZmOwtMa0B0NQNnHGcHOQ2zkU/bVENwK2lbPq+kamPDqNKNJ0hF7w7lR/ETD5nGgJq0XbofsZpYCA==}
|
||||
engines: {node: '>=16.20'}
|
||||
dependencies:
|
||||
import-meta-resolve: 4.0.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue