Repository: cordova-plugin-device
Updated Branches:
  refs/heads/master 5298c1f52 -> a59ffa1cf


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/master
Commit: a59ffa1cf01afc5bf51d8e0ad71d0895997fbee1
Parents: 5298c1f
Author: Vladimir Kotikov <kotikov.vladi...@gmail.com>
Authored: Wed Aug 31 16:29:57 2016 +0300
Committer: sgrebnov <sergei.greb...@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-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org

Reply via email to