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
[WIP] Replace bower dependencies with npm packages #107
[WIP] Replace bower dependencies with npm packages #107
Conversation
Hey @leobalter @gnarf @mgol I'm having a lot of problems to implement this PR. "devDependencies": {
"jquery-1.5.0": "http://code.jquery.com/jquery-1.5.js", ...doesn't work. "devDependencies": {
"jquery-1.5.0": "git+https://github.com/jquery/jquery#1.5.0", ...doesn't work too :/ BTW: I'm using |
I think one viable solution is to create a What do you think? |
maybe you should copy these files from http://code.jquery.com |
Since we keep those files in the repository anyway, I think a good solution would be to create a task that would get a jQuery version (
Once such a task exist, we could invoke it when we need a new version to be added. If we felt really ambitious we could even check for all versions newer than the newest ones on https://unpkg.com and download all the missing major/minor updates in their latest patch version, removing older patch releases (so e.g. 3.0.0 & 3.1.1 are fine but 3.1.0 should be removed). We could then remove the whole Bower setup & the bowercopy task. |
I'll proceed with @mgol solution (creating a node script to do it) 👍 |
unpkg is a CDN sharing npm packages and jQuery has been published to npm only since 1.11/2.1. The old versions are already there, though, the script will download future versions which will all be on npm so this shouldn't be a problem. |
@raphamorim will you have time to finish the PR? |
Yeah, sorry for delaying it. I'll see it til next friday :) |
|
@leobalter, @mgol. But in the end, we'll exchange a download script for another download script. |
I'd remove I think this PR would be worth to finish to get rid of the deprecated bower, though that's true that we'll have to maintain the download script ourselves then. What do you think? |
Yeah, make sense to me. |
In favor of what? |
Sorry, I expressed myself badly haha
|
Ref: #93