Skip to content

Commit fb09a13

Browse files
chore: update package name and config files for vercel deployment (#665)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent b130e49 commit fb09a13

File tree

5 files changed

+17
-30
lines changed

5 files changed

+17
-30
lines changed

README.md

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

33
React Pagination Component.
44

@@ -9,20 +9,16 @@ React Pagination Component.
99
[![bundle size][bundlephobia-image]][bundlephobia-url]
1010
[![dumi][dumi-image]][dumi-url]
1111

12-
[npm-image]: http://img.shields.io/npm/v/rc-pagination.svg?style=flat-square
13-
[npm-url]: http://npmjs.org/package/rc-pagination
14-
[github-actions-image]: https://github.com/react-component/pagination/workflows/CI/badge.svg
15-
[github-actions-url]: https://github.com/react-component/pagination/actions
12+
[npm-image]: http://img.shields.io/npm/v/@rc-component/pagination.svg?style=flat-square
13+
[npm-url]: http://npmjs.org/package/@rc-component/pagination
14+
[github-actions-image]: https://github.com/react-component/pagination/actions/workflows/main.yml/badge.svg
15+
[github-actions-url]: https://github.com/react-component/pagination/actions/workflows/main.yml
1616
[codecov-image]: https://img.shields.io/codecov/c/github/react-component/pagination/master.svg?style=flat-square
1717
[codecov-url]: https://codecov.io/gh/react-component/pagination/branch/master
18-
[david-url]: https://david-dm.org/react-component/pagination
19-
[david-image]: https://david-dm.org/react-component/pagination/status.svg?style=flat-square
20-
[david-dev-url]: https://david-dm.org/react-component/pagination?type=dev
21-
[david-dev-image]: https://david-dm.org/react-component/pagination/dev-status.svg?style=flat-square
22-
[download-image]: https://img.shields.io/npm/dm/rc-pagination.svg?style=flat-square
23-
[download-url]: https://npmjs.org/package/rc-pagination
24-
[bundlephobia-url]: https://bundlephobia.com/result?p=rc-pagination
25-
[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/rc-pagination
18+
[download-image]: https://img.shields.io/npm/dm/@rc-component/pagination.svg?style=flat-square
19+
[download-url]: https://npmjs.org/package/@rc-component/pagination
20+
[bundlephobia-url]: https://bundlephobia.com/result?p=@rc-component/pagination
21+
[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/@rc-component/pagination
2622
[dumi-url]: https://github.com/umijs/dumi
2723
[dumi-image]: https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square
2824

@@ -40,12 +36,12 @@ Local example: `npm run start` then `http://localhost:9001`
4036

4137
## Install
4238

43-
[![rc-pagination](https://nodei.co/npm/rc-pagination.png)](https://npmjs.org/package/rc-pagination)
39+
[![@rc-component/pagination](https://nodei.co/npm/@rc-component/pagination.png)](https://npmjs.org/package/@rc-component/pagination)
4440

4541
## Usage
4642

4743
```js
48-
import Pagination from 'rc-pagination';
44+
import Pagination from '@rc-component/pagination';
4945

5046
ReactDOM.render(<Pagination />, container);
5147
```
@@ -85,4 +81,4 @@ ReactDOM.render(<Pagination />, container);
8581

8682
## License
8783

88-
rc-pagination is released under the MIT license.
84+
@rc-component/pagination is released under the MIT license.

docs/examples/utils/commonUtil.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import type { PaginationProps } from 'rc-pagination';
2-
import Pagination from '../../../src';
1+
import Pagination, { type PaginationProps } from '../../../src';
32
import Select from 'rc-select';
43
import React from 'react';
54

now.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"paths": {
1111
"@/*": ["src/*"],
1212
"@@/*": [".dumi/tmp/*"],
13-
"rc-pagination": ["src/index.ts"]
13+
"@rc-component/pagination": ["src/index.ts"]
1414
}
1515
},
1616
"include": [".dumirc.ts", "**/*.ts", "**/*.tsx"]

vercel.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"framework": "umijs"
3+
}

0 commit comments

Comments
 (0)