I have two different npm packages generated on my gitlab registry. I need to import both the packages in my new project. Both the project has different projectId. How can I configure this in my npmrc file?
I have done the below for one package:
@my-org:registry=https://gitlab.com/api/v4/projects/<projectId-1>/packages/npm/
//gitlab.com/api/v4/projects/<projectId-1>/packages/npm/:_authToken=<MyAuthToken>
how to add my second package which also available in the same registry @my-org
with diffrent projectId.
my package.json will have the imports like below:
@my-org/package-name-1: "1.0.1"
@my-org/package-name-2: "1.0.1"