The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
npm 6.8.0 does not publish specific directory
I have a problem with npm 6.8.0 behaviour
Steps to reproduce:
- create new package
- add directories:
- add files:
- try to publish:
npm publish --dry-run
- publish should list all three files that I’ve created
- publish does not list file
src/common/core/index.js. In a real example it skips a whole directory
I’m not sure why npm 6.8.0 behaves like so, but I’d greatly appreciate if it would explain it somehow or just stop doing so.
P.S. I’m running npm under Linux, 64bit, node 8.14.1.
Looks like it was already explained here: npm pack leaving out files (6.8.0 only).
So, let’s just wait until 6.9.0, then
Closing as duplicate