UNPKG

conventional-changelog-techor

Version:

Beautiful changelog based on Techor's conventional commits

55 lines (54 loc) 1.73 kB
export default function createPreset(): Promise<{ conventionalChangelog: { parserOpts: { headerPattern: RegExp; headerCorrespondence: string[]; revertPattern: RegExp; revertCorrespondence: string[]; }; writerOpts: { transform: (commit: any, context: any) => Promise<any>; groupBy: string; commitGroupsSort: (a: any, b: any) => 1 | -1; commitsSort: string[]; noteGroupsSort: string; notesSort: any; mainTemplate: string; commitPartial: string; headerPartial: string; footerPartial: string; finalizeContext: (context: any, options: any, commits: any) => any; }; }; parserOpts: { headerPattern: RegExp; headerCorrespondence: string[]; revertPattern: RegExp; revertCorrespondence: string[]; }; recommendedBumpOpts: { parserOpts: { headerPattern: RegExp; headerCorrespondence: string[]; revertPattern: RegExp; revertCorrespondence: string[]; }; whatBump: (commits: any) => { level: any; reason: string; }; }; writerOpts: { transform: (commit: any, context: any) => Promise<any>; groupBy: string; commitGroupsSort: (a: any, b: any) => 1 | -1; commitsSort: string[]; noteGroupsSort: string; notesSort: any; mainTemplate: string; commitPartial: string; headerPartial: string; footerPartial: string; finalizeContext: (context: any, options: any, commits: any) => any; }; }>;