weapp-vite 6.6.16 → 6.7.0

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/mcp.mjs ADDED
@@ -0,0 +1,18 @@
1
+ import {
2
+ DEFAULT_MCP_ENDPOINT,
3
+ DEFAULT_MCP_HOST,
4
+ DEFAULT_MCP_PORT,
5
+ createWeappViteMcpServer,
6
+ resolveWeappMcpConfig,
7
+ startWeappViteMcpServer
8
+ } from "./chunk-6Y4CQBGL.mjs";
9
+ import "./chunk-WFHC5POL.mjs";
10
+ import "./chunk-GTITIIY3.mjs";
11
+ export {
12
+ DEFAULT_MCP_ENDPOINT,
13
+ DEFAULT_MCP_HOST,
14
+ DEFAULT_MCP_PORT,
15
+ createWeappViteMcpServer,
16
+ resolveWeappMcpConfig,
17
+ startWeappViteMcpServer
18
+ };
package/dist/runtime.mjs CHANGED
@@ -2,8 +2,8 @@ import {
2
2
  createWevuComponent,
3
3
  defineEmits,
4
4
  defineProps
5
- } from "./chunk-LG2VJAAT.mjs";
6
- import "./chunk-YITJ3DB4.mjs";
5
+ } from "./chunk-V4HJMXPN.mjs";
6
+ import "./chunk-GTITIIY3.mjs";
7
7
  export {
8
8
  createWevuComponent,
9
9
  defineEmits,
package/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { A as Alias, n as AliasOptions, o as AlipayNpmMode, p as AppEntry, q as AutoImportComponents, r as AutoImportComponentsOption, B as BaseEntry, s as BuildNpmPackageMeta, t as ChangeEvent, u as ChunksConfig, v as ComponentEntry, w as ComponentsMap, x as CopyGlobs, y as CopyOptions, E as EnhanceOptions, z as EnhanceWxmlOptions, D as Entry, F as EntryJsonFragment, G as GenerateDirsOptions, H as GenerateExtensionsOptions, I as GenerateFileType, J as GenerateFilenamesOptions, K as GenerateOptions, M as GenerateTemplate, N as GenerateTemplateContext, O as GenerateTemplateEntry, P as GenerateTemplateFactory, Q as GenerateTemplateFileSource, R as GenerateTemplateInlineSource, S as GenerateTemplateScope, T as GenerateTemplatesConfig, V as HandleWxmlOptions, X as JsFormat, Y as JsonConfig, Z as JsonMergeContext, _ as JsonMergeFunction, $ as JsonMergeStage, a0 as JsonMergeStrategy, a1 as MpPlatform, a2 as MultiPlatformConfig, a3 as NpmBuildOptions, a4 as PageEntry, a5 as ProjectConfig, a6 as ResolvedAlias, a7 as ScanComponentItem, a8 as ScanWxmlOptions, a9 as SharedChunkDynamicImports, aa as SharedChunkMode, ab as SharedChunkOverride, ac as SharedChunkStrategy, ad as SubPackage, ae as SubPackageMetaValue, af as SubPackageStyleConfigEntry, ag as SubPackageStyleConfigObject, ah as SubPackageStyleEntry, ai as SubPackageStyleScope, aj as UserConfig, ak as WeappLibComponentJson, al as WeappLibConfig, am as WeappLibDtsOptions, an as WeappLibEntryContext, ao as WeappLibFileName, ap as WeappLibInternalDtsOptions, aq as WeappLibVueTscOptions, W as WeappViteConfig, ar as WeappVitePluginApi, as as WeappWebConfig, at as WxmlDep } from './config-CdeM_u7y.js';
1
+ export { A as Alias, o as AliasOptions, p as AlipayNpmMode, q as AppEntry, r as AutoImportComponents, s as AutoImportComponentsOption, B as BaseEntry, t as BuildNpmPackageMeta, u as ChangeEvent, v as ChunksConfig, w as ComponentEntry, x as ComponentsMap, y as CopyGlobs, z as CopyOptions, E as EnhanceOptions, D as EnhanceWxmlOptions, F as Entry, G as EntryJsonFragment, H as GenerateDirsOptions, I as GenerateExtensionsOptions, J as GenerateFileType, K as GenerateFilenamesOptions, M as GenerateOptions, N as GenerateTemplate, O as GenerateTemplateContext, P as GenerateTemplateEntry, Q as GenerateTemplateFactory, R as GenerateTemplateFileSource, S as GenerateTemplateInlineSource, T as GenerateTemplateScope, V as GenerateTemplatesConfig, X as HandleWxmlOptions, Y as JsFormat, Z as JsonConfig, _ as JsonMergeContext, $ as JsonMergeFunction, a0 as JsonMergeStage, a1 as JsonMergeStrategy, a2 as MpPlatform, a3 as MultiPlatformConfig, a4 as NpmBuildOptions, a5 as PageEntry, a6 as ProjectConfig, a7 as ResolvedAlias, a8 as ScanComponentItem, a9 as ScanWxmlOptions, aa as SharedChunkDynamicImports, ab as SharedChunkMode, ac as SharedChunkOverride, ad as SharedChunkStrategy, ae as SubPackage, af as SubPackageMetaValue, ag as SubPackageStyleConfigEntry, ah as SubPackageStyleConfigObject, ai as SubPackageStyleEntry, aj as SubPackageStyleScope, ak as UserConfig, al as WeappLibComponentJson, am as WeappLibConfig, an as WeappLibDtsOptions, ao as WeappLibEntryContext, ap as WeappLibFileName, aq as WeappLibInternalDtsOptions, ar as WeappLibVueTscOptions, n as WeappMcpConfig, W as WeappViteConfig, as as WeappVitePluginApi, at as WeappWebConfig, au as WxmlDep } from './config-D2DJI97q.js';
2
2
  export { RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, WatchOptions as RolldownWatchOptions, RolldownWatcher } from 'rolldown';
3
3
  export { ConfigEnv, InlineConfig, Plugin, PluginOption, ResolvedConfig, ViteDevServer } from 'vite';
4
4
  export { ComputedDefinitions, MethodDefinitions, Ref } from 'wevu';
package/dist/types.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import "./chunk-2UZR3XO5.mjs";
1
+ import "./chunk-KLC6AUWO.mjs";
2
2
  import {
3
3
  init_esm_shims
4
- } from "./chunk-YITJ3DB4.mjs";
4
+ } from "./chunk-GTITIIY3.mjs";
5
5
 
