You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2016/09/09 23:22:01 UTC
[6/7] cordova-plugin-device git commit: CB-11795 Add 'protective'
entry to cordovaDependencies
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 #55
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/commit/a59ffa1c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/tree/a59ffa1c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/diff/a59ffa1c
Branch: refs/heads/1.1.x
Commit: a59ffa1cf01afc5bf51d8e0ad71d0895997fbee1
Parents: 5298c1f
Author: Vladimir Kotikov <ko...@gmail.com>
Authored: Wed Aug 31 16:29:57 2016 +0300
Committer: sgrebnov <se...@gmail.com>
Committed: Thu Sep 8 11:47:18 2016 +0300
----------------------------------------------------------------------
package.json | 7 +++++++
1 file changed, 7 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/blob/a59ffa1c/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index ec05dd3..4f58457 100644
--- a/package.json
+++ b/package.json
@@ -48,6 +48,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: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org