-
-
Notifications
You must be signed in to change notification settings - Fork 923
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
chore: convert to esm #2261
chore: convert to esm #2261
Conversation
What are the benefits of this? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #2261 +/- ##
==========================================
- Coverage 99.56% 99.55% -0.01%
==========================================
Files 2817 2817
Lines 251199 251199
Branches 1127 1125 -2
==========================================
- Hits 250100 250088 -12
+ Misses 1099 1082 -17
- Partials 0 29 +29 |
support for future features, top-level await in jsdoc generation scripts, enhance speed of disk access, and more It's a try for #2260 (comment) |
58f2472
to
b535658
Compare
After already sinking in around 5 hours of net time, I will give this a last chance today (when I find the time) I read an article about placing package.json files into the dist/esm and dist/cjs folders that have separate configured If that does not work, I will give up for now and we might even consider to release a |
fbbef7e
to
ca95460
Compare
Putting a |
6b79bae
to
418fdfd
Compare
418fdfd
to
6b05b1c
Compare
awaiting merge of #2391 |
6b05b1c
to
ed51481
Compare
There are errors 😕 |
Looks like you have to change how https://github.com/faker-js/faker/blob/next/.github/workflows/commentCodeGeneration.ts is converted to js. |
I assume the issue is more in the calling of the file: faker/.github/workflows/pr.yml Line 59 in db88a15
|
Convert the whole faker code base to ESM