1 | import { Lockfile } from '@pnpm/lockfile-utils';
|
2 | import { Registries } from '@pnpm/types';
|
3 | export default function hoistByLockfile(match: (dependencyName: string) => boolean, opts: {
|
4 | getIndependentPackageLocation?: (packageId: string, packageName: string) => Promise<string>;
|
5 | lockfile: Lockfile;
|
6 | lockfileDir: string;
|
7 | modulesDir: string;
|
8 | registries: Registries;
|
9 | virtualStoreDir: string;
|
10 | }): Promise<{
|
11 | [alias: string]: string[];
|
12 | }>;
|
13 | export interface Dependency {
|
14 | name: string;
|
15 | location: string;
|
16 | children: {
|
17 | [alias: string]: string;
|
18 | };
|
19 | depth: number;
|
20 | absolutePath: string;
|
21 | }
|