File tree Expand file tree Collapse file tree 2 files changed +68
-0
lines changed Expand file tree Collapse file tree 2 files changed +68
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Beta 版本发布说明
2
+
3
+ ## 当前 Beta 版本
4
+
5
+ - ** 版本** : 3.0.0-beta.1
6
+ - ** Git 标签** : ` 3.0.0-beta.1 `
7
+ - ** 提交** : ` c1ff1fe0f `
8
+
9
+ ## 主要变更
10
+
11
+ ### 移除 antd 低版本兼容性代码
12
+
13
+ - 删除了 ` compareVersions ` 工具函数
14
+ - 删除了 ` coverToNewToken ` 兼容性函数
15
+ - 简化了消息警告兼容性代码
16
+ - 移除了版本检查警告
17
+ - 更新了文档中的版本要求说明
18
+
19
+ ### 版本要求
20
+
21
+ - 现在要求 antd >= 5.11.2
22
+ - 移除了对 antd@4 的兼容性支持
23
+
24
+ ## 发布流程
25
+
26
+ ### 1. 设置 npm 标签
27
+
28
+ ``` bash
29
+ npm config set tag beta
30
+ ```
31
+
32
+ ### 2. 发布 beta 版本
33
+
34
+ ``` bash
35
+ npm run publish:beta
36
+ ```
37
+
38
+ ### 3. 验证发布
39
+
40
+ ``` bash
41
+ npm view @ant-design/pro-components@beta
42
+ ```
43
+
44
+ ## 安装 beta 版本
45
+
46
+ ``` bash
47
+ npm install @ant-design/pro-components@beta
48
+ ```
49
+
50
+ 或者
51
+
52
+ ``` bash
53
+ yarn add @ant-design/pro-components@beta
54
+ ```
55
+
56
+ 或者
57
+
58
+ ``` bash
59
+ pnpm add @ant-design/pro-components@beta
60
+ ```
61
+
62
+ ## 注意事项
63
+
64
+ - Beta 版本可能包含不稳定的功能
65
+ - 建议在测试环境中使用
66
+ - 如果发现问题,请及时反馈
67
+ - 正式版本发布前会进行充分测试
Original file line number Diff line number Diff line change 45
45
"test:update" : " cross-env TZ=UTC vitest -u" ,
46
46
"tsc" : " tsc --noEmit" ,
47
47
"prepublishOnly" : " npm run test && npm run build" ,
48
+ "publish:beta" : " npm publish --tag beta" ,
48
49
"update:deps" : " pnpm up --latest"
49
50
},
50
51
"browserslist" : [
You can’t perform that action at this time.
0 commit comments