@aetherpush/cli 0.4.0 → 0.4.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 +30 -34
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,26 +1,18 @@
|
|
|
1
1
|
# Aether CLI
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
The command-line interface for [Aether](https://aetherpush.com) — over-the-air JavaScript bundle updates for React Native apps.
|
|
3
|
+
The command-line interface for [Aether](https://aetherpush.com), over-the-air JavaScript bundle updates for React Native apps.
|
|
6
4
|
|
|
7
5
|
[](https://www.npmjs.com/package/@aetherpush/cli)
|
|
8
6
|
[](./LICENSE)
|
|
9
7
|
[](https://nodejs.org)
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
---
|
|
9
|
+
The CLI follows semver and is on a 0.x line: a minor release may still change flags or output. Pin the exact version in CI and read the changelog before upgrading.
|
|
14
10
|
|
|
15
11
|
## Why Aether
|
|
16
12
|
|
|
17
|
-
Microsoft retired App Center CodePush in March 2025
|
|
13
|
+
Microsoft retired App Center CodePush in March 2025. Aether is a drop-in successor: the same release workflow, the same client contract, and a maintained SDK ([`@aetherpush/react-native-code-push`](https://www.npmjs.com/package/@aetherpush/react-native-code-push)) that replaces `react-native-code-push` without code changes. You release to named channels (Staging and Production by default), roll out to a percentage of devices, and roll back when a release goes wrong. Apps can be shared with collaborators.
|
|
18
14
|
|
|
19
|
-
|
|
20
|
-
- **Compatible with `react-native-code-push`** today; first-party Aether SDK ships next
|
|
21
|
-
- **Channel-based releases** — Staging, Production, Beta, whatever you need
|
|
22
|
-
- **Rollouts and rollbacks** — percentage-based rollouts, instant rollback to any previous label
|
|
23
|
-
- **Multi-collaborator** — own your apps, share access with your team
|
|
15
|
+
Full documentation lives at [docs.aetherpush.com](https://docs.aetherpush.com).
|
|
24
16
|
|
|
25
17
|
## Install
|
|
26
18
|
|
|
@@ -32,31 +24,33 @@ Requires Node.js 22 or later.
|
|
|
32
24
|
|
|
33
25
|
## Quick start
|
|
34
26
|
|
|
35
|
-
|
|
36
|
-
# Create an account (interactive: prompts for email, name, password)
|
|
37
|
-
aether register
|
|
27
|
+
1. Create an account and log in. `register` asks for your email, name, and password, then sends a verification email; click the link before logging in.
|
|
38
28
|
|
|
39
|
-
|
|
40
|
-
aether
|
|
29
|
+
```sh
|
|
30
|
+
aether register
|
|
31
|
+
aether login
|
|
32
|
+
```
|
|
41
33
|
|
|
42
|
-
|
|
43
|
-
aether app add my-react-native-app
|
|
34
|
+
2. Create an app. This also creates its Staging and Production deployments. Print the deployment keys and wire one into your app binary.
|
|
44
35
|
|
|
45
|
-
|
|
46
|
-
aether
|
|
36
|
+
```sh
|
|
37
|
+
aether app add my-react-native-app
|
|
38
|
+
aether deployment ls my-react-native-app -k
|
|
39
|
+
```
|
|
47
40
|
|
|
48
|
-
|
|
49
|
-
aether release-react my-react-native-app ios
|
|
41
|
+
3. Release an update. The command bundles the app and reads the target binary version from the project.
|
|
50
42
|
|
|
51
|
-
|
|
52
|
-
aether
|
|
43
|
+
```sh
|
|
44
|
+
aether release-react my-react-native-app ios
|
|
45
|
+
```
|
|
53
46
|
|
|
54
|
-
|
|
55
|
-
aether promote my-react-native-app Staging Production
|
|
47
|
+
4. Manage the release: widen a rollout, promote it, or roll it back.
|
|
56
48
|
|
|
57
|
-
|
|
58
|
-
aether
|
|
59
|
-
|
|
49
|
+
```sh
|
|
50
|
+
aether patch my-react-native-app Staging -r 25
|
|
51
|
+
aether promote my-react-native-app Staging Production
|
|
52
|
+
aether rollback my-react-native-app Production
|
|
53
|
+
```
|
|
60
54
|
|
|
61
55
|
## Commands
|
|
62
56
|
|
|
@@ -73,10 +67,11 @@ aether rollback my-react-native-app Production
|
|
|
73
67
|
| `rollback` | Roll a deployment back to a previous release |
|
|
74
68
|
| `collaborator add\|ls\|rm` | Manage app collaborators |
|
|
75
69
|
| `access-key add\|ls\|patch\|rm` | Manage session-style CLI keys |
|
|
70
|
+
| `api-key add\|ls\|patch\|rm` | Manage scoped API keys for CI/CD |
|
|
76
71
|
| `session ls\|rm` | Manage active login sessions |
|
|
77
72
|
| `debug ios\|android` | Stream Aether logs from a running app |
|
|
78
73
|
|
|
79
|
-
Full reference and flags: `aether <command> --help
|
|
74
|
+
Full reference and flags: `aether <command> --help`, or the [CLI reference](https://docs.aetherpush.com/cli/) in the docs.
|
|
80
75
|
|
|
81
76
|
## Hermes
|
|
82
77
|
|
|
@@ -104,20 +99,21 @@ aether login --serverUrl http://localhost:3000
|
|
|
104
99
|
To run non-interactively (CI/CD):
|
|
105
100
|
|
|
106
101
|
```sh
|
|
107
|
-
aether login --accessKey <your-
|
|
102
|
+
aether login --accessKey <your-api-key>
|
|
108
103
|
```
|
|
109
104
|
|
|
110
105
|
## CI/CD
|
|
111
106
|
|
|
112
|
-
|
|
107
|
+
The CLI detects CI environments through the `CI` variable and runs non-interactively there; `--ci` forces it. Ready-made pipeline templates for GitLab CI, CircleCI, and Jenkins live in [`examples/ci/`](./examples/ci/), and GitHub Actions has a dedicated action, [`aetherpush-deploy-action`](https://github.com/Monoradioactivo/aetherpush-deploy-action). The [CI/CD guides](https://docs.aetherpush.com/ci-cd/) walk through each platform.
|
|
113
108
|
|
|
114
109
|
## Migrating from CodePush
|
|
115
110
|
|
|
116
|
-
|
|
111
|
+
The [migration guide](https://docs.aetherpush.com/migration/codepush/) covers both routes. In short: the Aether SDK is a drop-in replacement for `react-native-code-push` on React Native 0.76 and newer, and older apps can keep Microsoft's SDK pointed at Aether's CodePush-compatible endpoints. Existing deployment keys can be preserved with `aether deployment add -k`, so shipped binaries keep updating.
|
|
117
112
|
|
|
118
113
|
## Links
|
|
119
114
|
|
|
120
115
|
- Website: [aetherpush.com](https://aetherpush.com)
|
|
116
|
+
- Documentation: [docs.aetherpush.com](https://docs.aetherpush.com)
|
|
121
117
|
- Issues: [GitHub](https://github.com/Monoradioactivo/aether-cli/issues)
|
|
122
118
|
|
|
123
119
|
## License
|
package/package.json
CHANGED