Files
vue-tui/pnpm-workspace.yaml
T
Yunfei He 9fe6d7cc44 refactor(runtime): author public components as template SFCs (+ integrate main)
Rewrites Box/Text/Spacer/Static/Newline from h()/render functions to Vue
<script setup> template SFCs (Transform stays a render fn — it inspects its own
child vnodes), with vue-tsc-verified consumer types (template + JSX fixtures),
provide/inject text context, the always-validate Text divergence (color +
backgroundColor), and three renderer fixes the SFCs surfaced (static anchor skip,
transform line-index Ink-parity, useBoxMetrics subtree drill). Integrates the five
main commits landed after the branch point: #163 public-API audit, generic Static
scoped-slot typing, foreground color validation, useWindowSize/divergence docs.

Squashed from the SFC sub-commits + the two main-integration merges to keep a
linear, rebaseable history. See PR #165 for the full breakdown.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-14 15:49:08 +08:00

41 lines
763 B
YAML

packages:
- apps/*
- packages/*
- tools/*
- examples/*
catalogMode: prefer
catalog:
"@alcalzone/ansi-tokenize": ^0.3.0
ansi-escapes: ^7.3.0
"@types/node": ^24.12.4
typescript: ^5
vite: npm:@voidzero-dev/vite-plus-core@latest
vitest: npm:@voidzero-dev/vite-plus-test@latest
vite-plus: ^0.1.22
"@vitejs/plugin-vue-jsx": ^5.1.5
chalk: ^5.6.2
is-in-ci: ^2.0.0
patch-console: ^2.0.0
strip-ansi: ^7.2.0
node-pty: 1.2.0-beta.13
terminal-size: ^4.0.1
tsx: ^4.22.0
string-width: ^8.0.0
unplugin-vue: ^7.2.0
vue-tsc: ^3.3.4
overrides:
vite: "catalog:"
vitest: "catalog:"
peerDependencyRules:
allowAny:
- vite
- vitest
allowedVersions:
vite: "*"
vitest: "*"
allowBuilds:
esbuild: true
node-pty: true