npm 包可以在 Nexus 存储库中具有组值吗?

Can a npm package have a group value in the Nexus repo?

NPM 包

我将 angular2 组件发布到 nexus npm repository。当我从 Nexus 控制台查看它时,我可以查看它。 npm 包可以有组吗?似乎在 nexus 控制台中有 3 个 npm 发布包的字段,名称,group,版本。

我正在使用 Nexus repository manager 3.2.1 pro

Nexus 3 docs 说:

The npm Group is equivalent to the component group, also sometimes referred to as scope by npm users.

npmjs Documentation 将作用域描述为可选:

All npm packages have a name. Some package names also have a scope.[...]When used in package names, scopes are preceded by an @ symbol and followed by a slash

所以大多数时候,在 Nexus 3 中浏览 NPM 存储库时,'Group' 列将是空白的。如果您要将 @angular/router 之类的范围包安装到您的 NPM 代理存储库中在 Nexus 3 中,Nexus 浏览组件 UI 将在组列中显示 'angular'。