A generic jspm registry for Git Repositories.
jspm-git is based on Guy Bedford's github registry for jspm.
The most recent release of jspm-git is always compatible to the most recent release of jspm. For different jspm releases please have a look on the Jspm Compatibility Wiki to find a compatible jspm-git release.
For all [email protected] users, please use the beta version of jspm-git.
npm install jspm-git@betaInstall the registry globally or locally within your project:
# Global installation
npm install -g jspm-git
# OR local installation
npm install jspm-git --save-dev
jspm registry create mygit jspm-gitWhere mygit will be the name of your new git registry.
jspm registry config mygitWhere mygit is the name of your existing registry which you want to configure.
Please have a look on the Auto-configuring Registries documentation of jspm.
Exemplary usage of jspm-git to install a jspm package from a git server located at ssh://[email protected]/
# Exemplary registry configuration of mygit
# baseurl: ssh://[email protected]/
jspm install mygit:projname/reponamejspm-git will then try to install the package located at
ssh://[email protected]/projname/reponame.git
These combinations of jspm and jspm-git are valid
- global jspm + global jspm-git
- local jspm + local jspm-git
These combinations of jspm and jspm-git are invalid
- global jspm + local jspm-git
- local jspm + global jspm-git
Registry configurations for popular Git hosting services
jspm registry create bitbucket jspm-git
# baseurl: https://bitbucket.org/
jspm install bitbucket:accountname/reponameIf you want to avoid rate limits please use the base URL ssh://[email protected]/ instead.
Please note that you've to upload your public key to your Bitbucket account or otherwise Bitbucket will refuse the sshconnection. For more details please see official Bitbucket manual Set up SSH for Git
Please use the official github registry that comes along with the jspm-cli
You can find your jspm-git registry configuration in the following locations
- Linux Systems
~/.jspm/config file - Windows
%LOCALAPPDATA%/.jspm/config