Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RunCommand

Hierarchy

Properties

Methods

Properties

cwd

cwd: undefined | string = Option.String(`--cwd`, {hidden: true})

idents

idents: string[] = Option.Rest()

Static paths

paths: string[][] = [[`rebuild`],]

Static usage

usage: Usage = Command.Usage({description: `rebuild the project's native packages`,details: `This command will automatically cause Yarn to forget about previous compilations of the given packages and to run them again.Note that while Yarn forgets the compilation, the previous artifacts aren't erased from the filesystem and may affect the next builds (in good or bad). To avoid this, you may remove the .yarn/unplugged folder, or any other relevant location where packages might have been stored (Yarn may offer a way to do that automatically in the future).By default all packages will be rebuilt, but you can filter the list by specifying the names of the packages you want to clear from memory.`,examples: [[`Rebuild all packages`,`$0 rebuild`,], [`Rebuild fsevents only`,`$0 rebuild fsevents`,]],})

Methods

execute

  • execute(): Promise<0 | 1>

Generated using TypeDoc