@razorwind/shadcn 0.0.5 → 0.0.6
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/{extract-CHhbobiJ.d.cts → extract-B_9OoeQL.d.cts} +2 -2
- package/dist/{extract-CHhbobiJ.d.cts.map → extract-B_9OoeQL.d.cts.map} +1 -1
- package/dist/{extract-CdEg5hNq.d.mts → extract-D85CCVKJ.d.mts} +2 -2
- package/dist/extract-D85CCVKJ.d.mts.map +1 -0
- package/dist/extract.d.cts +1 -1
- package/dist/extract.d.mts +1 -1
- package/dist/generate.d.cts +1 -1
- package/dist/generate.d.cts.map +1 -1
- package/dist/generate.d.mts +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +6 -6
- package/dist/extract-CdEg5hNq.d.mts.map +0 -1
|
@@ -162,7 +162,7 @@ declare function extractComponentsFromRegistry(registryPath: string): Promise<Co
|
|
|
162
162
|
* });
|
|
163
163
|
* ```
|
|
164
164
|
*/
|
|
165
|
-
declare const _default: any;
|
|
165
|
+
declare const _default: (options: any) => import("@razorwind/core/plugin").Plugin;
|
|
166
166
|
//#endregion
|
|
167
167
|
export { ShadcnWorkspaceConfig as S, getRegistryConfig as _, registryItemsToComponents as a, ShadcnRawConfig as b, DEFAULT_COMPONENTS as c, DEFAULT_TAILWIND_CONFIG as d, DEFAULT_TAILWIND_CSS as f, getRawConfig as g, createRegistryConfig as h, registryItemToComponent as i, DEFAULT_STYLE as l, RegistryConfig as m, extractComponentsFromRegistry as n, toDependencyRecord as o, DEFAULT_UTILS as p, extract_d_exports as r, BUILTIN_REGISTRIES as s, _default as t, DEFAULT_TAILWIND_BASE_COLOR as u, resolveConfigPaths as v, ShadcnRegistryConfig as x, ShadcnConfig as y };
|
|
168
|
-
//# sourceMappingURL=extract-
|
|
168
|
+
//# sourceMappingURL=extract-B_9OoeQL.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extract-
|
|
1
|
+
{"version":3,"file":"extract-B_9OoeQL.d.cts","names":[],"sources":["../src/registry/shadcn-types.ts","../src/registry/config.ts","../src/extract.ts"],"mappings":";;;;;;;;;;;;KAgCK,kBAAkB,KAAK;EAC1B,WAAW,wBAAwB;IAEjC;KAGQ,eAAe,yBAAyB;KACxC,kBAAkB,yBAAyB;KAC3C,uBAAuB,yBAC1B;KAEG,wBAAwB,yBAC3B;;;cCHI;cACA;cACA;cACA;cACA;cACA;KAmCD,iBAAiB;iBAEP,kBAAkB,cAAW;;;;;IA+MjC;IACV;;;;;;;;IASkB;IAAkC;IAGtD;;;;;;;;;;;;;;;;;;;IAsBS,SAAC;IACH,UAAC;;;cArOD,oBAAoB;iBAIX,mBAAmB,aAAa,QAAQ,kBAAe;;;;;IA6L3D;IACV;;;;;;;;IASkB;IAAkC;IAGtD;;;;;;;;;;;;;;;;;;;IAsBS,SAAC;IACH,UAAC;;;iBAtFQ,aACpB,cACC,QAAQ;KA6IC,YAAY,QACrB,WAAW,KAAK,EAAE,oBAAoB,YAAY,EAAE,MAAM,EAAE;;;;;;;;iBAU/C,qBACd,UAAU,YAAY,kBACrB;;;;UCtUO;EACR;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;;;;iBAOc,mBACd,6BACC;;;;iBAgGa,wBAAwB,MAAM,mBAAmB;;;;iBA2BjD,0BACd,OAAO,iCACN;;;;;;iBAqCmB,8BACpB,uBACC,QAAQ"}
|
|
@@ -162,7 +162,7 @@ declare function extractComponentsFromRegistry(registryPath: string): Promise<Co
|
|
|
162
162
|
* });
|
|
163
163
|
* ```
|
|
164
164
|
*/
|
|
165
|
-
declare const _default: any;
|
|
165
|
+
declare const _default: (options: any) => import("@razorwind/core/plugin").Plugin;
|
|
166
166
|
//#endregion
|
|
167
167
|
export { ShadcnWorkspaceConfig as S, getRegistryConfig as _, registryItemsToComponents as a, ShadcnRawConfig as b, DEFAULT_COMPONENTS as c, DEFAULT_TAILWIND_CONFIG as d, DEFAULT_TAILWIND_CSS as f, getRawConfig as g, createRegistryConfig as h, registryItemToComponent as i, DEFAULT_STYLE as l, RegistryConfig as m, extractComponentsFromRegistry as n, toDependencyRecord as o, DEFAULT_UTILS as p, extract_d_exports as r, BUILTIN_REGISTRIES as s, _default as t, DEFAULT_TAILWIND_BASE_COLOR as u, resolveConfigPaths as v, ShadcnRegistryConfig as x, ShadcnConfig as y };
|
|
168
|
-
//# sourceMappingURL=extract-
|
|
168
|
+
//# sourceMappingURL=extract-D85CCVKJ.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extract-D85CCVKJ.d.mts","names":[],"sources":["../src/registry/shadcn-types.ts","../src/registry/config.ts","../src/extract.ts"],"mappings":""}
|
package/dist/extract.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as ShadcnExtractPluginOptions } from "./types-Jkebh8QA.cjs";
|
|
2
|
-
import { S as ShadcnWorkspaceConfig, _ as getRegistryConfig, a as registryItemsToComponents, b as ShadcnRawConfig, c as DEFAULT_COMPONENTS, d as DEFAULT_TAILWIND_CONFIG, f as DEFAULT_TAILWIND_CSS, g as getRawConfig, h as createRegistryConfig, i as registryItemToComponent, l as DEFAULT_STYLE, m as RegistryConfig, n as extractComponentsFromRegistry, o as toDependencyRecord, p as DEFAULT_UTILS, s as BUILTIN_REGISTRIES, t as _default, u as DEFAULT_TAILWIND_BASE_COLOR, v as resolveConfigPaths, x as ShadcnRegistryConfig, y as ShadcnConfig } from "./extract-
|
|
2
|
+
import { S as ShadcnWorkspaceConfig, _ as getRegistryConfig, a as registryItemsToComponents, b as ShadcnRawConfig, c as DEFAULT_COMPONENTS, d as DEFAULT_TAILWIND_CONFIG, f as DEFAULT_TAILWIND_CSS, g as getRawConfig, h as createRegistryConfig, i as registryItemToComponent, l as DEFAULT_STYLE, m as RegistryConfig, n as extractComponentsFromRegistry, o as toDependencyRecord, p as DEFAULT_UTILS, s as BUILTIN_REGISTRIES, t as _default, u as DEFAULT_TAILWIND_BASE_COLOR, v as resolveConfigPaths, x as ShadcnRegistryConfig, y as ShadcnConfig } from "./extract-B_9OoeQL.cjs";
|
|
3
3
|
export { BUILTIN_REGISTRIES, DEFAULT_COMPONENTS, DEFAULT_STYLE, DEFAULT_TAILWIND_BASE_COLOR, DEFAULT_TAILWIND_CONFIG, DEFAULT_TAILWIND_CSS, DEFAULT_UTILS, type RegistryConfig, type ShadcnConfig, type ShadcnExtractPluginOptions, type ShadcnRawConfig, type ShadcnRegistryConfig, type ShadcnWorkspaceConfig, createRegistryConfig, _default as default, extractComponentsFromRegistry, getRawConfig, getRegistryConfig, registryItemToComponent, registryItemsToComponents, resolveConfigPaths, toDependencyRecord };
|
package/dist/extract.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { S as ShadcnWorkspaceConfig, _ as getRegistryConfig, a as registryItemsToComponents, b as ShadcnRawConfig, c as DEFAULT_COMPONENTS, d as DEFAULT_TAILWIND_CONFIG, f as DEFAULT_TAILWIND_CSS, g as getRawConfig, h as createRegistryConfig, i as registryItemToComponent, l as DEFAULT_STYLE, m as RegistryConfig, n as extractComponentsFromRegistry, o as toDependencyRecord, p as DEFAULT_UTILS, s as BUILTIN_REGISTRIES, t as _default, u as DEFAULT_TAILWIND_BASE_COLOR, v as resolveConfigPaths, x as ShadcnRegistryConfig, y as ShadcnConfig } from "./extract-
|
|
1
|
+
import { S as ShadcnWorkspaceConfig, _ as getRegistryConfig, a as registryItemsToComponents, b as ShadcnRawConfig, c as DEFAULT_COMPONENTS, d as DEFAULT_TAILWIND_CONFIG, f as DEFAULT_TAILWIND_CSS, g as getRawConfig, h as createRegistryConfig, i as registryItemToComponent, l as DEFAULT_STYLE, m as RegistryConfig, n as extractComponentsFromRegistry, o as toDependencyRecord, p as DEFAULT_UTILS, s as BUILTIN_REGISTRIES, t as _default, u as DEFAULT_TAILWIND_BASE_COLOR, v as resolveConfigPaths, x as ShadcnRegistryConfig, y as ShadcnConfig } from "./extract-D85CCVKJ.mjs";
|
|
2
2
|
import { t as ShadcnExtractPluginOptions } from "./types-BH0MT5Wk.mjs";
|
|
3
3
|
export { BUILTIN_REGISTRIES, DEFAULT_COMPONENTS, DEFAULT_STYLE, DEFAULT_TAILWIND_BASE_COLOR, DEFAULT_TAILWIND_CONFIG, DEFAULT_TAILWIND_CSS, DEFAULT_UTILS, type RegistryConfig, type ShadcnConfig, type ShadcnExtractPluginOptions, type ShadcnRawConfig, type ShadcnRegistryConfig, type ShadcnWorkspaceConfig, createRegistryConfig, _default as default, extractComponentsFromRegistry, getRawConfig, getRegistryConfig, registryItemToComponent, registryItemsToComponents, resolveConfigPaths, toDependencyRecord };
|
package/dist/generate.d.cts
CHANGED
|
@@ -63,7 +63,7 @@ declare function generateRegistryJson(spec: Schema, options?: ShadcnGeneratePlug
|
|
|
63
63
|
* });
|
|
64
64
|
* ```
|
|
65
65
|
*/
|
|
66
|
-
declare const _default: any;
|
|
66
|
+
declare const _default: (options: any) => import("@razorwind/core/plugin").Plugin;
|
|
67
67
|
//#endregion
|
|
68
68
|
export { RegistryDocument, RegistryFileLike, RegistryItemLike, type ShadcnGeneratePluginOptions, componentToRegistryItem, componentsToRegistryItems, _default as default, fromDependencyRecord, generateRegistryJson, renderRegistryJson, generate_d_exports as t };
|
|
69
69
|
//# sourceMappingURL=generate.d.cts.map
|
package/dist/generate.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate.d.cts","names":[],"sources":["../src/generate.ts"],"mappings":";;;;;;KAmCK;
|
|
1
|
+
{"version":3,"file":"generate.d.cts","names":[],"sources":["../src/generate.ts"],"mappings":";;;;;;KAmCK;KAGA;UAcY;EACf;EACA,MAAM;EACN;EACA;;UAGe;EACf;EACA;EACA,MAAM;EACN;EACA;EACA;EACA;EACA;EACA,QAAQ;;UAGO;EACf;EACA;EACA;EACA,OAAO;;;;;;iBAOO,qBACd,MAAM;;;;iBA6DQ,wBACd,WAAW,YACV;;;;iBA6Ba,0BACd,YAAY,yBACX;;;;iBAca,mBACd,YAAY,wBACZ,UAAS,KAAK,oDACb;;;;iBAiCmB,qBACpB,MAAM,QACN,UAAS,8BACR,QAAQ,wBAAwB,QAAQ"}
|
package/dist/generate.d.mts
CHANGED
|
@@ -63,7 +63,7 @@ declare function generateRegistryJson(spec: Schema, options?: ShadcnGeneratePlug
|
|
|
63
63
|
* });
|
|
64
64
|
* ```
|
|
65
65
|
*/
|
|
66
|
-
declare const _default: any;
|
|
66
|
+
declare const _default: (options: any) => import("@razorwind/core/plugin").Plugin;
|
|
67
67
|
//#endregion
|
|
68
68
|
export { RegistryDocument, RegistryFileLike, RegistryItemLike, type ShadcnGeneratePluginOptions, componentToRegistryItem, componentsToRegistryItems, _default as default, fromDependencyRecord, generateRegistryJson, renderRegistryJson, generate_d_exports as t };
|
|
69
69
|
//# sourceMappingURL=generate.d.mts.map
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.mts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@razorwind/shadcn",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Razorwind Shadcn plugin that can create Shadcn UI registry files from design tokens/components or read a Shadcn UI registry file and return the design tokens/components.",
|
|
6
6
|
"repository": {
|
|
@@ -78,24 +78,24 @@
|
|
|
78
78
|
"types": "./dist/index.d.cts",
|
|
79
79
|
"typings": "dist/index.d.mts",
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"@power-plant/core": "^0.0.
|
|
81
|
+
"@power-plant/core": "^0.0.40",
|
|
82
82
|
"@power-plant/dtcg-schema": "^0.0.1",
|
|
83
|
-
"@razorwind/core": "^0.0.
|
|
83
|
+
"@razorwind/core": "^0.0.10",
|
|
84
84
|
"@stryke/fs": "^0.33.99",
|
|
85
85
|
"@stryke/path": "^0.29.25",
|
|
86
86
|
"@stryke/types": "^0.12.26",
|
|
87
87
|
"c12": "^3.3.4",
|
|
88
88
|
"chalk": "^5.6.2",
|
|
89
89
|
"fast-glob": "^3.3.3",
|
|
90
|
-
"shadcn": "^4.
|
|
90
|
+
"shadcn": "^4.15.0",
|
|
91
91
|
"tsconfig-paths": "^4.2.0",
|
|
92
92
|
"zod": "^4.4.3"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
|
-
"@powerlines/plugin-tsdown": "^0.1.
|
|
95
|
+
"@powerlines/plugin-tsdown": "^0.1.561",
|
|
96
96
|
"@types/node": "^25.9.5",
|
|
97
97
|
"typescript": "^6.0.3"
|
|
98
98
|
},
|
|
99
99
|
"publishConfig": { "access": "public" },
|
|
100
|
-
"gitHead": "
|
|
100
|
+
"gitHead": "35f5d31c337fdedeb003c0d9eca72949d4305437"
|
|
101
101
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extract-CdEg5hNq.d.mts","names":[],"sources":["../src/registry/shadcn-types.ts","../src/registry/config.ts","../src/extract.ts"],"mappings":""}
|