Bower
Bower is a package manager, similar to npm and composer, but seems to be more about client side stuff.
Registering and publishing a package on bower
This is particularly complicated if you are trying to fork an existing repository into a new Bower package.
- Create your Github repository.
- Run
bower register <your-package-name> git://github.com/username/repository.git
- Bower uses Git tags to register new versions, so you need to create a new tag in order to correctly register the component.
- Run
git tag -a v3.0.1
and thengit push --tags
to create and push the tags to Github. - You can now run
bower info <your-package-name>
to see the current version and tags available. - Or install it with
bower install --save-dev <your-package-name>
in another project.
For example, my first Bower component: