@vmz/plugin 0.1.0 → 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.
Files changed (2) hide show
  1. package/index.d.ts +16 -0
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -153,17 +153,33 @@ export interface DeliveryProfileAuthoring {
153
153
  activation?: SiteDeliveryAuthoring['activation'];
154
154
  }
155
155
 
156
+ /** WeChat DevTools project identity. Pure data; not WeChat JSON / wx.* APIs. */
157
+ export interface WechatPackagingAuthoring {
158
+ /** Registered AppID. Omit for WeChat tourist mode (`touristappid`). */
159
+ appId?: string;
160
+ projectName?: string;
161
+ /** `app.json` `window.navigationBarTitleText`. */
162
+ title?: string;
163
+ }
164
+
165
+ /** Vendor packaging identity under `defineConfig({ delivery })`. */
166
+ export interface DeliveryPackagingAuthoring {
167
+ wechat?: WechatPackagingAuthoring;
168
+ }
169
+
156
170
  /** Named profiles (preferred) or legacy site-only sugar. */
157
171
  export type DeliveryAuthoring =
158
172
  | {
159
173
  default?: string;
160
174
  profiles: Record<string, DeliveryProfileAuthoring>;
175
+ packaging?: DeliveryPackagingAuthoring;
161
176
  }
162
177
  | (SiteDeliveryAuthoring & {
163
178
  default?: string;
164
179
  assembly?: DeliveryAssembly;
165
180
  host?: 'browser';
166
181
  serverRuntime?: DeliveryServerRuntime;
182
+ packaging?: DeliveryPackagingAuthoring;
167
183
  });
168
184
 
169
185
  export type DefinePluginInput = PluginManifest & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vmz/plugin",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
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.0"
21
+ "@vmz/protocol": "0.1.1"
22
22
  },
23
23
  "keywords": [
24
24
  "vmz",