CB-11795 Add 'protective' entry to cordovaDependencies The entry is required to protect end-users from fetching edge versions of the plugin by incompatible version of cordova. This also assumes that we will not introduce any regressions in compatibility w/ cordova in minor and patch releases. On every major release we will need to add similar entry with _next_ major version.
This closes #19 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-console/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-console/commit/5da8de06 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-console/tree/5da8de06 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-console/diff/5da8de06 Branch: refs/heads/1.0.x Commit: 5da8de06c4707308dfa92f97ea39244d719897c9 Parents: ee3cec1 Author: Vladimir Kotikov <[email protected]> Authored: Wed Aug 31 16:22:58 2016 +0300 Committer: sgrebnov <[email protected]> Committed: Thu Sep 8 11:44:30 2016 +0300 ---------------------------------------------------------------------- package.json | 7 +++++++ 1 file changed, 7 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-console/blob/5da8de06/package.json ---------------------------------------------------------------------- diff --git a/package.json b/package.json index 05623ae..45038e1 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,13 @@ }, "author": "Apache Software Foundation", "license": "Apache-2.0", + "engines": { + "cordovaDependencies": { + "2.0.0": { + "cordova": ">100" + } + } + }, "devDependencies": { "jshint": "^2.6.0" } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
