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

Bumping dependencies #587

Open
3 tasks
stoically opened this issue Jun 24, 2022 · 0 comments
Open
3 tasks

Bumping dependencies #587

stoically opened this issue Jun 24, 2022 · 0 comments

Comments

@stoically
Copy link
Owner

stoically commented Jun 24, 2022

In order to bump my dependency tree I would need to bump some of my testing libraries as well

But bumping the dev dependencies in those libraries is blocked behind piotrwitek/ts-mocha#70, which essentially boils down to the challenge: If you have an esm module in the dependency tree, it changes how imports work with typescript which interferes with how mocha does things. One solution is to convert the library itself to ESM, but then you are no longer exporting CJS to your consumers. Workarounds for that would be to either compile an additional CJS version or have an ESM wrapper for your CJS somehow. I'm not going to invest time into that, but instead wait until upstream figures stuff out. 🤷

Some interesting reads I encountered along the way

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

No branches or pull requests

1 participant