Test repo for npm RFC for Registry Only Deps and testing with a locally linked version of npm with npm query
command.
npm query
RFC for reference.
It comes pre-installed with these dependencies, so that query
can be tested in order to come up with an appropriate API and recommendation for the RFC.
{
"...": "",
"dependencies": {
"@babel/cli": "^7.4.0",
"eslint": "git+https://github.com/eslint/eslint.git"
}
}
- Clone the npm CLI repo and follow these steps to get it running locally
- Run
npm . link
- Clone this repo and run
npm ci
You should now be able to run the query
command in this repo, e.g.
$ npm query ":root > *"