Skip to content

Conversation

@privatenumber
Copy link
Owner

Remove React, Ink, and Valtio dependencies in favor of a lightweight custom ANSI-based terminal renderer. This eliminates runtime dependencies while maintaining full feature parity.

Changes:

  • Remove React, Ink, ink-task-list, Valtio, and yoga-layout dependencies
  • Add patch-console for console output interception
  • Update @types/node to v24
  • Simplify README documentation prose

@github-actions
Copy link

github-actions bot commented Oct 30, 2025

📊 Package size report   -90.8%↓

File Before (Size / Gzip) After (Size / Gzip)
dist/index.cjs 213.2 kB / 70.1 kB -94.7%↓11.3 kB / -93.3%↓4.7 kB
dist/index.d.cts 2.7 kB / 1.1 kB 20%↑3.3 kB / 24%↑1.3 kB
dist/index.d.mts 2.7 kB / 1.1 kB 20%↑3.3 kB / 24%↑1.3 kB
dist/index.mjs 213.2 kB / 70.1 kB -94.7%↓11.3 kB / -93.3%↓4.7 kB
package.json 1.7 kB / 775 B -12.1%↓1.5 kB / -12.4%↓679 B
README.md 9.0 kB / 3.1 kB 0.1%↑9.0 kB / 1%↑3.2 kB
Total (Includes all files) 443.6 kB / 147.0 kB -90.8%↓40.7 kB / -88.7%↓16.6 kB
Tarball size 146.7 kB -92.4%↓11.2 kB
Unchanged files
File Size (Size / Gzip)
LICENSE 1.1 kB / 667 B

🤖 This report was automatically generated by pkg-size-action

@privatenumber privatenumber changed the title refactor: replace React/Ink with custom ANSI renderer perf: replace React/Ink with custom ANSI renderer Oct 30, 2025
@privatenumber privatenumber marked this pull request as ready for review October 30, 2025 03:41
@privatenumber privatenumber force-pushed the refactor branch 3 times, most recently from dcb3e41 to 52308d8 Compare October 30, 2025 08:05
Remove React, Ink, and Valtio dependencies in favor of a lightweight custom
ANSI-based terminal renderer. This eliminates runtime dependencies while
maintaining full feature parity.
@privatenumber privatenumber merged commit f70f5a2 into master Nov 2, 2025
2 checks passed
@privatenumber privatenumber deleted the refactor branch November 2, 2025 01:23
@privatenumber
Copy link
Owner Author

🎉 This PR is included in version 2.0.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants