@elyx-design/cli 0.0.1-preview.13673.f2a07f531 → 0.0.1-preview.14303.24b991c07
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 +25 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -18,3 +18,28 @@ and architecture.
|
|
|
18
18
|
The Linux CLI currently supports x86-64 systems using glibc. Ubuntu 24.04 is the
|
|
19
19
|
tested environment, and libc++ and Fontconfig must be installed on the system.
|
|
20
20
|
Alpine and other musl-based distributions are not currently supported.
|
|
21
|
+
|
|
22
|
+
## Development
|
|
23
|
+
|
|
24
|
+
`cli.ts` is the npm launcher. `src/` contains the native entry point, commands,
|
|
25
|
+
and their tests and fixtures. `CMakeLists.txt` builds the native `elyx` executable
|
|
26
|
+
using Mosaic's shared language and rendering code. `cmake/` contains embedded
|
|
27
|
+
resource generators. `cpp-vendors.yml` declares CLI11, libgit2, and the demo
|
|
28
|
+
project used by `--create`.
|
|
29
|
+
|
|
30
|
+
Run from the repository root:
|
|
31
|
+
|
|
32
|
+
```sh
|
|
33
|
+
mise run vendors:elyx
|
|
34
|
+
mise run elyx:build
|
|
35
|
+
mise run elyx:test:cpp
|
|
36
|
+
mise run cli:build
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
The native debug executable is written to `out/native/debug/elyx` within this
|
|
40
|
+
directory. The npm launcher builds to `dist/cli.js`. The published npm package
|
|
41
|
+
includes only the launcher, README, and license; platform packages supply the
|
|
42
|
+
native executable.
|
|
43
|
+
|
|
44
|
+
The daemon also compiles rendering, inspection, lint, and scene code from
|
|
45
|
+
`src/`. Mosaic uses its native font-loading code.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elyx-design/cli",
|
|
3
|
-
"version": "0.0.1-preview.
|
|
3
|
+
"version": "0.0.1-preview.14303.24b991c07",
|
|
4
4
|
"description": "Command-line tools for Elyx",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"repository": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"dist"
|
|
23
23
|
],
|
|
24
24
|
"optionalDependencies": {
|
|
25
|
-
"@elyx-design/cli-darwin-arm64": "0.0.1-preview.
|
|
26
|
-
"@elyx-design/cli-linux-x64": "0.0.1-preview.
|
|
25
|
+
"@elyx-design/cli-darwin-arm64": "0.0.1-preview.14303.24b991c07",
|
|
26
|
+
"@elyx-design/cli-linux-x64": "0.0.1-preview.14303.24b991c07"
|
|
27
27
|
}
|
|
28
28
|
}
|