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
pnpm publish always publishes the created tarball #4593
Comments
can u please provide a more detailed demo ? |
Thanks for your response @fireairforce ! The package I'm trying to publish is For example, check this links https://unpkg.com/astro-imagetools@0.5.3/astro-imagetools-0.5.3.tgz https://unpkg.com/astro-imagetools@0.5.4/astro-imagetools-0.5.4.tgz and https://unpkg.com/astro-imagetools@0.5.5/astro-imagetools-0.5.5.tgz. The command is acting like it's equivalent to |
The root cause of this issue might be the same as the cause of this one: #4348 |
pnpm packs the tarball and then it runs npm CLI to publish the tarball: pnpm/packages/plugin-commands-publishing/src/publish.ts Lines 199 to 201 in 9f06162
Maybe this doesn't work in the latest npm? Although I could not reproduce the issue while looking into #4348 |
I believe this is fixed by #4627 |
pnpm version:
6.32.8
Code to reproduce the issue:
pnpm publish
Expected behavior:
pnpm publish
shouldn't publish the created tarballActual behavior:
pnpm publish
is publishing the created tarballAdditional information:
node -v
prints:17.6.0
Linux
The text was updated successfully, but these errors were encountered: