You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When "files" property in package.json contains a path of a directory with "/" at end, it doesn't resolve generated paths for directory's contents. An seems like they aren't published into npm's registry.
When "files" property in package.json contains a path of a directory with the character with "/" at end, it should resolve generated paths for directory's contents. An published them into npm's registry like before.
npm pack output after removing "/" from directories in package.json's files array
Current Behavior:
When
"files"
property inpackage.json
contains a path of a directory with "/" at end, it doesn't resolve generated paths for directory's contents. An seems like they aren't published into npm's registry.npm pack
outputExpected Behavior:
When
"files"
property inpackage.json
contains a path of a directory with the character with "/" at end, it should resolve generated paths for directory's contents. An published them into npm's registry like before.npm pack
output after removing "/" from directories inpackage.json
's files arraySteps To Reproduce:
dist/
directory."dist/"
inpackage.json
'sfiles
array.npm pack
ornpm publish
.npm pack # Or npm publish
Ex.
types//formatters/formatToBRL.d.ts
Environment:
The text was updated successfully, but these errors were encountered: