Yunfei He
8209f8440b
docs: write/optimize READMEs for all published packages
...
- @vue-tui/runtime: rewrite with pitch, badges, SFC+shallowRef example,
accurate component/composable tables, app lifecycle examples
- @vue-tui/cli: new README documenting vue-tui dev, HMR, crash recovery
- @vue-tui/testing: rewrite with @testing-library positioning, correct
async render API, cleanup globals:true requirement
- Add early-stage warning to all sub-packages (matching root README)
- Fix CLI package.json: add license field, correct description
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-27 16:08:48 +08:00
Yunfei He
ff82f6e064
feat(runtime): Vue terminal renderer with Ink-aligned API
...
Custom Vue 3 renderer for terminal UIs, built on yoga-layout for
flexbox and chalk for styling.
Components: Box, Text, Newline, Spacer, Static, Transform
Composables: useExit, useInput, useFocus, useFocusManager,
useStdin, useStdout, useStderr, useTerminalSize
Entry: createApp(root) → app.mount(options) → app.waitUntilExit()
Focus: Ink-aligned Tab/Shift+Tab/Escape with Focusable[] ring
Internal subpath: @vue-tui/runtime/internal (yogaNodeTracker)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-24 18:13:33 +08:00