@better-builds/lets-version
Version:
A package that reads your conventional commits and git history and recommends (or applies) a SemVer version bump for you
9 lines (8 loc) • 483 B
TypeScript
import { BumpRecommendation, ChangeLogLineFormatter, ChangelogUpdate, GitCommitWithConventionalAndPackageInfo } from './types.js';
export declare function getFormattedChangelogDate(): string;
export interface GenerateChangelogOpts {
bumps: BumpRecommendation[];
commits: GitCommitWithConventionalAndPackageInfo[];
lineFormatter?: ChangeLogLineFormatter;
}
export declare function getChangelogUpdateForPackageInfo(opts: GenerateChangelogOpts): Promise<ChangelogUpdate[]>;