@hewel/zgui-build 0.1.3 → 0.1.6

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
@@ -70,12 +70,12 @@ If `zgui.id` is omitted, the ID stays `dev.example.<app>`. An explicit ID must b
70
70
 
71
71
  All four application APIs accept `extraCapabilities` and `capabilitiesFile`. The CLI accepts `--capabilities-file <path>` for `build`, `dev`, and `preview`. The file contains a capabilities object, not a `package.json`; relative paths resolve from the caller's current working directory. Watch modes reread it after edits or atomic replacements of either the configured path or its symlink target.
72
72
 
73
- Each source is validated independently. `shellSurfaces` and `controlChannel` are ORed; `imagePrefixes`, `unixSockets`, `namedSockets`, and `commands` are merged by exact string and sorted. Duplicates within one source are errors. Host path templates, such as `$XDG_RUNTIME_DIR/host-${WAYLAND_DISPLAY}.sock`, are sealed verbatim. False flags and empty arrays are omitted from the manifest. Use only trusted overlays: their merged grants are sealed into the build ID.
73
+ Each source is validated independently. `shellSurfaces` and `controlChannel` are ORed; `imagePrefixes`, `namedImagePrefixes`, `unixSockets`, `namedSockets`, and `commands` are merged by exact string and sorted. Duplicates within one source are errors. Host path templates, such as `$XDG_RUNTIME_DIR/host-${WAYLAND_DISPLAY}.sock`, are sealed verbatim. False flags and empty arrays are omitted from the manifest. Use only trusted overlays: their merged grants are sealed into the build ID.
74
74
 
75
- **Only the app's base `package.json` can declare `sessionLock: true`.** Either overlay source specifying it as `true` rejects the build even if the base already grants it. `false` or omission neither grants nor revokes the base declaration.
75
+ **Only the app's base `package.json` can declare `sessionLock: true` or `singleInstance: true`.** Either build-time overlay specifying either flag as `true` rejects the build even if the base already enables it. `false` or omission neither enables nor revokes the base declaration.
76
76
 
77
77
  Build-time overlays may grant `shellSurfaces: true`. The runtime `--extensions-overlay`
78
- is stricter: it cannot add either `shellSurfaces` or `sessionLock` authority.
78
+ is stricter: it cannot add `shellSurfaces`, `sessionLock`, or `singleInstance`.
79
79
 
80
80
  `buildApplication(app, { bytecode: true })` resolves a compatible host through the
81
81
  same prebuilt/Cargo lookup as `devApplication`. `packageApplication` compiles with
@@ -123,4 +123,4 @@ When actively developing `zgui-js` alongside an external consumer repo (such as
123
123
  To verify exact npm-installed packaging without publishing to npmjs.org:
124
124
 
125
125
  - **SDK-only snapshot:** run `bun pm pack --filename /tmp/zgui-local/zgui.tgz` inside `packages/ui` (and `packages/services` as needed) to run `prepack` builds cleanly and install those `.tgz` files into the consumer.
126
- - **Full 6-package matrix:** run `cargo build -p zgui-host` then `bun run release:pack -- --out /tmp/zgui-local --host-binary ./target/debug/zgui-host`, and point consumer `dependencies`/`overrides` to the generated tarballs. Use distinct filenames or `bun install --force` when repacking the same SemVer version.
126
+ - **Full 6-package matrix:** run `cargo build -p zgui-host -p zgui-static-render` then `bun run release:pack -- --out /tmp/zgui-local --host-binary ./target/debug/zgui-host`, and point consumer `dependencies`/`overrides` to the generated tarballs. Use distinct filenames or `bun install --force` when repacking the same SemVer version.
@@ -6,7 +6,7 @@ prebuilt `zgui-host` binaries, and packaged desktop applications.
6
6
 
7
7
  ## 1. Upstream `zgui` (`zortax/zgui`)
8
8
 
9
- - **Source:** https://github.com/zortax/zgui (pinned revision `ee29c7dc66206eb04ba7bcf514058a278c9070ba`)
9
+ - **Source:** https://github.com/zortax/zgui (pinned revision `b985e19296b625f6f9ee1b66d6a5ff09d9de7ff6`)
10
10
  - **License:** Apache License, Version 2.0
11
11
  - **Scope:** Vendored native crates under `vendor/` (linked into `zgui-host`) and adapted UI
12
12
  stylesheet/theme/icon resources under `@hewel/zgui` (`packages/ui/upstream/{LICENSE,NOTICE,ORIGIN}`).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hewel/zgui-build",
3
- "version": "0.1.3",
3
+ "version": "0.1.6",
4
4
  "description": "Programmatic compiler, Lightning CSS Modules pipeline, tsrs typechecker, host resolver, and app packager for zgui-js",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",