Skip to content

Home > vue-metamorph > findManualMigrations

findManualMigrations() function

Finds manual migration locations in a file

Signature:

typescript
export declare function findManualMigrations(code: string, filename: string, plugins: ManualMigrationPlugin[], opts?: Record<string, any>): ManualMigrationReport[];

Parameters

Parameter

Type

Description

code

string

Source code

filename

string

The file name

plugins

ManualMigrationPlugin[]

Manual migration plugins

opts

Record<string, any>

(Optional) CLI Options

**Returns:**

ManualMigrationReport[]

List of reports