msync
Version:
Easily manage building and syncing multiple node-modules in a flexibly defined workspace.
38 lines (37 loc) • 958 B
TypeScript
import { IModule, ITable } from '../common';
export declare const name = "bump";
export declare const alias = "b";
export declare const description = "Bumps a module version along with it's entire dependency graph.";
export declare const args: {
'-i': string;
'-d': string;
'-l': string;
};
export declare type ReleaseType = 'major' | 'minor' | 'patch';
export declare function cmd(args?: {
params: string[];
options: {
i?: boolean;
d?: boolean;
l?: boolean;
};
}): Promise<void>;
export interface IOptions {
includeIgnored?: boolean;
local?: boolean;
dryRun?: boolean;
}
export declare function bump(options?: IOptions): Promise<void>;
export interface IBumpOptions {
release: ReleaseType;
pkg: IModule;
allModules: IModule[];
save: boolean;
level?: number;
ref?: {
name: string;
fromVersion: string;
toVersion: string;
};
table?: ITable;
}