@pumpkin-plugins/codemod API / update-build / UpdateBuildOptions
Interface: UpdateBuildOptions
Defined in: update-build.ts:22
Dependencies that can be replaced to run the update workflow without network or installed packages.
Properties
cwd?
optionalcwd?:string
Defined in: update-build.ts:24
Working project directory; defaults to the current directory.
lookup?
optionallookup?:UpdateBuildVersionLookup
Defined in: update-build.ts:26
Fresh npm lookup, injectable for tests.
migrations?
optionalmigrations?: readonlyBuildMigration[]
Defined in: update-build.ts:28
Release migration registry; injectable for interval and ordering tests.
resolveInstalledVersion?
optionalresolveInstalledVersion?: (projectRoot) =>string|undefined
Defined in: update-build.ts:30
Resolves the builder version installed in the project root.
Parameters
projectRoot
string
Returns
string | undefined
write?
optionalwrite?:boolean
Defined in: update-build.ts:32
Writes previewed changes when true.