Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > RushConfiguration > packageManagerWrapper

RushConfiguration.packageManagerWrapper property

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

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

Signature:

readonly packageManagerWrapper: 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.