6ca8990270
Replace the opaque `vp check` bundling and the ad-hoc `ready` chain (which shelled out via `cd ... && pnpm ...`) with explicit, composable named scripts. Root delegates; category splits live in the package that owns them: root: check:fmt / check:lint / check:fixtures / test / build / ready runtime-tests: test = test:integration + test:pty; check:fixtures `ready` now composes the named scripts in dependency order (fmt, lint, build, fixtures, test) — build runs before check:fixtures and test:pty, which need the built dist. Drop the broken root `dev` (referenced a non-existent website package) and the redundant per-package `check` scripts (fmt/lint already run workspace-wide from root). Renames: pty-test -> test:pty, typecheck:fixtures -> check:fixtures.
53 lines
1.2 KiB
JSON
53 lines
1.2 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 test",
|
|
"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"
|
|
}
|
|
}
|