jest icon indicating copy to clipboard operation
jest copied to clipboard

[Bug]: `.eslintcache` files were shipped to NPM with v29.4.0

Open mrazauskas opened this issue 2 years ago • 2 comments

Version

29.4.0

Steps to reproduce

See: https://www.npmjs.com/package/jest-runner/v/29.4.0?activeTab=explore

Screenshot 2023-01-25 at 21 41 55

Expected behavior

.eslintcache should not be shipped to NPM.

Actual behavior

For some reason .eslintcache was shipped with v29.4.0 packages. I checked few of the packages, the file was included in each of them. Older versions of the same packages do not include .eslintcache.

Would be easy to add it to .npmignore, but why did that happen only with this release?

Additional context

No response

Environment

N/A

mrazauskas avatar Jan 25 '23 19:01 mrazauskas

Weird. Running npm pack in each module excludes it (I would assume all dotfiles were skipped by default). Not sure why running Lerna would result in something different.

image

SimenB avatar Jan 26 '23 09:01 SimenB

Actually, I see that yarn pack includes it. Maybe lerna shells out to the package manager in the project?

SimenB avatar Jan 26 '23 09:01 SimenB

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

github-actions[bot] avatar Feb 28 '23 00:02 github-actions[bot]