Files
vue-tui/packages/runtime/package.json
T
Yunfei He e4f756def2 chore(runtime): prepare 0.1.0 public beta release (#205)
Re-applies the 0.1.0 release prep on top of current main. PR #167's branch
(release/runtime-0.1.0) was 35 commits behind main and predated the #173..#204
fix batch (incl. the severe renderer fixes #198/#199), so publishing from it
would have shipped a 0.1.0 missing those fixes.

- version 0.0.3 -> 0.1.0 (runtime only; testing/cli stay 0.0.x)
- add root LICENSE + packages/runtime/LICENSE (MIT)
- add packages/runtime/CHANGELOG.md (0.1.0 public API; ./internal is non-semver)
- npm metadata: author, repository(+directory), homepage, bugs, keywords
- engines.node >=22 -> >=22.18.0 (match the real toolchain floor)
- files: ship LICENSE explicitly alongside dist + CHANGELOG
- README: reframe to public-beta status; fix useCursor (position-based, not
  visibility); add useIsScreenReaderEnabled + renderToString to the API docs

Verified on this branch: build, type-check, lint (0 warnings), and the full test
suite (runtime 1289, cli 364, testing 12, PTY 129) all green. pnpm pack ships
LICENSE + CHANGELOG + dist with 0 literal `catalog:` deps; attw resolves types
green under node16(ESM) + bundler for `.` and `./internal`.

Note: `exports` is auto-generated by `vp pack` (pack.exports: true) as bare
strings; attw confirms types resolve via the sibling .d.mts, so no manual
types condition is added (it would be wiped by the next build anyway).

Supersedes #167.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-20 00:32:56 +08:00

84 lines
1.9 KiB
JSON

{
"name": "@vue-tui/runtime",
"version": "0.1.0",
"description": "Vue 3 terminal renderer with Yoga flexbox layout, inspired by React Ink.",
"keywords": [
"ansi",
"cli",
"console",
"flexbox",
"ink",
"renderer",
"terminal",
"tui",
"vue",
"yoga"
],
"homepage": "https://github.com/vuejs-ai/vue-tui/tree/main/packages/runtime#readme",
"bugs": {
"url": "https://github.com/vuejs-ai/vue-tui/issues"
},
"license": "MIT",
"author": "Yunfei He <i.heyunfei@gmail.com>",
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs-ai/vue-tui.git",
"directory": "packages/runtime"
},
"files": [
"dist",
"CHANGELOG.md",
"LICENSE"
],
"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 test",
"check:type": "vue-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",
"code-excerpt": "^4.0.0",
"is-in-ci": "catalog:",
"patch-console": "catalog:",
"signal-exit": "^4.1.0",
"slice-ansi": "^9.0.0",
"stack-utils": "^2.0.6",
"string-width": "^8.0.0",
"terminal-size": "catalog:",
"wrap-ansi": "^10.0.0",
"yoga-layout": "^3.1.0"
},
"devDependencies": {
"@types/node": "^25.6.2",
"@types/stack-utils": "^2.0.3",
"@vitejs/plugin-vue-jsx": "catalog:",
"typescript": "^6.0.3",
"unplugin-vue": "catalog:",
"vite-plus": "^0.1.20",
"vue": "^3.4.0",
"vue-tsc": "catalog:"
},
"peerDependencies": {
"vue": "^3.4.0"
},
"engines": {
"node": ">=22.18.0"
}
}