Rush StackShopBlogEvents
Skip to main content

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

VersionPolicy.setDependenciesBeforePublishAsync() method

Tells the version policy to modify any dependencies in the target package to values used for publishing.

Signature:

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

Parameters

Parameter

Type

Description

packageName

string

configuration

RushConfiguration

Returns:

Promise<void>