weapp-vite 5.11.4 → 6.0.0-alpha.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.
Files changed (51) hide show
  1. package/README.md +60 -2
  2. package/dist/auto-import-components/resolvers.cjs +6 -6
  3. package/dist/auto-import-components/resolvers.mjs +1 -1
  4. package/dist/auto-routes.cjs +9 -8
  5. package/dist/auto-routes.mjs +5 -4
  6. package/dist/{chunk-K5QGB3YX.mjs → chunk-4P5KX3LT.mjs} +2785 -2376
  7. package/dist/{chunk-MDUMD5GP.mjs → chunk-5CBZRYDL.mjs} +1 -8
  8. package/dist/{chunk-INJNZ3X2.cjs → chunk-E34K6TPD.cjs} +2 -2
  9. package/dist/{chunk-Q4SMSDJY.cjs → chunk-EL4WI75Z.cjs} +2785 -2376
  10. package/dist/{chunk-NIUQMR6K.cjs → chunk-FB7KR7SH.cjs} +6 -6
  11. package/dist/chunk-IEICAJDZ.cjs +188 -0
  12. package/dist/chunk-MK4LDVBT.mjs +188 -0
  13. package/dist/{chunk-7KGGMLZZ.mjs → chunk-ML5KPLC5.mjs} +1 -1
  14. package/dist/{chunk-IVFT4TLR.mjs → chunk-O6633IWP.mjs} +1 -1
  15. package/dist/{chunk-MTUYQJIF.cjs → chunk-SJSLFDTA.cjs} +2 -2
  16. package/dist/{chunk-N5FVU7GR.cjs → chunk-TZGJRA2Y.cjs} +2 -9
  17. package/dist/chunk-UKTIE44Q.cjs +34 -0
  18. package/dist/{chunk-KZVQVHXZ.mjs → chunk-VKLSO3EM.mjs} +2 -2
  19. package/dist/chunk-WYYIFHJZ.cjs +6 -0
  20. package/dist/chunk-YIVKT2UN.mjs +34 -0
  21. package/dist/{chunk-46VA2TEF.mjs → chunk-YXFADQPY.mjs} +1 -1
  22. package/dist/cli.cjs +117 -92
  23. package/dist/cli.mjs +33 -8
  24. package/dist/{config-9JglUSN2.d.ts → config-B6T_L15M.d.ts} +48 -19
  25. package/dist/{config-D1eBLaq2.d.cts → config-D5ATg2Pv.d.cts} +48 -19
  26. package/dist/config.cjs +4 -4
  27. package/dist/config.d.cts +1 -2
  28. package/dist/config.d.ts +1 -2
  29. package/dist/config.mjs +3 -3
  30. package/dist/file-KXULPGWG.mjs +29 -0
  31. package/dist/file-S6QIP4VW.cjs +29 -0
  32. package/dist/index.cjs +18 -9
  33. package/dist/index.d.cts +4 -3
  34. package/dist/index.d.ts +4 -3
  35. package/dist/index.mjs +15 -6
  36. package/dist/json.cjs +3 -3
  37. package/dist/json.d.cts +1 -2
  38. package/dist/json.d.ts +1 -2
  39. package/dist/json.mjs +2 -2
  40. package/dist/runtime.cjs +11 -0
  41. package/dist/runtime.d.cts +29 -0
  42. package/dist/runtime.d.ts +29 -0
  43. package/dist/runtime.mjs +11 -0
  44. package/dist/types.cjs +9 -9
  45. package/dist/types.d.cts +2 -2
  46. package/dist/types.d.ts +2 -2
  47. package/dist/types.mjs +2 -2
  48. package/dist/volar.cjs +2 -2
  49. package/dist/volar.mjs +1 -1
  50. package/package.json +21 -15
  51. package/dist/chunk-2KCQ5UBK.cjs +0 -6
package/dist/index.mjs CHANGED
@@ -1,30 +1,39 @@
1
+ import "./chunk-ML5KPLC5.mjs";
1
2
  import {
2
3
  createCompilerContext
3
- } from "./chunk-KZVQVHXZ.mjs";
4
- import "./chunk-K5QGB3YX.mjs";
4
+ } from "./chunk-VKLSO3EM.mjs";
5
+ import {
6
+ defineEmits,
7
+ defineProps
8
+ } from "./chunk-YIVKT2UN.mjs";
9
+ import "./chunk-4P5KX3LT.mjs";
10
+ import "./chunk-MK4LDVBT.mjs";
5
11
  import {
6
12
  defineConfig
7
- } from "./chunk-46VA2TEF.mjs";
13
+ } from "./chunk-YXFADQPY.mjs";
8
14
  import {
9
15
  defineAppJson,
10
16
  defineComponentJson,
11
17
  definePageJson,
12
18
  defineSitemapJson,
13
19
  defineThemeJson
14
- } from "./chunk-IVFT4TLR.mjs";
15
- import "./chunk-7KGGMLZZ.mjs";
20
+ } from "./chunk-O6633IWP.mjs";
16
21
  import {
17
22
  init_esm_shims
18
- } from "./chunk-MDUMD5GP.mjs";
23
+ } from "./chunk-5CBZRYDL.mjs";
19
24
 
20
25
  // src/index.ts
21
26
  init_esm_shims();
27
+ import { createWevuComponent } from "wevu";
22
28
  export {
23
29
  createCompilerContext,
30
+ createWevuComponent,
24
31
  defineAppJson,
25
32
  defineComponentJson,
26
33
  defineConfig,
34
+ defineEmits,
27
35
  definePageJson,
36
+ defineProps,
28
37
  defineSitemapJson,
29
38
  defineThemeJson
30
39
  };
package/dist/json.cjs CHANGED
@@ -4,12 +4,12 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkMTUYQJIFcjs = require('./chunk-MTUYQJIF.cjs');
8
- require('./chunk-N5FVU7GR.cjs');
7
+ var _chunkSJSLFDTAcjs = require('./chunk-SJSLFDTA.cjs');
8
+ require('./chunk-TZGJRA2Y.cjs');
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
14
 
15
- exports.defineAppJson = _chunkMTUYQJIFcjs.defineAppJson; exports.defineComponentJson = _chunkMTUYQJIFcjs.defineComponentJson; exports.definePageJson = _chunkMTUYQJIFcjs.definePageJson; exports.defineSitemapJson = _chunkMTUYQJIFcjs.defineSitemapJson; exports.defineThemeJson = _chunkMTUYQJIFcjs.defineThemeJson;
15
+ exports.defineAppJson = _chunkSJSLFDTAcjs.defineAppJson; exports.defineComponentJson = _chunkSJSLFDTAcjs.defineComponentJson; exports.definePageJson = _chunkSJSLFDTAcjs.definePageJson; exports.defineSitemapJson = _chunkSJSLFDTAcjs.defineSitemapJson; exports.defineThemeJson = _chunkSJSLFDTAcjs.defineThemeJson;
package/dist/json.d.cts CHANGED
@@ -1,9 +1,8 @@
1
1
  export { App, Component, Page, Sitemap, Theme } from '@weapp-core/schematics';
2
- export { a as defineAppJson, c as defineComponentJson, b as definePageJson, e as defineSitemapJson, f as defineThemeJson } from './config-D1eBLaq2.cjs';
2
+ export { a as defineAppJson, c as defineComponentJson, b as definePageJson, e as defineSitemapJson, f as defineThemeJson } from './config-D5ATg2Pv.cjs';
3
3
  import 'vite';
4
4
  import '@weapp-vite/web';
5
5
  import 'rolldown';
6
- import 'tsdown';
7
6
  import 'vite-plugin-performance';
8
7
  import 'vite-tsconfig-paths';
9
8
  import './types-3q1Qq6Fe.cjs';
package/dist/json.d.ts CHANGED
@@ -1,9 +1,8 @@
1
1
  export { App, Component, Page, Sitemap, Theme } from '@weapp-core/schematics';
2
- export { a as defineAppJson, c as defineComponentJson, b as definePageJson, e as defineSitemapJson, f as defineThemeJson } from './config-9JglUSN2.js';
2
+ export { a as defineAppJson, c as defineComponentJson, b as definePageJson, e as defineSitemapJson, f as defineThemeJson } from './config-B6T_L15M.js';
3
3
  import 'vite';
4
4
  import '@weapp-vite/web';
5
5
  import 'rolldown';
6
- import 'tsdown';
7
6
  import 'vite-plugin-performance';
8
7
  import 'vite-tsconfig-paths';
9
8
  import './types-3q1Qq6Fe.js';
