From b7fe8f3f4e110df5f8c4d7c37a0f3bafd9a0e5d1 Mon Sep 17 00:00:00 2001 From: FernandoJVideira <03.pleaser-minster@icloud.com> Date: Thu, 8 Oct 2026 23:54:00 +0100 Subject: [PATCH] Scaffold generated clients with @lucide/vue The template overlay now imports its icons from @lucide/vue (project-template#6), so the scaffolder has to install that instead of the deprecated lucide-vue-next: pnpm doesn't hoist the kit's own copy to the app, and a fresh project would fail to resolve its icon imports. No version is pinned here - these stay unpinned `pnpm add` calls, so the template remains the version authority. Submodule bumped to that commit. Co-Authored-By: Claude Sonnet 5.5 --- assets/testdata/template | 2 +- cmd/client.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/testdata/template b/assets/testdata/template index 40f5025..2a37943 160000 --- a/assets/testdata/template +++ b/assets/testdata/template @@ -1 +1 @@ -Subproject commit 40f5025169450ec110ba11dc39577f5ff1fb041a +Subproject commit 2a37943d70f090f31861c8489fc3e3058f7ee489 diff --git a/cmd/client.go b/cmd/client.go index 8897a5d..5d510b7 100644 --- a/cmd/client.go +++ b/cmd/client.go @@ -88,7 +88,7 @@ func scaffoldClientNuxt(projectDir, serviceName string) error { fmt.Println("📦 Installing dependencies...") if err := runCommand(projectDir, "pnpm", "add", "pinia", "@pinia/nuxt", - "@fernandojvideira/vue-ui-kit", "lucide-vue-next", + "@fernandojvideira/vue-ui-kit", "@lucide/vue", ); err != nil { return fmt.Errorf("error installing dependencies: %w", err) } @@ -258,7 +258,7 @@ func scaffoldClientVue(projectDir, serviceName string) error { } fmt.Println("📦 Installing remaining dependencies...") - return runCommand(projectDir, "pnpm", "add", "ofetch", "@fernandojvideira/vue-ui-kit", "lucide-vue-next") + return runCommand(projectDir, "pnpm", "add", "ofetch", "@fernandojvideira/vue-ui-kit", "@lucide/vue") } // The library's theme brings its own tokens; --success/--warning are added on