@wevu/compiler 7.4.0 → 7.5.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.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as StaticRouteValue, t as StaticPageDeclaration } from "../public-
|
|
2
|
-
export { StaticPageDeclaration, StaticRouteValue };
|
|
1
|
+
import { n as StaticPageMeta, r as StaticRouteValue, t as StaticPageDeclaration } from "../public-BqBfNRjA.mjs";
|
|
2
|
+
export { StaticPageDeclaration, StaticPageMeta, StaticRouteValue };
|
|
@@ -12,5 +12,7 @@ interface StaticPageDeclaration {
|
|
|
12
12
|
name: string;
|
|
13
13
|
meta?: Record<string, StaticRouteValue>;
|
|
14
14
|
}
|
|
15
|
+
/** 完整可静态提取的页面元信息;动态成员不产生部分结果。 */
|
|
16
|
+
type StaticPageMeta = Record<string, StaticRouteValue>;
|
|
15
17
|
//#endregion
|
|
16
|
-
export {
|
|
18
|
+
export { StaticPageMeta as n, StaticRouteValue as r, StaticPageDeclaration as t };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wevu/compiler",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.5.0",
|
|
5
5
|
"description": "wevu 编译器基础包,面向小程序模板的编译与转换",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"dist"
|
|
58
58
|
],
|
|
59
59
|
"engines": {
|
|
60
|
-
"node": "^
|
|
60
|
+
"node": "^22.18.0 || ^24.11.0 || >=26.0.0"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@jridgewell/remapping": "^2.3.5",
|
|
@@ -65,17 +65,17 @@
|
|
|
65
65
|
"@vue/babel-plugin-jsx": "3.0.0",
|
|
66
66
|
"@vue/compiler-core": "^3.5.43",
|
|
67
67
|
"@vue/compiler-dom": "^3.5.43",
|
|
68
|
-
"@weapp-core/constants": "0.3.
|
|
69
|
-
"@weapp-core/shared": "3.2.
|
|
70
|
-
"@weapp-vite/ast": "7.
|
|
68
|
+
"@weapp-core/constants": "0.3.1",
|
|
69
|
+
"@weapp-core/shared": "3.2.8",
|
|
70
|
+
"@weapp-vite/ast": "7.5.0",
|
|
71
71
|
"comment-json": "^5.0.0",
|
|
72
72
|
"lru-cache": "^11.5.3",
|
|
73
|
-
"magic-string": "^1.4.
|
|
73
|
+
"magic-string": "^1.4.3",
|
|
74
74
|
"merge": "^2.1.1",
|
|
75
75
|
"pathe": "^2.0.3",
|
|
76
|
-
"postcss": "^8.5.
|
|
76
|
+
"postcss": "^8.5.29",
|
|
77
77
|
"postcss-selector-parser": "^7.1.6",
|
|
78
|
-
"rolldown-require": "2.0.
|
|
78
|
+
"rolldown-require": "2.0.35",
|
|
79
79
|
"vue": "^3.5.43"
|
|
80
80
|
},
|
|
81
81
|
"tsd": {
|
|
@@ -93,7 +93,8 @@
|
|
|
93
93
|
"build": "tsdown",
|
|
94
94
|
"test": "vitest run",
|
|
95
95
|
"test:dev": "vitest",
|
|
96
|
-
"test:types": "pnpm build &&
|
|
96
|
+
"test:types": "pnpm build && pnpm run test:types:check",
|
|
97
|
+
"test:types:check": "tsd --files \"test-d/**/*.test-d.ts\"",
|
|
97
98
|
"typecheck": "tsc --noEmit",
|
|
98
99
|
"release": "pnpm publish",
|
|
99
100
|
"lint": "eslint .",
|