Does not understand "files"
starting with /
; thinks files will be omitted
#615
Labels
"files"
starting with /
; thinks files will be omitted
#615
Description
np
erroneously warns that files will be omitted from the published package when package.json"files"
entries start with/
Steps to reproduce
It reproduced when publishing https://github.com/cspotcode/tsimportlib
The package.json looks like this:
The logged warning:
The files were, indeed, published. https://unpkg.com/browse/[email protected]/
Expected behavior
np
understands that files entries starting with a/
indicate paths relative to the root of the package, and those files will be included.Environment
np - 7.5.0
Node.js - 16.2.0
npm - 7.14.0
Git - 2.29.2
OS - Ubuntu 20.04.1 LTS (within WSL2 on Windows 10)
The text was updated successfully, but these errors were encountered: