Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add @radix-ui/react-slot dependency to badge registry entry #6841

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

HichemTab-tech
Copy link
Contributor

@HichemTab-tech HichemTab-tech commented Mar 3, 2025

This PR ensures that the Badge component correctly installs its dependencies. The component imports @radix-ui/react-slot, but this package was missing from the registry dependencies. This update explicitly adds it to the dependencies field in package.json.

fixes #6838 .

Added @radix-ui/react-slot as a dependency for the badge component in the registry. This ensures proper functionality and resolves potential missing dependency issues.

- Updated the "badge" registry entry by including "@radix-ui/react-slot" in its dependencies list.
- Fixed the missing newline at the end of the file for better formatting.
Copy link

vercel bot commented Mar 3, 2025

@HichemTab-tech is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

@HichemTab-tech HichemTab-tech marked this pull request as ready for review March 3, 2025 12:32
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.

[bug]: Badge registry installation is missing a dependecy
1 participant