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

fix(run): add cwd/node_modules/.bin to run command search path #7151

Merged
merged 5 commits into from Oct 30, 2019

Commits on Mar 27, 2019

  1. fix(run): change run command to check cwd/node_modules/.bin for comma…

    …nds. Fixes run in workspaces.
    
    This fixes a bug that was introduced in yarnpkg#6850 where the bin path was being built only from
    `config.lockfileFolder`. However in workspaces, bins may not be hoisted to the workspace root,
    causing bins to not be found. This change adds `config.cwd` to the bin search path, so the `yarn
    run` command will look in a workspace package's node_modules, as well as the workspace root.
    
    fixes yarnpkg#7126
    rally25rs committed Mar 27, 2019
    Copy the full SHA
    6e8a34d View commit details
    Browse the repository at this point in the history
  2. modify chagelog

    rally25rs committed Mar 27, 2019
    Copy the full SHA
    0cb74fc View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    15fcf12 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2019

  1. Copy the full SHA
    5382686 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    403e6b9 View commit details
    Browse the repository at this point in the history