How do I use multiple npm registries in Yarn?

前端 未结 3 1362
北荒
北荒 2021-02-01 17:41

I\'m trying to setup Yarn 0.17.9 in our environment but I have a problem with our registry. We are currently using two registries, official npmjs and our own registry on interna

3条回答
  •  不思量自难忘°
    2021-02-01 17:51

    You can make a .yarnrc file in the root of the project and write this line in that file:

    registry "https://registry.npmjs.org/"
    

    This will act as a project specific repository.

提交回复
热议问题