monoversion
v1.3.0
Published
Monorepo versioning for publishing library
Readme
Monoversion
A lightweight script for monorepo versioning and publishing library.
Library in monorepo convention
Monoversion will work if you keep the same version of each package in monorepo. It will update all package versions at once.
You also need prettier as peerdependency to use it.
Installation
yarn add -W -D monoversionRun script
For these examples we will take yourscope as a npm scope package.
This will update your package.json version for your packages named @yourscope/yourpackage and yourscope in your monorepo.
Major upgrade
yarn monoversion yourscope majorMinor upgrade
yarn monoversion yourscope minorPatch upgrade
yarn monoversion yourscope patch