1 | import { PkgIdentifier } from '../types';
|
2 | import { Dependencies } from '../util';
|
3 | export declare type PnpmDepPath = string;
|
4 | export declare type PnpmLockPkg = {
|
5 | name?: string;
|
6 | version?: string;
|
7 | id?: string;
|
8 | dev: boolean;
|
9 | optional?: boolean;
|
10 | dependencies: Record<string, string>;
|
11 | optionalDependencies?: Record<string, string>;
|
12 | peerDependencies?: Record<string, string>;
|
13 | engines?: Record<string, string>;
|
14 | os?: string;
|
15 | cpu?: string;
|
16 | deprecated?: boolean;
|
17 | bundledDependencies?: Record<string, string>;
|
18 | requiresBuild?: boolean;
|
19 | prepare?: boolean;
|
20 | hasBin?: boolean;
|
21 | };
|
22 | export declare type NormalisedPnpmPkg = {
|
23 | name: string;
|
24 | version: string;
|
25 | id: string;
|
26 | isDev: boolean;
|
27 | dependencies: Record<string, string>;
|
28 | devDependencies: Record<string, string>;
|
29 | optionalDependencies?: Record<string, string>;
|
30 | };
|
31 | export declare type PnpmNode = {
|
32 | name: string;
|
33 | version: string;
|
34 | id: string;
|
35 | isDev: boolean;
|
36 | dependencies: Dependencies;
|
37 | optionalDependencies?: Dependencies;
|
38 | missingLockFileEntry?: boolean;
|
39 | };
|
40 | export declare type NormalisedPnpmPkgs = Record<PkgIdentifier, NormalisedPnpmPkg>;
|
41 | export declare type PnpmDeps = Record<string, {
|
42 | name: string;
|
43 | version: string;
|
44 | specifier?: string;
|
45 | isDev: boolean;
|
46 | }>;
|
47 | export declare type ParsedDepPath = {
|
48 | name?: string;
|
49 | version?: string;
|
50 | };
|
51 | export declare type PnpmWorkspacePath = string;
|
52 | export declare type DepName = string;
|
53 | export declare type DepVersion = string;
|
54 | export declare type PnpmImporter = Record<DepName, DepVersion>;
|
55 | export declare type PnpmImporters = Record<PnpmWorkspacePath, Record<DepName, DepVersion>>;
|