amalgm 0.1.0-canary.29 → 0.1.35
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 +4 -4
- package/lib/cli.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Install the local Amalgm computer runtime:
|
|
4
4
|
|
|
5
5
|
```sh
|
|
6
|
-
npm i -g amalgm
|
|
6
|
+
npm i -g amalgm
|
|
7
7
|
amalgm login
|
|
8
8
|
amalgm doctor
|
|
9
9
|
amalgm start
|
|
10
10
|
```
|
|
11
11
|
|
|
12
|
-
To move an existing install to the newest published build, run `amalgm update
|
|
13
|
-
Set `AMALGM_AUTO_UPDATE=1` when running `amalgm start` to let the CLI update itself
|
|
12
|
+
To move an existing install to the newest stable published build, run `amalgm update`.
|
|
13
|
+
Set `AMALGM_AUTO_UPDATE=1` when running `amalgm start` to let the CLI update itself to the latest stable release before launching.
|
|
14
14
|
|
|
15
15
|
`amalgm login` opens a browser approval page, then registers the machine and stores its local tunnel/computer record in `~/.amalgm/computer.json`.
|
|
16
16
|
|
|
@@ -37,7 +37,7 @@ Useful commands:
|
|
|
37
37
|
|
|
38
38
|
```sh
|
|
39
39
|
amalgm status
|
|
40
|
-
amalgm update
|
|
40
|
+
amalgm update
|
|
41
41
|
amalgm logs
|
|
42
42
|
amalgm logs chat-server
|
|
43
43
|
amalgm stop
|
package/lib/cli.js
CHANGED
|
@@ -85,7 +85,7 @@ function usage() {
|
|
|
85
85
|
'',
|
|
86
86
|
'Environment:',
|
|
87
87
|
' AMALGM_APP_URL Web app base URL for login/register',
|
|
88
|
-
' AMALGM_AUTO_UPDATE Set to 1 to update
|
|
88
|
+
' AMALGM_AUTO_UPDATE Set to 1 to update to the latest stable release before start',
|
|
89
89
|
' AMALGM_DIR Runtime state dir (default ~/.amalgm)',
|
|
90
90
|
' AMALGM_PROXY_TOKEN Optional short-lived proxy token override',
|
|
91
91
|
].join('\n');
|
|
@@ -419,7 +419,7 @@ function npmCommand() {
|
|
|
419
419
|
function npmInstallTag(options = {}) {
|
|
420
420
|
const explicit = options.tag || options.channel;
|
|
421
421
|
if (explicit && explicit !== true) return String(explicit).replace(/^@/, '');
|
|
422
|
-
return
|
|
422
|
+
return 'latest';
|
|
423
423
|
}
|
|
424
424
|
|
|
425
425
|
function npmPackageVersionForTag(tag) {
|