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

feat: added flag to bypass dependency conflicts #5547

Closed
wants to merge 1 commit into from

Conversation

MrNekoShin
Copy link

@MrNekoShin MrNekoShin commented Oct 24, 2024

This PR adds the --forceInstall flag to bypass dependency conflicts during installation.

Commands affected: init, add

created this PR because i couldn't add any shadcn components to my nextjs 15 project that was force installed.

Related issues: #5515, #5513, #5499, #5217, #4047

Copy link

vercel bot commented Oct 24, 2024

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

A member of the Team first needs to authorize it.

@baskan
Copy link

baskan commented Oct 24, 2024

would save so much time, now we need to manually install all components after merging to next 15

@shadcn
Copy link
Collaborator

shadcn commented Oct 25, 2024

@MrNekoShin does this fix the @radix-ui/react-icons issue?

@MrNekoShin
Copy link
Author

MrNekoShin commented Oct 28, 2024

@shadcn Yes, according to this pull request on radix ui icons, it is safe to force install this package.

radix-ui/icons#184

@officiallerio
Copy link

is this safe to use?

@MrNekoShin
Copy link
Author

@officiallerio No, use with caution. It is just a flag to pass --force to the package manager when installing dependencies.

@shadcn
Copy link
Collaborator

shadcn commented Nov 13, 2024

@MrNekoShin We handled this a bit differently allowing the user to select the flag and npm-only. I'm going to close this PR but feel free to reopen if we can improve on the solutio.

@shadcn shadcn closed this Nov 13, 2024
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.

4 participants