6
6
  // src/types/index.ts
7
7
  init_esm_shims();
package/dist/volar.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-YITJ3DB4.mjs";
3
+ } from "./chunk-GTITIIY3.mjs";
4
4
 
5
5
  // src/volar.ts
6
6
  init_esm_shims();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "weapp-vite",
3
3
  "type": "module",
4
- "version": "6.6.16",
4
+ "version": "6.7.0",
5
5
  "description": "weapp-vite 一个现代化的小程序打包工具",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -46,6 +46,10 @@
46
46
  "types": "./dist/runtime.d.ts",
47
47
  "import": "./dist/runtime.mjs"
48
48
  },
49
+ "./mcp": {
50
+ "types": "./dist/mcp.d.ts",
51
+ "import": "./dist/mcp.mjs"
52
+ },
49
53
  "./types": {
50
54
  "types": "./dist/types.d.ts",
51
55
  "import": "./dist/types.mjs"
@@ -111,13 +115,14 @@
111
115
  "@weapp-core/logger": "3.1.0",
112
116
  "@weapp-core/schematics": "6.0.2",
113
117
  "@weapp-core/shared": "3.0.1",
118
+ "@weapp-vite/mcp": "1.1.0",
114
119
  "@weapp-vite/volar": "2.0.4",
115
- "rolldown-require": "2.0.6",
116
- "@wevu/api": "0.1.1",
117
120
  "@weapp-vite/web": "1.3.0",
121
+ "@wevu/api": "0.1.1",
122
+ "rolldown-require": "2.0.6",
118
123
  "vite-plugin-performance": "2.0.1",
119
124
  "weapp-ide-cli": "5.1.0",
120
- "wevu": "6.6.16"
125
+ "wevu": "6.7.0"
121
126
  },
122
127
  "publishConfig": {
123
128
  "access": "public",