@vureact/compiler-core 1.2.1 → 1.4.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/README.md +1 -1
- package/README.zh.md +1 -1
- package/lib/{chunk-SQRJUILR.js → chunk-IVRFEV6H.js} +1411 -1249
- package/lib/{chunk-7FIMRVQS.esm.js → chunk-NF5BSPYE.esm.js} +1352 -1190
- package/lib/cli.d.cts +1 -2
- package/lib/cli.d.ts +1 -2
- package/lib/cli.esm.js +104 -47
- package/lib/cli.js +106 -49
- package/lib/compiler-core.d.cts +1117 -1179
- package/lib/compiler-core.d.ts +1117 -1179
- package/lib/compiler-core.esm.js +2 -2
- package/lib/compiler-core.js +3 -3
- package/package.json +99 -83
package/lib/compiler-core.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vureact/compiler-core v1.
|
|
2
|
+
* @vureact/compiler-core v1.4.0
|
|
3
3
|
* (c) 2025-present Ruihong Zhong (Ryan John)
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
parseOnlyScript,
|
|
19
19
|
parseSFC,
|
|
20
20
|
transform
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-NF5BSPYE.esm.js";
|
|
22
22
|
export {
|
|
23
23
|
BaseCompiler,
|
|
24
24
|
CacheKey,
|
package/lib/compiler-core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});/**
|
|
2
|
-
* @vureact/compiler-core v1.
|
|
2
|
+
* @vureact/compiler-core v1.4.0
|
|
3
3
|
* (c) 2025-present Ruihong Zhong (Ryan John)
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkIVRFEV6Hjs = require('./chunk-IVRFEV6H.js');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -33,4 +33,4 @@ var _chunkSQRJUILRjs = require('./chunk-SQRJUILR.js');
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
exports.BaseCompiler =
|
|
36
|
+
exports.BaseCompiler = _chunkIVRFEV6Hjs.BaseCompiler; exports.CacheKey = _chunkIVRFEV6Hjs.CacheKey; exports.FileCompiler = _chunkIVRFEV6Hjs.FileCompiler; exports.Helper = _chunkIVRFEV6Hjs.Helper; exports.VuReact = _chunkIVRFEV6Hjs.VuReact; exports.defineConfig = _chunkIVRFEV6Hjs.defineConfig; exports.generate = _chunkIVRFEV6Hjs.generate; exports.generateComponent = _chunkIVRFEV6Hjs.generateComponent; exports.generateOnlyScript = _chunkIVRFEV6Hjs.generateOnlyScript; exports.parse = _chunkIVRFEV6Hjs.parse; exports.parseOnlyScript = _chunkIVRFEV6Hjs.parseOnlyScript; exports.parseSFC = _chunkIVRFEV6Hjs.parseSFC; exports.transform = _chunkIVRFEV6Hjs.transform;
|
package/package.json
CHANGED
|
@@ -1,83 +1,99 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@vureact/compiler-core",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "🌀
|
|
5
|
-
"author": "Ruihong Zhong (Ryan John)",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"type": "module",
|
|
8
|
-
"main": "./lib/compiler-core.js",
|
|
9
|
-
"module": "./lib/compiler-core.esm.js",
|
|
10
|
-
"types": "./lib/compiler-core.d.ts",
|
|
11
|
-
"exports": {
|
|
12
|
-
".": {
|
|
13
|
-
"types": "./lib/compiler-core.d.ts",
|
|
14
|
-
"import": "./lib/compiler-core.esm.js",
|
|
15
|
-
"require": "./lib/compiler-core.js"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"files": [
|
|
19
|
-
"bin",
|
|
20
|
-
"lib"
|
|
21
|
-
],
|
|
22
|
-
"keywords": [
|
|
23
|
-
"vue",
|
|
24
|
-
"react",
|
|
25
|
-
"vureact",
|
|
26
|
-
"vue2react",
|
|
27
|
-
"vue-to-react",
|
|
28
|
-
"compiler",
|
|
29
|
-
"transformer",
|
|
30
|
-
"vue3",
|
|
31
|
-
"react18",
|
|
32
|
-
"migration",
|
|
33
|
-
"
|
|
34
|
-
"typescript",
|
|
35
|
-
"jsx",
|
|
36
|
-
"sfc"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"
|
|
56
|
-
},
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
"
|
|
82
|
-
|
|
83
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@vureact/compiler-core",
|
|
3
|
+
"version": "1.4.0",
|
|
4
|
+
"description": "🌀 Semantic-aware Vue 3 to React 18+ compiler for progressive migration.",
|
|
5
|
+
"author": "Ruihong Zhong (Ryan John)",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"main": "./lib/compiler-core.js",
|
|
9
|
+
"module": "./lib/compiler-core.esm.js",
|
|
10
|
+
"types": "./lib/compiler-core.d.ts",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./lib/compiler-core.d.ts",
|
|
14
|
+
"import": "./lib/compiler-core.esm.js",
|
|
15
|
+
"require": "./lib/compiler-core.js"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"bin",
|
|
20
|
+
"lib"
|
|
21
|
+
],
|
|
22
|
+
"keywords": [
|
|
23
|
+
"vue",
|
|
24
|
+
"react",
|
|
25
|
+
"vureact",
|
|
26
|
+
"vue2react",
|
|
27
|
+
"vue-to-react",
|
|
28
|
+
"compiler",
|
|
29
|
+
"transformer",
|
|
30
|
+
"vue3",
|
|
31
|
+
"react18",
|
|
32
|
+
"migration",
|
|
33
|
+
"svelte",
|
|
34
|
+
"typescript",
|
|
35
|
+
"jsx",
|
|
36
|
+
"sfc",
|
|
37
|
+
"veaury",
|
|
38
|
+
"mitosis",
|
|
39
|
+
"vue3-to-react",
|
|
40
|
+
"vue-react",
|
|
41
|
+
"react-vue",
|
|
42
|
+
"vue-in-react",
|
|
43
|
+
"code-migration",
|
|
44
|
+
"framework-migration",
|
|
45
|
+
"vue-migration",
|
|
46
|
+
"react-conversion",
|
|
47
|
+
"single-file-components",
|
|
48
|
+
"progressive-migration",
|
|
49
|
+
"automated-refactoring"
|
|
50
|
+
],
|
|
51
|
+
"homepage": "https://vureact.top",
|
|
52
|
+
"repository": {
|
|
53
|
+
"type": "git",
|
|
54
|
+
"url": "https://github.com/vureact-js/core.git",
|
|
55
|
+
"directory": "packages/compiler-core"
|
|
56
|
+
},
|
|
57
|
+
"bugs": {
|
|
58
|
+
"url": "https://github.com/vureact-js/core/issues"
|
|
59
|
+
},
|
|
60
|
+
"bin": {
|
|
61
|
+
"vureact": "./bin/vureact.js"
|
|
62
|
+
},
|
|
63
|
+
"scripts": {
|
|
64
|
+
"build": "tsup",
|
|
65
|
+
"test": "tsx watch"
|
|
66
|
+
},
|
|
67
|
+
"peerDependencies": {
|
|
68
|
+
"prettier": "^3.0.0"
|
|
69
|
+
},
|
|
70
|
+
"peerDependenciesMeta": {
|
|
71
|
+
"prettier": {
|
|
72
|
+
"optional": true
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"dependencies": {
|
|
76
|
+
"@babel/core": "^7.28.5",
|
|
77
|
+
"@babel/generator": "^7.28.3",
|
|
78
|
+
"@babel/parser": "^7.28.4",
|
|
79
|
+
"@babel/traverse": "^7.28.4",
|
|
80
|
+
"@babel/types": "^7.28.4",
|
|
81
|
+
"@vue/compiler-core": "^3.5.22",
|
|
82
|
+
"@vue/compiler-sfc": "^3.5.22",
|
|
83
|
+
"cac": "^6.7.14",
|
|
84
|
+
"chokidar": "^5.0.0",
|
|
85
|
+
"kleur": "^4.1.5",
|
|
86
|
+
"less": "^4.5.1",
|
|
87
|
+
"minimatch": "^10.1.1",
|
|
88
|
+
"ora": "^9.1.0",
|
|
89
|
+
"postcss": "^8.5.6",
|
|
90
|
+
"proper-lockfile": "^4.1.2",
|
|
91
|
+
"sass": "^1.97.3",
|
|
92
|
+
"tsx": "^4.21.0",
|
|
93
|
+
"update-notifier": "^7.3.1",
|
|
94
|
+
"xxhashjs": "^0.2.2"
|
|
95
|
+
},
|
|
96
|
+
"engines": {
|
|
97
|
+
"node": ">=14.0.0"
|
|
98
|
+
}
|
|
99
|
+
}
|