| hide_title | true |
|---|---|
| custom_edit_url | |
| pagination_prev | |
| pagination_next |
Home > @microsoft/rush-lib > VersionPolicyConfiguration
Use this class to load and save the "common/config/rush/version-policies.json" config file. This config file configures how different groups of projects will be published by Rush, and how their version numbers will be determined.
Signature:
export declare class VersionPolicyConfiguration The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the VersionPolicyConfiguration class.
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
Map<string, VersionPolicy<></>> |
Gets all the version policies |
|
Method |
Modifiers |
Description |
|---|---|---|
|
Bumps up versions for the specified version policy or all version policies | ||
|
Gets the version policy by its name. Throws error if the version policy is not found. | ||
|
Updates the version directly for the specified version policy | ||
|
Validate the version policy configuration against the rush config |