Closed fraxken closed 4 years ago
Merging #72 into master will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #72 +/- ##
======================================
Coverage 90.2% 90.2%
======================================
Files 2 2
Lines 143 143
======================================
Hits 129 129
Misses 14 14
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 88548b9...515f1ce. Read the comment docs.
Thank you!
@tim-kos This needs to be fixed.
index.js
is not included in "files": [...]
and therefore will not be included in the npm registry when you publish the next version.
This is what happens when index.js
is missing
Error: Cannot find module '.../node_modules/retry/index'. Please verify that the package.json has a valid "main" entry
Another solution is to correct the typo
from "main": "index"
to "main": "index.js"
.
Add the "files" field in the package.json to avoid publishing unwanted files in the registry. Files like
More information on the whitelist field here: https://docs.npmjs.com/files/package.json#files