Have `npm install -g filesystem/path` run the same prepare / etc. pathway that `npm install -g git+...` does


(Anthony Sottile) #1

For full context, see npm install -g git+... vs `git clone ... && cd ... && npm install -g .`

The tl;dr acceptance criteria would be to make this:

git clone https://github.com/Jason3S/cspell
cd cspell
npm install -g .
cspell /dev/null

produce identical results as

npm install -g git+https://github.com/Jason3S/cspell
cspell /dev/null