[Go to site: main page, start]

Skip to main content

yarn version apply

Apply deferred records to workspaces.

Usage

$ yarn version apply

Examples

Apply deferred records of current workspace :

Apply deferred records of all the workspaces in the local workspace :

yarn version apply --all

Details

This command will apply the deferred version changes to workspaces. The applied records are removed from the project.

For more information on the options, see the yarn version command. For more information on the deferred versioning workflow, see our documentation (https://yarnpkg.com/features/release-workflow#deferred-versioning).

Options

DefinitionDescription

--all

Bump the version of all workspaces

-R,--recursive

Bump the version of dependent workspaces as well

--exact

When updating parent workspaces' dependencies, use exact versions of bumped workspaces, removing any range.

--prerelease

Specify a prerelease pattern to use when working with prerelease versions

--dry-run

Print version(s)/record(s) without actually bumping versions or recording deferred releases

--force

Bypass check for bumping to a lower version than the current/deferred one

--json

Format the output as an NDJSON stream