pnpm update will replace workspace:*
dependencies and similar syntax with exact versions
#5317
Labels
Milestone
workspace:*
dependencies and similar syntax with exact versions
#5317
pnpm version: 7.11.0
Code to reproduce the issue:
workspace:*
.pnpm update
Expected behavior:
The
workspace:*
is kept intact. By using it I mean to just use the current version from the monorepo but hardcode the version on publish. I don't want to hardcode the version in the Git repo in all packages that depend on it.Actual behavior:
It get's replaced with the current version of the depended on package from the monorepo, e.g.
workspace:1.0.1
.Additional information:
node -v
prints: v16.17.0The text was updated successfully, but these errors were encountered: