Skip to content

Latest commit

 

History

History
78 lines (40 loc) · 1.26 KB

File metadata and controls

78 lines (40 loc) · 1.26 KB
hide_title true
custom_edit_url
pagination_prev
pagination_next

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

RushConfiguration.getImplicitlyPreferredVersions() method

Returns a map of all direct dependencies that only have a single semantic version specifier.

Signature:

getImplicitlyPreferredVersions(subspace?: Subspace, variant?: string): Map<string, string>;

Parameters

Parameter

Type

Description

subspace

Subspace

(Optional) The subspace to use

variant

string

(Optional) The name of the current variant in use by the active command.

Returns:

Map<string, string>

A map of dependency name --<></>> version specifier for implicitly preferred versions.