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: don't prompt on npm exec [directory] #5298

Merged
merged 1 commit into from Aug 17, 2022
Merged

Commits on Aug 11, 2022

  1. fix: don't prompt on npm exec [directory]

    Local directories have to be "installed" so that their bins are linked
    and set up and callable, the user shouldn't need to be prompted to do
    that.  Note that this does NOT affect anything passed via the
    `--package` param, because that may also contain non-directory specs so
    the existing behavior needs to be preserved.  This is a small QOL
    improvement for the isolated use case of "npm exec [directory]"
    
    This also updates the hashing method used to come up with the `.npx`
    directory to resolve the paths to packages first, so that `npm exec .`
    in different directories don't share the same `.npx` directory.
    wraithgar committed Aug 11, 2022
    Copy the full SHA
    b32be09 View commit details
    Browse the repository at this point in the history