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

Parameter Type Description
variant string | undefined The name of the current variant in use by the active command.

Returns:

CommonVersionsConfiguration