Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
259 views
in Technique[技术] by (71.8m points)

node.js - How to configure multiple private registries in a single node application

I want to add two modules from different npm registry.

For example

There is a package named @my-company/package-1 from https://npm.my-company.com and another one named @my-company/package-2 from https://npm.pkg.github.com/.

First repo is using username, password, email for authentication and second one using authToken for authentication

How to configure this in `.npmrc' file


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...