feat(FN-969): scaffold TUI package with Ink entry point and vitest config

- Create @fusion/tui package structure with ink and react dependencies
- Add basic App component entry point using Ink's Box and Text primitives
- Configure vitest with passWithNoTests and coverage settings
- Fix tsconfig to exclude vitest/globals types from production build
This commit is contained in:
gsxdsm
2026-04-05 10:41:01 -07:00
parent f035be2c6a
commit a731c5952b
4 changed files with 44 additions and 31 deletions

View File

@@ -13,20 +13,22 @@
"README.md"
],
"scripts": {
"dev": "tsx src/index.tsx",
"build": "tsc",
"typecheck": "tsc --noEmit",
"test": "echo 'No tests yet' && exit 0"
"test": "vitest run"
},
"dependencies": {
"@fusion/core": "workspace:*",
"ink": "^6.8.0",
"ink-text-input": "^6.0.0",
"react": "^19.0.0"
},
"devDependencies": {
"@types/node": "^25.5.0",
"@types/react": "^19.0.0",
"typescript": "^5.7.0"
"@vitest/coverage-v8": "^3.1.0",
"tsx": "^4.19.0",
"typescript": "^5.7.0",
"vitest": "^3.1.0"
},
"engines": {
"node": ">=22.5.0"