package/dist/json.mjs CHANGED
@@ -4,8 +4,8 @@ import {
4
4
  definePageJson,
5
5
  defineSitemapJson,
6
6
  defineThemeJson
7
- } from "./chunk-IVFT4TLR.mjs";
8
- import "./chunk-MDUMD5GP.mjs";
7
+ } from "./chunk-O6633IWP.mjs";
8
+ import "./chunk-5CBZRYDL.mjs";
9
9
  export {
10
10
  defineAppJson,
11
11
  defineComponentJson,
@@ -0,0 +1,11 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+ var _chunkUKTIE44Qcjs = require('./chunk-UKTIE44Q.cjs');
6
+ require('./chunk-TZGJRA2Y.cjs');
7
+
8
+
9
+
10
+
11
+ exports.createWevuComponent = _chunkUKTIE44Qcjs.createWevuComponent; exports.defineEmits = _chunkUKTIE44Qcjs.defineEmits; exports.defineProps = _chunkUKTIE44Qcjs.defineProps;
@@ -0,0 +1,29 @@
1
+ import { ComputedDefinitions, MethodDefinitions } from 'wevu';
2
+
3
+ interface WevuComponentOptions<D extends object = Record<string, any>, C extends ComputedDefinitions = ComputedDefinitions, M extends MethodDefinitions = MethodDefinitions> {
4
+ data?: () => D;
5
+ computed?: C;
6
+ methods?: M;
7
+ watch?: any;
8
+ setup?: (...args: any[]) => any;
9
+ properties?: Record<string, any>;
10
+ [key: string]: any;
11
+ }
12
+ /**
13
+ * Create a wevu component from Vue SFC options
14
+ * Supports both Vue 2 style (Options API) and Vue 3 style (Composition API)
15
+ *
16
+ * Always uses defineComponent (which calls Component() in mini-program).
17
+ * In WeChat mini-programs, Component() can define both pages and components.
18
+ */
19
+ declare function createWevuComponent(options: WevuComponentOptions): void;
20
+ /**
21
+ * Define component with Vue 3 style props
22
+ */
23
+ declare function defineProps<T extends Record<string, any>>(props: T): T;
24
+ /**
25
+ * Define emits with Vue 3 style
26
+ */
27
+ declare function defineEmits<T extends Record<string, any> | string[]>(emits: T): T;
28
+
29
+ export { type WevuComponentOptions, createWevuComponent, defineEmits, defineProps };
@@ -0,0 +1,29 @@
1
+ import { ComputedDefinitions, MethodDefinitions } from 'wevu';
2
+
3
+ interface WevuComponentOptions<D extends object = Record<string, any>, C extends ComputedDefinitions = ComputedDefinitions, M extends MethodDefinitions = MethodDefinitions> {
4
+ data?: () => D;
5
+ computed?: C;
6
+ methods?: M;
7
+ watch?: any;
8
+ setup?: (...args: any[]) => any;
9
+ properties?: Record<string, any>;
10
+ [key: string]: any;
11
+ }
12
+ /**
13
+ * Create a wevu component from Vue SFC options
14
+ * Supports both Vue 2 style (Options API) and Vue 3 style (Composition API)
15
+ *
16
+ * Always uses defineComponent (which calls Component() in mini-program).
17
+ * In WeChat mini-programs, Component() can define both pages and components.
18
+ */
19
+ declare function createWevuComponent(options: WevuComponentOptions): void;
20
+ /**
21
+ * Define component with Vue 3 style props
22
+ */
23
+ declare function defineProps<T extends Record<string, any>>(props: T): T;
24
+ /**
25
+ * Define emits with Vue 3 style
26
+ */
27
+ declare function defineEmits<T extends Record<string, any> | string[]>(emits: T): T;
28
+
29
+ export { type WevuComponentOptions, createWevuComponent, defineEmits, defineProps };
@@ -0,0 +1,11 @@
1
+ import {
2
+ createWevuComponent,
3
+ defineEmits,
4
+ defineProps
5
+ } from "./chunk-YIVKT2UN.mjs";
6
+ import "./chunk-5CBZRYDL.mjs";
7
+ export {
8
+ createWevuComponent,
9
+ defineEmits,
10
+ defineProps
11
+ };
package/dist/types.cjs CHANGED
@@ -1,25 +1,25 @@
1
- "use strict";require('./chunk-2KCQ5UBK.cjs');
1
+ "use strict";require('./chunk-WYYIFHJZ.cjs');
2
2
 
3
3
 
4
- var _chunkN5FVU7GRcjs = require('./chunk-N5FVU7GR.cjs');
4
+ var _chunkTZGJRA2Ycjs = require('./chunk-TZGJRA2Y.cjs');
5
5
 
6
6
  // src/types/index.ts
7
- _chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
7
+ _chunkTZGJRA2Ycjs.init_cjs_shims.call(void 0, );
8
8
 
9
9
  // src/types/config.ts
10
- _chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
10
+ _chunkTZGJRA2Ycjs.init_cjs_shims.call(void 0, );
11
11
 
12
12
  // src/types/context.ts
13
- _chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
13
+ _chunkTZGJRA2Ycjs.init_cjs_shims.call(void 0, );
14
14
 
15
15
  // src/types/entry.ts
16
- _chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
16
+ _chunkTZGJRA2Ycjs.init_cjs_shims.call(void 0, );
17
17
 
18
18
  // src/types/errors.ts
19
- _chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
19
+ _chunkTZGJRA2Ycjs.init_cjs_shims.call(void 0, );
20
20
 
21
21
  // src/types/plugin.ts
22
- _chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
22
+ _chunkTZGJRA2Ycjs.init_cjs_shims.call(void 0, );
23
23
 
24
24
  // src/types/routes.ts
25
- _chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
25
+ _chunkTZGJRA2Ycjs.init_cjs_shims.call(void 0, );
package/dist/types.d.cts CHANGED
@@ -1,9 +1,9 @@
1
- export { A as Alias, g as AliasOptions, _ as AppEntry, B as AutoImportComponents, D as AutoImportComponentsOption, Y as BaseEntry, J as BuildNpmPackageMeta, a3 as ChangeEvent, O as ChunksConfig, a0 as ComponentEntry, X as ComponentsMap, y as CopyGlobs, x as CopyOptions, I as EnhanceOptions, E as EnhanceWxmlOptions, Z as Entry, a1 as EntryJsonFragment, l as GenerateDirsOptions, G as GenerateExtensionsOptions, n as GenerateFileType, m as GenerateFilenamesOptions, w as GenerateOptions, s as GenerateTemplate, o as GenerateTemplateContext, t as GenerateTemplateEntry, r as GenerateTemplateFactory, p as GenerateTemplateFileSource, q as GenerateTemplateInlineSource, u as GenerateTemplateScope, v as GenerateTemplatesConfig, H as HandleWxmlOptions, K as JsFormat, M as MpPlatform, $ as PageEntry, P as ProjectConfig, R as ResolvedAlias, V as ScanComponentItem, F as ScanWxmlOptions, N as SharedChunkStrategy, S as SubPackage, Q as SubPackageMetaValue, j as SubPackageStyleConfigEntry, i as SubPackageStyleConfigObject, k as SubPackageStyleEntry, h as SubPackageStyleScope, U as UserConfig, W as WeappViteConfig, a2 as WeappVitePluginApi, z as WeappWebConfig, T as WxmlDep } from './config-D1eBLaq2.cjs';
1
+ export { A as Alias, g as AliasOptions, $ as AppEntry, B as AutoImportComponents, D as AutoImportComponentsOption, Z as BaseEntry, J as BuildNpmPackageMeta, a4 as ChangeEvent, P as ChunksConfig, a1 as ComponentEntry, Y as ComponentsMap, y as CopyGlobs, x as CopyOptions, I as EnhanceOptions, E as EnhanceWxmlOptions, _ as Entry, a2 as EntryJsonFragment, l as GenerateDirsOptions, G as GenerateExtensionsOptions, n as GenerateFileType, m as GenerateFilenamesOptions, w as GenerateOptions, s as GenerateTemplate, o as GenerateTemplateContext, t as GenerateTemplateEntry, r as GenerateTemplateFactory, p as GenerateTemplateFileSource, q as GenerateTemplateInlineSource, u as GenerateTemplateScope, v as GenerateTemplatesConfig, H as HandleWxmlOptions, K as JsFormat, M as MpPlatform, N as NpmBuildOptions, a0 as PageEntry, Q as ProjectConfig, R as ResolvedAlias, X as ScanComponentItem, F as ScanWxmlOptions, O as SharedChunkStrategy, S as SubPackage, T as SubPackageMetaValue, j as SubPackageStyleConfigEntry, i as SubPackageStyleConfigObject, k as SubPackageStyleEntry, h as SubPackageStyleScope, U as UserConfig, W as WeappViteConfig, a3 as WeappVitePluginApi, z as WeappWebConfig, V as WxmlDep } from './config-D5ATg2Pv.cjs';
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
+ export { ComputedDefinitions, MethodDefinitions, Ref } from 'wevu';
4
5
  export { A as AutoRoutes, a as AutoRoutesSubPackage } from './routes-C9hKJjXs.cjs';
5
6
  export { R as Resolver } from './types-3q1Qq6Fe.cjs';
6
- export { InlineConfig as NpmBuildOptions } from 'tsdown';
7
7
  import '@weapp-core/schematics';
8
8
  import '@weapp-vite/web';
9
9
  import 'vite-plugin-performance';
package/dist/types.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- export { A as Alias, g as AliasOptions, _ as AppEntry, B as AutoImportComponents, D as AutoImportComponentsOption, Y as BaseEntry, J as BuildNpmPackageMeta, a3 as ChangeEvent, O as ChunksConfig, a0 as ComponentEntry, X as ComponentsMap, y as CopyGlobs, x as CopyOptions, I as EnhanceOptions, E as EnhanceWxmlOptions, Z as Entry, a1 as EntryJsonFragment, l as GenerateDirsOptions, G as GenerateExtensionsOptions, n as GenerateFileType, m as GenerateFilenamesOptions, w as GenerateOptions, s as GenerateTemplate, o as GenerateTemplateContext, t as GenerateTemplateEntry, r as GenerateTemplateFactory, p as GenerateTemplateFileSource, q as GenerateTemplateInlineSource, u as GenerateTemplateScope, v as GenerateTemplatesConfig, H as HandleWxmlOptions, K as JsFormat, M as MpPlatform, $ as PageEntry, P as ProjectConfig, R as ResolvedAlias, V as ScanComponentItem, F as ScanWxmlOptions, N as SharedChunkStrategy, S as SubPackage, Q as SubPackageMetaValue, j as SubPackageStyleConfigEntry, i as SubPackageStyleConfigObject, k as SubPackageStyleEntry, h as SubPackageStyleScope, U as UserConfig, W as WeappViteConfig, a2 as WeappVitePluginApi, z as WeappWebConfig, T as WxmlDep } from './config-9JglUSN2.js';
1
+ export { A as Alias, g as AliasOptions, $ as AppEntry, B as AutoImportComponents, D as AutoImportComponentsOption, Z as BaseEntry, J as BuildNpmPackageMeta, a4 as ChangeEvent, P as ChunksConfig, a1 as ComponentEntry, Y as ComponentsMap, y as CopyGlobs, x as CopyOptions, I as EnhanceOptions, E as EnhanceWxmlOptions, _ as Entry, a2 as EntryJsonFragment, l as GenerateDirsOptions, G as GenerateExtensionsOptions, n as GenerateFileType, m as GenerateFilenamesOptions, w as GenerateOptions, s as GenerateTemplate, o as GenerateTemplateContext, t as GenerateTemplateEntry, r as GenerateTemplateFactory, p as GenerateTemplateFileSource, q as GenerateTemplateInlineSource, u as GenerateTemplateScope, v as GenerateTemplatesConfig, H as HandleWxmlOptions, K as JsFormat, M as MpPlatform, N as NpmBuildOptions, a0 as PageEntry, Q as ProjectConfig, R as ResolvedAlias, X as ScanComponentItem, F as ScanWxmlOptions, O as SharedChunkStrategy, S as SubPackage, T as SubPackageMetaValue, j as SubPackageStyleConfigEntry, i as SubPackageStyleConfigObject, k as SubPackageStyleEntry, h as SubPackageStyleScope, U as UserConfig, W as WeappViteConfig, a3 as WeappVitePluginApi, z as WeappWebConfig, V as WxmlDep } from './config-B6T_L15M.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
+ export { ComputedDefinitions, MethodDefinitions, Ref } from 'wevu';
4
5
  export { A as AutoRoutes, a as AutoRoutesSubPackage } from './routes-C9hKJjXs.js';
5
6
  export { R as Resolver } from './types-3q1Qq6Fe.js';
6
- export { InlineConfig as NpmBuildOptions } from 'tsdown';
7
7
  import '@weapp-core/schematics';
8
8
  import '@weapp-vite/web';
9
9
  import 'vite-plugin-performance';
package/dist/types.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import "./chunk-7KGGMLZZ.mjs";
1
+ import "./chunk-ML5KPLC5.mjs";
2
2
  import {
3
3
  init_esm_shims
4
- } from "./chunk-MDUMD5GP.mjs";
4
+ } from "./chunk-5CBZRYDL.mjs";
5
5
 
