mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-07-08 22:45:47 +00:00
fix: schema keys validation (#641)
* fix: schema keys validation * chore: add changeset * fix: update registry base url
This commit is contained in:
@@ -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({
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user