@salesforce/plugin-release-management
Version:
A plugin for preparing and publishing npm packages
27 lines (26 loc) • 776 B
TypeScript
import { FlagsConfig, SfdxCommand } from '@salesforce/command';
export declare type Change = {
author: string;
description: string;
link: string;
mergedAt: string;
mergedInto: string;
plugin: string;
title: string;
};
export declare type ChangesByPlugin = Record<string, Change[]>;
export default class ReleaseNotes extends SfdxCommand {
static readonly description: string;
static readonly examples: string[];
static readonly flagsConfig: FlagsConfig;
private octokit;
private usernames;
run(): Promise<ChangesByPlugin>;
private getNpmPackage;
private normalizePlugins;
private findDifferences;
private getNameOfUser;
private getPullsForPlugin;
private logChanges;
private logChangesMarkdown;
}