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/yarn-plugin-version-tools%401.1.1/plugin-version-tools.js
uninstall:
yarn plugin remove yarn-plugin-version-tools
almost same with yarn version
from @yarnpkg/plugin-version, but:
- add a
--preid
option for bumpprerelease
version, e.g.:
yarn vt prerelease --preid beta
#=> 1.2.2 ==> 1.2.3-beta.1
- add a
--from
option, e.g.:
yarn vt patch --from=1.2.0
#=> 1.2.1
show changed packages
yarn vt changed --base main
#=> yarn-plugin-version-tools,yarn-plugin-version-fork
same with yarn version apply
from @yarnpkg/plugin-version
same with yarn version check
from @yarnpkg/plugin-version