@getroomi/cli 0.0.0-stage → 0.2.0

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.
Files changed (3) hide show
  1. package/README.md +30 -2
  2. package/package.json +19 -4
  3. package/roomi.js +35967 -0
package/README.md CHANGED
@@ -1,3 +1,31 @@
1
- # Temporary Holding Version
1
+ # roomi
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ The command line for [Roomi](https://getroomi.com): deploy a working
4
+ demo, rehearsed on your machine first, into a pitch room, and send each viewer
5
+ their own link.
6
+
7
+ ```sh
8
+ npm install -g @getroomi/cli
9
+ roomi login # in the browser; the token goes in the macOS Keychain (elsewhere, a file only you can read)
10
+ roomi init # reads the repository and writes pitch.json
11
+ roomi deploy # a rehearsal: builds, scans, runs, and says what would go live
12
+ roomi deploy --commit
13
+ roomi link "Tom" # a link for one viewer, printed for you to send
14
+ roomi link copy Tom # the same link again, if Tom loses it
15
+ roomi logs -f # what the live build's server is printing, redacted
16
+ roomi rollback # which build would go live; --commit makes it so
17
+ ```
18
+
19
+ In CI, set `ROOMI_TOKEN` to an API token made in the app's Settings.
20
+
21
+ Or run it without installing: `npx @getroomi/cli deploy`. The package also installs
22
+ `pitch`, the command's name before Roomi, which does the same.
23
+
24
+ Node 24 or later. A container build needs Docker running; its rehearsal builds
25
+ the platform's runner locally (the `node` base image is pulled from Docker Hub
26
+ the first time). `gitleaks` scans every deploy for secrets
27
+ (`brew install gitleaks`).
28
+
29
+ `roomi --help` lists every command. `roomi whoami` says which platform roomi is
30
+ talking to: https://api.getroomi.com unless `roomi config set api <url>` or
31
+ `PP_API` says otherwise. Docs: https://getroomi.com/docs
package/package.json CHANGED
@@ -1,6 +1,21 @@
1
1
  {
2
2
  "name": "@getroomi/cli",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.2.0",
4
+ "description": "roomi: deploy a working demo to Roomi, rehearsed on your machine first, and send each viewer their own link.",
5
+ "type": "module",
6
+ "bin": {
7
+ "roomi": "roomi.js",
8
+ "pitch": "roomi.js"
9
+ },
10
+ "files": [
11
+ "roomi.js",
12
+ "README.md"
13
+ ],
14
+ "engines": {
15
+ "node": ">=24"
16
+ },
17
+ "dependencies": {},
18
+ "publishConfig": {
19
+ "access": "public"
20
+ }
21
+ }