Private bitbucket repository in package.json with version

  1. Login to your bitbucket account and under user settings add an app password:

    > https://bitbucket.org/account/user/{yourUsername}/app-passwords

  2. Add package dependency to your package.json as:

"dependencies": {
"my-module": "git+https://Xaqron:[email protected]/Xaqron/my-module.git#*"
}

Replace Xaqron with your own username and pwd with app password from step one.

to install specific version add #v.v.v (i.e. #1.0.0) to the end of dependency URL.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)