npm-release | Making releasing to npm so easy a kitten | Build Tool library
kandi X-RAY | npm-release Summary
kandi X-RAY | npm-release Summary
Making releasing to npm so easy a kitten could probably do it
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of npm-release
npm-release Key Features
npm-release Examples and Code Snippets
Community Discussions
Trending Discussions on npm-release
QUESTION
When i have setup npm repository at enterprise JFrog then following 5 npm repositories have been created:
...ANSWER
Answered 2020-Mar-29 at 14:45npm-local npm-release local npm-generic-local are all local repositories from my understanding. You can publish and download packages from local repositories in Artifactory.
However, npm-central is a remote repository that is pointing to npmjs.com. Remote repositories allows you proxying an upstream (in this case npmjs) but they won't allow you publishing new packages to it.
You want to be able to both publish and resolve (i.e. download) packages from a single repository and this is where virtual repositories come into play.
Virtual repositories allow you aggregating one or more local, remote and even virtual repositories in a single repository and by that, allowing you access to all of your packages in all of the aforementioned repositories. It will allow you both downloading and publishing of packages.
Therefore, I suggest creating a virtual repository > aggregate npm-local and npm-central for example (you can add all of the remote and local repositories you have added) > specify the Default Deployment Repository which is the local repository in which published packages will be stored in (i.e. when you use the 'npm publish' command) > update your .npmrc file (don't forget to do 'npm login' to the new virtual repository).
This way, you will have a single (virtual) repository allowing you downloading packages from npmjs (and the packages in your local repositories) and publishing packages to the local repository you selected.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install npm-release
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page