UNPKG

npm-link-up

Version:

Use this package to link your projects together for local development.

19 lines (18 loc) 1.17 kB
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: any[]) => any[]; export declare const getDepsListFromNluJSON: (nluJSON: NluConf) => string[]; export declare const getSearchRootsFromNluConf: (nluJSON: NluConf) => string[]; export declare const flattenDeep: (a: any[]) => 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: string[], opts: NLURunOpts, cb: EVCb<boolean>) => void;