docs: update portal for WRNexusJS 0.2.19

This commit is contained in:
2026-07-13 15:00:12 +05:30
parent 6c47450eb4
commit 4531228edd
81 changed files with 563 additions and 526 deletions
+6 -5
View File
@@ -1,4 +1,4 @@
# WRNexusJS documentation 0.2.18
# WRNexusJS documentation 0.2.19
Status: Private Developer Preview. This site documents 26 release-aligned packages.
@@ -281,7 +281,7 @@ wrnexus eject <component> # copy a Wire UI component's .wrn into app/compone
# Installed package documentation
The following README files and declarations come from the installed private 0.2.18 release.
The following README files and declarations come from the installed private 0.2.19 release.
## @wrnexus/ai
@@ -3258,7 +3258,7 @@ interface ProdOptions {
### `startGateway(opts)` — multi-app gateway
Serves several apps behind one port and routes each request to the right app by its `Host` header. Each app runs as its own child process (full isolation); the gateway is a thin host-based reverse proxy for HTTP and WebSocket. Apps communicate at runtime via `@wrnexus/pubsub` (use the Redis driver so messages cross processes).
Serves several apps behind one port and routes each request to the right app by its `Host` header. Each app runs as its own child process (full isolation); the gateway is a thin host-based reverse proxy for HTTP and WebSocket. In development, the gateway supervises every child: editing a page, component, API, or middleware restarts only that app and the HMR client reconnects to display the latest page. Apps communicate at runtime via `@wrnexus/pubsub` (use the Redis driver so messages cross processes).
```ts
interface GatewayOptions {
@@ -3428,6 +3428,9 @@ import { ResolvedI18n, I18nConfig } from '@wrnexus/i18n';
import { StorageConfig } from '@wrnexus/uploader';
import { IncomingMessage, ServerResponse, Server } from 'node:http';
/** Exit code a dev-server child uses to request a clean supervisor restart. */
declare const RESTART_EXIT_CODE = 97;
/**
* HMR hub — tracks connected browser HMR sockets and broadcasts update events.
*
@@ -3792,8 +3795,6 @@ declare function serveNode(handler: FetchHandler, opts?: {
* restarts this process on file changes.
*/
/** Exit code the child uses to ask the dev supervisor for a fresh process. */
declare const RESTART_EXIT_CODE = 97;
interface ServeOptions {
appDir: string;
port?: number;