lecodes-cli 2.2.11 → 2.2.13
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 -2
- package/dist/index.js +1168 -870
- package/package.json +9 -9
- package/runtime/sdk-types.json +1 -1
- package/runtime/web/VERSION.json +3 -3
- package/runtime/web/player.js +2 -2
- package/runtime/web-lite/lite.js +9 -9
- package/src/cli/args.ts +10 -3
- package/src/cli/command.ts +7 -0
- package/src/cli/run.ts +2 -1
- package/src/commands/app/android.ts +7 -10
- package/src/commands/app/desktop.ts +3 -3
- package/src/commands/app/index.ts +10 -13
- package/src/commands/app/shared.ts +43 -17
- package/src/commands/app/templates/android.ts +1 -1
- package/src/commands/index.ts +3 -1
- package/src/commands/init/templates.ts +4 -3
- package/src/commands/publish.ts +38 -0
- package/src/commands/push.ts +28 -15
- package/src/commands/releases.ts +168 -0
- package/src/hosts/desktopScript.ts +3 -3
- package/src/platform/api.ts +114 -8
- package/src/plugin/generate.ts +9 -6
- package/src/plugin/permissions.ts +42 -10
package/README.md
CHANGED
|
@@ -69,7 +69,9 @@ lecodes clone <project-uuid> myapp # download files + types into ./myapp
|
|
|
69
69
|
cd myapp
|
|
70
70
|
# …edit files in VS Code…
|
|
71
71
|
lecodes status # see what changed
|
|
72
|
-
lecodes push -m "Tweak the menu" # push as a new checkpoint
|
|
72
|
+
lecodes push -m "Tweak the menu" # push as a new checkpoint
|
|
73
|
+
lecodes publish # release it: https://<handle>.le.codes, the viewers, the store
|
|
74
|
+
lecodes releases # the releases; `releases use <version>` rolls back
|
|
73
75
|
```
|
|
74
76
|
|
|
75
77
|
A local project joins the platform later with `lecodes link` (create) or
|
|
@@ -80,7 +82,7 @@ there before connecting anything).
|
|
|
80
82
|
|
|
81
83
|
| Group | Commands |
|
|
82
84
|
|---|---|
|
|
83
|
-
| Project | `init` `create` `clone` `link` `status` `diff` `pull` `push` `login` |
|
|
85
|
+
| Project | `init` `create` `clone` `link` `status` `diff` `pull` `push` `publish` `releases` `login` |
|
|
84
86
|
| Run & test | `dev` `compile` `render` `test` `desktop` |
|
|
85
87
|
| Editors | `design` `scene` `thumbs` |
|
|
86
88
|
| Content | `assets` `shaders` `lightmap` `navmesh` |
|