@dimina/compiler 1.0.14-beta.0 → 1.0.14
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/bin/index.cjs +16 -17
- package/dist/bin/index.js +16 -17
- package/dist/compatibility-B_5UilxZ.js +165 -0
- package/dist/compatibility-DCnJNS-s.cjs +183 -0
- package/dist/core/logic-compiler.cjs +166 -82
- package/dist/core/logic-compiler.js +166 -81
- package/dist/core/view-compiler.cjs +200 -122
- package/dist/core/view-compiler.js +199 -118
- package/dist/index.cjs +30 -7
- package/dist/index.js +31 -8
- package/package.json +12 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dimina/compiler",
|
|
3
|
-
"version": "1.0.14
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"description": "星河编译工具",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -30,10 +30,14 @@
|
|
|
30
30
|
"dmcc": "dist/bin/index.js"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
|
+
"prebuild": "node scripts/sync-compatibility-reference.js",
|
|
33
34
|
"build": "vite build",
|
|
35
|
+
"sync:compat": "node scripts/sync-compatibility-reference.js",
|
|
36
|
+
"pretest": "node scripts/sync-compatibility-reference.js",
|
|
34
37
|
"test": "vitest run",
|
|
35
38
|
"test:dev": "vitest",
|
|
36
39
|
"coverage": "vitest run --coverage",
|
|
40
|
+
"prepack": "npm run build",
|
|
37
41
|
"release:beta": "npm version prerelease --preid=beta && npm publish --tag beta",
|
|
38
42
|
"release": "npm version patch && npm publish"
|
|
39
43
|
},
|
|
@@ -47,29 +51,23 @@
|
|
|
47
51
|
"星河"
|
|
48
52
|
],
|
|
49
53
|
"dependencies": {
|
|
50
|
-
"@
|
|
51
|
-
"
|
|
52
|
-
"@babel/plugin-transform-modules-commonjs": "^7.28.6",
|
|
53
|
-
"@babel/traverse": "^7.29.0",
|
|
54
|
-
"@babel/types": "^7.29.0",
|
|
55
|
-
"@vue/compiler-sfc": "^3.5.32",
|
|
56
|
-
"autoprefixer": "^10.4.27",
|
|
54
|
+
"@vue/compiler-sfc": "^3.5.34",
|
|
55
|
+
"autoprefixer": "^10.5.0",
|
|
57
56
|
"cheerio": "^1.2.0",
|
|
58
57
|
"chokidar": "^4.0.3",
|
|
59
58
|
"commander": "^14.0.3",
|
|
60
|
-
"cssnano": "^
|
|
61
|
-
"esbuild": "^0.
|
|
59
|
+
"cssnano": "^8.0.1",
|
|
60
|
+
"esbuild": "^0.28.0",
|
|
62
61
|
"htmlparser2": "^10.1.0",
|
|
63
62
|
"less": "^4.6.4",
|
|
64
63
|
"listr2": "^9.0.5",
|
|
65
64
|
"magic-string": "^0.30.21",
|
|
66
|
-
"oxc-parser": "^0.
|
|
67
|
-
"oxc-transform": "^0.124.0",
|
|
65
|
+
"oxc-parser": "^0.129.0",
|
|
68
66
|
"oxc-walker": "^0.7.0",
|
|
69
|
-
"postcss": "^8.5.
|
|
67
|
+
"postcss": "^8.5.14",
|
|
70
68
|
"postcss-selector-parser": "^7.1.1",
|
|
71
69
|
"sass": "^1.99.0",
|
|
72
|
-
"
|
|
70
|
+
"source-map-js": "^1.2.1"
|
|
73
71
|
},
|
|
74
72
|
"publishConfig": {
|
|
75
73
|
"registry": "https://registry.npmjs.org/",
|