Using private repos working with yarn caveat:
This works using npm
:
"common-js": "[email protected]:<user-name>/<repo-name>.git#<identifier>"
but will not work using yarn
. This change is required:
"common-js": "git+ssh://[email protected]:<user-name>/<repo-name>.git#<identifier>"
Example uses Bitbucket
, but github
is the same.
The ssh key is assumed to be saved on local machine