mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-27 06:34:12 +00:00
fix: schema keys validation (#641)
* fix: schema keys validation * chore: add changeset * fix: update registry base url
This commit is contained in:
5
.changeset/silly-buttons-talk.md
Normal file
5
.changeset/silly-buttons-talk.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"shadcn-ui": patch
|
||||
---
|
||||
|
||||
everything is new
|
||||
@@ -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