An attempt at making ink work with Deno.
For now, you can run example.tsx using the script
./run-example
.
This PoC is for seeing how some basic functionality from ink
can be made to
work with Deno.
- Strip
ink
of everything but the code. -
deno fmt
- Make the syntax pass
./check-syntax
.- If necessary, fork dependencies and make them work with Deno.
- If necessary, remove dependencies that are not needed if they cause any trouble.
- [?] Replace
process.stdin
etc with Standard Streams.
- [?] ????
- Hopefully, get some basic
ink
functionality running with Deno. - Fix detection of color support level.
- Try using this a little more, see where the limits are.
- […] Evaluate if/how relevant parts of the PoC can be implemented properly upstream.
- Refactor out Node.js specific things, replace with a Standard Streams based API.