@orkestrel/sea 0.0.13 → 0.0.15

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
@@ -1,9 +1,13 @@
1
1
  # @orkestrel/sea
2
2
 
3
- A pure-TypeScript Node.js [Single Executable Application (SEA)](https://nodejs.org/api/single-executable-applications.html)
4
- builder for the `@orkestrel` line — compress assets, assemble the SEA blob,
5
- and inject it into a standalone binary, entirely in TypeScript with no
6
- external tools.
3
+ > The Node.js single executable application (SEA) builder: a pure-TypeScript pipeline
4
+ > that compresses assets, assembles the SEA blob, injects it into a copy of the host
5
+ > Node binary, and signs the result, with no WASM and no external tools.
6
+
7
+ Build a [Single Executable Application](https://nodejs.org/api/single-executable-applications.html)
8
+ with the `createSEA` function: point it at your entry script and an output
9
+ directory, then `await sea.execute()` for the finished binary. Part of the
10
+ `@orkestrel` line.
7
11
 
8
12
  ## Install
9
13
 
@@ -57,7 +61,8 @@ process.stdout.write(
57
61
  - **Hide the Windows terminal** — `windows: { terminal: false }` patches the
58
62
  PE subsystem field so a GUI application launches without a console window.
59
63
  - **Runtime asset access** — `AssetManager` loads assets embedded in the SEA
60
- blob via `node:sea`, or falls back to disk in development.
64
+ blob through `node:sea`, and `load()` reads the paths its `assets` option
65
+ configures from disk in development.
61
66
  - **Open the browser** — `openBrowser(url)` is a runtime helper (not a build
62
67
  step) for a bundled local-UI app to launch the system default browser at
63
68
  its own served address. Best-effort, detached, argv-only dispatch.
@@ -72,7 +77,7 @@ process.stdout.write(
72
77
  (`codesign --verify --strict`) as the final build step. An ad-hoc signature
73
78
  satisfies local Gatekeeper checks but is not a trusted, distributable
74
79
  signature — re-sign with a real Apple Developer ID for distribution.
75
- - **Windows** — signing is **optional**, via `windows.sign`. Provide exactly
80
+ - **Windows** — signing is **optional**, through `windows.sign`. Provide exactly
76
81
  one of `file` (a `.pfx` path + `password`) or `thumbprint` (a cert-store
77
82
  SHA1 hash), plus an optional RFC 3161 `timestamp` URL and `digest`
78
83
  (defaults to `sha256`):
@@ -102,7 +107,7 @@ process.stdout.write(
102
107
 
103
108
  ## Compatibility
104
109
 
105
- - **Node.js >= 24** is required; the package is a single Node-native
110
+ - **Node.js >= 24.8.0** is required; the package is a single Node-native
106
111
  server-only surface (no CommonJS/browser split).
107
112
  - **ESM entry requires a Node ≥ 25.7 build host.** `entry: { format: 'esm' }`
108
113
  emits `mainFormat: 'module'`, a SEA-config field that only exists starting
@@ -136,7 +141,7 @@ of those flows provide out of the box.
136
141
  AV/EDR heuristics flag for modified executables. Code-sign the output (see
137
142
  Code signing above) and, if needed, submit it to your vendor's allowlist.
138
143
  - **Windows SmartScreen warns on first launch.** The `.exe` is unsigned —
139
- sign it via `windows.sign` (see Code signing above) to avoid the warning.
144
+ sign it through `windows.sign` (see Code signing above) to avoid the warning.
140
145
  - **macOS Gatekeeper blocks the app.** Gatekeeper requires a valid signature;
141
146
  the automatic ad-hoc signature (`codesign --sign -`) satisfies local
142
147
  Gatekeeper checks so it runs on the machine that built it, but for
@@ -147,7 +152,7 @@ of those flows provide out of the box.
147
152
 
148
153
  ## Example: embedded local UI
149
154
 
150
- A SEA whose entry starts a local server, serves a bundled `client.html` via
155
+ A SEA whose entry starts a local server, serves a bundled `client.html` through
151
156
  `AssetManager`, and opens the system browser once ready:
152
157
 
153
158
  ```ts
@@ -189,7 +194,7 @@ server.listen(0, () => {
189
194
  ## Status
190
195
 
191
196
  Pre-release. The public API documented in
192
- [`guides/src/sea.md`](https://github.com/orkestrel/sea/blob/main/guides/src/sea.md)
197
+ [`guides/sea.md`](https://github.com/orkestrel/sea/blob/main/guides/sea.md)
193
198
  is implemented and covered by tests, but the package has not yet reached a
194
199
  stable `1.0` release.
195
200
 
@@ -202,7 +207,7 @@ Published as a single Node-only surface per the `exports` field in
202
207
  ## Guides
203
208
 
204
209
  - [`guides/README.md`](guides/README.md) — the guides index.
205
- - [`guides/src/sea.md`](guides/src/sea.md) — the `SEA` / `Injector` /
210
+ - [`guides/sea.md`](guides/sea.md) — the `SEA` / `Injector` /
206
211
  `Asset` / `AssetManager` surface.
207
212
 
208
213
  ## License