How can I define authentication for multiple GitLab NPM Registries?

If I have dozens of npm packages to publish, each of them being a project in GitLab. Do I really need to specify the below line in my npmrc for each projectID?


I tried specifying


Without any luck. I would love to push for our team to start using GitLab instead of Artifactory, but it doesn’t appear to be as easily manageable as simply running npm config/login.