Skip to content

Commit 4a11a41

Browse files
committed
add min/max packageverion
1 parent feb1128 commit 4a11a41

File tree

4 files changed

+2141
-1785
lines changed

4 files changed

+2141
-1785
lines changed

cli.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@
8484

8585
"packageVersion": {
8686
"hasValue": true
87+
},
88+
"minPackageVersion": {
89+
"hasValue": true
90+
},
91+
"maxPackageVersion": {
92+
"hasValue": true
8793
}
8894
}
8995
},

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-update-cli",
3-
"version": "1.26.0",
3+
"version": "1.27.0",
44
"description": "Command tools for javaScript updater with `pushy` service for react native apps.",
55
"main": "index.js",
66
"bin": {
@@ -12,7 +12,7 @@
1212
"cli.json"
1313
],
1414
"scripts": {
15-
"prepublish": "babel src --out-dir lib"
15+
"prepublish": "babel src --out-dir lib && chmod +x lib/index.js"
1616
},
1717
"repository": {
1818
"type": "git",
@@ -36,6 +36,7 @@
3636
"cgbi-to-png": "^1.0.7",
3737
"cli-arguments": "^0.2.1",
3838
"commander": "^7.2.0",
39+
"compare-versions": "^6.1.1",
3940
"filesize-parser": "^1.5.0",
4041
"fs-extra": "8",
4142
"gradle-to-js": "^2.0.1",

0 commit comments

Comments
 (0)