Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGar <gar+gh@danger.computer>2022-08-10 20:39:17 +0300
committerGar <gar+gh@danger.computer>2022-08-11 17:28:47 +0300
commitb32be094b0048324a070717f2a819b7eee702a83 (patch)
treec68903d84954e1d23a440bed4086c0351189580c /.gitignore
parent9dc69830a5d78aa4042746d54e2a6b0d2af70caa (diff)
fix: don't prompt on `npm exec [directory]`gar/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.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions