release-plan
Version:
_The most contributor friendly and hands-off release tool there is_.
17 lines (16 loc) • 496 B
TypeScript
export type Impact = 'major' | 'minor' | 'patch';
export type UnlabeledSection = {
unlabeled: true;
summaryText: string;
};
export type LabeledSection = {
packages: string[];
impact: Impact;
heading: string;
};
export type Section = LabeledSection | UnlabeledSection;
export interface ParsedChangelog {
sections: Section[];
}
export declare function parseChangeLog(src: string): ParsedChangelog;
export declare function parseChangeLogOrExit(src: string): ParsedChangelog;