yalc
Version:
Work with npm/yarn packages locally like a boss.
14 lines (13 loc) • 361 B
TypeScript
export interface AddPackagesOptions {
dev?: boolean;
link?: boolean;
linkDep?: boolean;
replace?: boolean;
update?: boolean;
safe?: boolean;
pure?: boolean;
restore?: boolean;
workspace?: boolean;
workingDir: string;
}
export declare const addPackages: (packages: string[], options: AddPackagesOptions) => Promise<void>;