@pumpkin-plugins/codemod API / types / CodemodFileChange
Interface: CodemodFileChange
Defined in: types.ts:39
One changed file reported by a codemod run.
Properties
absolutePath
absolutePath:
string
Defined in: types.ts:41
Absolute path written when write mode is enabled.
after
after:
string
Defined in: types.ts:44
Contents after the transformation.
before
before:
string
Defined in: types.ts:47
Contents before the transformation.
relativePath
relativePath:
string
Defined in: types.ts:50
Path relative to the runner's current working directory.