Does anyone have any best-practice advice (or links to such advice) on how best to manage an Ionic/Cordova project and it’s dependencies (plugins and packages) when switching repository branches?
For example. if I have version 1 of the Push Plugin in a development branch of my project and in an upgrade branch I have version 2 of that plugin (with perhaps additional dependencies that relate to it) what’s the correct process of switching between branches (and always being 100% sure everything is the same as the last time you were in that branch?).
I had real problems today doing something along these lines and ended up having to remove both iOS and Android platforms, manually removing a plugin, adding a different one, running npm install etc.
What’s the best way of handling this and not messing things up?