Skip to content

Commit 62d896a

Browse files
vladimir-kotikovsgrebnov
authored andcommitted
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 #115
1 parent 52f52b4 commit 62d896a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,14 @@
4242
},
4343
"author": "Apache Software Foundation",
4444
"license": "Apache-2.0",
45+
"engines": {
46+
"cordovaDependencies": {
47+
"3.0.0": {
48+
"cordova": ">100"
49+
}
50+
}
51+
},
4552
"devDependencies": {
46-
"jshint": "^2.6.0"
53+
"jshint": "^2.6.0"
4754
}
4855
}

0 commit comments

Comments
 (0)