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
6.98k stars 227 forks source link

Making concurrently a purely ESM package #482

Open aqeelat opened 3 months ago

aqeelat commented 3 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 2 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