fix: align shadcn-vue components with @lucide/vue + drop redundant baseUrl

The shadcn-vue CLI still emits 'lucide-vue-next' imports even though
the package is deprecated upstream; this boilerplate uses @lucide/vue
(the new home). Replace the imports across every generated component
that pulls icons (dialog, dropdown-menu, select, sheet, sonner).

tsconfig.app.json no longer needs the explicit baseUrl='.' I added
earlier — @vue/tsconfig/tsconfig.dom.json already provides the right
default, and TS6 was warning about it. The root tsconfig.json keeps
baseUrl + ignoreDeprecations because the shadcn-vue CLI reads the
root config and needs it.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Padreug 2026-05-27 11:20:07 +02:00
commit 52cd156e43
12 changed files with 11 additions and 12 deletions

View file

@ -4,7 +4,6 @@
"exclude": ["src/**/__tests__/*"],
"compilerOptions": {
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
}