@yup/taro-ui 1.1.0 → 1.2.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 CHANGED
@@ -50,7 +50,7 @@ import { Button, Input } from '@yup/taro-ui';
50
50
 
51
51
  ### 环境要求
52
52
 
53
- - Node.js >= 16
53
+ - Node.js >= 20.19.0
54
54
  - npm >= 8 或 yarn >= 1.22
55
55
 
56
56
  ### 开发命令
@@ -60,8 +60,6 @@ import { Button, Input } from '@yup/taro-ui';
60
60
  npm install
61
61
 
62
62
  # 启动文档开发服务(端口 8888)
63
- npm run dev
64
- # 或
65
63
  npm start
66
64
 
67
65
  # 构建文档
@@ -69,9 +67,6 @@ npm run build:doc
69
67
 
70
68
  # 构建组件库
71
69
  npm run build:components
72
-
73
- # 代码检查
74
- npm run lint
75
70
  ```
76
71
 
77
72
  ### 发布说明
@@ -80,14 +75,24 @@ npm run lint
80
75
  # 构建并发布(手动更新版本号)
81
76
  npm run release
82
77
 
83
- # 自动更新 patch 版本并发布
78
+ # 自动更新 patch 版本并发布(修复 bug)
84
79
  npm run release:patch
80
+
81
+ # 自动更新 minor 版本并发布(新增功能)
82
+ npm run release:minor
83
+
84
+ # 自动更新 major 版本并发布(重大变更)
85
+ npm run release:major
86
+
87
+ # 首次发布
88
+ npm run release:first
85
89
  ```
86
90
 
87
91
  发布前请确保:
88
92
  1. 代码已通过 lint 检查
89
93
  2. 组件功能测试通过
90
94
  3. 文档已更新
95
+ 4. 已登录阿里云云效制品库(`npm login`)
91
96
 
92
97
  ---
93
98
 
@@ -0,0 +1,2 @@
1
+ import '../../../global/theme-default.css';
2
+ import './index.css';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yup/taro-ui",
3
- "version": "1.1.0",
3
+ "version": "1.2.1",
4
4
  "description": "鱼泡 Taro UI组件库",
5
5
  "type": "module",
6
6
  "main": "es/index.js",
@@ -69,9 +69,6 @@
69
69
  "@tarojs/taro-h5": "^4.1.9",
70
70
  "@types/node-sass": "^4.11.8",
71
71
  "@yangzw/bruce-std": "^1.3.6",
72
- "@yup/taro-checkbox": "^0.17.0",
73
- "@yup/taro-form": "^0.17.0",
74
- "@yup/taro-radio": "^0.17.0",
75
72
  "babel-loader": "^10.0.0",
76
73
  "babel-plugin-import": "^1.13.8",
77
74
  "babel-plugin-transform-taroapi": "3.6.37",
@@ -124,6 +121,9 @@
124
121
  "react-dom": "^18.3.1"
125
122
  },
126
123
  "dependencies": {
124
+ "@yup/taro-checkbox": "^0.17.0",
125
+ "@yup/taro-form": "^0.17.0",
126
+ "@yup/taro-radio": "^0.17.0",
127
127
  "classnames": "^2.3.2",
128
128
  "dayjs": "^1.11.19"
129
129
  },