code-push-itspar 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -1
- package/bin/script/command-executor.js +1 -1
- package/bsdiff/bsdiff43 +0 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
# CodePush CLI
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/code-push-itspar)
|
|
4
|
+
[](https://www.npmjs.com/package/code-push-itspar)
|
|
5
|
+
|
|
3
6
|
The **CodePush CLI** is a Node.js application that allows users to deploy and manage over-the-air updates for React Native applications.
|
|
4
7
|
|
|
8
|
+
📦 **NPM Package:** [https://www.npmjs.com/package/code-push-itspar](https://www.npmjs.com/package/code-push-itspar)
|
|
9
|
+
|
|
5
10
|
## Installation & Usage
|
|
6
11
|
|
|
7
12
|
### Global Installation
|
|
@@ -19,6 +24,11 @@ After global installation, you can use the CLI directly:
|
|
|
19
24
|
code-push-itspar <command>
|
|
20
25
|
```
|
|
21
26
|
|
|
27
|
+
**Troubleshooting:** If you get a "permission denied" error on macOS/Linux, run:
|
|
28
|
+
```bash
|
|
29
|
+
chmod +x $(npm root -g)/code-push-itspar/bin/script/cli.js
|
|
30
|
+
```
|
|
31
|
+
|
|
22
32
|
### Project Installation
|
|
23
33
|
```bash
|
|
24
34
|
# Using npm
|
|
@@ -49,7 +59,7 @@ Most commands require authentication. You'll need an access key and server URL t
|
|
|
49
59
|
code-push-itspar login --accessKey <your-access-key> <server-url>
|
|
50
60
|
|
|
51
61
|
# Example
|
|
52
|
-
code-push-itspar login --accessKey abc123xyz https://codepush.
|
|
62
|
+
code-push-itspar login --accessKey abc123xyz https://server.codepush.online
|
|
53
63
|
|
|
54
64
|
# Check login status
|
|
55
65
|
code-push-itspar whoami
|
|
@@ -28,7 +28,7 @@ const xcode = require("xcode");
|
|
|
28
28
|
const react_native_utils_1 = require("./react-native-utils");
|
|
29
29
|
const file_utils_1 = require("./utils/file-utils");
|
|
30
30
|
const config_constants_1 = require("./utils/config.constants");
|
|
31
|
-
const configFilePath = path.join(process.env.LOCALAPPDATA || process.env.HOME, ".code-push.config");
|
|
31
|
+
const configFilePath = path.join(process.env.LOCALAPPDATA || process.env.HOME, ".itspar-code-push.config");
|
|
32
32
|
const emailValidator = require("email-validator");
|
|
33
33
|
const packageJson = require("../../package.json");
|
|
34
34
|
const parseXml = Q.denodeify(require("xml2js").parseString);
|
package/bsdiff/bsdiff43
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "code-push-itspar",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Management CLI for CodePush - deploy mobile app updates over-the-air",
|
|
5
5
|
"main": "./script/cli.js",
|
|
6
6
|
"scripts": {
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"exec": "npm run build && npm run build && npm install -g",
|
|
16
16
|
"prepare": "npm run build",
|
|
17
17
|
"prepack": "npm run build",
|
|
18
|
+
"postinstall": "chmod +x ./bin/script/cli.js || true",
|
|
18
19
|
"test": "echo \"No tests specified\" && exit 0",
|
|
19
20
|
"local:install": "npm run build && npm install -g",
|
|
20
21
|
"local:link": "npm run build && npm link"
|