jhnsnc / precision-inputs

A highly customizable, accessible set of framework-agnostic input components for precision controls (knobs, dials, sliders, etc).
MIT License
51 stars 8 forks source link

Research: Why NPM pack/publish doesn't include files consistently #7

Open jhnsnc opened 7 years ago

jhnsnc commented 7 years ago

Sometimes when I pack/publish the NPM package, files do not get included. Yesterday, I was having issues getting the common/ folder to be included even though it is specified in the "files" array in package.json.

Tonight I was having issues getting README.md to get included even after committing, packing, publishing several new versions.

Why is my machine not reliably packing all the appropriate files for publishing? Perhaps it has something to do with being on my Windows machine and running the commands through Cygwin? I should probably try it on a Mac and/or using the Linux subsystem bash terminal on my Windows machine.