Skip to content

Commit 27fec95

Browse files
authored
Merge pull request #1 from zFitness/master
添加 jest 测试用例
2 parents cbe8832 + f36085e commit 27fec95

10 files changed

Lines changed: 139 additions & 296 deletions

File tree

CHANGELOG.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# Changelog
2+
3+
## v1.0.0-beta.4(2022-07-04)
4+
5+
### No Change Log
6+
7+
## v1.0.0-beta.3(2022-07-04)
8+
9+
### :bug: Bug Fixes
10+
11+
1. [fix: test](https://github.com/zFitness/formily-tdesign-react/commit/1733fc9) :point_right: ( [zfitness](https://github.com/zfitness) )
12+
13+
## v1.0.0-beta.2(2022-07-04)
14+
15+
### :tada: Enhancements
16+
17+
1. [feat: jest](https://github.com/zFitness/formily-tdesign-react/commit/cbe8832) :point_right: ( [zfitness](https://github.com/zfitness) )
18+
19+
## v1.0.0-beta.1(2022-07-04)
20+
21+
### :bug: Bug Fixes
22+
23+
1. [fix: ts 错误](https://github.com/zFitness/formily-tdesign-react/commit/09a6440) :point_right: ( [zfitness](https://github.com/zfitness) )
24+
25+
## v1.0.0-beta.0(2022-07-03)
26+
27+
### :tada: Enhancements
28+
29+
1. [feat: style](https://github.com/zFitness/formily-tdesign-react/commit/5140cdf) :point_right: ( [zfitness](https://github.com/zfitness) )
30+
31+
1. [feat: 文案调整](https://github.com/zFitness/formily-tdesign-react/commit/deb8c8d) :point_right: ( [郑淼](https://github.com/郑淼) )
32+
33+
1. [feat: upload](https://github.com/zFitness/formily-tdesign-react/commit/300da48) :point_right: ( [郑淼](https://github.com/郑淼) )
34+
35+
1. [feat: preview-text](https://github.com/zFitness/formily-tdesign-react/commit/b8816d3) :point_right: ( [郑淼](https://github.com/郑淼) )
36+
37+
1. [feat: form-grid](https://github.com/zFitness/formily-tdesign-react/commit/39be38d) :point_right: ( [郑淼](https://github.com/郑淼) )
38+
39+
1. [feat: 升级依赖](https://github.com/zFitness/formily-tdesign-react/commit/e82b988) :point_right: ( [zfitness](https://github.com/zfitness) )
40+
41+
1. [feat: editable](https://github.com/zFitness/formily-tdesign-react/commit/751f24d) :point_right: ( [郑淼](https://github.com/郑淼) )
42+
43+
1. [feat: arraytabs](https://github.com/zFitness/formily-tdesign-react/commit/4e4491d) :point_right: ( [郑淼](https://github.com/郑淼) )
44+
45+
1. [feat: 日期组件](https://github.com/zFitness/formily-tdesign-react/commit/a734d5c) :point_right: ( [郑淼](https://github.com/郑淼) )
46+
47+
1. [feat: publish](https://github.com/zFitness/formily-tdesign-react/commit/2eeb303) :point_right: ( [zfitness](https://github.com/zfitness) )
48+
49+
1. [feat: 构建配置](https://github.com/zFitness/formily-tdesign-react/commit/088382e) :point_right: ( [zfitness](https://github.com/zfitness) )
50+
51+
1. [feat: 去掉无用的样式](https://github.com/zFitness/formily-tdesign-react/commit/288d6a5) :point_right: ( [zfitness](https://github.com/zfitness) )
52+
53+
1. [feat: tdesign 组件库](https://github.com/zFitness/formily-tdesign-react/commit/c7dfe0f) :point_right: ( [zfitness](https://github.com/zfitness) )
54+
55+
1. [feat: 去除国际化](https://github.com/zFitness/formily-tdesign-react/commit/0dfbe54) :point_right: ( [zfitness](https://github.com/zfitness) )
56+
57+
1. [feat: init](https://github.com/zFitness/formily-tdesign-react/commit/2ed6271) :point_right: ( [zfitness](https://github.com/zfitness) )
58+
59+
### :bug: Bug Fixes
60+
61+
1. [fix: timePicker 宽度](https://github.com/zFitness/formily-tdesign-react/commit/b8b61ec) :point_right: ( [郑淼](https://github.com/郑淼) )
62+
63+
1. [fix: datepicker 空值](https://github.com/zFitness/formily-tdesign-react/commit/65e4fb7) :point_right: ( [郑淼](https://github.com/郑淼) )
64+
65+
1. [fix: 打包文档没有 tdesign 样式](https://github.com/zFitness/formily-tdesign-react/commit/95fbec7) :point_right: ( [zfitness](https://github.com/zfitness) )
66+
67+
1. [fix: icon tooltip](https://github.com/zFitness/formily-tdesign-react/commit/704ec78) :point_right: ( [zfitness](https://github.com/zfitness) )
68+
69+
1. [fix: label 溢出](https://github.com/zFitness/formily-tdesign-react/commit/cae0b16) :point_right: ( [zfitness](https://github.com/zfitness) )
70+
71+
### :hammer_and_wrench: Update Workflow Scripts
72+
73+
1. [build](https://github.com/zFitness/formily-tdesign-react/commit/9d4f453) :point_right: ( [zfitness](https://github.com/zfitness) )

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.0.0-beta.1",
2+
"version": "1.0.0-beta.4",
33
"npmClient": "yarn",
44
"useWorkspaces": true,
55
"npmClientArgs": [

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
"@formily/template": "^1.0.0-alpha.0",
3232
"@testing-library/jest-dom": "^5.0.0",
3333
"@testing-library/react": "^11.2.3",
34-
"jest": ">=25 <26",
3534
"@types/jest": "^24.0.18",
3635
"@types/node": "^12.6.8",
3736
"@types/react-dom": "^17.0.0",
@@ -50,8 +49,8 @@
5049
"eslint-plugin-react": "^7.14.2",
5150
"eslint-plugin-react-hooks": "^4.2.0",
5251
"ghooks": "^2.0.4",
53-
"jest-dom": "^4.0.0",
54-
"jest-environment-jsdom": "^28.1.2",
52+
"jest": ">=25 <26",
53+
"jest-dom": "^3.1.2",
5554
"lerna": "^4.0.0",
5655
"lint-staged": "^8.2.1",
5756
"prettier": "^2.2.1",
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
test('adds 1 + 2 to equal 3', () => {
2+
expect(3).toBe(3)
3+
})

packages/components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@formily/tdesign-react",
3-
"version": "1.0.0-beta.1",
3+
"version": "1.0.0-beta.4",
44
"license": "MIT",
55
"main": "lib",
66
"types": "lib/index.d.ts",

packages/prototypes/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@formily/tdesign-react-prototypes",
3-
"version": "1.0.0-beta.1",
3+
"version": "1.0.0-beta.4",
44
"license": "MIT",
55
"main": "lib",
66
"types": "lib/index.d.ts",

packages/renderer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@formily/tdesign-react-renderer",
3-
"version": "1.0.0-beta.1",
3+
"version": "1.0.0-beta.4",
44
"license": "MIT",
55
"main": "lib",
66
"types": "lib/index.d.ts",

packages/setters/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@formily/tdesign-react-setters",
3-
"version": "1.0.0-beta.1",
3+
"version": "1.0.0-beta.4",
44
"license": "MIT",
55
"main": "lib",
66
"types": "lib/index.d.ts",

packages/settings-form/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@formily/tdesign-react-settings-form",
3-
"version": "1.0.0-beta.1",
3+
"version": "1.0.0-beta.4",
44
"license": "MIT",
55
"main": "lib",
66
"types": "lib/index.d.ts",

0 commit comments

Comments
 (0)