bit-bin
Version:
<a href="https://opensource.org/licenses/Apache-2.0"><img alt="apache" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a> <a href="https://github.com/teambit/bit/blob/master/CONTRIBUTING.md"><img alt="prs" src="https://img.shields.io/b
12 lines (11 loc) • 722 B
TypeScript
import { Tree, ImportSpecifier, DependencyTreeParams, ResolvedNodePackage } from './types/dependency-tree-type';
import { PathOsBased, PathLinuxAbsolute } from '../../../../utils/path';
export declare type LinkFile = {
file: string;
importSpecifiers: ImportSpecifier[];
};
export declare function resolveNodePackage(cwd: string, packageFullPath: PathLinuxAbsolute): ResolvedNodePackage | undefined;
export declare function resolveModulePath(nmPath: string, workingDir: string, root: string): PathOsBased | undefined;
export declare function getDependencyTree({ baseDir, workspacePath, filePaths, bindingPrefix, resolveModulesConfig, visited, cacheProjectAst }: DependencyTreeParams): Promise<{
tree: Tree;
}>;