The test suite was tightly coupled to Bun-specific APIs (bun:test,
Bun.sleep) making it impossible to validate behavior on other
runtimes. A module hook now rewrites bun:test imports for Node's
test runner, and fake clocks replace wall-clock delays so tests
run deterministically everywhere.
Fix FFI type mismatches and boolean normalization that caused
silent failures on non-Bun runtimes. Correct bundled asset
resolution so published packages load without a TypeScript loader.
Reorganize the example menu with themed sections, two-panel focus
management, and proper tree-sitter cleanup to prevent worker leaks.
## Summary
- Fixed `runtime-plugin-support.ts` importing from `../src/index.js`
which doesn't exist in the published `dist/` (only `dist/index.js` does)
- Changed to `../index.js` to match the pattern `@opentui/solid` already
uses
- Added root `index.ts` barrel so the import resolves at dev time and
tsc can generate declarations
Fixes#960
Prevent regressions where extensionless imports break consumers using
NodeNext
or Node's ESM loader.
tsconfigs override back to "bundler" because bun-ffi-structs and
bun-webgpu
don't export NodeNext-compatible types yet.
Change this once @kommander fixes upstream. I think we can merge this pr
now and update the last things once you've updated upstream.
Close: #843
# Description
- Updated JSX.Element type from React.ReactElement<any, any> to
React.ReactNode for broader compatibility
- Enhanced IntrinsicElements to extend React's built-in JSX elements
while adding OpenTUI components
- Fixed ElementClass interface to properly extend React's ComponentClass