What is the proper set of npm commands to update Ionic from v5.0 to v5.3.1 (latest release), as well as, bump the version of Capacitor, Ionic Native, and the dev dependencies appropriately?
I can't find an update guide with commands in the Ionic docs unlike in Angular where you would follow the update steps on https://update.angular.io. They don't seem to indicate whether the CLI version should match the Ionic version, or whether the version of Capacitor for a specific version of Ionic or the CLI is required, or if none of that matters.
Would I run these commands:
// dependencies
npm install @capacitor/android@latest
npm install @capacitor/core@latest
npm install @capacitor/ios@latest
npm install @ionic/core@latest
npm install @ionic-native/core@latest
npm install @ionic-native/in-app-browser@latest
npm install @ionic-native/splash-screen@latest
npm install @ionic-native/status-bar@latest
npm install @ionic/angular@latest
npm install @ionic/storage@latest
// dev dependencies
npm install @capacitor/cli@latest
npm install @ionic/angular-toolkit@latest
npm install @ionic/lab@latest
or equivalently just run npm upgrade <LIST_OF_ABOVE_PKGS>
? and are there dependencies between Ionic, Ionic CLI, Capacitor, and Ionic Native?