UNPKG

auto-version-tool

Version:

根据git commit历史自动修改版本号并生成changelog的CLI工具 (Automatically bump version & generate changelog based on git commits)

23 lines 875 B
import { Config, CommitInfo, VersionInfo, ChangelogEntry } from '../types/Config'; export declare class ChangelogService { private config; constructor(config: Config); generateChangelog(versionInfo: VersionInfo, commits: CommitInfo[]): Promise<string>; updateChangelog(versionInfo: VersionInfo, commits: CommitInfo[]): Promise<void>; private createChangelogEntry; private filterCommits; private renderChangelogEntry; private formatCommit; private groupOtherCommits; private getTypeTitle; private getTypeEmoji; private getGroupTitle; private getTemplate; private getDefaultTemplate; private mergeChangelog; private createInitialChangelog; getChangelogHistory(): Promise<ChangelogEntry[]>; private parseChangelog; validateChangelog(): Promise<boolean>; } //# sourceMappingURL=ChangelogService.d.ts.map