unpkg - CDN for NPM
Gill, Avtar
agill at ocadu.ca
Tue Dec 12 15:43:24 UTC 2017
> From a command line you can run "npm show infusion versions”
The cli’s help option doesn’t list the ‘show’ subcommand. In case it becomes deprecated you can use ‘view’:
npm view infusion versions
> I don’t know if there is a way to see dev releases on https://www.npmjs.com/package/infusion
It doesn’t look that’s possible right now. I was searching for that feature a while ago and came across this issue:
https://github.com/npm/www/issues/250
Avtar
> On Dec 12, 2017, at 10:34 AM, Justin Obara <obara.justin at gmail.com> wrote:
>
> Hi Alan,
>
> Good question. From a command line you can run "npm show infusion versions” which will list all of the versions including the dev releases. From the link you sent for unpkg ( https://unpkg.com/infusion@2.0.0/dist/ ), you can select a dev release from the drop down at the top right corner. I don’t know if there is a way to see dev releases on https://www.npmjs.com/package/infusion
>
> Thanks
> Justin
>
>
> On December 12, 2017 at 10:27:36 AM, Harnum, Alan (aharnum at ocadu.ca) wrote:
>
>> In response to this, I am going to ask a question I don’t know the answer to but I feel that I should (I try and force myself to ask questions I feel this way about, and sometimes even succeed): if one wanted to see a list of all the dev builds available from NPM (the “public” one remains 2.0.0), how would one do this? ☺
>>
>>
>> From: Justin Obara <obara.justin at gmail.com>
>> Date: Tuesday, December 12, 2017 at 9:52 AM
>> To: Fluid Work <fluid-work at fluidproject.org>, "Harnum, Alan" <aharnum at ocadu.ca>
>> Subject: Re: unpkg - CDN for NPM
>>
>>
>> Hi Alan,
>>
>>
>> Thanks for sharing. This pretty awesome, especially for all of our dev builds.
>>
>>
>> Thanks
>>
>> Justin
>>
>>
>>
>> On December 12, 2017 at 8:45:54 AM, Harnum, Alan (aharnum at ocadu.ca) wrote:
>>
>> Came across this morning and looks useful – since we distribute a /dist directory with the NPM build of Infusion, this means it’s possible to pull any NPM-based version of Infusion or its assets from the CDN: https://unpkg.com/infusion@2.0.0/dist/
>>
>>
>> _______________________________________________________
>> fluid-work mailing list - fluid-work at lists.idrc.ocad.ca
>> To unsubscribe, change settings or access archives,
>> see https://lists.idrc.ocad.ca/mailman/listinfo/fluid-work
>>
> _______________________________________________________
> fluid-work mailing list - fluid-work at lists.idrc.ocad.ca
> To unsubscribe, change settings or access archives,
> see https://lists.idrc.ocad.ca/mailman/listinfo/fluid-work
More information about the fluid-work
mailing list