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
prepublishOnly was executed twice when publish #2941
Comments
any workaround to this? @zkochan sorry for tagging, I could help to fix this if given some advice |
This code is in https://github.com/pnpm/pnpm/blob/main/packages/plugin-commands-publishing/src/recursivePublish.ts if it executes twice, maybe |
npm/cli#2755 It seems to be an issue with npm 😞 |
Indeed, this is a regression in npm v7. Use npm v6 for now. |
I believe the issue might be related to |
@styfle is probably right, came here to file an issue about that. OP's issue is probably a consequence to Here's what I'm seeing:
|
ok, it should be fixed. |
pnpm version: 5.9.3
Code to reproduce the issue:
Expected behavior:
prepublishOnly
of each package is executed once before publishing.Actual behavior:
prepublishOnly
of each package is executed twice before publishing.Additional information:
node -v
prints: v14.14.0The text was updated successfully, but these errors were encountered: