UNPKG

manual-git-changelog

Version:

A simple tool for appending to a changelog based on git commits and tags.

9 lines (8 loc) 673 B
export declare function getDefaultChangelogHeader(): string; export declare function getVersion(packageJson: string): string; export declare function getRepoUrl(packageJson: string): string; export declare function getCommitUrl(repoUrl: string, hash: string): string; export declare function getVersionTitle(newVersion: string, previousVersion: string, repoUrl: string, date: string): string; export declare function getVersionText(newVersion: string, title: string, commits: string): string; export declare function formatCommits(commits: string[], repoUrl: string): string; export declare function insertIntoChangelog(changelogText: string, versionText: string): string;