georgy / nexus-npm-repository-plugin

Sonatype Nexus OSS plugin for npm (https://www.npmjs.org) repository suport
25 stars 7 forks source link

NX-623: Support indirection URLs #13

Closed cstamas closed 9 years ago

cstamas commented 10 years ago

(the usefulness or need for this issue should be weighed by someone more in depth with NPM)

As per registry spec, version descriptor objects are not mandatory, and a URL where to find them is allowed too (see registry root description or Package Root Object's version field).

NX should aggregate these into one document (either before storing or on serving, it depends). Currently, this feature is not used by registry.npmjs.org, but it might be used in future (or dropped, as the "spec" is much more a "draft" really).

Links: http://wiki.commonjs.org/wiki/Packages/Registry#registry_root_url http://wiki.commonjs.org/wiki/Packages/Registry#Package_Root_Object

Issue https://issues.sonatype.org/browse/NX-623