Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thescientist13/npm-query-registry-only-deps-rfc-demo
Test bench repo for npm RRFC issue #593
https://github.com/thescientist13/npm-query-registry-only-deps-rfc-demo
npm
Last synced: 7 days ago
JSON representation
Test bench repo for npm RRFC issue #593
- Host: GitHub
- URL: https://github.com/thescientist13/npm-query-registry-only-deps-rfc-demo
- Owner: thescientist13
- Created: 2022-07-17T18:42:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-31T16:55:48.000Z (over 2 years ago)
- Last Synced: 2024-10-29T03:41:50.189Z (about 2 months ago)
- Topics: npm
- Homepage: https://github.com/npm/rfcs/pull/593
- Size: 33.2 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# npm-query-registry-only-deps-rfc-demo
## Overview
Test repo for npm [RFC for Registry Only Deps](https://github.com/npm/rfcs/pull/593/) and testing with a locally linked version of npm with [`npm query`](https://github.com/npm/cli/pull/5000) command.
> `npm query` [RFC for reference](https://github.com/npm/rfcs/pull/564/).
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.
```json
{
"...": "",
"dependencies": {
"@babel/cli": "^7.4.0",
"eslint": "git+https://github.com/eslint/eslint.git"
}
}
```## Testing
1. Clone the [npm CLI repo](https://github.com/npm/cli/) and [follow these steps](https://github.com/npm/cli/blob/latest/CONTRIBUTING.md#development) to get it running locally
1. Run `npm . link`
1. Clone [this repo](https://github.com/thescientist13/npm-query-tarball-test) and run `npm ci`You should now be able to run the `query` command in this repo, e.g.
```sh
$ npm query ":root > *"
```