[BUG] npm pack excludes files with character *
in the path
#3722
Labels
Bug
thing that needs fixing
Priority 1
high priority issue
Release 7.x
work is associated with a specific npm 7 release
Is there an existing issue for this?
Current Behavior
npm pack
does not include files with paths containing the character*
in the package (i.e., it excludes them)for example, if you have a directory with the following structure:
npm pack
will only include the following filesthat is, it will exclude
src/*.fileD.js
,src/directoryA/*.fileD.js
,src/**/fileE.js
, andsrc/**/*.fileF.js
Expected Behavior
npm pack
should include files with path names containing the character*
in the package unless explicitly requested to be excluded (or at the least, it should be possible to explicitly include those files).for example, if you have a directory with the following structure:
npm pack
should include all of those files in the created packageSteps To Reproduce
Run
npm pack
See that only the files without character
*
in their paths were includedEnvironment
Ubuntu 21.04
⬢ v16.8.0
7.21.0
The text was updated successfully, but these errors were encountered: