Home > @microsoft/rush-lib > RushConfiguration > commonVersions
RushConfiguration.commonVersions property
Warning: This API is now obsolete.
Use
getCommonVersions
instead, which gets the correct common version data for a given active variant.
Settings from the common-versions.json config file.
Signature:
get commonVersions(): CommonVersionsConfiguration;
Remarks
If the common-versions.json file is missing, this property will not be undefined. Instead it will be initialized in an empty state, and calling CommonVersionsConfiguration.save() will create the file.