-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Manage all external libraries via Bower #1266
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
Conversation
Put each external library into its own directory. Move jquery.js to external.
I just remembered that we need to check jqueryui.com to make sure the demo copying properly replaces |
I haven't checked every single line change, but after reviewing the bower.json, Gruntfile.js and some demos and tests: Looks good to me. Need to update datepicker and other active branches after landing this, to apply the same changes. |
"jquery-2.0.2/MIT-LICENSE.txt": "jquery-2.0.2/MIT-LICENSE.txt", | ||
|
||
"jquery-2.0.3/jquery.js": "jquery-2.0.3/jquery.js", | ||
"jquery-2.0.3/MIT-LICENSE.txt": "jquery-2.0.3/MIT-LICENSE.txt" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This bowercopy thing is so repetitive. 😖
Why do we worry cherry-picking these files instead of using the plain/raw bower-fetched tree?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maintenance related... Ideally, when new jquery versions are released, one single place could be updated, eg. bower.json
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's not going to be possible. Different versions have files in different locations. Also, we want to keep our repos as small as possible.
Related bower issue: bower/bower#1359 |
According to bower/bower#1359, bower doesn't support (and it sounds that it won't) different versions of a package on dependencies vs. devDependencies. So, we either need to drop |
This doesn't really matter. We'll just use a different name for the |
grunt-bowercopy 1.1.0 now has an |
Great. I'll update this PR to handle that. |
This has been updated to address http://bugs.jqueryui.com/ticket/10110. |
Looks good. Tested the |
Put each external library into its own directory. Move jquery.js to external. Ref gh-1266
No description provided.