简体   繁体   English

什么是相当于 maven 的 artifactory 的节点存储库?

[英]What is the node repository equivalent of artifactory for maven?

We'd like to use Node on our build server but would prefer to archive modules in a repository.我们想在我们的构建服务器上使用 Node,但更喜欢在存储库中归档模块。 (As we do with maven and artifactory.) (就像我们对 maven 和 artifactory 所做的那样。)

My question is: What is the node repository equivalent of artifactory for maven?我的问题是: maven 与 artifactory 等效的节点存储库什么?

Artifactory also support hosting NPM repositories. Artifactory 还支持托管NPM存储库。 Artifactory support for npm provides:对 npm 的 Artifactory 支持提供:

  1. The ability to provision npm packages from Artifactory to the npm command line tool from all repository types能够从 Artifactory 向所有存储库类型的 npm 命令行工具提供 npm 包
  2. Calculation of Metadata for npm packages hosted in Artifactory's local repositories计算 Artifactory 本地存储库中托管的 npm 包的元数据
  3. Access to remote npm registries (such as https://registry.npmjs.org ) through Remote Repositories which provide the usual proxy and caching functionality通过提供常用代理和缓存功能的远程存储库访问远程 npm 注册表(例如https://registry.npmjs.org
  4. The ability to access multiple npm registries from a single URL by aggregating them under a Virtual Repository.通过将多个 npm 注册表聚合到虚拟存储库下,能够从单个 URL 访问多个 npm 注册表。 This overcomes the limitation of the npm client which can only access a single registry at a time.这克服了 npm 客户端一次只能访问一个注册表的限制。
  5. Compatibility with the npm command line tool to deploy and remove packages and more.与 npm 命令行工具兼容以部署和删除包等。
  6. Support for flexible npm repository layouts that allow you to organize your npm packages and assign access privileges according to projects or development teams.支持灵活的 npm 存储库布局,允许您根据项目或开发团队组织 npm 包并分配访问权限。

A good article at : https://blog.theodo.com/2016/01/speed-up-npm-install-with-a-nexus-proxy-to-cache-packages/一篇好文章: https : //blog.theodo.com/2016/01/speed-up-npm-install-with-a-nexus-proxy-to-cache-packages/

It mention the Nexus can do it.它提到Nexus可以做到。 There is a free and open source version of Nexus Repository at https://www.sonatype.com/download-oss-sonatype . https://www.sonatype.com/download-oss-sonatype有一个免费的开源版本的 Nexus Repository。 It can support Maven, NPM and many other repositories types.它可以支持 Maven、NPM 和许多其他存储库类型。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM