zkat / npx

execute npm package binaries (moved)
https://github.com/npm/npx
Other
2.63k stars 105 forks source link

Scoped packages, with "install" in the title, trigger "npm install" #224

Open assertchris opened 5 years ago

assertchris commented 5 years ago

Hey folks.

Firstly, thank you for your work. This tool is great!

Secondly, when I create a scoped package, with "install" in the title; running it through npx triggers npm install. Not sure why.

Steps to reproduce:

  1. Publish a scoped package, like @org/install
  2. Run that package through npx, like npx @org/install
screenshot 2019-02-13 at 14 32 53

Additional notes: I am running macOS 10.14.3, HyperTerm, and Oh My ZSH. Node is v11.9.0 (via Homebrew).