@salesforce/plugin-release-management
Version:
A plugin for preparing and publishing npm packages
18 lines (17 loc) • 605 B
TypeScript
import { FlagsConfig, SfdxCommand } from '@salesforce/command';
import { CommitInspection } from '../../../inspectCommits';
declare type PackageCommits = CommitInspection & {
name: string;
currentVersion: string;
};
declare type Response = {
shouldRelease: boolean;
majorBump: boolean;
packages?: PackageCommits[];
};
export default class Validate extends SfdxCommand {
static readonly description = "inspects the git commits to see if there are any commits that will warrant a new release";
static readonly flagsConfig: FlagsConfig;
run(): Promise<Response>;
}
export {};