Skip to content

Add antd 6 support#110

Merged
jsun969 merged 2 commits intojsun969:mainfrom
NewYorkStyle:antd-version
Apr 5, 2026
Merged

Add antd 6 support#110
jsun969 merged 2 commits intojsun969:mainfrom
NewYorkStyle:antd-version

Conversation

@NewYorkStyle
Copy link
Copy Markdown
Contributor

What

Add support for antd v6 in peerDependencies.

Why

Currently, the library works correctly with antd v6, but npm shows a peer dependency conflict. #108

Changes

  • updated peerDependencies:
    "antd": "^5 || ^6"

Testing

Tested locally with:

  • antd v6
  • react-hook-form

All functionality works as expected.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates this library’s dependency metadata to avoid peer dependency conflicts when used with Ant Design v6, aligning published constraints with reported real-world compatibility.

Changes:

  • Expand peerDependencies.antd from ^5 to ^5 || ^6 to declare compatibility with Ant Design v6.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Owner

@jsun969 jsun969 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jsun969 jsun969 merged commit 3a0cac6 into jsun969:main Apr 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants