open-cli-tools / concurrently

Run commands concurrently. Like `npm run watch-js & npm run watch-less` but better.
https://www.npmjs.com/package/concurrently
MIT License
7.15k stars 234 forks source link

Making concurrently a purely ESM package #482

Closed aqeelat closed 1 month ago

aqeelat commented 6 months ago

Since concurrently is mostly run via CLI, what is stopping it from being converted to ESM? Are there any implications that are slipping my mind?

I'm willing to try converting it if the change would be accepted.

gustavohenke commented 5 months ago

Hey! Nothing really stopping it, it's just that I wouldn't like to exclude some CJS users of the API. I don't think there's any benefit of doing this change either, other than using newer versions of e.g. chalk?

Also a fun read: https://www.reddit.com/r/node/comments/14rg9ym/esm_not_gaining_traction_in_backend_node/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

Seems like the numbers are a bit dated, but chalk ESM-only is still 10x less popular than its previous, CJS version. chalk versions on npm

gustavohenke commented 1 month ago

I'm closing this issue for now, but happy to read what others think.