feat: add shadcn component registry build system#1008
Draft
pawelgrimm wants to merge 17 commits intomainfrom
Draft
feat: add shadcn component registry build system#1008pawelgrimm wants to merge 17 commits intomainfrom
pawelgrimm wants to merge 17 commits intomainfrom
Conversation
2b3c491 to
4f60671
Compare
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
design-tokens, common-types, common-helpers, responsive-props, polymorphism Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Fix sibling import rewriting (same-directory imports stay relative) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
box, hidden-visually, hidden, divider, heading, text, stack, inline, columns Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
tooltip, button, text-link, badge, avatar, loading, prose, base-field, text-field, text-area, select-field, checkbox-field, switch-field, password-field Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
banner (+ banner-icon), notice, menu, tabs, modal, toast Fix import rewriting for file-level imports (banner/banner vs banner/) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Registry served at /r/component-name.json Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Generates manifest.json with registry version and available items list Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…iting The previous check compared first path segments to detect same-directory imports, but this broke when multiple registry items shared a srcDir (e.g. utils/, icons/). Now checks whether the import target is a file within the same registry item. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Generated by build:registry, no need to track it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
e69bc51 to
45a8346
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Short description
Adds a shadcn-compatible component registry build pipeline. Includes a
build:registryscript that generates registry JSON items from source components, a version manifest, snapshot tests, and CI integration for PR checks and GitHub Pages deployment.PR Checklist