jwaliszko / ExpressiveAnnotations

Annotation-based conditional validation library.
MIT License
351 stars 123 forks source link

Add bower.json to support Bower #124

Closed antonrademaker closed 6 years ago

antonrademaker commented 8 years ago

As the client side validation depends on some scripts, it should be nice to have install from Bower (http://bower.io/docs/creating-packages/)

ruant commented 7 years ago

PR: https://github.com/jwaliszko/ExpressiveAnnotations/pull/132

jwaliszko commented 7 years ago

@ruant, @antonrademaker : I have a question related to version numbers of bower.json.

Since this package contains expressive.annotations.validate.js script only (as opposite to MVC NuGet package, which in fact contains all 3 components - the script and 2 DLLs), shouldn't it reflect the version of the script file alone (currently it would be 2.6.8, instead the version of the entire product, i.e. 2.9.1)?

Do you have any recommendations (pros/cons) regarding versioning in such a case?

jwaliszko commented 7 years ago

@ruant, @antonrademaker: mabye you'd like to propose something - https://github.com/bower/bower/issues/2367

jwaliszko commented 6 years ago

Closing, because Bower does not support mono repositories (at least for now). Separate distribution repository for the script component is something I prefer not to maintain, sorry.