yarn version check
Check that all the changed workspaces have deferred version bump records.
Usage
$ yarn version checkExamples
Check whether the modified packages need a bump :
yarn version check
Details
Warning: This command currently requires Git.
This command will check that all the workspaces that have changed files have
deferred version bump records. Changed files are detected by comparing the
current HEAD against the Git references specified by changesetBaseRefs
(defaults to master, origin/master, upstream/master, main,
origin/main, upstream/main).
For each workspace that is bumped (the recorded bump is not decline), the
check will also check dependent workspaces recursively. For example, if
workspace foo is bumped, and workspace bar depends on foo, bar will also
require a decision as to whether it will need to be bumped. This check doesn't
cross workspaces that are declined to be bumped.
Options
| Definition | Description |
|---|---|
| Open an interactive interface used to set version bumps |