Skip to content

Commit 95b156b

Browse files
committed
chore: move lucide-icon to ui
1 parent 28c4a7d commit 95b156b

14 files changed

Lines changed: 19 additions & 41 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ CI order: **lint → typecheck** (no tests)
2727
## Registry build
2828

2929
`pnpm registry:build` runs `scripts/registry-build.ts`:
30+
3031
1. `shadcn-vue-registry` generates registry.json from `app/registry/`
3132
2. `shadcn-vue build` outputs per-item JSON to `public/r/*.json`
3233
3. Intermediate file `app/registry/registry.json` is auto-deleted

app/components/demo/LucideIconComponent.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
import { Heart } from "lucide-vue-next";
3-
import { LucideIcon } from "~/registry/blocks/lucide-icon";
3+
import { LucideIcon } from "~/registry/ui/lucide-icon";
44
</script>
55

66
<template>

app/components/demo/LucideIconDemo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { LucideIcon } from "~/registry/blocks/lucide-icon";
2+
import { LucideIcon } from "~/registry/ui/lucide-icon";
33
</script>
44

55
<template>

app/components/demo/LucideIconSize.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { LucideIcon } from "~/registry/blocks/lucide-icon";
2+
import { LucideIcon } from "~/registry/ui/lucide-icon";
33
</script>
44

55
<template>

app/components/ui/icon/index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { LucideIcon, type LucideIconProps } from "~/registry/ui/lucide-icon";

app/registry/blocks/chat-message/ChatMessage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { HTMLAttributes } from "vue";
33
import type { UIMessage } from "ai";
44
import { Button } from "@/components/ui/button";
55
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@/components/ui/tooltip";
6-
import { LucideIcon } from "@/components/ui/icon";
6+
import { LucideIcon } from "@/components/ui/lucide-icon";
77
import { cn } from "@/lib/utils";
88
99
export interface ChatMessageAction {

app/registry/blocks/hello-world/HelloWorld.vue

Lines changed: 0 additions & 8 deletions
This file was deleted.

app/registry/blocks/hello-world/index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)