update package's dependencies & devDependencies to latest version
npm install updd[![VERSION][version-badge-svg]][version-badge-url] [![LICENSE][license-badge-svg]](./LICENSE)
Update package.json dependencies & devDependencies to latest version.
``bash`
yarn add -D updd
or Global
`bash`
npm i -g updd
in the package.json file directory.
`bash`
updd
in package.json, updd key:
client: yarn | npm, (defalut: yarn)
ignore: ['any', 'package-name'], (defalut: [])
e.g.:
`json`
{
"name": "updd",
"updd": {
"client": "yarn",
"ignore": [
"https://github.com/SolidZORO/updd",
"react"
],
"lockDeps": {
"chalk": "4.1.2"
},
"lockDevDeps": {
}
},
"dependencies": {
},
"devDependencies": {
}
}
Collect all dependencies and devDependencies, install, it will automatically update to the latest version.
Can be used instead of yarn upgrade-interactive` to solve the non-update problem.
MIT © 2021
[license-badge-svg]: https://img.shields.io/badge/License-MIT-green.svg
[version-badge-svg]: https://badge.fury.io/js/updd.svg
[version-badge-url]: https://badge.fury.io/js/updd