shadcn 4.10.0 → 4.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-G5YIY6SL.js +109 -0
- package/dist/chunk-KPBW25TS.js +75 -0
- package/dist/{chunk-3ORLOMOE.js → chunk-MTWZIHEW.js} +1 -1
- package/dist/index.js +71 -71
- package/dist/mcp/index.js +1 -1
- package/dist/registry/index.d.ts +6 -0
- package/dist/registry/index.js +1 -1
- package/dist/schema/index.d.ts +29 -1
- package/dist/schema/index.js +1 -1
- package/package.json +7 -5
- package/dist/chunk-MKTVVRV2.js +0 -108
- package/dist/chunk-OY2PM3KO.js +0 -71
package/dist/mcp/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as server}from'../chunk-
|
|
1
|
+
export{a as server}from'../chunk-KPBW25TS.js';import'../chunk-G5YIY6SL.js';import'../chunk-MTWZIHEW.js';import'../chunk-7SBJAAAY.js';import'../chunk-CHWMSXYA.js';
|
package/dist/registry/index.d.ts
CHANGED
|
@@ -5,10 +5,12 @@ import 'zod';
|
|
|
5
5
|
|
|
6
6
|
declare function searchRegistries(registries: string[], options?: {
|
|
7
7
|
query?: string;
|
|
8
|
+
types?: string[];
|
|
8
9
|
limit?: number;
|
|
9
10
|
offset?: number;
|
|
10
11
|
config?: Partial<Config>;
|
|
11
12
|
useCache?: boolean;
|
|
13
|
+
continueOnError?: boolean;
|
|
12
14
|
}): Promise<{
|
|
13
15
|
items: {
|
|
14
16
|
registry: string;
|
|
@@ -23,6 +25,10 @@ declare function searchRegistries(registries: string[], options?: {
|
|
|
23
25
|
limit: number;
|
|
24
26
|
hasMore: boolean;
|
|
25
27
|
};
|
|
28
|
+
errors?: {
|
|
29
|
+
message: string;
|
|
30
|
+
registry: string;
|
|
31
|
+
}[] | undefined;
|
|
26
32
|
}>;
|
|
27
33
|
|
|
28
34
|
type LoadRegistryOptions = {
|
package/dist/registry/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{w as RegistriesIndexParseError,k as RegistryError,j as RegistryErrorCode,o as RegistryFetchError,n as RegistryForbiddenError,v as RegistryInvalidNamespaceError,t as RegistryItemNotFoundError,q as RegistryLocalFileError,u as RegistryMissingEnvironmentVariablesError,p as RegistryNotConfiguredError,l as RegistryNotFoundError,r as RegistryParseError,m as RegistryUnauthorizedError,s as RegistryValidationError,Ba as getRegistries,Ca as getRegistriesIndex,pa as getRegistry,qa as getRegistryItems,Ja as loadRegistry,Ka as loadRegistryItem,ra as resolveRegistryItems,
|
|
1
|
+
export{w as RegistriesIndexParseError,k as RegistryError,j as RegistryErrorCode,o as RegistryFetchError,n as RegistryForbiddenError,v as RegistryInvalidNamespaceError,t as RegistryItemNotFoundError,q as RegistryLocalFileError,u as RegistryMissingEnvironmentVariablesError,p as RegistryNotConfiguredError,l as RegistryNotFoundError,r as RegistryParseError,m as RegistryUnauthorizedError,s as RegistryValidationError,Ba as getRegistries,Ca as getRegistriesIndex,pa as getRegistry,qa as getRegistryItems,Ja as loadRegistry,Ka as loadRegistryItem,ra as resolveRegistryItems,Pa as searchRegistries}from'../chunk-G5YIY6SL.js';import'../chunk-MTWZIHEW.js';import'../chunk-7SBJAAAY.js';import'../chunk-CHWMSXYA.js';
|
package/dist/schema/index.d.ts
CHANGED
|
@@ -7208,6 +7208,16 @@ declare const searchResultItemSchema: z.ZodObject<{
|
|
|
7208
7208
|
type?: string | undefined;
|
|
7209
7209
|
description?: string | undefined;
|
|
7210
7210
|
}>;
|
|
7211
|
+
declare const searchResultErrorSchema: z.ZodObject<{
|
|
7212
|
+
registry: z.ZodString;
|
|
7213
|
+
message: z.ZodString;
|
|
7214
|
+
}, "strip", z.ZodTypeAny, {
|
|
7215
|
+
message: string;
|
|
7216
|
+
registry: string;
|
|
7217
|
+
}, {
|
|
7218
|
+
message: string;
|
|
7219
|
+
registry: string;
|
|
7220
|
+
}>;
|
|
7211
7221
|
declare const searchResultsSchema: z.ZodObject<{
|
|
7212
7222
|
pagination: z.ZodObject<{
|
|
7213
7223
|
total: z.ZodNumber;
|
|
@@ -7244,6 +7254,16 @@ declare const searchResultsSchema: z.ZodObject<{
|
|
|
7244
7254
|
type?: string | undefined;
|
|
7245
7255
|
description?: string | undefined;
|
|
7246
7256
|
}>, "many">;
|
|
7257
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7258
|
+
registry: z.ZodString;
|
|
7259
|
+
message: z.ZodString;
|
|
7260
|
+
}, "strip", z.ZodTypeAny, {
|
|
7261
|
+
message: string;
|
|
7262
|
+
registry: string;
|
|
7263
|
+
}, {
|
|
7264
|
+
message: string;
|
|
7265
|
+
registry: string;
|
|
7266
|
+
}>, "many">>;
|
|
7247
7267
|
}, "strip", z.ZodTypeAny, {
|
|
7248
7268
|
items: {
|
|
7249
7269
|
registry: string;
|
|
@@ -7258,6 +7278,10 @@ declare const searchResultsSchema: z.ZodObject<{
|
|
|
7258
7278
|
limit: number;
|
|
7259
7279
|
hasMore: boolean;
|
|
7260
7280
|
};
|
|
7281
|
+
errors?: {
|
|
7282
|
+
message: string;
|
|
7283
|
+
registry: string;
|
|
7284
|
+
}[] | undefined;
|
|
7261
7285
|
}, {
|
|
7262
7286
|
items: {
|
|
7263
7287
|
registry: string;
|
|
@@ -7272,6 +7296,10 @@ declare const searchResultsSchema: z.ZodObject<{
|
|
|
7272
7296
|
limit: number;
|
|
7273
7297
|
hasMore: boolean;
|
|
7274
7298
|
};
|
|
7299
|
+
errors?: {
|
|
7300
|
+
message: string;
|
|
7301
|
+
registry: string;
|
|
7302
|
+
}[] | undefined;
|
|
7275
7303
|
}>;
|
|
7276
7304
|
declare const registriesIndexSchema: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
7277
7305
|
declare const registriesSchema: z.ZodArray<z.ZodObject<{
|
|
@@ -7413,4 +7441,4 @@ declare const configJsonSchema: z.ZodObject<{
|
|
|
7413
7441
|
}>;
|
|
7414
7442
|
type ConfigJson = z.infer<typeof configJsonSchema>;
|
|
7415
7443
|
|
|
7416
|
-
export { type ConfigJson, type Preset, type Registry, type RegistryBaseItem, type RegistryFontItem, type RegistryItem, configJsonSchema, configSchema, iconsSchema, presetSchema, rawConfigSchema, registriesIndexSchema, registriesSchema, registryBaseColorSchema, registryChunkSchema, registryConfigItemSchema, registryConfigSchema, registryIndexSchema, registryItemCommonSchema, registryItemCssSchema, registryItemCssVarsSchema, registryItemEnvVarsSchema, registryItemFileSchema, registryItemFontSchema, registryItemSchema, registryItemTailwindSchema, registryItemTypeSchema, registryResolvedItemsTreeSchema, registrySchema, searchResultItemSchema, searchResultsSchema, stylesSchema, workspaceConfigSchema };
|
|
7444
|
+
export { type ConfigJson, type Preset, type Registry, type RegistryBaseItem, type RegistryFontItem, type RegistryItem, configJsonSchema, configSchema, iconsSchema, presetSchema, rawConfigSchema, registriesIndexSchema, registriesSchema, registryBaseColorSchema, registryChunkSchema, registryConfigItemSchema, registryConfigSchema, registryIndexSchema, registryItemCommonSchema, registryItemCssSchema, registryItemCssVarsSchema, registryItemEnvVarsSchema, registryItemFileSchema, registryItemFontSchema, registryItemSchema, registryItemTailwindSchema, registryItemTypeSchema, registryResolvedItemsTreeSchema, registrySchema, searchResultErrorSchema, searchResultItemSchema, searchResultsSchema, stylesSchema, workspaceConfigSchema };
|
package/dist/schema/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{B as configJsonSchema,d as configSchema,s as iconsSchema,A as presetSchema,c as rawConfigSchema,y as registriesIndexSchema,z as registriesSchema,t as registryBaseColorSchema,o as registryChunkSchema,a as registryConfigItemSchema,b as registryConfigSchema,q as registryIndexSchema,m as registryItemCommonSchema,j as registryItemCssSchema,i as registryItemCssVarsSchema,k as registryItemEnvVarsSchema,g as registryItemFileSchema,l as registryItemFontSchema,n as registryItemSchema,h as registryItemTailwindSchema,f as registryItemTypeSchema,u as registryResolvedItemsTreeSchema,p as registrySchema,w as searchResultErrorSchema,v as searchResultItemSchema,x as searchResultsSchema,r as stylesSchema,e as workspaceConfigSchema}from'../chunk-MTWZIHEW.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shadcn",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.11.1",
|
|
4
4
|
"description": "Add components to your apps.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -61,6 +61,9 @@
|
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"bin": "./dist/index.js",
|
|
64
|
+
"engines": {
|
|
65
|
+
"node": ">=20.18.1"
|
|
66
|
+
},
|
|
64
67
|
"dependencies": {
|
|
65
68
|
"@babel/core": "^7.28.0",
|
|
66
69
|
"@babel/parser": "^7.28.0",
|
|
@@ -79,10 +82,7 @@
|
|
|
79
82
|
"fast-glob": "^3.3.3",
|
|
80
83
|
"fs-extra": "^11.3.1",
|
|
81
84
|
"fuzzysort": "^3.1.0",
|
|
82
|
-
"https-proxy-agent": "^7.0.6",
|
|
83
85
|
"kleur": "^4.1.5",
|
|
84
|
-
"msw": "^2.10.4",
|
|
85
|
-
"node-fetch": "^3.3.2",
|
|
86
86
|
"open": "^11.0.0",
|
|
87
87
|
"ora": "^8.2.0",
|
|
88
88
|
"postcss": "^8.5.6",
|
|
@@ -93,6 +93,7 @@
|
|
|
93
93
|
"tailwind-merge": "^3.0.1",
|
|
94
94
|
"ts-morph": "^26.0.0",
|
|
95
95
|
"tsconfig-paths": "^4.2.0",
|
|
96
|
+
"undici": "^7.27.2",
|
|
96
97
|
"validate-npm-package-name": "^7.0.1",
|
|
97
98
|
"zod": "^3.24.1",
|
|
98
99
|
"zod-to-json-schema": "^3.24.6"
|
|
@@ -106,7 +107,8 @@
|
|
|
106
107
|
"rimraf": "^6.0.1",
|
|
107
108
|
"tsup": "^8.5.0",
|
|
108
109
|
"type-fest": "^4.41.0",
|
|
109
|
-
"typescript": "^5.9.2"
|
|
110
|
+
"typescript": "^5.9.2",
|
|
111
|
+
"msw": "^2.10.4"
|
|
110
112
|
},
|
|
111
113
|
"scripts": {
|
|
112
114
|
"dev": "tsup --watch",
|