@vmz/core 0.0.4 → 0.1.1
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/dist/client-nav.d.ts +20 -2
- package/dist/client-nav.js +556 -50
- package/dist/dom-core.d.ts +337 -0
- package/dist/dom-core.js +4545 -0
- package/dist/dom-ssr.d.ts +78 -0
- package/dist/dom-ssr.js +970 -0
- package/dist/dom.client.d.ts +4 -0
- package/dist/dom.client.js +5 -0
- package/dist/dom.d.ts +3 -219
- package/dist/dom.js +3 -4377
- package/dist/serve-host.d.ts +17 -0
- package/dist/serve-host.mjs +550 -156
- package/dist/server.d.ts +8 -0
- package/dist/server.js +233 -11
- package/dist/vmz-dom.d.ts +5 -0
- package/dist/vmz-dom.js +6 -0
- package/dist/vmz-runtime.d.ts +5 -0
- package/dist/vmz-runtime.js +6 -0
- package/package.json +8 -1
package/dist/serve-host.d.ts
CHANGED
|
@@ -1 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generic VMZ Node host — SSR Route Graph pages + dist static + RPC/REST.
|
|
3
|
+
*
|
|
4
|
+
* Invoked by `vmz serve` / `vmz dev` (or: node dist/vmz-serve-host.mjs).
|
|
5
|
+
*
|
|
6
|
+
* Pathname matches `vmz-deployment.json` `pathPattern` (explicit `<router>.path`
|
|
7
|
+
* or file-route default). Mini page stems are a different host projection.
|
|
8
|
+
* Not an SPA shell.
|
|
9
|
+
*
|
|
10
|
+
* `VMZ_DEV=1`: POST `/__vmz/reload` soft-reloads modules (cache-bust import);
|
|
11
|
+
* GET `/__vmz/events` SSE notifies the browser:
|
|
12
|
+
* - island HMR → re-import `entry-client.js` (no full document reload)
|
|
13
|
+
* - otherwise → `location.reload`
|
|
14
|
+
*
|
|
15
|
+
* Dev resolve hook propagates `?t=` onto nested relative `file:` imports under
|
|
16
|
+
* dist so soft reload does not keep a stale `lib/*.js` ESM cache entry.
|
|
17
|
+
*/
|
|
1
18
|
export {};
|