Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yarn publish creates wrong tar content #1269

Closed
danez opened this issue Oct 19, 2016 · 3 comments
Closed

yarn publish creates wrong tar content #1269

danez opened this issue Oct 19, 2016 · 3 comments

Comments

@danez
Copy link
Contributor

danez commented Oct 19, 2016

Do you want to request a feature or report a bug?
bug

What is the current behavior?
Published tarball contains invalid data (namely the folders dist, node_modules, package and the file .eslintignore)
I unpublished already, but unpkg.com has already some stuff cached:
https://unpkg.com/react-tabs@0.8.1/ (Done with yarn)
https://registry.npmjs.org/react-tabs/-/react-tabs-0.8.1.tgz

If the current behavior is a bug, please provide the steps to reproduce.
yarn version and entered 0.8.1

yarn publish and did not enter a version but just pressed enter on the version prompt.

What is the expected behavior?
https://unpkg.com/react-tabs@0.8.2/ (Done with npm)
The tarball should be similar with both clients.
Please mention your node.js, yarn and operating system version.

node 6.9, yarn 0.16.0, macOS 10.12

The repository is https://github.com/reactjs/react-tabs

@adambiggs
Copy link

I published a scoped package with $ yarn publish, but when I try to install it I get:

error An unexpected error occurred: "https://registry.yarnpkg.com/@my-scope/my-pkg/-/my-pkg-1.0.0.tgz: invalid tar file"

@BYK
Copy link
Member

BYK commented Oct 27, 2017

Is this still happening?

@danez
Copy link
Contributor Author

danez commented Feb 24, 2019

As I cannot reproduce this anymore I'm closing this.

@danez danez closed this as completed Feb 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants