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

fix: Allow a registry dependency to be optionally overwritten #1057

Merged
merged 2 commits into from
Apr 29, 2024

Conversation

AdrianGonz97
Copy link
Collaborator

@AdrianGonz97 AdrianGonz97 commented Apr 29, 2024

closes #1056

If a component that uses a registry dependency (e.g. carousel depends on button) is selected, and the user already has that dependency installed (in this case, button), the user will be prompted to see if they'd like to overwrite it.

Before submitting the PR, please make sure you do the following

  • If your PR isn't addressing a small fix (like a typo), it references an issue where it is discussed ahead of time and assigned to you. In many cases, features are absent for a reason.
  • Prefix your PR title with feat:, fix:, chore:, or docs:.
  • This message body should clearly illustrate what problems it solves.
  • Format & lint the code with pnpm format and pnpm lint

Copy link

changeset-bot bot commented Apr 29, 2024

🦋 Changeset detected

Latest commit: c3b38c0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
shadcn-svelte Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@huntabyte huntabyte merged commit ba14ef5 into main Apr 29, 2024
3 checks passed
@huntabyte huntabyte deleted the fix/add-comp-dep-overwrite-option branch April 29, 2024 22:05
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.

CLI: Improve UX for Component Overwrites
2 participants