-
Notifications
You must be signed in to change notification settings - Fork 794
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
Monorepo: Set "type": "module" in package.json files (default ESM internally) #3494
Conversation
…works, lint works, docs do not work (maybe unrelated), examples work)
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files
Flags with carried forward coverage won't be shown. Click here to find out more. |
Ok. There was actually so much (all? not sure about doc generation, but that seems minor, also not sure about codecov/project) working (otherwise full CI passing), that I will directly test will all libraries switched over. |
Ah. Finally at least something is breaking. 🙏 😂 |
… module causes too much problem in this intense usage setup (not ESM ready)
I battled with the trie examples quite some time, where the I finally came to the conclusion that this is not worth to fix for this very specialized debug/log functionality, mostly meant to be used for internal purposes, and moved the both the Additionally - after having a look - I felt that this was generally not really to justify that we put this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@acolytec3 Just writing release notes and unsure about this: would you agree that this change has no impact on library users (since we have this pointing to ESM/CJS and there the |
To my understanding, yes, this should be correct. NPM always looks to the nearest package.json (I believe starting in the |
First round test run to see what (if something) breaks if we switch over.
Depending on results of first commit (Util) we can expand.
Not sure if I'll finish this, this can be happily picked up! 🙂