What problem does it solve?
This Skill migrates an Ink/React codebase from gemini-cli’s 414 .tsx components to Bun’s native JSX runtime, removing redundant transpilation tooling and fixing common runtime integration pitfalls.
Core Features & Use Cases
- Bulk JSX migration runbook for an Ink/React-heavy monorepo, targeting all gemini-cli CLI .tsx sources.
- tsconfig alignment for Bun native JSX by configuring
compilerOptions.jsx, jsxImportSource, and Bun types so Bun uses its runtime JSX pipeline.
- Bun setup guidance including optional
bunfig.toml tuning and safe removal of esbuild/tsconfig build artifacts that become unnecessary.
- Ink-specific trap handling for raw-mode stdin compatibility, alt-screen behavior, and React Fast Refresh under
bun --hot.
- ESM resolution correctness by addressing
require.resolve to import.meta.resolve where applicable after aggressive codemods.
Quick Start
Run the Skill to apply Bun-native JSX migration steps to tests/targets/gemini-cli/packages/cli/src/**/*.tsx, then start development with hot reload using bun --hot.