Files
vue-tui/packages/runtime-tests/package.json
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

31 lines
914 B
JSON

{
"name": "@vue-tui/runtime-tests",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"test": "vp run test:integration && vp run test:pty",
"test:integration": "vp test",
"test:pty": "vp test run --config vitest.pty.config.ts --passWithNoTests",
"check:type": "tsc --noEmit && vp run check:fixtures",
"check:fixtures": "vue-tsc -p integration/pty/fixtures/tsconfig.json --noEmit"
},
"devDependencies": {
"@types/node": "^25.9.1",
"@vitejs/plugin-vue-jsx": "catalog:",
"@vue-tui/runtime": "workspace:*",
"@vue-tui/testing": "workspace:*",
"ansi-escapes": "catalog:",
"chalk": "catalog:",
"is-in-ci": "catalog:",
"node-pty": "catalog:",
"string-width": "catalog:",
"strip-ansi": "catalog:",
"tsx": "catalog:",
"typescript": "^6.0.3",
"vite-plus": "^0.1.22",
"vue": "^3.5.34",
"vue-tsc": "catalog:"
}
}