Skip to content

Shortcut for adding bitbucket repositories using yarn

Notifications You must be signed in to change notification settings

sharingapples/yarnbb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yarnbb

A simple utility for installing dependencies from bitbucket repo.

npm has somewhat easier syntax for installing from bitbucket repo like

$ npm install --save bitbucket:<user>/<package.git>#<tag>

Since I prefered using yarn, the url was a bit complicated.

$ yarn add git+ssh://bit@bitbucket.org/user/package.git#tag

I kept forgetting the syntax. So instead I wrote this simple shell script to install packages from bitbucket using the following syntax

$ yarnbb <username/organization> <package> <tag> --dev

Example:

$ yarnbb syaau private-repo v1.0.0

Installation

$ npm install -g yarnbb
or
$ yarn global add yarnbb

About

Shortcut for adding bitbucket repositories using yarn

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages