nestjs-slack icon indicating copy to clipboard operation
nestjs-slack copied to clipboard

Making nestjs-slack a pure ESM package

Open simenandre opened this issue 3 years ago • 2 comments

While there is soon to be a breaking change (moving this package to v2), I think it's time to discuss when to move to pure ESM.

I know there are a lot of teams that still use CommonJS, and from what I can understand the nest community is slowly moving that way. This means we can start planning for a new major release (v3).

Feel free to add feedback on this, and maybe share a timeline for when you are going ESM! I think we will keep maintaining v2 for quite some time, regardless of when v3 comes out.

Thanks ❤️

simenandre avatar Jul 13 '22 22:07 simenandre

node-fetch just went pure ESM in v3. IMHO, that pushes us forward towards ESM.

simenandre avatar Jul 13 '23 23:07 simenandre

Let's make the next major ESM, for sure.

But I also think we can easily support, at least for a while, a legacy version that is running CommonJS. For example, by using a separate branch.

simenandre avatar Jul 13 '23 23:07 simenandre