Rush StackShopBlogEvents
Skip to main content

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

VersionPolicy.setDependenciesBeforeCommit() method

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

Signature:

setDependenciesBeforeCommit(packageName: string, configuration: RushConfiguration): void;

Parameters

ParameterTypeDescription
packageNamestring
configurationRushConfiguration

Returns:

void