Skip to content

Commit bdd17ad

Browse files
committed
fix: update blocks registry, add shiki-highlighter item
1 parent 5d51c8c commit bdd17ad

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

  • apps/website/src/components/registry

apps/website/src/components/registry/data.tsx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ const Blocks: RegistryComponent[] = [
273273
shadcnRegistry: {
274274
name: "block-inline-code",
275275
type: "registry:block",
276-
registryDependencies: ["client-shiki"],
276+
registryDependencies: ["client-shiki", "shiki-highlighter"],
277277
target: "src/components/code-block/blocks/inline-code.tsx",
278278
},
279279
},
@@ -295,6 +295,7 @@ const Blocks: RegistryComponent[] = [
295295
"code-block",
296296
"client-shiki",
297297
"package-manager-store",
298+
"shiki-highlighter",
298299
],
299300
target:
300301
"src/components/code-block/blocks/copy-with-select-package-manager.tsx",
@@ -318,6 +319,7 @@ const Blocks: RegistryComponent[] = [
318319
"code-block",
319320
"client-shiki",
320321
"package-manager-store",
322+
"shiki-highlighter",
321323
],
322324
target:
323325
"src/components/code-block/blocks/copy-with-tabs-package-manager.tsx",
@@ -336,7 +338,12 @@ const Blocks: RegistryComponent[] = [
336338
name: "block-multi-tabs",
337339
type: "registry:block",
338340
dependencies: ["@react-symbols/icons"],
339-
registryDependencies: ["copy-button", "code-block", "client-shiki"],
341+
registryDependencies: [
342+
"copy-button",
343+
"code-block",
344+
"client-shiki",
345+
"shiki-highlighter",
346+
],
340347
target: "src/components/code-block/blocks/multi-tabs.tsx",
341348
},
342349
},

0 commit comments

Comments
 (0)