Rush StackShopBlogEvents
Skip to main content

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

RushConfiguration.getCommonVersions() method

Gets the settings from the common-versions.json config file for a specific variant.

Signature:

getCommonVersions(variant?: string | undefined): CommonVersionsConfiguration;

Parameters

ParameterTypeDescription
variantstring | undefined(Optional) The name of the current variant in use by the active command.

Returns:

CommonVersionsConfiguration