PROPOSAL: add Infusion to cdnjs

Harnum, Alan aharnum at ocadu.ca
Wed Feb 1 19:05:39 UTC 2017


Hello,

I'm pleased to be able to report that Infusion 2.0.0 is now available through CDNJS: https://cdnjs.com/libraries/infusion – this is the same set of files currently produced for the /dist directory on NPM, plus minified versions.

As we push out other major versions, they should be automatically added to the CDN after the PR to add minified versions to the /dist files when publishing to NPM is in.

Here is a celebratory Infusion "Hello, World!" on JSFiddle sourcing Infusion from the CDN: https://jsfiddle.net/4gw34L8h/

Alan

From: fluid-work <fluid-work-bounces at lists.idrc.ocad.ca<mailto:fluid-work-bounces at lists.idrc.ocad.ca>> on behalf of Alan Harnum <aharnum at ocadu.ca<mailto:aharnum at ocadu.ca>>
Date: Wednesday, January 18, 2017 at 10:21 AM
To: "<fluid-work at fluidproject.org<mailto:fluid-work at fluidproject.org>>" <fluid-work at fluidproject.org<mailto:fluid-work at fluidproject.org>>
Subject: Re: PROPOSAL: add Infusion to cdnjs

Just to update the community on this, it’s been reviewed by the CDNJS maintainers and looks like it should be added to the CDN shortly (one reviewer has approved it, another needs to weigh in). The PR is at https://github.com/cdnjs/cdnjs/pull/10309

I’ve got a PR against Infusion (https://github.com/fluid-project/infusion/pull/801) that adds minified versions of the JS and CSS files to the /dist directory when running the NPM prepublish task. This will allow us to take full advantage of their autoupdate feature when pushing out new versions.

From: fluid-work <fluid-work-bounces at lists.idrc.ocad.ca<mailto:fluid-work-bounces at lists.idrc.ocad.ca>> on behalf of "Harnum, Alan" <aharnum at ocadu.ca<mailto:aharnum at ocadu.ca>>
Date: Friday, January 13, 2017 at 10:55 AM
To: "<fluid-work at fluidproject.org<mailto:fluid-work at fluidproject.org>>" <fluid-work at fluidproject.org<mailto:fluid-work at fluidproject.org>>
Subject: PROPOSAL: add Infusion to cdnjs

Now that our NPM package is publishing a /dist directory with a number of precompiled versions of Infusion, I would like to propose that we see about adding Infusion to the https://cdnjs.com/ content distribution network that provides free hosting of Javascript libraries and supporting assets. There are details of how to contribute libraries to cdnjs at https://github.com/cdnjs/cdnjs/blob/master/CONTRIBUTING-WIP.md and they don't seem too difficult.

I am specifically interested in this because it will make it easier to use https://jsfiddle.net/ and similar parts of the online code demonstration ecosystem to write small examples of using Infusion for tutorials, replicate bugs in an isolated, shareable way, and provide a familiar CDN-available version of the library to prospective users of Infusion.

I am willing to spend some time exploring this if no one from the community objects.

Alan

ALAN HARNUM
SENIOR INCLUSIVE DEVELOPER
INCLUSIVE DESIGN RESEARCH CENTRE, OCAD UNIVERSITY

E aharnum at ocadu.ca<mailto://aharnum@ocadu.ca>

OCAD UNIVERSITY
100 McCaul Street, Toronto, Canada, M5T 1W1
www.ocadu.ca<http://ocadu.ca/>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idrc.ocad.ca/pipermail/fluid-work/attachments/20170201/409d7f5e/attachment.html>


More information about the fluid-work mailing list