Compare commits

...

2 Commits

Author SHA1 Message Date
github-actions[bot]
d604b82fb3 chore(release): version packages (#644)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-22 23:08:57 +04:00
shadcn
658c710bce fix: schema keys validation (#641)
* fix: schema keys validation

* chore: add changeset

* fix: update registry base url
2023-06-22 23:05:54 +04:00
4 changed files with 9 additions and 5 deletions

View File

@@ -1,5 +1,11 @@
# @shadcn/ui
## 0.2.1
### Patch Changes
- [#641](https://github.com/shadcn/ui/pull/641) [`658c710`](https://github.com/shadcn/ui/commit/658c710bced7b827a0d32dbcda03a4136961dff1) Thanks [@shadcn](https://github.com/shadcn)! - everything is new
## 0.2.0
### Minor Changes

View File

@@ -1,6 +1,6 @@
{
"name": "shadcn-ui",
"version": "0.2.0",
"version": "0.2.1",
"description": "Add components to your apps.",
"publishConfig": {
"access": "public"

View File

@@ -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({

View File

@@ -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