-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
Description
Verify latest release
- I verified that the issue exists in the latest pnpm release
pnpm version
No response
Which area(s) of pnpm are affected? (leave empty if unsure)
No response
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
Run one of the following:
- pnpm add git+https://randomstring@github.com/repo.git
- pnpm update git+https://randomstring@github.com/repo.git
- pnpm install --prefer-offline git+https://randomstring@github.com/repo.git
Describe the Bug
We use a private Git repo as a dependency in our project. When we try to update it to use the latest commit, pnpm add/update/install updates all packages instead of just the specified one.
It is unclear what the best way to update the package is.
See also: https://stackoverflow.com/questions/74305317/pnpm-add-package-name-updating-all-packages.
Expected Behavior
pnpm updates just the specified package.
Which Node.js version are you using?
20.5.1
Which operating systems have you used?
- macOS
- Windows
- Linux
If your OS is a Linux based, which one it is? (Include the version if relevant)
Docker image: node:20.5-alpine
Reactions are currently unavailable