vibeview 0.7.0 → 0.7.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 +74 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# VibeView CLI
|
|
2
|
+
|
|
3
|
+
Command-line interface for [VibeView](https://vibeview.io) — cloud iOS simulators and Android emulators in your browser. Upload builds, run AI-powered tests from CI, and develop your React Native app live on a cloud device.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g vibeview
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Requires Node.js 20 or later.
|
|
12
|
+
|
|
13
|
+
## Log in
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
vibeview login
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Opens your browser to authenticate. In CI, set a `VIBEVIEW_API_TOKEN` environment variable instead (create one in VibeView under Settings → API Tokens).
|
|
20
|
+
|
|
21
|
+
## Live Development
|
|
22
|
+
|
|
23
|
+
Edit code locally, see it live on a streamed cloud device — including iOS development without a Mac.
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
# 1. Upload a React Native debug build once
|
|
27
|
+
vibeview upload-app ./app-debug.apk
|
|
28
|
+
|
|
29
|
+
# 2. Start Metro in your project, then:
|
|
30
|
+
vibeview dev
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
`vibeview dev` starts a cloud device session, installs your latest debug build, connects it to your local Metro bundler, and opens the live stream in your browser. Save a file and Fast Refresh updates the device in about a second. Supports `--platform ios | android | tvos | androidtv`; your choices are remembered per platform in a `vibeview.json` in the project.
|
|
34
|
+
|
|
35
|
+
[Live Development docs →](https://vibeview.io/docs/live-development)
|
|
36
|
+
|
|
37
|
+
## Testing from CI
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
# Upload the build under test (zipped simulator .app for iOS, .apk for Android)
|
|
41
|
+
vibeview upload-app ./MyApp.zip
|
|
42
|
+
|
|
43
|
+
# Run a single test or a whole suite
|
|
44
|
+
vibeview run-test <test-id> --output json
|
|
45
|
+
vibeview run-suite <suite-id> --output junit
|
|
46
|
+
|
|
47
|
+
# Run several suites with an aggregated exit code
|
|
48
|
+
vibeview run-suites --tag smoke
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Output formats: `human`, `json`, and `junit` for any CI system. The exit code reflects pass/fail, and runs can be pinned to a specific build.
|
|
52
|
+
|
|
53
|
+
[CI testing docs →](https://vibeview.io/docs/ci-testing)
|
|
54
|
+
|
|
55
|
+
## All commands
|
|
56
|
+
|
|
57
|
+
| Command | Purpose |
|
|
58
|
+
| --- | --- |
|
|
59
|
+
| `vibeview login` | Authenticate via browser |
|
|
60
|
+
| `vibeview dev` | Live development on a cloud device |
|
|
61
|
+
| `vibeview upload-app <file>` | Upload a build (zipped simulator `.app`, or `.apk`) |
|
|
62
|
+
| `vibeview list-apps` | List your apps |
|
|
63
|
+
| `vibeview list-devices` | List available device types |
|
|
64
|
+
| `vibeview list-suites` | List test suites |
|
|
65
|
+
| `vibeview create-test [name]` | Create a test case |
|
|
66
|
+
| `vibeview run-test <test-id>` | Run a single test |
|
|
67
|
+
| `vibeview run-suite <suite-id>` | Run a test suite |
|
|
68
|
+
| `vibeview run-suites` | Run multiple suites |
|
|
69
|
+
|
|
70
|
+
Run any command with `--help` for its options.
|
|
71
|
+
|
|
72
|
+
## Documentation
|
|
73
|
+
|
|
74
|
+
Full guides at [vibeview.io/docs](https://vibeview.io/docs) — [CLI reference](https://vibeview.io/docs/cli), [Live Development](https://vibeview.io/docs/live-development), [CI testing](https://vibeview.io/docs/ci-testing).
|