Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > VersionPolicy > setDependenciesBeforeCommitAsync

VersionPolicy.setDependenciesBeforeCommitAsync() method

Tells the version policy to modify any dependencies in the target package to values used for checked-in source.

Signature:

setDependenciesBeforeCommitAsync(packageName: string, configuration: RushConfiguration): Promise<void>;

Parameters

Parameter

Type

Description

packageName

string

configuration

RushConfiguration

Returns:

Promise<void>