realcrowd / angularjs-utilities

Hopefully useful directives, providers, filters, etc for AngularJS
Other
199 stars 50 forks source link

Add bower support #1

Closed ctjhoa closed 10 years ago

ctjhoa commented 11 years ago

Hi, can you add the bower support to redistribute your code more easily and add versioning ?

Thanks

CyborgMaster commented 11 years ago

I love this idea! It address everything that is lacking in angular form validation. I too would like to see bower support so I can easily include your code without having to manually update the library. I vote for taking the form validation code and making it its own repo and adding bower support for that. That way I can include only that library without getting the other utilities you have designed.

anorborg commented 11 years ago

I'll put this on the roadmap. I haven't worked with bower before, but am happy to look into it if it helps in the usability of the utilities. I'll also attempt to make their inclusion modular.

CyborgMaster commented 11 years ago

Awesome, thanks! Bower is pretty simple. You simply have to include a bower.json file specifying what your main js files are.

adamrights commented 11 years ago

'npm install -g bower' Go to the repo/project root for each top level module. 'bower init' Answer questions like name. Got address. Versioning etc and it'll generate a bower.json file... The registry is open so you just register them and then anyone can bower install rcYourModule and it's downloaded and saved as a dependency (by default to bower_components) but you can use the .bowerrc to set a different directory.

adamrights commented 11 years ago

Git*

mtrias commented 10 years ago

anyone found an alternative to this project? It seems not to be maintained so i'm not confident enough to use it in my projects.

I'm considering a fork to add bower support, but thought that maybe theres something else out there...

anorborg commented 10 years ago

@mtrias . Apologies for not getting to your pull request. I have been working on a new version of the library with new features including bower support and haven't been able to review your pull request. I will get to that by the weekend and get bower support in. I'll also see if I can setup a release branch as well. Again sorry for this stagnant period, but we are still committed to this project.

mtrias commented 10 years ago

cool! I look forward for that release then. i might be able to help a bit if needed.

Thanks!

anorborg commented 10 years ago

Bower support has now been added and the package is registered. @mtrias , as I do not use bower myself, if you could verify that its functioning, I would greatly appreciate it. Thanks.

mtrias commented 10 years ago

Great! it is working indeed. But i'd suggest to change the angular requirement specification from 1.0.8 to 1.* if your code works for angular 1.2 too.

anorborg commented 10 years ago

Thanks for the tip! All done.

mtrias commented 10 years ago

thank you!