From 48d4213b2d22f8ad9f42aecbd1c3d73d7ccd65f5 Mon Sep 17 00:00:00 2001 From: Vladimir Kotikov Date: Wed, 31 Aug 2016 16:17:38 +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 #234 --- package.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package.json b/package.json index 452de28..d88d5db 100644 --- a/package.json +++ b/package.json @@ -46,6 +46,13 @@ }, "author": "Apache Software Foundation", "license": "Apache-2.0", + "engines": { + "cordovaDependencies": { + "3.0.0": { + "cordova": ">100" + } + } + }, "devDependencies": { "dmd-plugin-cordova-plugin": "^0.1.0", "husky": "^0.10.1",