Skip to content

fix(registry): make installed items typecheck - #1151

Merged
sadmann7 merged 2 commits into
mainfrom
sadman/fix-registry-install
Sep 20, 2026
Merged

sadmann7 merged 2 commits into
mainfrom
sadman/fix-registry-install

Conversation

@sadmann7

@sadmann7 sadmann7 commented Sep 20, 2026 •

Copy link
Copy Markdown
Owner

Moves IconPlaceholder under registry/icons so the CLI can strip it, declares zod and dnd-kit deps, and accepts an optional dir override on Base UI.

Move IconPlaceholder under registry/icons so the CLI can strip it, declare zod and dnd-kit deps, and accept an optional dir override on Base UI.

Co-authored-by: Cursor <cursoragent@cursor.com>
Copilot AI lite review requested due to automatic review settings September 20, 2026 06:58
@vercel

vercel Bot commented Sep 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
tablecn Ready Ready Preview Sep 20, 2026 7:00am UTC

Request Review

@sadmann7
sadmann7 merged commit 5fa6eb3 into main Sep 20, 2026
7 checks passed
@sadmann7
sadmann7 deleted the sadman/fix-registry-install branch September 20, 2026 07:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The changed import paths, dependency declarations, and Base UI direction wrapper are consistent with the registry build flow.

Review effort: Lite
Findings: None

What changed in this PR

Updates registry imports and dependency detection so generated components typecheck when installed via the CLI.

Changes:

  • Relocates IconPlaceholder under registry/icons.
  • Adds automatic detection for dnd-kit and zod dependencies.
  • Adds Base UI direction override support and normalizes imports.
File Description
src/​registry/​icons/​icon-placeholder.tsx Documents the CLI-strip location.
src/​registry/​bases/​radix/​ui/​sortable.tsx Reorders the dnd-kit import.
src/​registry/​bases/​radix/​ui/​faceted.tsx Updates the icon import path.
src/​registry/​bases/​radix/​components/​data-table/​* Updates IconPlaceholder imports.
src/​registry/​bases/​radix/​components/​data-grid/​* Updates IconPlaceholder imports.
src/​registry/​bases/​base/​ui/​faceted.tsx Updates the icon import path.
src/​registry/​bases/​base/​ui/​direction.tsx Adds an optional direction override.
src/​registry/​bases/​base/​components/​data-table/​* Updates IconPlaceholder imports.
src/​registry/​bases/​base/​components/​data-grid/​* Updates IconPlaceholder imports.
scripts/​build-registry.ts Detects dnd-kit and zod imports.
registry.json Declares required zod and dnd-kit dependencies.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

This branch was successfully deployed

1 active deployment
Preview — ff93d9a1 Deployed Sep 20, 2026 by vercel[bot]
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.

2 participants