/updd

🚀 Update package.json dependencies & devDependencies to latest version

Primary LanguageJavaScriptMIT LicenseMIT

updd

VERSION LICENSE

Update package.json dependencies & devDependencies to latest version.

updd-demo

Installation

yarn add -D updd

or Global

npm i -g updd

Usage

in the package.json file directory.

updd

Config

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": {
  }
}

Principle

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.

License

MIT © 2021