Skip to content
This repository has been archived by the owner on Jul 6, 2019. It is now read-only.

---no-install also when the package exists #228

Open
ghost opened this issue Mar 15, 2019 · 0 comments
Open

---no-install also when the package exists #228

ghost opened this issue Mar 15, 2019 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 15, 2019

The description for the flag --no-install says: Skip installation if a package is missing.

How about skipping installation even if the package exists (And maybe bind that behaviour to another flag)? When you run npx <some-package> the NPM registry will always be queried for a newer release. When you repeatedly execute CLI commands you don't want to do that.

It'd be much nicer to say: npx --no-install <some-package> than node_modules/.bin/<some-package> or even $HOME/.node_modules/.bin/<some-package> (You can run npx anywhere, regardless if there's node_modules in your cwd or not).

Also see #214

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants