@coveo/semantic-monorepo-tools
Version:
A library of helper functions to do SemVer2 compliant releases from Conventional Commits in monorepos
15 lines (14 loc) • 684 B
TypeScript
type WorkspaceUpdateStrategy = "NoUpdate" | "UpdateWithCarret" | "UpdateExact";
interface Options {
/**
* Define how to update the other packages of the workspace:
* * `NoUpdate`: Do not update the other packages of the workspaces
* * `UpdateWithCarret`: Update the other packages of the workspaces, with a loose specifier matching the inputed version
* * `UpdateExact`: Update the other packages of the workspaces, with the inputed version (strict).
*
* @default {'NoUpdate'}
*/
workspaceUpdateStrategy?: WorkspaceUpdateStrategy;
}
export default function (newVersion: string, PATH: string, options?: Options): Promise<void>;
export {};