paul-ai-assistant 1.0.0 → 1.0.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.
- package/README.md +5 -51
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# paul-ai-assistant
|
|
2
2
|
|
|
3
3
|
Paul AI 智能辅助组件
|
|
4
4
|
|
|
@@ -17,13 +17,13 @@ Paul AI 智能辅助组件
|
|
|
17
17
|
## 安装
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
-
tnpm install
|
|
20
|
+
tnpm install paul-ai-assistant --save
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
或者使用 yarn:
|
|
24
24
|
|
|
25
25
|
```bash
|
|
26
|
-
yarn add
|
|
26
|
+
yarn add paul-ai-assistant
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
## 使用
|
|
@@ -127,31 +127,6 @@ yarn start
|
|
|
127
127
|
yarn build:docs
|
|
128
128
|
```
|
|
129
129
|
|
|
130
|
-
## 发布
|
|
131
|
-
|
|
132
|
-
### Beta 版本发布
|
|
133
|
-
|
|
134
|
-
1. 修改 `package.json` 中的版本号(例如:`0.0.1-beta.99`)
|
|
135
|
-
2. 运行发布命令:
|
|
136
|
-
|
|
137
|
-
```bash
|
|
138
|
-
yarn publish:beta
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
该命令会自动执行构建并发布到 Alibaba 内网 npm registry。
|
|
142
|
-
|
|
143
|
-
### 正式版本发布
|
|
144
|
-
|
|
145
|
-
```bash
|
|
146
|
-
yarn publish:prod
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
注意:正式版本发布前请确保:
|
|
150
|
-
|
|
151
|
-
- 代码已经过充分测试
|
|
152
|
-
- 版本号遵循语义化版本规范
|
|
153
|
-
- 更新日志已更新
|
|
154
|
-
|
|
155
130
|
## 浏览器支持
|
|
156
131
|
|
|
157
132
|
- Chrome (最新两个版本)
|
|
@@ -190,15 +165,7 @@ yarn publish:prod
|
|
|
190
165
|
|
|
191
166
|
## 常见问题
|
|
192
167
|
|
|
193
|
-
### 1.
|
|
194
|
-
|
|
195
|
-
请确保使用 Alibaba 内网 npm registry:
|
|
196
|
-
|
|
197
|
-
```bash
|
|
198
|
-
yarn config set registry https://registry.anpm.alibaba-inc.com
|
|
199
|
-
```
|
|
200
|
-
|
|
201
|
-
### 2. 构建失败
|
|
168
|
+
### 1. 构建失败
|
|
202
169
|
|
|
203
170
|
请检查 Node.js 版本是否为 16.x:
|
|
204
171
|
|
|
@@ -206,7 +173,7 @@ yarn config set registry https://registry.anpm.alibaba-inc.com
|
|
|
206
173
|
node -v
|
|
207
174
|
```
|
|
208
175
|
|
|
209
|
-
###
|
|
176
|
+
### 2. 样式不生效
|
|
210
177
|
|
|
211
178
|
请确保在项目中引入了样式文件:
|
|
212
179
|
|
|
@@ -235,16 +202,3 @@ import 'paul-ai-assistant/es/index.css';
|
|
|
235
202
|
- `refactor`: 代码重构
|
|
236
203
|
- `test`: 测试相关
|
|
237
204
|
- `chore`: 构建/工具相关
|
|
238
|
-
|
|
239
|
-
## License
|
|
240
|
-
|
|
241
|
-
MIT
|
|
242
|
-
|
|
243
|
-
## 联系方式
|
|
244
|
-
|
|
245
|
-
- Issues: [项目 Issues](https://code.alibaba-inc.com/gts-fe/magic-intelligent-assistance/issues)
|
|
246
|
-
- 仓库: [GitLab](https://code.alibaba-inc.com/gts-fe/magic-intelligent-assistance)
|
|
247
|
-
|
|
248
|
-
---
|
|
249
|
-
|
|
250
|
-
**注意**: 本项目仅供 Alibaba 内部使用。
|