npm

npm:lk/npx-local-bins-and-tests

Last commit made on 2022-11-13
Get this branch:
git clone -b lk/npx-local-bins-and-tests https://git.launchpad.net/npm

Branch merges

Branch information

Name:
lk/npx-local-bins-and-tests
Repository:
lp:npm

Recent commits

20eb746... by Luke Karrys <email address hidden>

chore(libnpmexec): refactor tests to use mock registry

501e738... by Luke Karrys <email address hidden>

fix(npx): link and run own bins directly when possible

This follows a similar approach to local and global bins that already
exist. This is achieved by linking a packages own bin script to
`node_modules/.bin` and the package within `node_modules/` similar to if
it had been installed with `--install-links=false`.

Then the linked bin is run and the symlinks are cleaned up immediately
after. This has the same effect as loading the current package into the
`npx` cache and running it, except it is quicker to not have to run any
Arborist commands.

2939744... by Luke Karrys <email address hidden>

chore: add option for strict mock registry

221ed4f... by Luke Karrys <email address hidden>

chore: @npmcli/template-oss@4.10.0

3794f03... by "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com>

chore: release 9.1.1

139bce1... by Luke Karrys <email address hidden>

chore: fix async realpath in smoke publish (#5836)

fd856d3... by Luke Karrys <email address hidden>

chore: dont run git commands when not in git repo

46b2728... by Luke Karrys <email address hidden>

chore: @npmcli/template-oss@4.9.0

a767aae... by Gar <email address hidden>

fix(npx): look for bins in local package.json

1b29306... by Luke Karrys <email address hidden>

chore: remove minify-registry-metadata