@vmz/plugin 0.1.13 → 0.1.14
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/index.d.ts +6 -1
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -138,13 +138,18 @@ export interface SiteDeliveryAuthoring {
|
|
|
138
138
|
securityPolicy?: unknown;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export type DeliveryAssembly = 'local-static' | 'static
|
|
141
|
+
export type DeliveryAssembly = 'local-static' | 'web-static' | 'server-host' | 'cdn+server' | 'rust-embedded';
|
|
142
142
|
|
|
143
143
|
export type DeliveryServerRuntime = 'node' | 'worker' | 'deno' | 'bun' | 'rust-host';
|
|
144
144
|
|
|
145
145
|
export interface DeliveryProfileAuthoring {
|
|
146
146
|
host?: 'browser';
|
|
147
147
|
assembly: DeliveryAssembly;
|
|
148
|
+
/**
|
|
149
|
+
* Artifact directory under CLI `--out-dir` (default = profile id).
|
|
150
|
+
* Example: profile `static` + `name: 'cdn'` → `dist/cdn`.
|
|
151
|
+
*/
|
|
152
|
+
name?: string;
|
|
148
153
|
serverRuntime?: DeliveryServerRuntime;
|
|
149
154
|
/** Inline site sources or `defineSite({...})`. */
|
|
150
155
|
sources?: SiteDeliveryAuthoring | SiteDeliveryAuthoring['sources'];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vmz/plugin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.14",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "VMZ plugin protocol types and definePlugin / defineConfig helpers (no N-API)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"README.md"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@vmz/protocol": "0.1.
|
|
21
|
+
"@vmz/protocol": "0.1.14"
|
|
22
22
|
},
|
|
23
23
|
"keywords": [
|
|
24
24
|
"vmz",
|