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

pnpm publish does not replace workspace: versions when publishing #4624

Closed
BerkeKaragoz opened this issue Apr 26, 2022 · 1 comment
Closed

Comments

@BerkeKaragoz
Copy link

pnpm version: 7.0.0-rc.8

Code to reproduce the issue: https://github.com/BerkeKaragoz/eslint-config/tree/7ff7b61b784c32f3cbb19a6ac44ce30cb97b8100/packages/all

Expected behavior:

pnpm publish replaces workspace:* with corresponding versions as explained here:
https://pnpm.io/workspaces#publishing-workspace-packages

pnpm view eslint-config-berkekaragoz@0.1.8:

image

Actual behavior:

pnpm publish leaves workspace:* as it is.

pnpm view eslint-config-berkekaragoz@0.1.7:

image

Additional information:

pnpm pack packs as I wanted. But when I ran pnpm publish *tarball*, it set the versions to workplace:*. So I packed and published with npm publish.

  • node -v prints: v16.13.0
  • Windows, macOS, or Linux?: Windows 10
@zkochan
Copy link
Member

zkochan commented Apr 26, 2022

This is a duplicate of #4348

@zkochan zkochan closed this as completed Apr 26, 2022
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

2 participants