vue-metamorph package
Functions
Function | Description |
|---|---|
Creates a CLI runner that globs files and runs codemod/manual-migration plugins against them. Parses | |
Runs manual migration plugins against source code and returns reports identifying nodes that require human attention. Does not modify the code. | |
Parses source code into ASTs, runs codemod plugins against them, and returns the transformed source code. This is the core function of vue-metamorph. The filename determines how code is parsed: - |
Interfaces
Interface | Description |
|---|---|
vue-metamorph CLI Options |
Namespaces
Namespace | Description |
|---|---|
Variables
Variable | Description |
|---|---|
Combined AST node builders for both script (ESTree/Babel) and template (Vue SFC) nodes. Script builders create JavaScript/TypeScript AST nodes (e.g. |
Type Aliases
Type Alias | Description |
|---|---|
A plugin that updates source code | |
An error that was encountered during parsing or plugin execution | |
A plugin for finding nodes that cannot be migrated automatically | |
An object containing a manual migration that a ManualMigrationPlugin reported | |
Union of plugin types | |
Function signature for the onProgress function passed to createVueMetamorphCli | |
Return type of the | |
ESTree Program type, with an additional property |
