ui-tui: add tsc build pipeline

- Switch tsconfig to nodenext module resolution for Node 22 (used by
installer script)
- Add shebang to entry.tsx, preserved into index.js
- Add HERMES_ROOT env var fallback for repo root resolution
This commit is contained in:
Ari Lotter
2026-04-09 15:30:18 -04:00
parent 17f13013eb
commit 670dcea8f4
4 changed files with 14 additions and 10 deletions

View File

@@ -6,7 +6,7 @@
"scripts": {
"dev": "tsx --watch src/entry.tsx",
"start": "tsx src/entry.tsx",
"build": "tsc",
"build": "tsc && chmod +x dist/entry.js",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix",
"fmt": "prettier --write 'src/**/*.{ts,tsx}'",