Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(exec): allow scripts to call the right pnpm #7723

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Feb 29, 2024

  1. feat(exec): allow scripts to call the right pnpm

    When there are multiple pnpm versions installed in different places
    (such as `corepack`, distro specific package manager, or combination of
    different methods), calling `pnpm` from within a script (in
    `package.json#scripts`) often leads to wrong version of pnpm.
    
    By adding the installation directory to the start of `PATH`, this problem
    should be resolved.
    KSXGitHub committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    826d9fd View commit details
    Browse the repository at this point in the history