@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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vureact/compiler-core v1.2.1
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-7FIMRVQS.esm.js";
21
+ } from "./chunk-NF5BSPYE.esm.js";
22
22
  export {
23
23
  BaseCompiler,
24
24
  CacheKey,
@@ -1,5 +1,5 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});/**
2
- * @vureact/compiler-core v1.2.1
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 _chunkSQRJUILRjs = require('./chunk-SQRJUILR.js');
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 = _chunkSQRJUILRjs.BaseCompiler; exports.CacheKey = _chunkSQRJUILRjs.CacheKey; exports.FileCompiler = _chunkSQRJUILRjs.FileCompiler; exports.Helper = _chunkSQRJUILRjs.Helper; exports.VuReact = _chunkSQRJUILRjs.VuReact; exports.defineConfig = _chunkSQRJUILRjs.defineConfig; exports.generate = _chunkSQRJUILRjs.generate; exports.generateComponent = _chunkSQRJUILRjs.generateComponent; exports.generateOnlyScript = _chunkSQRJUILRjs.generateOnlyScript; exports.parse = _chunkSQRJUILRjs.parse; exports.parseOnlyScript = _chunkSQRJUILRjs.parseOnlyScript; exports.parseSFC = _chunkSQRJUILRjs.parseSFC; exports.transform = _chunkSQRJUILRjs.transform;
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.2.1",
4
- "description": "🌀 Next Vue to React compiler, compiles Vue 3 syntax into runnable React 18+ code.",
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
- "incremental",
34
- "typescript",
35
- "jsx",
36
- "sfc"
37
- ],
38
- "homepage": "https://vureact.top",
39
- "repository": {
40
- "type": "git",
41
- "url": "https://github.com/vureact-js/core.git",
42
- "directory": "packages/compiler-core"
43
- },
44
- "bugs": {
45
- "url": "https://github.com/vureact-js/core/issues"
46
- },
47
- "bin": {
48
- "vureact": "./bin/vureact.js"
49
- },
50
- "scripts": {
51
- "build": "tsup",
52
- "test": "tsx watch"
53
- },
54
- "peerDependencies": {
55
- "prettier": "^3.0.0"
56
- },
57
- "peerDependenciesMeta": {
58
- "prettier": {
59
- "optional": true
60
- }
61
- },
62
- "dependencies": {
63
- "@babel/core": "^7.28.5",
64
- "@babel/generator": "^7.28.3",
65
- "@babel/parser": "^7.28.4",
66
- "@babel/traverse": "^7.28.4",
67
- "@babel/types": "^7.28.4",
68
- "@vue/compiler-core": "^3.5.22",
69
- "@vue/compiler-sfc": "^3.5.22",
70
- "cac": "^6.7.14",
71
- "chokidar": "^5.0.0",
72
- "kleur": "^4.1.5",
73
- "less": "^4.5.1",
74
- "minimatch": "^10.1.1",
75
- "ora": "^9.1.0",
76
- "postcss": "^8.5.6",
77
- "sass": "^1.97.3",
78
- "xxhashjs": "^0.2.2"
79
- },
80
- "engines": {
81
- "node": ">=14.0.0"
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
+ }