Is it possible to add group-level NPM package registries?

What are you seeing, and how does it differ from what you expect to see?

What version are you on? and are you using self-managed or gitlab.com?

  • GitLab 14

What troubleshooting steps have you already taken? Can you link to any docs or other resources so we know where you have been?

  • I’ve tried adding group-level npm registries with something like this:
$ npm config set @foo:registry https://gitlab.com/api/v4/groups/23/-/packages/npm/
$ npm config set -- '//https://gitlab.com/api/v4/groups/23/-/packages/npm/:_authToken' "****"

Unfortunately, the GitLab api doesn’t seem to support this configuration.

1 Like