1 | import { PackageManagerFlag } from './config';
|
2 | /** @module pkg-install */
|
3 | export declare type PackageMap = {
|
4 | [packageName: string]: string | undefined;
|
5 | };
|
6 | export declare type PackageList = string[];
|
7 | export declare type Packages = PackageMap | PackageList;
|
8 | export declare type SupportedPackageManagers = 'yarn' | 'npm';
|
9 | /**
|
10 | * What to do with I/O. This is passed to `execa`
|
11 | */
|
12 | export declare type StdioOption = 'pipe' | 'ignore' | 'inherit';
|
13 | export declare type ConstructArgumentsResult = {
|
14 | args: string[];
|
15 | ignoredFlags: PackageManagerFlag[];
|
16 | };
|