rmm5t / jquery-timeago

:clock8: The original jQuery plugin that makes it easy to support automatically updating fuzzy timestamps (e.g. "4 minutes ago").
http://timeago.yarp.com
MIT License
3.82k stars 710 forks source link

Publish i18n files on cdnjs #325

Closed tholu closed 6 years ago

tholu commented 6 years ago

Can you publish the i18n files also on cdnjs? https://cdnjs.com/libraries/jquery-timeago

rmm5t commented 6 years ago

This isn't something that I maintain or have the ability to directly publish. Your best bet is to submit a pull-request to https://github.com/cdnjs/cdnjs

https://github.com/cdnjs/cdnjs/blob/master/CONTRIBUTING.md

tholu commented 6 years ago

Ok then no problem, I did this before for other projects.

rmm5t commented 6 years ago

Cool. Thanks for understanding. I don't like to participate in distribution systems like that unless they provide a way for me to automate the publishing of new versions (either via something like npm publish or via something like a file in my repository that they sniff for).

tholu commented 6 years ago

It seems they already publish new versions automatically: https://github.com/cdnjs/cdnjs/commits/master/ajax/libs/jquery-timeago (note the commits by PeterBot)

This is configured here: https://github.com/cdnjs/cdnjs/blob/master/ajax/libs/jquery-timeago/package.json

The only thing TODO seems to be adding the locale files to the autoupdate.fileMap.files.

rmm5t commented 6 years ago

Cool. Once you get a pull-request submitted over there, point me to it, and I’ll give you a :+1: to help move it along.

tholu commented 6 years ago

Related issue (and PR) is here: https://github.com/cdnjs/cdnjs/issues/12242

Contributing to cdnjs has got a lot more complicated since I did this last time (40.000 commits earlier), and I'm not sure if I did this right. Let's see 😄