@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 +12 -9
- package/package.json +1 -1
- package/vendor/darwin-arm64/lenso +0 -0
- package/vendor/darwin-x64/lenso +0 -0
- package/vendor/linux-x64/lenso +0 -0
- package/vendor/win32-x64/lenso.exe +0 -0
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
|
-
|
|
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
|
|
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
|
|
40
|
+
lenso console bootstrap-admin --identifier admin@example.com
|
|
38
41
|
# or
|
|
39
|
-
lenso
|
|
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
|
|
82
|
+
lenso console package create billing
|
|
80
83
|
```
|
|
81
84
|
|
|
82
85
|
## Install a module
|
package/package.json
CHANGED
|
Binary file
|
package/vendor/darwin-x64/lenso
CHANGED
|
Binary file
|
package/vendor/linux-x64/lenso
CHANGED
|
Binary file
|
|
Binary file
|