@vureact/compiler-core 1.0.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/LICENSE +21 -0
- package/README.md +3 -0
- package/bin/development.js +12 -0
- package/bin/production.js +3 -0
- package/bin/vureact.js +14 -0
- package/lib/chunk-5M5CTYQR.js +6495 -0
- package/lib/chunk-U72HWKIZ.esm.js +6495 -0
- package/lib/cli.d.cts +2 -0
- package/lib/cli.d.ts +2 -0
- package/lib/cli.esm.js +176 -0
- package/lib/cli.js +176 -0
- package/lib/compiler-core.d.cts +1344 -0
- package/lib/compiler-core.d.ts +1344 -0
- package/lib/compiler-core.esm.js +36 -0
- package/lib/compiler-core.js +36 -0
- package/package.json +83 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @vureact/compiler-core v1.0.0
|
|
3
|
+
* (c) 2025-present Ruihong Zhong (Ryan John)
|
|
4
|
+
* @license MIT
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import {
|
|
8
|
+
BaseCompiler,
|
|
9
|
+
CacheKey,
|
|
10
|
+
FileCompiler,
|
|
11
|
+
Helper,
|
|
12
|
+
VuReact,
|
|
13
|
+
defineConfig,
|
|
14
|
+
generate,
|
|
15
|
+
generateComponent,
|
|
16
|
+
generateOnlyScript,
|
|
17
|
+
parse,
|
|
18
|
+
parseOnlyScript,
|
|
19
|
+
parseSFC,
|
|
20
|
+
transform
|
|
21
|
+
} from "./chunk-U72HWKIZ.esm.js";
|
|
22
|
+
export {
|
|
23
|
+
BaseCompiler,
|
|
24
|
+
CacheKey,
|
|
25
|
+
FileCompiler,
|
|
26
|
+
Helper,
|
|
27
|
+
VuReact,
|
|
28
|
+
defineConfig,
|
|
29
|
+
generate,
|
|
30
|
+
generateComponent,
|
|
31
|
+
generateOnlyScript,
|
|
32
|
+
parse,
|
|
33
|
+
parseOnlyScript,
|
|
34
|
+
parseSFC,
|
|
35
|
+
transform
|
|
36
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});/**
|
|
2
|
+
* @vureact/compiler-core v1.0.0
|
|
3
|
+
* (c) 2025-present Ruihong Zhong (Ryan John)
|
|
4
|
+
* @license MIT
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
var _chunk5M5CTYQRjs = require('./chunk-5M5CTYQR.js');
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
exports.BaseCompiler = _chunk5M5CTYQRjs.BaseCompiler; exports.CacheKey = _chunk5M5CTYQRjs.CacheKey; exports.FileCompiler = _chunk5M5CTYQRjs.FileCompiler; exports.Helper = _chunk5M5CTYQRjs.Helper; exports.VuReact = _chunk5M5CTYQRjs.VuReact; exports.defineConfig = _chunk5M5CTYQRjs.defineConfig; exports.generate = _chunk5M5CTYQRjs.generate; exports.generateComponent = _chunk5M5CTYQRjs.generateComponent; exports.generateOnlyScript = _chunk5M5CTYQRjs.generateOnlyScript; exports.parse = _chunk5M5CTYQRjs.parse; exports.parseOnlyScript = _chunk5M5CTYQRjs.parseOnlyScript; exports.parseSFC = _chunk5M5CTYQRjs.parseSFC; exports.transform = _chunk5M5CTYQRjs.transform;
|
package/package.json
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vureact/compiler-core",
|
|
3
|
+
"version": "1.0.0",
|
|
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
|
+
}
|