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
| Parameter | Type | Description |
|---|---|---|
| packageName | string | |
| configuration | RushConfiguration |
Returns:
void