bower-register

how to properly register a github fork with Bower

别说谁变了你拦得住时间么 提交于 2019-12-20 09:48:12
问题 A while back I had to use a jQuery plugin in my project. I needed some different functionality, so I rewrote the plugin and a few days back I published a fork on github. I wanted to add the package to the bower repository. The forked repository I added a bower.json file to the repository and registered the package with the usual "bower register" command. The problem is, when I try to install my package, bower installs the original script and not the fork. What I already tried: At first I

How to register a local git package in Bower?

回眸只為那壹抹淺笑 提交于 2019-12-17 10:16:00
问题 How can I register a local git package in bower? My current component.json is as follows { "name": "myproject", "version": "1.0.0", "dependencies": { "jquery": "1.8.0", "twitter/bootstrap": "2.1.1" } } However I also would like to add a package I have created at C:/mypackage which is a git repository with versions tagged. When I do bower install --save C:/mypackage it properly adds it to project but it doesn't add it to my component.json. I am trying bower register mypackage C:/mypackage but

how to properly register a github fork with Bower

痴心易碎 提交于 2019-12-02 19:11:26
A while back I had to use a jQuery plugin in my project. I needed some different functionality, so I rewrote the plugin and a few days back I published a fork on github. I wanted to add the package to the bower repository. The forked repository I added a bower.json file to the repository and registered the package with the usual "bower register" command. The problem is, when I try to install my package, bower installs the original script and not the fork. What I already tried: At first I thought it's because I didn't make a release, so I fixed that part. But It didn't help. I also tried to

How to register a local git package in Bower?

别等时光非礼了梦想. 提交于 2019-11-27 10:47:07
How can I register a local git package in bower? My current component.json is as follows { "name": "myproject", "version": "1.0.0", "dependencies": { "jquery": "1.8.0", "twitter/bootstrap": "2.1.1" } } However I also would like to add a package I have created at C:/mypackage which is a git repository with versions tagged. When I do bower install --save C:/mypackage it properly adds it to project but it doesn't add it to my component.json. I am trying bower register mypackage C:/mypackage but it keeps giving me bower error Incorrect format What am I doing wrong? el2iot2 Option 1: Public Bower