Skip to content

Commit 09c220e

Browse files
committed
chore: rename package namesapce from ant-design-vue to vue
1 parent 76fd572 commit 09c220e

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

packages/babel-helper-vue-transform-on/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @ant-design-vue/babel-helper-vue-transform-on
1+
# @vue/babel-helper-vue-transform-on
22

33
A package used internally by vue jsx transformer to transform events.
44

packages/babel-helper-vue-transform-on/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@ant-design-vue/babel-helper-vue-transform-on",
2+
"name": "@vue/babel-helper-vue-transform-on",
33
"version": "1.0.1",
44
"description": "to help transform on",
55
"author": "Amour1688 <[email protected]>",

packages/babel-plugin-jsx/README-zh_CN.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Vue 3 Babel JSX 插件
22

3-
![test](https://github.com/vueComponent/jsx/workflows/test/badge.svg) [![npm package](https://img.shields.io/npm/v/@ant-design-vue/babel-plugin-jsx.svg?style=flat-square)](https://www.npmjs.com/package/@ant-design-vue/babel-plugin-jsx)
3+
[![CircleCI](https://circleci.com/gh/vuejs/jsx-next.svg?style=svg)](https://circleci.com/gh/vuejs/vue-next) [![npm package](https://img.shields.io/npm/v/@ant-design-vue/babel-plugin-jsx.svg?style=flat-square)](https://www.npmjs.com/package/@ant-design-vue/babel-plugin-jsx)
44

55
以 JSX 的方式来编写 Vue 代码
66

@@ -11,14 +11,14 @@
1111
安装插件
1212

1313
```bash
14-
npm install @ant-design-vue/babel-plugin-jsx -D
14+
npm install @vue/babel-plugin-jsx -D
1515
```
1616

1717
配置 Babel
1818

1919
```js
2020
{
21-
"plugins": ["@ant-design-vue/babel-plugin-jsx"]
21+
"plugins": ["@vue/babel-plugin-jsx"]
2222
}
2323
```
2424

packages/babel-plugin-jsx/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Babel Plugin JSX for Vue 3.0
22

3-
![test](https://github.com/vueComponent/jsx/workflows/test/badge.svg) [![npm package](https://img.shields.io/npm/v/@ant-design-vue/babel-plugin-jsx.svg?style=flat-square)](https://www.npmjs.com/package/@ant-design-vue/babel-plugin-jsx)
3+
[![CircleCI](https://circleci.com/gh/vuejs/jsx-next.svg?style=svg)](https://circleci.com/gh/vuejs/vue-next) [![npm package](https://img.shields.io/npm/v/@ant-design-vue/babel-plugin-jsx.svg?style=flat-square)](https://www.npmjs.com/package/@ant-design-vue/babel-plugin-jsx)
44

55
To add Vue JSX support.
66

@@ -11,14 +11,14 @@ English | [简体中文](/packages/babel-plugin-jsx/README-zh_CN.md)
1111
Install the plugin with:
1212

1313
```bash
14-
npm install @ant-design-vue/babel-plugin-jsx -D
14+
npm install @vue/babel-plugin-jsx -D
1515
```
1616

1717
Then add the plugin to .babelrc:
1818

1919
```js
2020
{
21-
"plugins": ["@ant-design-vue/babel-plugin-jsx"]
21+
"plugins": ["@vue/babel-plugin-jsx"]
2222
}
2323
```
2424

packages/babel-plugin-jsx/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@ant-design-vue/babel-plugin-jsx",
2+
"name": "@vue/babel-plugin-jsx",
33
"version": "1.0.0-rc.1",
44
"description": "Babel plugin for Vue 3.0 JSX",
55
"author": "Amour1688 <[email protected]>",
@@ -23,7 +23,7 @@
2323
"dist"
2424
],
2525
"dependencies": {
26-
"@ant-design-vue/babel-helper-vue-transform-on": "^1.0.0",
26+
"@vue/babel-helper-vue-transform-on": "^1.0.0",
2727
"@babel/helper-module-imports": "^7.0.0",
2828
"@babel/plugin-syntax-jsx": "^7.0.0",
2929
"@babel/traverse": "^7.0.0",

packages/babel-plugin-jsx/src/buildProps.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ const buildProps = (path: NodePath<t.JSXElement>, state: State) => {
184184
if (!state.get('transformOn')) {
185185
state.set('transformOn', addDefault(
186186
path,
187-
'@ant-design-vue/babel-helper-vue-transform-on',
187+
'@vue/babel-helper-vue-transform-on',
188188
{ nameHint: '_transformOn' },
189189
));
190190
}

packages/jsx-explorer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@ant-design-vue/jsx-explorer",
2+
"name": "@vue/jsx-explorer",
33
"version": "1.0.0-rc.1",
44
"private": true,
55
"dependencies": {

0 commit comments

Comments
 (0)