geddski / overmind

Easy module isolation and lazy loading for Angular apps
Other
505 stars 24 forks source link

Create bower package #8

Open yamalight opened 10 years ago

yamalight commented 10 years ago

Would be nice to be able to just do bower install angular-overmind instead of having to copy git url

geddski commented 10 years ago

Agreed. Does bower have a way now to only download the single src file?

yamalight commented 10 years ago

Not as far as I know. There are two types of packages (and two approaches) on bower I am aware of:

  1. Just publish all repo with proper link to main file in bower.json (e.g. lodash)
  2. Create a separate repo (usually named bower-PROJECT) and just publish the source files (e.g. angular) First way is easier and the only problem there is basically that people will have to pull all of the things you have in repo (including tests which isn't a bad thing IMO). Second way is trickier for you as a developer, since you'll have to manage a second repo and releases there manually.
geddski commented 10 years ago

@yamalight option 1 sounds better, with a bower.json file. You want to take this?

yamalight commented 10 years ago

alright, expect a pull request soon-ish :)