Rush StackShopBlogEvents
Skip to main content

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

Subspace.getCommonVersionsFilePath() method

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Gets the full path to the common-versions.json config file for this subspace.

Example (subspaces feature enabled): C:\MyRepo\common\config\subspaces\my-subspace\common-versions.json Example (subspaces feature disabled): C:\MyRepo\common\config\rush\common-versions.json

Signature:

getCommonVersionsFilePath(variant?: string): string;

Parameters

Parameter

Type

Description

variant

string

(Optional)

Returns:

string