UNPKG

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