Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.24 KB

File metadata and controls

23 lines (16 loc) · 1.24 KB
hide_title true
custom_edit_url
pagination_prev
pagination_next

Home > @microsoft/rush-lib > PnpmOptionsConfiguration > globalAllowedDeprecatedVersions

PnpmOptionsConfiguration.globalAllowedDeprecatedVersions property

The globalAllowedDeprecatedVersions setting suppresses installation warnings for package versions that the NPM registry reports as being deprecated. This is useful if the deprecated package is an indirect dependency of an external package that has not released a fix. The settings are copied into the pnpm.allowedDeprecatedVersions field of the common/temp/package.json file that is generated by Rush during installation.

PNPM documentation: https://pnpm.io/package\_json\#pnpmalloweddeprecatedversions

If you are working to eliminate a deprecated version, it's better to specify allowedDeprecatedVersions in the package.json file for individual Rush projects.

Signature:

readonly globalAllowedDeprecatedVersions: Record<string, string> | undefined;