@coveo/semantic-monorepo-tools
Version:
A library of helper functions to do SemVer2 compliant releases from Conventional Commits in monorepos
9 lines (8 loc) • 454 B
TypeScript
/**
* Get the commits for a specific path between from and to
* @param projectPath only consider tag that has this prefix. Will return the last tag of the current branch by default.
* @param from initial commit to consider
* @param to last commit to consider, defaults to HEAD
* @return an array containing the commits and the process that was spawned
*/
export default function (projectPath: string, from: string, to?: string): Promise<string[]>;