Skip to content

relizy / getPackageJsonHistory

Function: getPackageJsonHistory() ​

getPackageJsonHistory(packageRelativePath, cwd, rev?): object[]

Defined in: src/core/moved-packages.ts:114

The commits of the package.json of a package, followed through its renames (git log --follow), with their --name-status list: the moves of the package before its first tag. Read from rev (HEAD by default).

Parameters ​

packageRelativePath ​

string

cwd ​

string

rev? ​

string

Returns ​

object[]

Released under the MIT License.