Hey all,

Recently we updated most of the core plugins to new major version.
Unfortunately we forgot to update the "cordovaDependencies" section in
package.json which prevents the next major version from being
installed.

For instance we bumped cordova-plugin-camera to version 4.0.0 but
package.json still had:

"engines": {
  "cordovaDependencies": {
    "3.0.0": {
       "cordova-android": ">=6.3.0"
    },
    "4.0.0": {
      "cordova": ">100"
    }
  }
}

so that prevented anyone not running cordova CLI version greater than
100 from installing via NPM. Since we are still at cordova 8.x this
means no one could install the new plugin releases from NPM.

Thank goodness Julio was paying attention over the holiday season and
was able to get the ball rolling to fix the issue and get a bunch of
point releases of the core plugins released so folks would not be
stuck in the new year.

My questions are:

1) How do we prevent this from happening in the future? Should we
document that this change needs to be made?
2) Do we even need this section of package.json? What purpose does it hold?

Thanks…

Simon Mac Donald
http://simonmacdonald.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to