UNPKG

1.07 kBTypeScriptView Raw
1declare function bumpRelease(releaseType: any, options: any): Promise<void>;
2declare function revertRelease(): void;
3declare function createDiffReleasesBranch(): void;
4declare function diffRelease(sourceRelease: string, destinationRelease: string, argv?: string[], options?: {
5 branch?: string;
6 pipe?: boolean;
7}): any;
8declare function printCurrentRelease(): void;
9declare function getCurrentRelease(skipNext?: boolean): any;
10declare function getAllReleases(path?: any, branch?: any): any;
11declare function formatRelease(releaseJson: any): string;
12declare function deformatRelease(releaseString: any): {
13 major: any;
14 minor: any;
15 patch: any;
16 next: boolean;
17};
18export declare const Release: {
19 bump: typeof bumpRelease;
20 revert: typeof revertRelease;
21 createDiffBranch: typeof createDiffReleasesBranch;
22 printCurrent: typeof printCurrentRelease;
23 current: typeof getCurrentRelease;
24 all: typeof getAllReleases;
25 diff: typeof diffRelease;
26 format: typeof formatRelease;
27 deformat: typeof deformatRelease;
28};
29export {};