6
6
  // src/types/index.ts
7
7
  init_esm_shims();
package/dist/volar.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2
2
 
3
- var _chunkN5FVU7GRcjs = require('./chunk-N5FVU7GR.cjs');
3
+ var _chunkTZGJRA2Ycjs = require('./chunk-TZGJRA2Y.cjs');
4
4
 
5
5
  // src/volar.ts
6
- _chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );
6
+ _chunkTZGJRA2Ycjs.init_cjs_shims.call(void 0, );
7
7
  var _volar = require('@weapp-vite/volar'); var _volar2 = _interopRequireDefault(_volar);
8
8
  var volar_default = _volar2.default;
9
9
 
package/dist/volar.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-MDUMD5GP.mjs";
3
+ } from "./chunk-5CBZRYDL.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": "5.11.4",
4
+ "version": "6.0.0-alpha.0",
5
5
  "description": "weapp-vite 一个现代化的小程序打包工具",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -45,6 +45,11 @@
45
45
  "import": "./dist/volar.mjs",
46
46
  "require": "./dist/volar.cjs"
47
47
  },
48
+ "./runtime": {
49
+ "types": "./dist/runtime.d.ts",
50
+ "import": "./dist/runtime.mjs",
51
+ "require": "./dist/runtime.cjs"
52
+ },
48
53
  "./types": {
49
54
  "types": "./dist/types.d.ts",
50
55
  "import": "./dist/types.mjs",
@@ -83,41 +88,42 @@
83
88
  "node": ">=20.19.0"
84
89
  },
