@vureact/compiler-core 1.8.5 → 1.10.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 +6 -5
- package/README.zh-CN.md +5 -4
- package/lib/{chunk-6FMNT76F.js → chunk-AOWJPHTS.js} +1040 -635
- package/lib/{chunk-FWYPSB43.esm.js → chunk-ZTNVNBKF.esm.js} +900 -495
- package/lib/cli.esm.js +2 -2
- package/lib/cli.js +10 -10
- package/lib/compiler-core.d.cts +23 -4
- package/lib/compiler-core.d.ts +23 -4
- package/lib/compiler-core.esm.js +2 -2
- package/lib/compiler-core.js +3 -3
- package/package.json +105 -102
package/README.md
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
# @vureact/compiler-core
|
|
2
2
|
|
|
3
|
-
`@vureact/compiler-core` is a
|
|
3
|
+
`@vureact/compiler-core` is a smart compiler built for migrating Vue to React — the **CLI and core compiler package** of VuReact.
|
|
4
|
+
It fully converts Vue 3 single-file components, scripts, and styles into pure React code (no runtime bridge), outputting production-ready artifacts.
|
|
5
|
+
It covers all core features of `<script setup>`, supporting progressive migration and Vue+React hybrid development.
|
|
4
6
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
[](https://github.com/vureact-js/core/stargazers)
|
|
7
|
+
[](https://vureact.top/)
|
|
8
8
|
[](https://www.npmjs.com/package/@vureact/compiler-core)
|
|
9
|
-
[](https://codecov.io/gh/vureact-js/core)
|
|
10
|
+
[](https://nodejs.org/)
|
|
10
11
|
[](https://github.com/vureact-js/core/blob/master/LICENSE)
|
|
11
12
|
|
|
12
13
|
English | [简体中文](./README.zh-CN.md)
|
package/README.zh-CN.md
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
# @vureact/compiler-core
|
|
2
2
|
|
|
3
|
-
`@vureact/compiler-core`
|
|
4
|
-
它用于将 Vue 3
|
|
3
|
+
`@vureact/compiler-core` 是专为 Vue 迁移 React 设计的智能编译器,也是 VuReact 的 **CLI 与核心编译包**。
|
|
4
|
+
它用于将 Vue 3 单文件组件・脚本・样式完整转为纯 React(非运行时桥接)代码并输出工程化产物,覆盖 `<script setup>` 核心全特性,支持渐进式迁移与 Vue+React 混合开发。
|
|
5
5
|
|
|
6
|
-
[](https://vureact.top/)
|
|
7
7
|
[](https://www.npmjs.com/package/@vureact/compiler-core)
|
|
8
|
-
[](https://codecov.io/gh/vureact-js/core)
|
|
9
|
+
[](https://nodejs.org/)
|
|
9
10
|
[](https://github.com/vureact-js/core/blob/master/LICENSE)
|
|
10
11
|
|
|
11
12
|
简体中文 | [English](./README.md)
|