From 032c8049378c4f3b43c07924864e6345c3584ee1 Mon Sep 17 00:00:00 2001 From: Vladimir Kotikov Date: Wed, 31 Aug 2016 17:17:31 +0300 Subject: [PATCH] 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 #184 --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index f2e2c3a..2d0689d 100644 --- a/package.json +++ b/package.json @@ -45,6 +45,9 @@ "cordovaDependencies": { "0.2.3": { "cordova": ">=3.1.0" + }, + "2.0.0": { + "cordova": ">100" } } },