@evjs/manifest 0.0.1-rc.15 → 0.0.1-rc.16

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.
Files changed (2) hide show
  1. package/package.json +2 -3
  2. package/AGENT.md +0 -33
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evjs/manifest",
3
- "version": "0.0.1-rc.15",
3
+ "version": "0.0.1-rc.16",
4
4
  "description": "Shared manifest types for the ev framework",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -19,8 +19,7 @@
19
19
  "check-types": "tsc --noEmit"
20
20
  },
21
21
  "files": [
22
- "esm",
23
- "AGENT.md"
22
+ "esm"
24
23
  ],
25
24
  "keywords": [
26
25
  "evjs",
package/AGENT.md DELETED
@@ -1,33 +0,0 @@
1
- # @evjs/manifest
2
-
3
- Shared manifest schema types for the ev framework build system.
4
-
5
- ## Types
6
-
7
- - `Manifest` — Unified manifest interface (`dist/manifest.json`) with `server` and `client` sections.
8
- - `ServerManifestSection` — Server section: `{ entry: string; fns: Record<string, ServerFnEntry>; rsc?: ... }`.
9
- - `ClientManifestSection` — Client section: `{ js: string[]; css: string[]; pages?: ... }`.
10
- - `ServerFnEntry` — `{ moduleId: string; export: string }` — server function metadata.
11
- - `RscEntry` — Reserved for future (React Server Components).
12
- - `PageEntry` — Reserved for future (MPA per-page assets).
13
- - `ServerManifest` — Deprecated alias for backward compat.
14
- - `ClientManifest` — Deprecated alias for backward compat.
15
-
16
- ## Manifest (v1)
17
- ```json
18
- {
19
- "version": 1,
20
- "server": {
21
- "entry": "main.a1b2c3d4.js",
22
- "fns": {
23
- "<fnId>": { "moduleId": "f9b6...", "export": "getUsers" }
24
- }
25
- }
26
- }
27
- ```
28
-
29
- ## Usage
30
- Produced by `@evjs/webpack-plugin`, consumed by `@evjs/runtime` and adapters:
31
- ```ts
32
- import type { Manifest, ServerFnEntry } from "@evjs/manifest";
33
- ```