Files
vue-tui/packages/runtime/package.json
T
Yunfei He 90dc89272e fix(ci): include runtime and testing unit tests in vp run ci
The ci graph's test:integration task runs `vp run -r test:integration`, but
that script only existed in runtime-tests, so `vp run -r` silently skipped
packages/runtime (11 files, 309 tests) and packages/testing (2 files, 7 tests)
— their unit tests never ran in CI.

Give both packages a test:integration script (= vp test) and make their `test`
compose it, mirroring runtime-tests. `vp run -r test:integration` now covers
all three packages. PTY stays its own branch (no double-run).

Verified: `CI=true vp run ci` on a fresh checkout runs runtime (309) + testing
(7) + runtime-tests (756), exit 0.

Reported-by: @reviewer on PR #25
2026-05-29 16:54:13 +08:00

55 lines
1.3 KiB
JSON

{
"name": "@vue-tui/runtime",
"version": "0.0.2",
"description": "Vue 3 terminal renderer with Yoga flexbox layout, inspired by React Ink.",
"license": "MIT",
"files": [
"dist"
],
"type": "module",
"exports": {
".": "./dist/index.mjs",
"./internal": "./dist/internal.mjs",
"./package.json": "./package.json"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "vp pack",
"dev": "vp pack --watch",
"test": "vp run test:integration",
"test:integration": "vp test",
"check:type": "tsc --noEmit",
"prepublishOnly": "vp run build"
},
"dependencies": {
"@alcalzone/ansi-tokenize": "catalog:",
"@vue/runtime-core": "^3.4.0",
"ansi-escapes": "catalog:",
"chalk": "^5.3.0",
"cli-boxes": "^3.0.0",
"cli-truncate": "^6.0.0",
"is-in-ci": "catalog:",
"patch-console": "catalog:",
"slice-ansi": "^9.0.0",
"string-width": "^8.0.0",
"terminal-size": "catalog:",
"wrap-ansi": "^10.0.0",
"yoga-layout": "^3.1.0"
},
"devDependencies": {
"@types/node": "^25.6.2",
"@vitejs/plugin-vue-jsx": "catalog:",
"typescript": "^6.0.3",
"vite-plus": "^0.1.20",
"vue": "^3.4.0"
},
"peerDependencies": {
"vue": "^3.4.0"
},
"engines": {
"node": ">=22"
}
}