Files
pnpm/src/types.ts
zkochan b96e30cf3f refactor(reporter): remove debug option
Debug option was used with the debug package.
debug was substituted with bole.
To have more info printed a new reporter have to be created.

BREAKING CHANGE:

--debug option removed
2017-01-16 20:49:18 +02:00

104 lines
1.9 KiB
TypeScript

import {ReporterType} from './reporter'
export type PnpmOptions = {
cwd?: string,
global?: boolean,
globalPath?: string,
storePath?: string,
ignoreScripts?: boolean
save?: boolean,
saveDev?: boolean,
saveOptional?: boolean,
production?: boolean,
fetchRetries?: number,
fetchRetryFactor?: number,
fetchRetryMintimeout?: number,
fetchRetryMaxtimeout?: number,
saveExact?: boolean,
force?: boolean,
linkLocal?: boolean,
depth?: number,
engineStrict?: boolean,
nodeVersion?: string,
preserveSymlinks?: boolean,
// proxy
proxy?: string,
httpsProxy?: string,
localAddress?: string,
// ssl
cert?: string,
key?: string,
ca?: string,
strictSsl?: boolean,
userAgent?: string,
tag?: string,
cacheTTL?: number,
flatTree?: boolean,
}
export type StrictPnpmOptions = {
cwd: string,
global: boolean,
globalPath: string,
storePath: string,
ignoreScripts: boolean
save: boolean,
saveDev: boolean,
saveOptional: boolean,
production: boolean,
fetchRetries: number,
fetchRetryFactor: number,
fetchRetryMintimeout: number,
fetchRetryMaxtimeout: number,
saveExact: boolean,
force: boolean,
linkLocal: boolean,
depth: number,
engineStrict: boolean,
nodeVersion: string,
preserveSymlinks: boolean,
// proxy
proxy?: string,
httpsProxy?: string,
localAddress?: string,
// ssl
cert?: string,
key?: string,
ca?: string,
strictSsl: boolean,
userAgent?: string,
tag: string,
cacheTTL: number,
flatTree: boolean,
}
export type Dependencies = {
[name: string]: string
}
export type Package = {
name: string,
version: string,
private?: boolean,
bin?: string | {
[name: string]: string
},
dependencies?: Dependencies,
devDependencies?: Dependencies,
optionalDependencies?: Dependencies,
peerDependencies?: Dependencies,
bundleDependencies?: string[],
bundledDependencies?: string[],
scripts?: {
[name: string]: string
},
config?: Object,
}