Simplify updates for app devs #1022
Description
Ionic wants to provide an easy to use framework which contains a full build setup etc which simplifies usage. Ok I think you did a good job here 👍
BUT
There is one topic which drives me crazy again and again:
The process to update apps to latest ionic versions is just too complicated and error prone (find out which versions of npm packages are the latest and which are compatible with core, app scripts, native, 3rd party plugins, check changelogs for needed manual steps, ...).
If you think of the many devs going through the process with most of your updates again and again, it would be a killer feature for Ionic to also simplify that process! Or am I doing something completely wrong here which makes it so complicated? Then some kind of tutorial in the documentation would be great.
I imagine some kind of command e.g. "ionic update-framework" which does all the required steps like (but not limited to):
- update package.json for all ionic packages, extra core plugins, ... (ensuring compatibility)
- run npm update
- check for global installed versions of ionic and cordova and update those (or at least notify about cordova update if you think auto update could do harm)
- check for updates of 3rd party packages and print out a list of updates available, optionally with possibility to let the updater also update those directly
- Collect list of manual changes required due to the update (including any skipped ionic updates) and show it to the user
- Optionally: if possible, offer to do required code changes automatically as far as possible
- ... whatever else is possible
I am pretty sure this may save a lot of effort over time and will make using the framework a lot easier.
Maybe you want to consider such feature.