Skip to content
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

Update npm package jquery-color #128

Closed
jfoclpf opened this issue Oct 22, 2018 · 8 comments
Closed

Update npm package jquery-color #128

jfoclpf opened this issue Oct 22, 2018 · 8 comments

Comments

@jfoclpf
Copy link

jfoclpf commented Oct 22, 2018

Could you kindly update your npm package jquery-color?

It still mentions v1.0.0 and it has a single npm dependency for an old version of jquery, namely jquery v1.7.4 which is deprecated.

Any reason why jquery-color doesn't work with the lastest version of jquery?

I suppose you just need to do

npm i jquery@">=1.11.0"
npm version <new version>
npm publish

Furthermore in said npm package the link to github gives 404 page not found, when it should redirect here.

@jfoclpf jfoclpf changed the title Update npm package jquer-color Update npm package jquery-color Oct 22, 2018
@jfoclpf
Copy link
Author

jfoclpf commented Oct 22, 2018

Not so much npm friendly :)
I tried though
npm install https://github.com/jquery/jquery-color but the target installation folder has only these files

$ ls node_modules/jquery-color/
AUTHORS.txt  LICENSE.txt  package.json  README.md

@mgol
Copy link
Member

mgol commented Oct 22, 2018

We will publish a final version of the package on npm when we're ready to release jQuery Color 3.0.0.

For now, you can install a beta:

npm install jquery-color@beta

Please report issues with this package if there are any that are not already reported.

@mgol
Copy link
Member

mgol commented Oct 22, 2018

Here you can see blockers for the 3.0.0 release: https://github.com/jquery/jquery-color/milestone/1

@mgol mgol closed this as completed Oct 22, 2018
@jfoclpf
Copy link
Author

jfoclpf commented Oct 23, 2018

Thank you very much. I indeed installed version beta and it is working as expected.
Just a question: do you know if it will be updated from beta to production version, when I update my npm packages through npm update or npm update jquery-color?

@mgol
Copy link
Member

mgol commented Oct 23, 2018

Yes, as far as I know it should update the package to the final version once it's released.

@oshihirii
Copy link

oshihirii commented Jun 26, 2019

Is this npm package the 'official' one?

The package's Github page is listed as:

https://github.com/znetstar/jquery-color

which returns a 404 error at the moment.

Also, can anyone provide simple install instructions for this package?

Is it just:

npm install jquery-color@beta

and then in your js file:

import jquery_color from 'jquery-color'; 

$(document).on("click", ".click_me", function() {  

    $(this).animate({
	backgroundColor: "#abcdef"
}, 1500 );    

});  

I was reading the front page of this repo (https://github.com/jquery/jquery-color) and it said grunt was required and i don't use grunt so was a bit confused as to how to install it.

Thank You.

Edit: Yep, those steps above worked for me!

@mgol
Copy link
Member

mgol commented Jun 26, 2019

@oshihirii See #128 (comment). The current stable version of the package was not published by us, the next stable version will be (once we get to it).

@mgol
Copy link
Member

mgol commented May 11, 2020

jQuery Color 2.2.0 has been released, it's also published to npm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants