Skip to content

Add/update/install <package> updating all packages instead of just the specified package #6985

@chlumpchatkupt

Description

@chlumpchatkupt

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:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions