@sntlr/registry-shell 1.1.0 → 1.1.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/define-config.d.ts
CHANGED
|
@@ -135,8 +135,8 @@ export interface ShellConfig {
|
|
|
135
135
|
*/
|
|
136
136
|
locales?: string[];
|
|
137
137
|
/**
|
|
138
|
-
* Optional. Override filesystem layout. Defaults match the
|
|
139
|
-
* convention
|
|
138
|
+
* Optional. Override filesystem layout. Defaults match the shadcn
|
|
139
|
+
* registry convention used by `@sntlr/registry`.
|
|
140
140
|
*/
|
|
141
141
|
paths?: ShellPaths;
|
|
142
142
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sntlr/registry-shell",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Generic Next.js viewer for component registries. Drop a registry-shell.config.ts into your registry and get a full docs/components/blocks site on localhost:3000.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"shadcn",
|
package/src/define-config.ts
CHANGED
|
@@ -144,8 +144,8 @@ export interface ShellConfig {
|
|
|
144
144
|
locales?: string[]
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
|
-
* Optional. Override filesystem layout. Defaults match the
|
|
148
|
-
* convention
|
|
147
|
+
* Optional. Override filesystem layout. Defaults match the shadcn
|
|
148
|
+
* registry convention used by `@sntlr/registry`.
|
|
149
149
|
*/
|
|
150
150
|
paths?: ShellPaths
|
|
151
151
|
|
|
@@ -36,9 +36,9 @@ export interface DocContent {
|
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
38
|
* Renders interactive component previews on the detail pages. The registry
|
|
39
|
-
* owns the dynamic-import map (
|
|
40
|
-
*
|
|
41
|
-
* literal paths at compile time.
|
|
39
|
+
* owns the dynamic-import map (the reference implementation lives at
|
|
40
|
+
* `components/previews/index.ts` in `@sntlr/registry`) because Next.js
|
|
41
|
+
* `dynamic()` needs string literal paths at compile time.
|
|
42
42
|
*/
|
|
43
43
|
export interface PreviewLoader {
|
|
44
44
|
/**
|