After setting up a remote repository for NPM and having successfully retrieved the dependencies via Artifactory, I saw that all NPM packages are stored with an intermediate dash '-' in their path, such as :
http://host:8081/artifactory/npm-remote-cache/abbrev/-/abbrev-1.0.7.tgz
It's also the same for the published version to a local npm repository. Both repositories are using the npm-default layout.
No big deal there, but does anyone know why is this dash here in the middle ?
Thanks in advance !
This is done in order to follow the layout used by the public NPM registry.
For example, in the case of the package you mentioned the public URL would be - http://registry.npmjs.org/abbrev/-/abbrev-1.0.7.tgz
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With