You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sg...@apache.org on 2016/09/08 08:48:43 UTC

cordova-plugin-device-motion git commit: CB-11795 Add 'protective' entry to cordovaDependencies

Repository: cordova-plugin-device-motion
Updated Branches:
  refs/heads/master fe7b21399 -> 76b13194e


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 #47


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/commit/76b13194
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/tree/76b13194
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/diff/76b13194

Branch: refs/heads/master
Commit: 76b13194e00ad6ff99215db1d0cc3b7d2806ca57
Parents: fe7b213
Author: Vladimir Kotikov <ko...@gmail.com>
Authored: Wed Aug 31 16:34:34 2016 +0300
Committer: sgrebnov <se...@gmail.com>
Committed: Thu Sep 8 11:48:18 2016 +0300

----------------------------------------------------------------------
 package.json | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/76b13194/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index bb6767d..358c60c 100644
--- a/package.json
+++ b/package.json
@@ -47,6 +47,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