gpjsui dev/build currently print plain [gpjsui] ... lines. Want
something closer to a build summary (file, size, duration) and a
dev-server log (which file triggered a rebuild).
Decision: use consola, not
@clack/prompts — clack fits interactive scaffolding prompts, not a
running log stream. Save @clack/prompts for a future bootstrap/
scaffolding CLI instead.
Approach
@gpjs-ui/vite's watch(): report the changed file and rebuild
duration through onBuild/onError (available via the underlying
watcher's "change" event, currently unused)
@gpjs-ui/cli: adopt consola for dev/build output — ready/rebuilt
lines with the changed file and duration, and a build summary with the
bundle's file size
Out of scope
- Per-module HMR output ("hot update: App.vue") — blocked on Phase 3.4
Tasks
gpjsui dev/buildcurrently print plain[gpjsui] ...lines. Wantsomething closer to a build summary (file, size, duration) and a
dev-server log (which file triggered a rebuild).
Decision: use
consola, not@clack/prompts— clack fits interactive scaffolding prompts, not arunning log stream. Save
@clack/promptsfor a future bootstrap/scaffolding CLI instead.
Approach
@gpjs-ui/vite'swatch(): report the changed file and rebuildduration through
onBuild/onError(available via the underlyingwatcher's
"change"event, currently unused)@gpjs-ui/cli: adoptconsolafordev/buildoutput — ready/rebuiltlines with the changed file and duration, and a build summary with the
bundle's file size
Out of scope
Tasks
@gpjs-ui/vite: report changed file + duration throughwatch@gpjs-ui/cli: switchdev/buildtoconsola-based output