mirror of
https://github.com/pnpm/pnpm.git
synced 2026-03-28 03:51:40 -04:00
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
104 lines
1.9 KiB
TypeScript
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,
|
|
} |