New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependency order #1897
Comments
@bobmulder |
Seriously!? The decision to order the dependencies in alphabetical order breaks al lot of automated builds. If you want to order the dependencies do it right and take the dependencies own dependencies into account! Dependency management is not just dumping dependency names in alphabetical order. At least you could have given users a choice wether to use your auto-sorting or not. |
👍 for @tschilla. I think an option to enable auto-sort would be very helpfull. |
+1 An option to disable auto-sort would be very helpfull. I've been using Bower for a long time. The Issue #1381 should be optional. Suggestion: In addiction, this feature(auto-sort:false) would avoids conflicts in pull requests, the last line is my preference to add new packages, otherwise I have to deep through all the dependencies bellow the line added. |
👍 for this option. 👎 @arodiss developers have been controlling dependencies order and using wiredep to inject their dependencies in the same order as they are declared since ages. Forcing devs to use new libs or maintain a second array to manage the order is a regression. IMO this alphabetical order trend is a useless candy-eye sparkles. |
+1 This alphabetical auto-sorting caused a glitch that could have jeopardized our business if left unaddressed and it took us hours to discover this. There is not even an option to disable this. I believe it all started with this discussion. #1373 |
Fixed 9c52ec2 #1373 (comment) |
Auto-sorting is reverted in 1.5.3 |
👍 |
Hey guys,
I am using Bower (of course...). And use dependencies like jQuery, Bootstrap and AngularJS. However, some plugins of Angular need to be loaded AFTER jQuery.
I've sorted my dependencies in my
bower.json
, and I am using wiredep (gulp) to add them to myindex.html
. However, when I am loading a dependency, or update Bower, the whole order (I created myself) of dependencies is gone, and Bower did it on alphabetical order. In that case I am getting errors on myindex.html
because jQuery is loaded too late...How am I able to use my own order in my dependencies?
Greetz
Bob
The text was updated successfully, but these errors were encountered: