Advanced npm Virtual Repository Configuration

JFrog Artifactory Documentation

JFrog Artifactory
Content Type
User Guide
npm Virtual Repository Advanced Config.jpg

The fields under External Dependency Rewrite are connected to automatically rewriting external dependencies for npm packages that require them.



Enable Dependency Rewrite

When selected, external dependencies are rewritten.

Remote Repository For Cache

The remote repository aggregated by this virtual repository in which the external dependency will be cached.

Patterns Allow List

An Allow List of Ant-style path expressions that specify where external dependencies may be downloaded from. By default, this is set to ** which means that dependencies may be downloaded from any external source.

For example, if you wish to limit external dependencies to only be downloaded, you should add****(and remove the default**expression).