Skip to content

Commit

Permalink
chore: change antd from dependencies to peerDependencies (#11)
Browse files Browse the repository at this point in the history
* chore: change antd from dependencies to peerDependencies

* feat: optimize code
  • Loading branch information
kiner-tang authored Sep 1, 2023
1 parent 77b9f34 commit 9b8fd49
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"@types/jest": "^26.0.15",
"@types/react": "^16.8.19",
"@types/react-dom": "^16.8.4",
"antd": "^5.8.5",
"cross-env": "^7.0.1",
"dumi": "^2.1.0",
"eslint": "^7.0.0",
Expand All @@ -58,14 +59,14 @@
"@ant-design/cssinjs": "^1.8.1",
"@babel/runtime": "^7.18.3",
"@rc-component/portal": "^1.1.0",
"antd": "^5.3.0",
"classnames": "^2.3.2",
"rc-align": "^4.0.0",
"rc-motion": "^2.0.0",
"rc-resize-observer": "^1.3.1",
"rc-util": "^5.27.1"
},
"peerDependencies": {
"antd": "^5.3.0",
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
},
Expand Down
6 changes: 3 additions & 3 deletions tests/__snapshots__/index.test.tsx.snap

Large diffs are not rendered by default.

0 comments on commit 9b8fd49

Please sign in to comment.