diff --git a/.changeset/silly-buttons-talk.md b/.changeset/silly-buttons-talk.md new file mode 100644 index 00000000000..11a4731028f --- /dev/null +++ b/.changeset/silly-buttons-talk.md @@ -0,0 +1,5 @@ +--- +"shadcn-ui": patch +--- + +everything is new diff --git a/packages/cli/src/utils/get-config.ts b/packages/cli/src/utils/get-config.ts index fd0d3968f5b..54b056c4b50 100644 --- a/packages/cli/src/utils/get-config.ts +++ b/packages/cli/src/utils/get-config.ts @@ -19,6 +19,7 @@ const explorer = cosmiconfig("components", { export const rawConfigSchema = z .object({ + $schema: z.string().optional(), style: z.string(), rsc: z.coerce.boolean().default(false), tailwind: z.object({ diff --git a/packages/cli/src/utils/registry/index.ts b/packages/cli/src/utils/registry/index.ts index c6639890b9c..a16e77ef347 100644 --- a/packages/cli/src/utils/registry/index.ts +++ b/packages/cli/src/utils/registry/index.ts @@ -11,10 +11,7 @@ import { HttpsProxyAgent } from "https-proxy-agent" import fetch from "node-fetch" import * as z from "zod" -// const baseUrl = process.env.COMPONENTS_REGISTRY_URL ?? "https://ui.shadcn.com" -const baseUrl = - process.env.COMPONENTS_REGISTRY_URL ?? - "https://ui-git-feat-minor-updates-shadcn-pro.vercel.app" +const baseUrl = process.env.COMPONENTS_REGISTRY_URL ?? "https://ui.shadcn.com" const agent = process.env.https_proxy ? new HttpsProxyAgent(process.env.https_proxy) : undefined