Skip to content
This repository has been archived by the owner on Sep 13, 2021. It is now read-only.
/ polyfills Public archive

cached per-useragent polyfills from polyfills.io

Notifications You must be signed in to change notification settings

datawrapper/polyfills

Repository files navigation

@datawrapper/polyfills CircleCI

Cached per-useragent polyfills from polyfills.io

Publishing & Deployment

All polyfills will get deployed to AWS S3 when pushing a version tag to Github and increasing the version number in package.json. This is done with the following commands:

# update version and create git tag
> npm version {major|minor|patch}
#push new version with tag to Github
> git push --follow-tags

These 2 commands will tell CircleCI to publish the new version to npm and deploy the polyfills to the Datawrapper CDN. By doing this with CircleCI the npm package and versions on AWS will always stay in sync.


There is no need to set up the aws CLI and deploy manually. It is still possible if needed! To manually deploy polyfills run make upload. Make sure the aws CLI is properly configured.