@lenso/cli 0.1.24 → 0.1.26

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 CHANGED
@@ -16,27 +16,30 @@ cargo install lenso-cli
16
16
  lenso host init my-app
17
17
  cd my-app
18
18
  cp .env.example .env
19
+ lenso console update
19
20
  lenso serve
20
21
  ```
21
22
 
22
23
  The package name defaults to the target directory name and can be overridden with
23
24
  `--name`. Pass `--force` to scaffold into a non-empty directory.
24
- Release builds of `lenso-cli` also copy the bundled Runtime Console into the
25
- new project, so the API serves it at `/console` without requiring Node.js or
26
- pnpm in the host application.
27
-
28
- Update the hosted console later by upgrading `lenso-cli` and running:
25
+ Install or update the hosted Runtime Console with:
29
26
 
30
27
  ```sh
31
- lenso host update-console
28
+ lenso console update
32
29
  ```
33
30
 
31
+ The command downloads the latest `lenso-runtime-console` release artifact and
32
+ installs it under `.lenso/console`, so the host API can serve `/console`
33
+ without requiring Node.js or pnpm in the host application. For local builds,
34
+ pass `--artifact <dir-or-tar.gz>`. For a pinned release, pass
35
+ `--console-version vX.Y.Z`.
36
+
34
37
  After creating a password user, grant the first Runtime Console admin:
35
38
 
36
39
  ```sh
37
- lenso host bootstrap-admin --identifier admin@example.com
40
+ lenso console bootstrap-admin --identifier admin@example.com
38
41
  # or
39
- lenso host bootstrap-admin --user-id usr_...
42
+ lenso console bootstrap-admin --user-id usr_...
40
43
  ```
41
44
 
42
45
  `console.admin` is always added. Pass extra `--scope <name>` flags when the
@@ -76,7 +79,7 @@ lenso module create billing --remote --output-dir ../module-packages
76
79
  The Runtime Console package generator is available directly as:
77
80
 
78
81
  ```sh
79
- lenso console-package create billing
82
+ lenso console package create billing
80
83
  ```
81
84
 
82
85
  ## Install a module
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lenso/cli",
3
- "version": "0.1.24",
3
+ "version": "0.1.26",
4
4
  "description": "Lenso command-line interface for scaffolding and operating Lenso backend projects.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/LioRael/lenso-cli",
Binary file
Binary file
Binary file
Binary file