UNPKG

msync

Version:

Easily manage building and syncing multiple node-modules in a flexibly defined workspace.

8 lines (7 loc) 420 B
import { IModule } from '../types'; export declare function toPackages(moduleDirs: string[]): Promise<IModule[]>; export declare function dependsOn(pkg: IModule, modules: IModule[]): IModule[]; export declare function updatePackageRef(target: IModule, moduleName: string, newVersion: string, options: { save: boolean; }): Promise<boolean>; export declare function savePackage(dir: string, json: any): Promise<void>;