Verify latest release
pnpm version
9.11
Which area(s) of pnpm are affected? (leave empty if unsure)
Package manager compatibility
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
- Create a pnpm workspace with 2 workspaces.
- Have
manage-package-manager-versions=true in .npmrc at root level
- Have
packageManager="pnpm@9.1.0" in root level's package.json
pnpm --version → 9.1.0
cd workspaceA
pnpm --version → not 9.1.0
Describe the Bug
the pnpm version of a workspace is not matching the one defined in the root level of the monorepo
Expected Behavior
pnpm version should remain the same as the monorepo root one unless explicitly redefined in each workspace.
Additional Notes
if it's not a bug, it could be a feature flag such as workspace-inherit-package-manager-version 🙏
Which Node.js version are you using?
20.18
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
github action-runner (ubuntu)
Verify latest release
pnpm version
9.11
Which area(s) of pnpm are affected? (leave empty if unsure)
Package manager compatibility
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
manage-package-manager-versions=truein.npmrcat root levelpackageManager="pnpm@9.1.0"in root level's package.jsonpnpm --version→ 9.1.0cd workspaceApnpm --version→ not 9.1.0Describe the Bug
the pnpm version of a workspace is not matching the one defined in the root level of the monorepo
Expected Behavior
pnpm version should remain the same as the monorepo root one unless explicitly redefined in each workspace.
Additional Notes
if it's not a bug, it could be a feature flag such as
workspace-inherit-package-manager-version🙏Which Node.js version are you using?
20.18
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
github action-runner (ubuntu)