Rush StackShopBlogEvents
Skip to main content

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

PnpmOptionsConfiguration.globalCatalogs property

The globalCatalogs setting provides named catalogs for organizing dependency versions. Each catalog can be referenced using the catalog:catalogName protocol in package.json files (e.g., catalog:react18). The settings are written to the catalogs field of the pnpm-workspace.yaml file that is generated by Rush during installation.

PNPM documentation: https://pnpm.io/catalogs

Signature:

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