Scaffold generated clients with @lucide/vue #11

Merged
FernandoJVideira merged 1 commits from chore/lucide-vue into main 2026-10-08 22:55:31 +00:00
Owner

Summary

  • cmd/client.go: both client scaffolds pnpm add @lucide/vue instead of the deprecated lucide-vue-next. The template overlay now imports its icons from @lucide/vue (project-template#6); pnpm doesn't hoist the kit's own copy to the app, so without this a freshly generated project would fail to resolve its icon imports
  • No versions are pinned in the CLI — these remain unpinned pnpm add calls, so the template stays the version authority (kit ^0.4.1, @lucide/vue ^1.53.0 live in its package.jsons)
  • Submodule bumped to project-template#6. Merge that first.

Test plan

  • go vet ./cmd/...; resynced embedded templates carry @lucide/vue in 11 files per framework and no lucide-vue-next
  • draft new monorepo (Nuxt) and (Vue): the generated apps/client/package.json has kit ^0.4.1 and @lucide/vue ^1.53.0, no lucide-vue-next
  • docker compose build client passes for both generated monorepos

🤖 Generated with Claude Code

## Summary - `cmd/client.go`: both client scaffolds `pnpm add` `@lucide/vue` instead of the deprecated `lucide-vue-next`. The template overlay now imports its icons from `@lucide/vue` (project-template#6); pnpm doesn't hoist the kit's own copy to the app, so without this a freshly generated project would fail to resolve its icon imports - No versions are pinned in the CLI — these remain unpinned `pnpm add` calls, so the template stays the version authority (kit `^0.4.1`, `@lucide/vue` `^1.53.0` live in its `package.json`s) - Submodule bumped to project-template#6. **Merge that first.** ## Test plan - [x] `go vet ./cmd/...`; resynced embedded templates carry `@lucide/vue` in 11 files per framework and no `lucide-vue-next` - [x] `draft new monorepo` (Nuxt) and (Vue): the generated `apps/client/package.json` has kit `^0.4.1` and `@lucide/vue` `^1.53.0`, no `lucide-vue-next` - [x] `docker compose build client` passes for both generated monorepos 🤖 Generated with [Claude Code](https://claude.com/claude-code)
FernandoJVideira added 1 commit 2026-10-08 22:54:02 +00:00
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 <[email protected]>
FernandoJVideira merged commit 8a11de5b0f into main 2026-10-08 22:55:31 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: FernandoJVideira/draft#11