Skip to content

Commit 01834d6

Browse files
authored
refactor: use father plugin (#370)
* chore: init * chore: update config * test: all covert
1 parent 542e868 commit 01834d6

26 files changed

+99
-138
lines changed

.dumirc.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import path from 'path';
33

44
export default defineConfig({
55
alias: {
6-
'rc-steps$': path.resolve('src'),
7-
'rc-steps/es': path.resolve('src'),
6+
'@rc-component/steps$': path.resolve('src'),
7+
'@rc-component/steps/es': path.resolve('src'),
88
},
99
mfsu: false,
1010
favicons: ['https://avatars0.githubusercontent.com/u/9441414?s=200&v=4'],

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# rc-steps
1+
# @rc-component/steps
22

33
---
44

@@ -10,21 +10,21 @@ React steps component.
1010
[![npm download][download-image]][download-url]
1111
[![bundle size][bundlephobia-image]][bundlephobia-url]
1212

13-
[npm-image]: http://img.shields.io/npm/v/rc-steps.svg?style=flat-square
14-
[npm-url]: http://npmjs.org/package/rc-steps
13+
[npm-image]: http://img.shields.io/npm/v/@rc-component/steps.svg?style=flat-square
14+
[npm-url]: http://npmjs.org/package/@rc-component/steps
1515
[travis-image]: https://img.shields.io/travis/react-component/steps.svg?style=flat-square
1616
[travis-url]: https://travis-ci.org/react-component/steps
1717
[codecov-image]: https://img.shields.io/codecov/c/github/react-component/steps/master.svg?style=flat-square
1818
[codecov-url]: https://codecov.io/gh/react-component/steps/branch/master
19-
[download-image]: https://img.shields.io/npm/dm/rc-steps.svg?style=flat-square
20-
[download-url]: https://npmjs.org/package/rc-steps
21-
[bundlephobia-url]: https://bundlephobia.com/result?p=rc-steps
22-
[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/rc-steps
19+
[download-image]: https://img.shields.io/npm/dm/@rc-component/steps.svg?style=flat-square
20+
[download-url]: https://npmjs.org/package/@rc-component/steps
21+
[bundlephobia-url]: https://bundlephobia.com/result?p=@rc-component/steps
22+
[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/@rc-component/steps
2323

2424
## Usage
2525

2626
```bash
27-
npm install rc-steps
27+
npm install @rc-component/steps
2828
```
2929

3030
<br>
@@ -188,4 +188,4 @@ npm start
188188

189189
## License
190190

191-
rc-steps is released under the MIT license.
191+
@rc-component/steps is released under the MIT license.

docs/examples/alternativeLabel.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import '../../assets/index.less';
22
import '../../assets/iconfont.less';
33
import React from 'react';
4-
import Steps from 'rc-steps';
4+
import Steps from '@rc-component/steps';
55

66
const description =
77
'这里是多信息的描述啊这里是多信息的描述啊这里是多信息的描述啊这里是多信息的描述啊这里是多信息的描述啊';

docs/examples/composable.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import '../../assets/index.less';
22
import '../../assets/iconfont.less';
33
import React from 'react';
4-
import Steps from 'rc-steps';
4+
import Steps from '@rc-component/steps';
55

66
const description =
77
'这里是多信息的描述啊描述啊描述啊描述啊哦耶哦耶哦耶哦耶哦耶哦耶哦耶哦耶哦耶哦耶哦耶哦耶';

docs/examples/custom-svg-icon.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import '../../assets/index.less';
22
import '../../assets/iconfont.less';
33
import React from 'react';
4-
import Steps from 'rc-steps';
4+
import Steps from '@rc-component/steps';
55

66
function getFinishIcon() {
77
const path =

docs/examples/customIcon.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import '../../assets/index.less';
22
import '../../assets/iconfont.less';
33
import React from 'react';
4-
import Steps from 'rc-steps';
4+
import Steps from '@rc-component/steps';
55

66
// eslint-disable-next-line react/prop-types
77
const Icon = ({ type }) => <i className={`rcicon rcicon-${type}`} />;

docs/examples/dynamic.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import '../../assets/index.less';
22
import '../../assets/iconfont.less';
33
import React, { useState } from 'react';
4-
import Steps from 'rc-steps';
4+
import Steps from '@rc-component/steps';
55

66
export default () => {
77
const [items, setItems] = useState([

docs/examples/errorStep.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import '../../assets/index.less';
22
import '../../assets/iconfont.less';
33
import React from 'react';
4-
import Steps from 'rc-steps';
4+
import Steps from '@rc-component/steps';
55

66
const description =
77
'这里是多信息的描述啊这里是多信息的描述啊这里是多信息的描述啊这里是多信息的描述啊这里是多信息的描述啊';

docs/examples/inline.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import '../../assets/index.less';
22
import React, { useState } from 'react';
3-
import Steps from 'rc-steps';
3+
import Steps from '@rc-component/steps';
44

55
export default () => {
66
const [current, setCurrent] = useState(0);

docs/examples/nav-base.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import '../../assets/index.less';
22
import '../../assets/iconfont.less';
33
import React, { useState } from 'react';
4-
import Steps from 'rc-steps';
4+
import Steps from '@rc-component/steps';
55

66
export default () => {
77
const [current, setCurrent] = useState(0);

0 commit comments

Comments
 (0)