-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
CLI: Multiple Registries #4950
Open
zbeyens
wants to merge
19
commits into
shadcn-ui:main
Choose a base branch
from
zbeyens:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
CLI: Multiple Registries #4950
+957
−182
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@zbeyens is attempting to deploy a commit to the shadcn-pro Team on Vercel. A member of the Team first needs to authorize it. |
@zbeyens Just a quick update. I'm considering this and will review. Working on an rfc before we introduce this. Thanks for the PR. It looks great. |
shadcn
added
area: roadmap
This looks great. We'll add it to the roadmap, review and merge.
area: shadcn
labels
Sep 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This update adds support for multiple registries in
components.json
.cli.mdx
andchangelog.mdx
for details.packages/shadcn/test/fixtures/next/public/r
. This should be documented at some point.pnpm install --ignore-workspace
inpackages/shadcn/test/fixtures/next
dev:r1
to start the r1 appinit:r0
to initialize the default registryinit:r1
to initialize the r1 registry. You can try to runinit:r0
theninit:r1
, or the opposite.init:r2
to initialize the r2 registryadd:r0
to add a default componentadd:r1
to add a component from the r1 registryinit
command will now fetch the registry'sconfig.json
as the default configuration to use. It falls back to the shadcn default config if not found.Feel free to refactor with your own style.