Skip to content

Lockfile assembly: pnpm install --merge-git-branch-lockfiles does not update main lockfile #5212

@kenrick95

Description

@kenrick95

Trying #4475

Note: git-branch-lockfile is the config to set in .npmrc, not use-git-branch-lockfile (as described in the release notes) 😅

pnpm version: 7.9.0

Code to reproduce the issue:

https://github.com/kenrick95/pnpm-try-lockfile-assembly

Run pnpm install --merge-git-branch-lockfiles

Expected behavior:

  • pnpm-lock.feature-1.yaml is deleted
  • pnpm-lock.yaml is updated

Actual behavior:

  • pnpm-lock.feature-1.yaml is deleted
  • pnpm-lock.yaml is not updated

Additional information:

  • node -v prints: 14.19.3
  • Windows, macOS, or Linux?: MacOS 11.6.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions