Closed kynan closed 10 years ago
Not familiar with bower configs yet. Can this be tested without merging?
Yep: bower install https://github.com/kynan/angular-dynamic-forms.git#bower
OK, I'll merge this as soon as I'm able.
While I'm at it, though, are there other common package managers for JS libs?
bower is the de-facto standard. There used to be component.io, but that has been abandoned in favor of bower.
K, cool. Should have it merged in the next hour or two. Really wish it was easier to do on mobile. :-)
What's the registration process?
Registration is really straightforward: bower register <name> <url>
Oh, neat. Integrated into the CLI. Normally work with PHP, so I'm a bit behind the curve on these nifty kinds of things. Didn't get to merging this as quickly as I'd thought, but I'll comment again in here when I have. I'll also want to bump the version number when I do.
Huh. There's another angular-dynamic-forms out there, and they beat me to bower. Well, I've been thinking of changing the name anyway, so maybe now's as good a time as any to start. This project is registered in bower as angular-dynforms
. I'll be adding a note to that effect in the README, but I won't change the repo name for a while, until it's reasonable to expect that others have figured out the bower name, then I'll re-register it under the new name. (Unless others would recommend otherwise, of course.)
Hrm. Should I add Angular as a dependency, or not?
There are different views on this: if you require a particular Angular version, probably yes. If not, I wouldn't because you might not want to use bower to manage Angular but instead e.g. load it from CDN. Others would argue that Angular is clearly a dependency and hence should be listed.
Just the feedback I needed. I'll leave it out, since I don't depend on a specific version (everything I've tested from 1.0.8 up works fine), and tend to use a CDN for major libraries like Angular and jQuery myself.
Allows installing the component via bower (once registered).