How to override global yarn registry for particular project

后端 未结 2 806
甜味超标
甜味超标 2021-02-03 11:28

For most projects I pull packages from the internal server, so it\'s been added by

yarn config set registry http://custom-packages-server.com

But no

2条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-03 12:00

    It is also possible to temporarily override the registry for one yarn command, without having to modify a file:

    yarn --registry=https://registry.company.com/
    

提交回复
热议问题