@bravemobile/react-native-code-push 12.0.0-beta.7 → 12.0.1
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 +7 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -353,6 +353,10 @@ module.exports = Config;
|
|
|
353
353
|
{
|
|
354
354
|
"extends": "@react-native/typescript-config/tsconfig.json",
|
|
355
355
|
// ...
|
|
356
|
+
"include": [
|
|
357
|
+
// ...
|
|
358
|
+
+ "code-push.config.ts"
|
|
359
|
+
],
|
|
356
360
|
+ "ts-node": {
|
|
357
361
|
+ "compilerOptions": {
|
|
358
362
|
+ "module": "CommonJS",
|
|
@@ -422,12 +426,15 @@ npx code-push release --framework expo --binary-version 1.0.0 --app-version 1.0.
|
|
|
422
426
|
> [!IMPORTANT]
|
|
423
427
|
> `--app-version` should be greater than `--binary-version` (SemVer comparison).
|
|
424
428
|
|
|
429
|
+
- `--rollout`: The rollout percentage for the update. (0~100, inclusive)
|
|
425
430
|
|
|
426
431
|
#### `update-history`
|
|
427
432
|
|
|
428
433
|
Update the release history for a specific CodePush update.
|
|
429
434
|
- Use the `--enable` option to disable a specific release for rollback. (or enable it)
|
|
430
435
|
- Use the `--mandatory` option to make the update as mandatory or optional.
|
|
436
|
+
- Use the `--rollout` option to change the rollout percentage of the update. (0~100, inclusive)
|
|
437
|
+
- If the rollout percentage is reduced, users who fall outside the new target will have their rollout canceled and rollback to the previous latest version.
|
|
431
438
|
|
|
432
439
|
**Example:**
|
|
433
440
|
- Rollback the CodePush update `1.0.1` (targeting the binary app version `1.0.0`).
|
package/package.json
CHANGED