Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nexus 3 do not support npm dist-tags commands

My question is related to this nexus 3 reported issue. Nexus 3 doesn't support npm distags and no fix is announced.

We are working with nexus 2 in production and we publish our npm packages using npm dist-tags via Shippable builds pipeline.

We have multiple streams of development and we use tags to represent each of them (alpha -> rc -> master) and this is combined with npm versioning. This allows us to provide an alias instead of version numbers in the build scripts.

For example, to publish a package we use this :

npm publish module1 --tag=alpha

And then during dependecy install :

npm install module1@alpha

It works perfectly with nexus 2, after an upgrade to nexus 3 it doesn't work (can not pull a package using a specific tag : npm install module1@alpha.)

This is mandatory for us to migrate our npm registry to Nexus 3.

Does anyone have a good alternative that can do the same job on nexus 3 ?

Does nexus propose a workaround or a new feature that can be used instead ?

Will this issue be fixed one day ?

Thanks for help.

like image 496
jmuhire Avatar asked Nov 07 '22 11:11

jmuhire


1 Answers

It looks like this has finally been fixed (September 2019) and is available in Nexus version 3.19.

  • link to issue
  • link to fixes in version Nexus 3.19
like image 128
magikMaker Avatar answered Nov 14 '22 22:11

magikMaker