Skip to content

Latest commit

 

History

History
112 lines (54 loc) · 1.5 KB

File metadata and controls

112 lines (54 loc) · 1.5 KB
hide_title true
custom_edit_url
pagination_prev
pagination_next

Home > @microsoft/rush-lib > PackageManager

PackageManager class

An abstraction for controlling the supported package managers: PNPM, NPM, and Yarn.

Signature:

export declare abstract class PackageManager 

Remarks

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the PackageManager class.

Properties

Property

Modifiers

Type

Description

packageManager

readonly

PackageManagerName

The package manager.

shrinkwrapFilename

readonly

string

The filename of the shrinkwrap file that is used by the package manager.

version

readonly

string

The SemVer version of the package manager.