Home > @microsoft/rush-lib > IndividualVersionPolicy > bump

IndividualVersionPolicy.bump() method

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Bumps version. Individual version policy lets change files drive version bump. This method currently does not do anything.

Signature:

bump(bumpType?: BumpType, identifier?: string): void;

Parameters

Parameter Type Description
bumpType BumpType bump type
identifier string prerelease id

Returns:

void