@simpleform/form 1.0.2 → 1.0.4
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 +1 -1
- package/README_CN.md +1 -1
- package/package.json +4 -1
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ The `Form.Item` component acts as an item in the `Form.List` array type and is c
|
|
|
25
25
|
- The `rules` provided by `Form.List` are valid for all input items in the array, but have a lower priority than the `rules` of the `Form.Item` in the array
|
|
26
26
|
|
|
27
27
|
## install
|
|
28
|
-
- [Node.js](https://nodejs.org/en/) Version >=
|
|
28
|
+
- [Node.js](https://nodejs.org/en/) Version >= 14.0.0
|
|
29
29
|
- [react](https://nodejs.org/en/) Version >= 16.8.0
|
|
30
30
|
```bash
|
|
31
31
|
npm install @simpleform/form --save
|
package/README_CN.md
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
- `Form.List`提供的`rules`校验规则,对数组中的所有输入项都有效,但优先级低于数组中的`Form.Item`的`rules`规则
|
|
27
27
|
|
|
28
28
|
## 安装
|
|
29
|
-
- [Node.js](https://nodejs.org/en/) Version >=
|
|
29
|
+
- [Node.js](https://nodejs.org/en/) Version >= 14.0.0
|
|
30
30
|
- [react](https://nodejs.org/en/) Version >= 16.8.0
|
|
31
31
|
```bash
|
|
32
32
|
npm install @simpleform/form --save
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simpleform/form",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "simple form component",
|
|
5
5
|
"author": "mezhanglei <496623925@qq.com>",
|
|
6
6
|
"homepage": "https://github.com/mezhanglei/simpleform#readme",
|
|
@@ -8,6 +8,9 @@
|
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"module": "es/index.js",
|
|
10
10
|
"types": "./lib/index.d.ts",
|
|
11
|
+
"engines": {
|
|
12
|
+
"node": ">=14.0.0"
|
|
13
|
+
},
|
|
11
14
|
"directories": {
|
|
12
15
|
"lib": "lib",
|
|
13
16
|
"src": "src",
|