interface ChangelogGeneratorParams {
    commitFilter?: (commit: CommitInfo) => boolean;
    commitFilterWithFiles?: (
        commit: CommitInfo,
        parsed: ConventionalCommit,
        files: string[],
    ) => boolean;
    commitFormatter?: (
        commit: CommitInfo,
        parsed: ConventionalCommit,
        files: string[],
    ) => string;
    onCommitParseFailed?: (commit: CommitInfo) => void;
    onCommitsFetched?: (commits: CommitInfo[]) => Promise<void>;
    packageCommitsFormatter?: (
        packageName: string,
        commits: Record<string, string>,
    ) => string;
}

Properties

commitFilter?: (commit: CommitInfo) => boolean
commitFilterWithFiles?: (
    commit: CommitInfo,
    parsed: ConventionalCommit,
    files: string[],
) => boolean
commitFormatter?: (
    commit: CommitInfo,
    parsed: ConventionalCommit,
    files: string[],
) => string
onCommitParseFailed?: (commit: CommitInfo) => void
onCommitsFetched?: (commits: CommitInfo[]) => Promise<void>
packageCommitsFormatter?: (
    packageName: string,
    commits: Record<string, string>,
) => string