Format for dependencies defined in package.json has changed?


#1

Previously we had a simple cordovaPlugins array defined in package.json where each element of the array was a string that either had a registered Cordova plugin ID OR the Git URL to install third-party plugins. Now here we are today, a few months later, having updated the project and the Ionic CLI several times, where it looks like plugins now add an object instead of a simple string, e.g. I removed then added back the geolocation plugin and now I see this in package.json:

"cordovaPlugins": [
  {                                                                           
    "locator": "https://github.com/apache/cordova-plugin-geolocation.git",    
    "id": "cordova-plugin-geolocation"                                        
  }
]

So is this the ‘new’ format for specifying dependencies when adding/removing plugins with Ionic ?