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

RushConfiguration.getCommonVersionsFilePath() method

Gets the path to the common-versions.json config file for a specific variant.

Signature:

getCommonVersionsFilePath(variant?: string | undefined): string;

Parameters

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

Returns:

string