Stop "ionic cordova prepare" from upgrading plugins


#1

Hello fellow Ionites

I have seen that when clone my Ionic project in a fresh new local folder, and running

ionic cordova prepare <platform>

The command will actually upgrade the packages in package.json and config.xml.

Actually I believe it is the platform add that is executed as part of this process, when the platform is totally missing (which is my case).

Is there a way to avoid this, and have it install only the packages and plugins as they currently exist in package.json and config.xml?

This is causing me headaches because we use “cleaning up” of dynamic content regularly when building and testing.

When I upgrade my system’s components, I would like to be in control of when to do it, and then test it.

Thanks in advance