Skip to content

chore(registry): cleanup styles - #1154

Merged
sadmann7 merged 1 commit into
mainfrom
sadman/clenaup-styles
Sep 20, 2026
Merged

sadmann7 merged 1 commit into
mainfrom
sadman/clenaup-styles

Conversation

@sadmann7

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI lite review requested due to automatic review settings September 20, 2026 14:54
@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 2:55pm UTC

Request Review

@sadmann7
sadmann7 merged commit 037fb7c into main Sep 20, 2026
6 of 7 checks passed
@sadmann7
sadmann7 deleted the sadman/clenaup-styles branch September 20, 2026 14:54

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

🟡 Changes recommended

registry/bases.ts does not typecheck, and the unconstrained rewrite breaks legacy style and style-index requests.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 2 High severity

Open (2)
What changed in this PR

Cleans up registry style/base metadata and updates registry generation, routing, and script configuration.

Changes:

  • Moves style and base definitions into registry/.
  • Generates base/style combinations and updates published style IDs.
  • Adds a dedicated scripts TypeScript configuration and adjusts routing defaults.
File Description
tsconfig.scripts.json Adds script/registry compiler settings.
src/​registry/​styles.ts Removes the old shared style definitions.
scripts/​clean-registry.ts Cleans generated files for base/style combinations.
scripts/​build-registry.ts Builds registry output for each base and style.
registry/​styles.tsx Adds style metadata and icons.
registry/​bases.ts Adds base metadata.
public/​r/​styles/​index.json Updates published style IDs.
package.json Uses the dedicated scripts config.
next.config.ts Updates registry rewrites and component redirects.
components.json Changes the configured shadcn style.

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

Comment thread next.config.ts
Comment on lines +24 to 25
source: "/r/:style/:name.json",
destination: "/r/styles/:style/:name.json",
Comment thread registry/bases.ts
Comment on lines +5 to +7
import type { RegistryItem } from "shadcn/schema";

export const BASES: RegistryItem[] = [

This branch was successfully deployed

1 active deployment
Preview — 7fbae66d 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