Skip to main content

YarnCommand

Hierarchy

Index

Constructors

constructor

  • Returns default

Properties

cacheFolder

cacheFolder: undefined | string = ...

checkCache

checkCache: undefined | boolean = ...

checkResolutions

checkResolutions: undefined | boolean = ...

cwd

cwd: undefined | string = ...

frozenLockfile

frozenLockfile: undefined | boolean = ...

ignoreEngines

ignoreEngines: undefined | boolean = ...

immutable

immutable: undefined | boolean = ...

immutableCache

immutableCache: undefined | boolean = ...

inlineBuilds

inlineBuilds: undefined | boolean = ...

json

json: boolean = ...

mode

mode: undefined | InstallMode = ...

networkTimeout

networkTimeout: undefined | string = ...

nonInteractive

nonInteractive: undefined | boolean = ...

preferOffline

preferOffline: undefined | boolean = ...

production

production: undefined | boolean = ...

refreshLockfile

refreshLockfile: undefined | boolean = ...

registry

registry: undefined | string = ...

silent

silent: undefined | boolean = ...

staticpaths

paths: string[][] = ...

staticusage

usage: Usage = ...

Methods

execute

  • execute(): Promise<0 | 1>
  • Returns Promise<0 | 1>

validateAndExecute

  • validateAndExecute(): Promise<number>
  • Returns Promise<number>