85
90
  "dependencies": {
86
- "@babel/core": "^7.28.5",
91
+ "@babel/generator": "^7.28.5",
87
92
  "@babel/parser": "^7.28.5",
88
- "@babel/preset-env": "^7.28.5",
89
- "@babel/preset-typescript": "^7.28.5",
90
93
  "@babel/traverse": "^7.28.5",
91
94
  "@babel/types": "^7.28.5",
92
- "comment-json": "^4.5.0",
95
+ "@vue/compiler-core": "^3.5.26",
96
+ "comment-json": "^4.5.1",
93
97
  "debug": "^4.4.3",
94
98
  "fdir": "^6.5.0",
95
99
  "fs-extra": "^11.3.3",
96
- "oxc-parser": "^0.104.0",
100
+ "magic-string": "^0.30.21",
101
+ "oxc-parser": "^0.105.0",
97
102
  "oxc-walker": "^0.6.0",
98
103
  "pathe": "^2.0.3",
99
104
  "picomatch": "^4.0.3",
100
105
  "postcss": "^8.5.6",
101
- "rolldown": "^1.0.0-beta.55",
102
- "tsdown": "^0.18.1",
103
- "vite": "^8.0.0-beta.3",
106
+ "rolldown": "^1.0.0-beta.57",
107
+ "vite": "^8.0.0-beta.5",
104
108
  "vite-tsconfig-paths": "^6.0.3",
105
- "@weapp-core/init": "3.0.7",
106
- "@weapp-core/logger": "2.0.0",
107
- "@weapp-core/schematics": "4.0.0",
109
+ "vue": "^3.5.26",
110
+ "@weapp-core/init": "3.0.8-alpha.0",
108
111
  "@weapp-core/shared": "2.0.1",
109
- "@weapp-vite/volar": "0.0.2",
112
+ "@weapp-core/schematics": "4.0.1-alpha.0",
113
+ "@weapp-core/logger": "2.0.0",
114
+ "@weapp-vite/volar": "0.1.0-alpha.0",
110
115
  "@weapp-vite/web": "0.0.3",
111
116
  "rolldown-require": "1.0.6",
112
117
  "vite-plugin-performance": "1.0.0",
113
- "weapp-ide-cli": "4.1.2"
118
+ "weapp-ide-cli": "4.1.2",
119
+ "wevu": "0.0.1"
114
120
  },
115
121
  "publishConfig": {
116
122
  "access": "public",
117
123
  "registry": "https://registry.npmjs.org"
118
124
  },
119
125
  "devDependencies": {
120
- "@oxc-project/types": "^0.104.0",
126
+ "@oxc-project/types": "^0.105.0",
121
127
  "@tailwindcss/vite": "^4.1.18",
122
128
  "@types/semver": "^7.7.1",
123
129
  "@vitejs/plugin-vue": "^6.0.3",
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- var _chunkN5FVU7GRcjs = require('./chunk-N5FVU7GR.cjs');
4
-
5
- // src/types/external.ts
6
- _chunkN5FVU7GRcjs.init_cjs_shims.call(void 0, );