Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CliNpmInstaller

Installs npm packages by invoking the CLI.

Hierarchy

  • CliNpmInstaller

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private Readonly context

context: ITaskContext

Private Readonly nextVersion

nextVersion: boolean

Methods

fetchPackageNames

  • fetchPackageNames(scope: string): Promise<{ description: string; link: string; name: string }[]>

install

  • install(cwd: string, packages: string[], scopeError: string): Promise<void>

Generated using TypeDoc