bun test in packages/tui (npm run test:tui at the root): the whole TUI against a fake server in the test renderer: Esc from record 4 lands on row 4 and after stepping to record 7 lands on row 7; server paging, sort and a :filter; a contingent form where State waits for Country and narrows; the process wizard through an asynchronous job to its summary; F10 asks. Plus unit tests for column layout, the line editor under a key burst, command-line splitting and theme tokens. packages/tui/scripts/smoke.sh drives the real TUI in tmux against the sample server through fourteen screens and keeps the captures. The kernel's multiStatistics reading accepts statisticList, the spelling the sample server sends. Lint covers packages/tui. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
35 lines
1.4 KiB
JSON
35 lines
1.4 KiB
JSON
{
|
|
"name": "qqq-cli-workspace",
|
|
"private": true,
|
|
"description": "Reference CLI, generated TypeScript client, mock server and conformance suite for the QQQ UI API (/qqq/v1).",
|
|
"license": "Apache-2.0",
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"workspaces": [
|
|
"packages/ui-api-client",
|
|
"packages/core",
|
|
"packages/conformance",
|
|
"packages/cli"
|
|
],
|
|
"scripts": {
|
|
"spec:merge": "node scripts/merge-spec.mjs --out packages/ui-api-client/openapi/qqq-v1.json",
|
|
"spec:merge-extensions": "node scripts/merge-extensions.mjs",
|
|
"generate": "npm run generate -w @qrun-io/qqq-ui-api-client && node scripts/gen-operations.mjs",
|
|
"build": "npm run build -w @qrun-io/qqq-ui-api-client && npm run build -w @qrun-io/qqq-core && npm run build -w @qrun-io/qqq-ui-api-conformance && npm run build -w @qrun-io/qqq-cli",
|
|
"test": "npm test --workspaces --if-present",
|
|
"mock": "prism mock --dynamic --port 4010 packages/ui-api-client/openapi/qqq-v1.json",
|
|
"prepublishOnly": "npm run build",
|
|
"lint": "node scripts/lint.mjs",
|
|
"test:tui": "cd packages/tui && bun install --frozen-lockfile && bun test",
|
|
"typecheck:tui": "cd packages/tui && bun install --frozen-lockfile && npx tsc -p tsconfig.json"
|
|
},
|
|
"devDependencies": {
|
|
"@stoplight/prism-cli": "5.16.0",
|
|
"@types/node": "22.15.3",
|
|
"typescript": "5.8.3",
|
|
"yaml": "2.9.1"
|
|
}
|
|
}
|