@kazupon/lerna-changelog
Version:
Generate a changelog for a lerna monorepo
24 lines (23 loc) • 896 B
TypeScript
import { GitHubUserResponse } from './github-api';
import { CommitInfo, Release } from './interfaces';
interface Options {
categories: string[];
baseIssueUrl: string;
unreleasedName: string;
packageMode: boolean;
}
export default class MarkdownRenderer {
private options;
constructor(options: Options);
renderMarkdown(releases: Release[]): string;
renderRelease(release: Release): string | undefined;
renderContributionsByPackage(commits: CommitInfo[]): string;
renderPackageNames(packageNames: string[]): string;
renderContributionList(commits: CommitInfo[], prefix?: string): string;
renderContribution(commit: CommitInfo): string | undefined;
renderContributorList(contributors: GitHubUserResponse[]): string;
renderContributor(contributor: GitHubUserResponse): string;
private hasPackages;
private groupByCategory;
}
export {};