yarn-plugin-version-tools
this plugin is conflict with @yarnpkg/plugin-version, as it's designed to be drop-in replacement of @yarnpkg/plugin-version
and they have same configuration keys which will cause errors if both of them are installed
before install this plugin please remove @yarnpkg/plugin-version
first:
yarn plugin remove @yarnpkg/plugin-version
install:
yarn plugin import https://github.com/indooorsman/yarn-plugins/releases/download/v1.0.5/plugin-version-tools.js
uninstall:
yarn plugin remove yarn-plugin-version-tools
yarn vt <stragegy>
almost same with yarn version
from @yarnpkg/plugin-version, but add a --preid
option for bump prerelease
version, e.g.:
yarn vt prerelease --preid beta
#=> 1.2.2 ==> 1.2.3-beta.1
yarn vt changed --base <branch name or commit hash>
show changed packages
yarn vt changed --base main
#=> yarn-plugin-version-tools,yarn-plugin-version-fork
yarn vt apply
same with yarn version apply
from @yarnpkg/plugin-version
yarn vt check
same with yarn version check
from @yarnpkg/plugin-version