This package has been deprecated
Moving to cordova-clean to expand with more functionality.
This is a nuke approach to the issue of inconsistent cordova plugins of a project when working in different branches. It can remove all installed plugins and install all plugins listed in the config.xml file. This avoids the case of having left over plugins from other branches installed, and if a plugin has been updated without updating the version number.
How To Install
Install through NPM:
npm install cordova-cleanup-plugins
This package depends on any version of cordova being installed.
How To Use
Run the shell command:
All options are optional:
||Prevents the remove all plugins step from running. Use this if you only want to install the config.xml plugins on top of the installed plugins.|
||Prevents force uninstall plugins. By default all plugins are removed using the
||Prevents the add plugins from config.xml step from running. Use this if you only want to remove all installed plugins, without adding plugins from the config.xml.|
Feel free to open an issue if you are having issues or would like to contribute!
Please see the LICENSE.md file for more information on licensing.