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:13 UTC

[8/9] cordova-plugin-device-orientation 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 #29


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

Branch: refs/heads/1.0.x
Commit: dd1c66ce0d8490b297b996d0fe99b03b9cf2c8e7
Parents: e7c6e8a
Author: Vladimir Kotikov <ko...@gmail.com>
Authored: Wed Aug 31 16:42:25 2016 +0300
Committer: sgrebnov <se...@gmail.com>
Committed: Thu Sep 8 11:49:26 2016 +0300

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


http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/blob/dd1c66ce/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 4f9794e..86eaac2 100644
--- a/package.json
+++ b/package.json
@@ -45,6 +45,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