weapp-vite 5.12.0 → 6.0.0-alpha.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 (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-TS7WK45E.mjs → chunk-4P5KX3LT.mjs} +2736 -2346
  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-ANDG4OME.cjs → chunk-EL4WI75Z.cjs} +2746 -2356
  10. package/dist/{chunk-7DRE4BEK.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-LLYDSPS7.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-sFIhUM69.d.ts → config-B6T_L15M.d.ts} +29 -0
  25. package/dist/{config-DgMm7Geo.d.cts → config-D5ATg2Pv.d.cts} +29 -0
  26. package/dist/config.cjs +4 -4
  27. package/dist/config.d.cts +1 -1
  28. package/dist/config.d.ts +1 -1
  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 -2
  34. package/dist/index.d.ts +4 -2
  35. package/dist/index.mjs +15 -6
  36. package/dist/json.cjs +3 -3
  37. package/dist/json.d.cts +1 -1
  38. package/dist/json.d.ts +1 -1
  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 -1
  46. package/dist/types.d.ts +2 -1
  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 +18 -11
  51. package/dist/chunk-2KCQ5UBK.cjs +0 -6
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "weapp-vite",
3
3
  "type": "module",
4
- "version": "5.12.0",
4
+ "version": "6.0.0-alpha.1",
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,33 +88,35 @@
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",
100
+ "magic-string": "^0.30.21",
96
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.56",
102
- "vite": "^8.0.0-beta.4",
106
+ "rolldown": "^1.0.0-beta.57",
107
+ "vite": "^8.0.0-beta.5",
103
108
  "vite-tsconfig-paths": "^6.0.3",
104
- "@weapp-core/init": "3.0.7",
105
- "@weapp-core/schematics": "4.0.0",
109
+ "vue": "^3.5.26",
106
110
  "@weapp-core/logger": "2.0.0",
111
+ "@weapp-core/init": "3.0.8-alpha.0",
112
+ "@weapp-core/schematics": "4.0.1-alpha.0",
107
113
  "@weapp-core/shared": "2.0.1",
108
- "@weapp-vite/volar": "0.0.2",
114
+ "@weapp-vite/volar": "0.1.0-alpha.0",
109
115
  "@weapp-vite/web": "0.0.3",
116
+ "rolldown-require": "1.0.6",
110
117
  "vite-plugin-performance": "1.0.0",
111
118
  "weapp-ide-cli": "4.1.2",
112
- "rolldown-require": "1.0.6"
119
+ "wevu": "0.0.2-alpha.0"
113
120
  },
114
121
  "publishConfig": {
115
122
  "access": "public",
@@ -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, );