Here are a few ways to set our npm mirror.
npm config set registry https://repos.refinery.dev/repository/npm/
All packages will be pulled via our Mirror.
Or if you want to pull from multiple sources you should use scoping like this;
In the below example we scope the private package to your private repo while setting a default registry pointing to the mirror.
npm config set @myorg:registry https://privatenpm.com/
npm config set registry https://repos.refinery.dev/repository/npm/
package.json
"dependencies": { "@myorg/amazingApp": "^1.3.0"}
To install via the cli you can do this.
npm install express --registry https://repos.refinery.dev/repository/npm/
If you have any questions on need support let us know.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article