How do use the same authentication for multiple registries in the same domain?

GitLab NPM Registry requires you to specify a project ID in the registry URL under your publishConfig in package.json.

To authenticate, the documentation instructs you to add the following to your .npmrc


This is fine for one project but what if I have dozens of packages I want to publish? Can I associate an authToken with an entire domain or base url? I tried the following without any luck:


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.