yarn version apply — Yarn CLI reference
Apply deferred version decisions
yarn version apply
Apply deferred version decisions
This command applies deferred version changes and removes their definitions from the repository.
If --prerelease is set, the given prerelease identifier (by default rc.%n) is used for all new versions and the version definitions are kept.
By default only the current workspace will be bumped, but you can configure this behavior by using one of:
--recursiveto also apply the version bump on its dependencies ---allto apply the version bump on all packages in the repository
This command also updates local workspace: references so they keep pointing to the same workspaces after the version bump.
Apply deferred version changes for all workspaces
Print the version changes without writing them
Apply versions as prereleases using this identifier pattern
Release the transitive workspaces as well
Format the output as an NDJSON stream