-
Notifications
You must be signed in to change notification settings - Fork 17
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
refactor: use ESM modules #426
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #426 +/- ##
==========================================
+ Coverage 78.58% 87.48% +8.89%
==========================================
Files 36 24 -12
Lines 780 2198 +1418
Branches 0 3 +3
==========================================
+ Hits 613 1923 +1310
- Misses 167 275 +108
Continue to review full report at Codecov.
|
@@ -32,7 +32,7 @@ jobs: | |||
node-version: 14 | |||
- run: | | |||
npm install --save-dev @commitlint/{config-conventional,cli} | |||
echo "module.exports = {extends: ['@commitlint/config-conventional']};" > commitlint.config.js | |||
echo "module.exports = {extends: ['@commitlint/config-conventional']};" > commitlint.config.cjs |
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.
This looks like a typo
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.
Nope, It is correct. node-config need it. more details
Kudos, SonarCloud Quality Gate passed! |
run tests |
1 similar comment
run tests |
close #409
Major Changes:
nyc
package does not support ESM modules. Usedc8
instead of it.rewire
package does not support ESM modules. For work around exports all submodules. There are other packages but they need to build usingbabel
. more detailssinon
does not support ESM modules. Usedesmock
instead of it