Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: cliui is now ESM only #165

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

shadowspawn
Copy link
Member

@shadowspawn shadowspawn commented Mar 8, 2025

Highlights:

  • drop cjs
  • update dependencies
  • esm now supports wrapping
  • require node 20

Wrapping issues: #89 #138
Wrapping PRs: #139 #143

See also yargs issue for ESM only: yargs/yargs#2451

Proposing require Node.js 20 since 18 is dropping out of LTS on 2025-04-30. Hopefully 20 will have require(esm) by default in v20.19.0: nodejs/node#57349

To do:

  • look at deno
  • look at browser

@shadowspawn
Copy link
Member Author

Deno related code updated to support wrapping and test now passing.

A high level question is with the Deno support for node packages so good, is there any benefit to continuing to publish a deno build separately?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant