update package.json in version one step
When i made angular library and build this package with angular@cli has not update automatically package.json in version so i created PVM
"scripts": {
"build-with-version": "pvm && ng build someProject"
}
-
npm
npm install --save-dev package-version-manager
-
yarn
yarn add -D package-version-manager
Default PVM update root in package.json but if you want update another folder in package.json
create pvm.config.json and write "package_path"
SomeProject
└─role
└─lal
└─ package.json
// pvm.config.json
{
"question": "Choose update version",
"package_path": "/role/lal"
}