Update package.json dependencies & devDependencies to latest version.
yarn add -D updd
or Global
npm i -g updd
in the package.json
file directory.
updd
in package.json
, updd
key:
client: yarn
| npm
, (defalut: yarn
)
ignore: ['any', 'package-name']
, (defalut: []
)
e.g.:
{
"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