cdnjs / packages

📦 Package configurations - The #1 free and open source CDN built to make life easier for developers.
https://cdnjs.com
MIT License
360 stars 334 forks source link

Update: OpenLayers #1252

Open umer936 opened 1 year ago

umer936 commented 1 year ago

Library name

openlayers

Library JSON file

https://github.com/cdnjs/packages/blob/master/packages/o/openlayers.json

Library source

https://github.com/openlayers/openlayers

Files to include

Latest version on cdnjs is 6.4.2 Latest version available at https://github.com/openlayers/openlayers/ is 6.15.1

Certain packages ( GeoTIFF - ol/source/GeoTIFF ) are also missing

MattIPv4 commented 1 year ago

👀 The config for cdnjs here is an unbound globstar, so we should be matching every file that we can. You can see the file types that cdnjs supports here: https://api.cdnjs.com/whitelist

Looking at the logs for the library, it looks like we are slowly pulling in every version of the library, but with the very large number of dev releases there are (and how big the library itself is), this may take a while: https://github.com/cdnjs/logs/tree/prod/packages/o/openlayers

(cc @xtuc @tc80 I wonder if this is another +1 for having a way to ignore versions like we used to have with the old bot, and support for wildcards in that, so we could ignore all dev versions here?)

umer936 commented 1 year ago

I did notice the unbound globstar on the json. That makes sense then.

Only looking for the releases or tags and ignoring all the -dev and -beta versions seems more logical and easier.