24 Commits
Author SHA1 Message Date
FernandoJVideira 35b88b4dcf Merge pull request 'Scaffold clients with vue-ui-kit; API/client/monorepo scaffolding fixes' (#6) from chore/refactor into dev
Reviewed-on: #6
2026-09-16 11:51:56 +00:00
FernandoJVideiraandClaude Fable 5.1 64c57f830b Bump project-template: tabbed auth card, single-tone page background
Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-16 12:41:39 +01:00
FernandoJVideiraandClaude Sonnet 5 d62383598c Bump project-template: redesign default pages, fix Nuxt Dialog/Select SSR
Co-Authored-By: Claude Sonnet 5 <[email protected]>
2026-09-16 11:33:59 +01:00
FernandoJVideiraandClaude Sonnet 5 650e811c84 Bump project-template: remove leftover shadcn-vue/Nuxt UI cruft
No change to draft's own generated output - this commit only touches
files outside what tools/sync_templates.go pulls into assets/embedded
(package.json, main.css, and the shadcn-vue-generated files it deletes
are all excluded from the client-vue/client-nuxt sync jobs already).
Keeps the reference project itself buildable and free of dead
dependencies now that both clients use vue-ui-kit.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
2026-09-16 11:02:08 +01:00
FernandoJVideiraandClaude Sonnet 5 663ffb1c09 Scaffold clients with vue-ui-kit instead of Nuxt UI / shadcn-vue
Both `draft new client` and `draft new monorepo` (which reuses the same
client scaffolding for apps/client) now wire up @fernandojvideira/vue-ui-kit
as the component library on both frameworks, installed from its Gitea npm
registry.

Vue: drops the shadcn-vue init/add steps entirely - vue-ui-kit's theme.css
is imported directly instead of a generated one, and the overlay's one
shadcn Button usage now comes from vue-ui-kit.

Nuxt: switches the nuxi starter from "ui" (Nuxt UI) to "minimal", wiring
Tailwind v4 + vue-ui-kit by hand instead (mirrors vue-ui-kit's own Nuxt
INSTALL.md instructions). Needed one real fix: the "minimal" starter has
no typescript devDependency, and pnpm resolving it unpinned lands on
TypeScript 7, which breaks @vue/compiler-sfc's cross-file type resolution
that vue-ui-kit's components rely on - pinned to ~6.0.0 to match
create-vue's own default for the Vue flow.

The actual overlay content changes (token renames, icon swaps, a new
useToast() composable for Nuxt, etc.) live in the project-template
submodule, bumped here to its latest commit.

Verified end-to-end: both frameworks install, typecheck, and build clean
from a fresh `draft new client`, and were checked live in the browser.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
2026-09-16 10:57:18 +01:00
FernandoJVideira 7cec03d4c5 Merge pull request 'Chore/refactor' (#4) from chore/refactor into dev
Reviewed-on: #4
2026-08-25 21:03:22 +00:00
FernandoJVideira 145b3bb879 fix: duplicated binary built on makefile 2026-08-25 22:02:13 +01:00
FernandoJVideira 095a4c859a fix: changed help command 2026-08-25 21:52:07 +01:00
FernandoJVideira 6fc36118d9 Merge pull request 'Minor Version Fix' (#2) from chore/refactor into dev
Reviewed-on: #2
2026-08-25 20:41:55 +00:00
FernandoJVideira 3ff0633530 Minor Version Fix 2026-08-25 21:41:21 +01:00
FernandoJVideira 2fd651965d Merge pull request 'Chore/refactor' (#1) from chore/refactor into dev
Reviewed-on: #1
2026-08-25 20:35:06 +00:00
FernandoJVideira fa217290bf docs: update README for client/monorepo scaffolding and key command changes 2026-08-25 21:33:16 +01:00
FernandoJVideira f5fbd240bf fix: remove stray debug print in service generator 2026-08-25 21:33:11 +01:00
FernandoJVideira a514521c6e fix: register draft key on the root command with a working --size flag 2026-08-25 21:33:06 +01:00
FernandoJVideira 29f94539e0 feat: scaffold API, client, or monorepo projects with Nuxt/Vue client support
- draft new now offers API, Client, or Full Stack (monorepo) project shapes
- draft new client scaffolds a Nuxt or Vue app via the official nuxi/create-vue
  tooling, with a Draft-maintained auth/API overlay layered on top
- draft new monorepo combines a scaffolded API and client under one root
  with go.work, pnpm-workspace.yaml, and docker-compose wiring
- assets/embedded restructured into api/monorepo-root/client-nuxt/client-vue
  zones, synced via a generalized, job-based sync tool
2026-08-25 21:33:00 +01:00
FernandoJVideira fe48b7caee feat: wire organizations into main.go template for both HTTP and gRPC 2026-08-25 21:32:54 +01:00
FernandoJVideira 42600a5358 chore: swap testdata submodule from api_tmpl to template 2026-08-25 21:32:45 +01:00
FernandoJVideira 613efed0f2 Merge branch 'main' into dev: bring in keystone->draft rename
Resolves conflicts with dev's install-logic commit by keeping draft's
module path/binary names and dropping a stray junk file (.cursor/test.txt).
2026-08-25 13:57:29 +01:00
FernandoJVideira d7e4c554d8 chore: rename keystone to draft
Rename the module, CLI command name, and all references from
keystone/basalt to draft, and fix the stale build/README content
found along the way.
2026-08-25 13:55:24 +01:00
FernandoJVideira 8293794d13 fix: Makefile fix 2026-01-30 00:21:15 +00:00
FernandoJVideira dbade98892 fix: proj layout 2026-01-30 00:07:11 +00:00
FernandoJVideira 9d745785ed feat: added install logic 2026-01-29 22:17:11 +00:00
FernandoJVideira 5e31fc2f23 feat: basalt 0.0.1 v0.0.1 2026-01-27 17:33:14 +00:00
FernandoJVideira 487d1d324d Initial commit 2026-01-06 16:57:12 +00:00