Home > @microsoft/rush-lib > IndividualVersionPolicy
IndividualVersionPolicy class
This policy indicates all related projects get version bump driven by their own changes.
Signature:
export declare class IndividualVersionPolicy extends VersionPolicy
Extends: VersionPolicy
Remarks
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the IndividualVersionPolicy class.
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
| number | undefined | The major version that has been locked |
Methods
Method | Modifiers | Description |
|---|---|---|
Bumps version. Individual version policy lets change files drive version bump. This method currently does not do anything. | ||
Returns an updated package json that satisfies the version policy. | ||
Validates the specified version and throws if the version does not satisfy the policy. |