@zdyumath/react-ui 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/README.md +8 -8
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,19 +1,19 @@
1
- # @your-scope/react-ui
1
+ # @zdyumath/react-ui
2
2
 
3
3
  生产级 React 组件库模板,基于 Vite + TypeScript + CSS Modules。
4
4
 
5
- [![CI](https://github.com/your-username/react-ui/actions/workflows/ci.yml/badge.svg)](https://github.com/your-username/react-ui/actions)
6
- [![npm version](https://img.shields.io/npm/v/@your-scope/react-ui)](https://www.npmjs.com/package/@your-scope/react-ui)
5
+ [![CI](https://github.com/yozedens/react-ui/actions/workflows/ci.yml/badge.svg)](https://github.com/your-username/react-ui/actions)
6
+ [![npm version](https://img.shields.io/npm/v/@zdyumath/react-ui)](https://www.npmjs.com/package/@zdyumath/react-ui)
7
7
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
8
8
 
9
9
  ## 安装
10
10
 
11
11
  ```bash
12
- npm install @your-scope/react-ui
12
+ npm install @zdyumath/react-ui
13
13
  # 或
14
- pnpm add @your-scope/react-ui
14
+ pnpm add @zdyumath/react-ui
15
15
  # 或
16
- yarn add @your-scope/react-ui
16
+ yarn add @zdyumath/react-ui
17
17
  ```
18
18
 
19
19
  **前置依赖(peerDependencies):** React ≥ 17
@@ -21,8 +21,8 @@ yarn add @your-scope/react-ui
21
21
  ## 使用
22
22
 
23
23
  ```tsx
24
- import { Button, Input } from '@your-scope/react-ui'
25
- import '@your-scope/react-ui/styles' // 引入全局样式
24
+ import { Button, Input } from '@zdyumath/react-ui'
25
+ import '@zdyumath/react-ui/styles' // 引入全局样式
26
26
 
27
27
  function App() {
28
28
  return (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zdyumath/react-ui",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "生产级 React 组件库模板",
5
5
  "author": "zdyumath <zdyumath@gmail.com>",
6
6
  "license": "MIT",
@@ -12,7 +12,7 @@
12
12
  ],
13
13
  "repository": {
14
14
  "type": "git",
15
- "url": "https://github.com/zdyumath/react-ui"
15
+ "url": "https://github.com/yozedens/react-ui"
16
16
  },
17
17
  "type": "module",
18
18
  "main": "./dist/index.cjs",