@crossberryweb/mozhi 3.9.0 → 3.10.0
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 +9 -10
- package/bin/mozhi-linux-arm64 +0 -0
- package/bin/mozhi-linux-x86_64 +0 -0
- package/bin/mozhi.js +2 -2
- package/checksums-sha256.txt +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,19 +19,20 @@ always in sync: same version, same flags, same exit codes.
|
|
|
19
19
|
LTS), 24.x (LTS) or 26.x (Current). Node.js 14, 16, 18 and 20 have reached
|
|
20
20
|
end of life and are no longer supported; on those lines the launcher still
|
|
21
21
|
works (it only uses `child_process`, `fs` and `path`) but prints a one-time
|
|
22
|
-
end-of-life notice. The
|
|
23
|
-
Node.js only runs the tiny launcher shim.
|
|
22
|
+
end-of-life notice. The launcher starts the Mozhi runtime included with the distribution.
|
|
24
23
|
|
|
25
|
-
## New in 3.
|
|
24
|
+
## New in 3.10.0
|
|
26
25
|
|
|
27
26
|
- `mz install <name>` falls back to NxMirror when a name is absent from the
|
|
28
27
|
existing registry. Use `mz install nx:<name>[@version]` explicitly.
|
|
29
28
|
- The interpreter imports manifest-based packages directly from `nx_modules/`,
|
|
30
29
|
including sibling dependencies installed by `nxc install`.
|
|
31
30
|
- `[build] mode = "native"`, `output`, and `release` configure numeric
|
|
32
|
-
machine-code builds
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
machine-code builds through `mozhi build` or `mz build`. This release of
|
|
32
|
+
the package links the internal compiler into Mozhi; no separate Mozhi
|
|
33
|
+
compiler is installed or required on PATH. A host C compiler (`cc`, or
|
|
34
|
+
the executable named by `CC`) and development libraries are still needed.
|
|
35
|
+
Previously published 3.9.0 artifacts do not contain this integration.
|
|
35
36
|
- `mz pkg build/publish --native` can include an optional manifest-declared
|
|
36
37
|
executable alongside importable source. Installation never builds or
|
|
37
38
|
executes downloaded tools automatically.
|
|
@@ -43,7 +44,7 @@ Executables are host-specific, and source remains required for package
|
|
|
43
44
|
imports. See [native build documentation](https://github.com/crossberry-in/mozhi/blob/main/docs/BUILD.md).
|
|
44
45
|
|
|
45
46
|
The npm build includes the app scaffold's nested templates and icon assets.
|
|
46
|
-
Both bundled interpreters report 3.
|
|
47
|
+
Both bundled interpreters report 3.10.0 and are statically linked Linux
|
|
47
48
|
executables for x86-64 and ARM64. These builds do not include OpenSSL;
|
|
48
49
|
the interpreter's native HTTPS client needs an OpenSSL-enabled build.
|
|
49
50
|
Node.js package-manager HTTPS requests are unaffected.
|
|
@@ -97,8 +98,7 @@ mz app home # launcher home screen
|
|
|
97
98
|
mz app uninstall in.crossberry.counter
|
|
98
99
|
```
|
|
99
100
|
|
|
100
|
-
Full guide:
|
|
101
|
-
the window is the app's own web UI today; the `.pkg` is not an APK).
|
|
101
|
+
Full guide: [Mozhi Apps](https://crossberry-in.github.io/mozhi-doc/apps.html). The `.pkg` format is not an Android APK.
|
|
102
102
|
|
|
103
103
|
## What you get (v3.3.0)
|
|
104
104
|
|
|
@@ -157,4 +157,3 @@ See `mozhi help` for all output flags (`--json`, `--no-color`,
|
|
|
157
157
|
|
|
158
158
|
- Documentation: https://crossberry-in.github.io/mozhi-doc/
|
|
159
159
|
- Error code reference: https://crossberry-in.github.io/mozhi-doc/errors/
|
|
160
|
-
- Source/issues: https://github.com/crossberry-in/mozhi
|
package/bin/mozhi-linux-arm64
CHANGED
|
Binary file
|
package/bin/mozhi-linux-x86_64
CHANGED
|
Binary file
|
package/bin/mozhi.js
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* natively by this launcher (lib/) without starting the interpreter —
|
|
17
17
|
* see `mz help pkg`.
|
|
18
18
|
*
|
|
19
|
-
* Bundled official release binaries (v3.
|
|
19
|
+
* Bundled official release binaries (v3.10.0 line, static builds with
|
|
20
20
|
* SQLite and the RFC 6234 SHA sources vendored):
|
|
21
21
|
* bin/mozhi-linux-x86_64
|
|
22
22
|
* bin/mozhi-linux-arm64
|
|
@@ -74,7 +74,7 @@ if (argv.length && PKG_COMMANDS.has(argv[0])) {
|
|
|
74
74
|
|
|
75
75
|
if (!fs.existsSync(bin)) {
|
|
76
76
|
console.error('[mozhi] No bundled interpreter for ' + process.platform + '-' + process.arch + '.');
|
|
77
|
-
console.error('[mozhi] This package ships official v3.
|
|
77
|
+
console.error('[mozhi] This package ships official v3.10.0 binaries for:');
|
|
78
78
|
console.error('[mozhi] linux-x86_64, linux-arm64 (fully static — works on glibc, Alpine, Termux)');
|
|
79
79
|
console.error('[mozhi] For macOS, Windows and other platforms use the installer:');
|
|
80
80
|
console.error('[mozhi] curl -fsSL https://github.com/crossberry-in/mozhi-doc/raw/main/install.sh | bash');
|
package/checksums-sha256.txt
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
caf0da617fb956f761457bb847a120197f648253e51c51e735d3191dc256b6ca bin/mozhi-linux-x86_64
|
|
2
|
+
8ea049fb90cf8d7f02e8a17427830c1639262e4c7a7607aa27cb6a4c1505945b bin/mozhi-linux-arm64
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crossberryweb/mozhi",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.10.0",
|
|
4
4
|
"description": "Mozhi programming language: native web platform, mz package manager with NxMirror support, nx_modules imports, apps, and configurable numeric native builds.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|