code-push-itspar 1.0.2 → 1.0.4

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 CHANGED
@@ -9,21 +9,25 @@ The **CodePush CLI** is a Node.js application that allows users to deploy and ma
9
9
 
10
10
  ## Installation & Usage
11
11
 
12
- ### Global Installation
12
+ ### Global Installation (recommended)
13
13
  ```bash
14
14
  npm install -g code-push-itspar
15
15
  ```
16
16
 
17
- Or using yarn:
17
+ After global installation, you can use the CLI directly:
18
18
  ```bash
19
- yarn global add code-push-itspar
19
+ code-push-itspar <command>
20
20
  ```
21
21
 
22
- After global installation, you can use the CLI directly:
22
+ ### Yarn Global Installation (optional)
23
23
  ```bash
24
- code-push-itspar <command>
24
+ yarn global add code-push-itspar
25
25
  ```
26
26
 
27
+ If `code-push-itspar` is not found after a yarn global install, your shell PATH
28
+ does not include Yarn’s global bin. Use npm global install (recommended) or add
29
+ Yarn’s global bin to PATH.
30
+
27
31
  **Troubleshooting:** If you get a "permission denied" error on macOS/Linux, run:
28
32
  ```bash
29
33
  chmod +x $(npm root -g)/code-push-itspar/bin/script/cli.js
@@ -110,7 +114,7 @@ Optional Parameters:
110
114
  - `--disabled`: Prevents update from being downloaded (useful for staged rollouts)
111
115
  - `--mandatory`: Forces users to accept this update
112
116
  - `--noDuplicateReleaseError`: Shows warning instead of error if releasing same content
113
- - `--rollout`: Percentage of users who should receive this update (1-100)
117
+ - `--rollout`: Percentage of users who should receive this update (1-100). Default is 2% if not specified.
114
118
  - `--isPatch`: Whether this is a patch update
115
119
  - `false` (default): Full bundle update
116
120
  - `true`: Patch update (requires patch bundle)
@@ -516,7 +516,7 @@ yargs
516
516
  })
517
517
  .option("rollout", {
518
518
  alias: "r",
519
- default: "100%",
519
+ default: "2%",
520
520
  demand: false,
521
521
  description: "Percentage of users this update should be immediately available to",
522
522
  type: "string",
@@ -586,7 +586,7 @@ yargs
586
586
  })
587
587
  .option("rollout", {
588
588
  alias: "r",
589
- default: "100%",
589
+ default: "2%",
590
590
  demand: false,
591
591
  description: "Percentage of users this release should be available to",
592
592
  type: "string",
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.2",
3
+ "version": "1.0.4",
4
4
  "description": "Management CLI for CodePush - deploy mobile app updates over-the-air",
5
5
  "main": "./script/cli.js",
6
6
  "scripts": {
@@ -21,7 +21,6 @@
21
21
  "local:link": "npm run build && npm link"
22
22
  },
23
23
  "bin": {
24
- "codepush": "./bin/script/cli.js",
25
24
  "code-push-itspar": "./bin/script/cli.js"
26
25
  },
27
26
  "files": [