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
Note that no files from the src folder are present above.
Also note the package and package/node8plus bare entries are not present above. I believe this is why there is a package entry shown on unpkg.com under yarn vs unpkg.com under npm.
Please mention your node.js, yarn and operating system version.
$ yarn --version
1.6.0
$ node --version
v9.10.1
$ npm --version
5.6.0
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.13.4
BuildVersion: 17E199
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Yarn does not treat the "files" array in package.json as anchored to the root, npm does.
Yarn also adds a superfluous
package
entry, npm does not.If the current behavior is a bug, please provide the steps to reproduce.
Run
yarn pack
for https://github.com/graphile/graphile-build/tree/master/packages/postgraphile-core (repo is managed using yarn workspaces) which has the followingfiles
array in package.json:Result:
What is the expected behavior?
Note that no files from the
src
folder are present above.Also note the
package
andpackage/node8plus
bare entries are not present above. I believe this is why there is apackage
entry shown on unpkg.com under yarn vs unpkg.com under npm.Please mention your node.js, yarn and operating system version.
The text was updated successfully, but these errors were encountered: