Skip to content

Latest commit

 

History

History
86 lines (60 loc) · 1 KB

06_updates.md

File metadata and controls

86 lines (60 loc) · 1 KB

Updates

Capacitor

Updates the native plugins and dependencies

npx cap update

Capacitor update to next major version

npx cap migrate

npm-check-updates

Installation

npm install -g npm-check-updates

Usage

Check this repository for updates

ncu

Adjust the versions in the package.json yourself or with this command

ncu -u

Finally, the updated versions are installed, with

npm i

Additional

Check global installed packages for updates

ncu -g

Recommendation

Renovate

Renovate documentation

renovate.json

{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "baseBranches": [
    "develop"
  ],
  "extends": [
    "config:base",
    ":pinAllExceptPeerDependencies"
  ],
  "packageRules": [
    {
      "matchUpdateTypes": [
        "minor",
        "patch"
      ],
      "automerge": true
    }
  ]
}

back to Index