Sinon: Add auto-update script to CDNJS

Created on 28 Jun 2017  路  5Comments  路  Source: sinonjs/sinon

CDNJS is the biggest open source CDN out there, and is used by many. The latest Sinon version is three years old. It would be nice if they kept up to date with us, which is why they support auto-updates from NPM.

Having someone implement this would be much appreciated.

Easy Help wanted

Most helpful comment

@jsdelivrbot npm sinon

All 5 comments

And of course there is always Unpkg, which we might reference in our docs: https://unpkg.com/[email protected]/pkg/sinon.js

@jsdelivrbot npm sinon

Browse the CDN files https://cdn.jsdelivr.net/npm/sinon/

Load the main file https://cdn.jsdelivr.net/npm/[email protected]
_Make sure you configure the default file correctly. You can use "jsdelivr" or "cdn" in package.json to set the correct CDN file._

Version aliasing to latest major release https://cdn.jsdelivr.net/npm/sinon@2

Add .min. to files to auto-minify.

--
Full documentation

I made PR to cdnjs repo - https://github.com/cdnjs/cdnjs/pull/11613

About to get fixed, as mentioned.

Was this page helpful?
0 / 5 - 0 ratings