This repository contains various tools that we use to help with the process of maintaining cdnjs.
DEBUG
: pass true to run in debug modeBOT_BASE_PATH
: cdnjs homeSENTRY_DSN
sentry data source name (DSN)WORKERS_KV_FILES_NAMESPACE_ID
workers kv namespace ID for filesWORKERS_KV_SRIS_NAMESPACE_ID
workers kv namespace ID for file SRIsWORKERS_KV_VERSIONS_NAMESPACE_ID
workers kv namespace ID containing metadata for versionsWORKERS_KV_PACKAGES_NAMESPACE_ID
workers kv namespace ID containing metadata for packagesWORKERS_KV_AGGREGATED_METADATA_NAMESPACE_ID
workers kv namespace ID containing aggregated metadata for packagesWORKERS_KV_ACCOUNT_ID
workers kv account IDWORKERS_KV_API_TOKEN
workers kv api token
In tools/
run npm install
.
$ make dev
$ autoupdate -no-pull -package=h/hi-sven.json
$ ls /cdnjs/cdnjs/ajax/libs/hi-sven
Each library hosted on cdnjs is released under its own license. This cdnjs repository is published under MIT license.