Tags: congzhangzh/ansible-tui
Tags
fix: split release into create-release + build jobs (avoid race condi… …tion) 4 parallel matrix jobs all racing to finalize the same GitHub release causes 'Too many retries' errors. Fix: a dedicated create-release job runs first (needs:), then build jobs only upload their artifact. Also adds generate_release_notes:true for automatic changelogs.
fix: add @deno-types directives for react and js-yaml Without explicit @deno-types hints, Deno on a fresh CI runner does not auto-associate @types/react with the 'react' import map entry. This is the official Deno pattern for npm packages with separate @types. Fixes TS7006 and TS2875 type errors in CI.
fix: proper deno deps via deno add, remove package.json, clean imports - deno add npm:react@18 npm:ink@5 npm:js-yaml@4 @types/react@18 @types/js-yaml@4 (generates correct import map with type packages, deno check passes cleanly) - app.tsx: bare specifiers, remove React import (react-jsx transform handles it) - release.yml: remove redundant deno cache step (deno compile auto-downloads) - delete package.json / package-lock.json (node_modules no longer needed)
feat: UX polish + npm: specifiers for zero-config deno run Core changes: - app.tsx: switch to npm: specifiers (react@18, ink@5, js-yaml@4) enabling `deno run https://raw.githubusercontent.com/.../app.tsx` with no local files - app.tsx: add --version/-v flag - app.tsx: PageUp/PageDown navigation in all panels - app.tsx: `e` key to expand/collapse all plays & blocks at once - app.tsx: selection counts in panel headers (2/5 hosts, 4/12 tasks) - app.tsx: cyan color for plays, colored tags, (never) badge in magenta - app.tsx: guard against running with no hosts selected - app.tsx: auto-discover site.yml, hosts, hosts.yaml as fallback filenames - app.tsx: explicit `import process from "node:process"` for Deno lint Bug fix: - release.yml: fix linux amd64/arm64 artifact_name swap (critical) - release.yml: add --no-npm to deno compile for truly embedded binary Tooling: - deno.json: simplify to JSX config only (imports now inline in source) - build_all.sh: local cross-compile script for all 4 platforms + native - demo/demo.tape: re-record with binary, better pacing, shows expand-all - readme.md: full rewrite — hook opening, comparison table, ASCII preview, badges, updated keybindings, clean one-liner remote run command