Home > @microsoft/rush-lib > PnpmOptionsConfiguration

PnpmOptionsConfiguration class

Options that are only used when the PNPM package manager is selected.


export declare class PnpmOptionsConfiguration extends PackageManagerOptionsConfigurationBase 

Extends: PackageManagerOptionsConfigurationBase


It is valid to define these options in rush.json even if the PNPM package manager is not being used.

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


Property Modifiers Type Description
pnpmStore   PnpmStoreOptions The method used to resolve the store used by PNPM.
pnpmStorePath   string The path for PNPM to use as the store directory.Will be overridden by environment variable RUSH_PNPM_STORE_PATH
preventManualShrinkwrapChanges   boolean If true, then rush install will report an error if manual modifications were made to the PNPM shrinkwrap file without running rush update afterwards.
strictPeerDependencies   boolean If true, then Rush will add the “–strict-peer-dependencies” option when invoking PNPM.
useWorkspaces   boolean If true, then Rush will use the workspaces feature to install and link packages when invoking PNPM.