Skip to content

basalt / cli/src / runUpgrade

Function: runUpgrade() ​

> runUpgrade(migrations, fs, options): Promise<UpgradeReport[]>

Defined in: cli/src/upgrade.ts:61

Runs the selected migrations. With dry, computes and reports edits without writing. Returns a per-migration report of the files it changed.

Parameters ​

migrations ​

Migration[]

fs ​

UpgradeFs

options ​

dir ​

string

dry? ​

boolean

only? ​

string

Returns ​

Promise<UpgradeReport[]>

Released under the MIT License.