Rush StackShopBlogEvents
Skip to main content

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

Subspace.shouldEnsureConsistentVersions() 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 ensureConsistentVersions property from the common-versions.json config file, or from the rush.json file if it isn't defined in common-versions.json

Signature:

shouldEnsureConsistentVersions(variant?: string): boolean;

Parameters

Parameter

Type

Description

variant

string

(Optional)

Returns:

boolean