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: add shadcn cli registry #138

Merged
merged 15 commits into from
Nov 8, 2024
Merged

feat: add shadcn cli registry #138

merged 15 commits into from
Nov 8, 2024

Conversation

benlife5
Copy link
Contributor

@benlife5 benlife5 commented Nov 5, 2024

YextSolutions/pages-visual-editor-starter#164

Usage:
REGISTRY_URL=https://reliably-numerous-kit.pgsdemo.com/components npx shadcn add
HeaderText and BodyText are currently available

Copy link
Contributor

@asanehisa asanehisa left a comment

Choose a reason for hiding this comment

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

I think this seems like something users will have to be able to add to their repos if they don't use our starter, in that case, would some basic README / documentation be helpful to explain how to implement ?

@benlife5
Copy link
Contributor Author

benlife5 commented Nov 5, 2024

I think this seems like something users will have to be able to add to their repos if they don't use our starter, in that case, would some basic README / documentation be helpful to explain how to implement ?

Yeah, for sure. I think we may want to wait for this to solidify before writing docs thought because it's still experimental

@benlife5
Copy link
Contributor Author

benlife5 commented Nov 7, 2024

This PR now has this repo directly powering the registry host at https://www.yext.com/s/4174974/yextsites/151161/branch/116486/deploys/recent

REGISTRY_URL=https://reliably-numerous-kit.pgsdemo.com/components npx shadcn add also lists available components

Going to take a look at init now

.nvmrc Outdated Show resolved Hide resolved
config.yaml Outdated Show resolved Hide resolved
src/components/puck/atoms/heading.tsx Show resolved Hide resolved
src/components/puck/registry/build-registry.ts Outdated Show resolved Hide resolved
src/components/puck/registry/package.json Outdated Show resolved Hide resolved
tailwind.config.ts Outdated Show resolved Hide resolved
mkilpatrick
mkilpatrick previously approved these changes Nov 8, 2024
@benlife5 benlife5 merged commit b13f4f7 into main Nov 8, 2024
10 checks passed
@benlife5 benlife5 deleted the shadcn-cli branch November 8, 2024 21:17
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