npm-link-up
Version:
Use this package to link your projects together for local development.
19 lines (18 loc) • 1.21 kB
TypeScript
import { EVCb, NluConf, NluMap, NluMapItem, PkgJSON } from "./index";
import { NLURunOpts } from "./commands/run/cmd-line-opts";
export declare const globalConfigFilePath: string;
export declare const getPath: (map: NluMap, dep: NluMapItem, opts: any) => (packageName: string) => string;
export declare const handleConfigCLIOpt: (cwd: string, opts: any) => {
nluFilePath: string;
nluConfigRoot: string;
};
export declare const validateConfigFile: (data: NluConf) => boolean | PromiseLike<any>;
export declare const getUniqueList: (a: Array<any>) => Array<any>;
export declare const getDepsListFromNluJSON: (nluJSON: NluConf) => Array<string>;
export declare const getSearchRootsFromNluConf: (nluJSON: NluConf) => Array<string>;
export declare const flattenDeep: (a: Array<any>) => Array<any>;
export declare const getProdKeys: (pkg: PkgJSON) => string[];
export declare const getDevKeys: (pkg: PkgJSON) => string[];
export declare const validateOptions: (opts: any) => boolean;
export declare const mapConfigObject: (obj: any) => any;
export declare const determineIfReinstallIsNeeded: (nodeModulesPath: string, dep: NluMapItem, depsKeys: Array<string>, opts: NLURunOpts, cb: EVCb<boolean>) => void;