Work in Progress
- node 0.10.x
$ npm install -g libgrabber
# 'libgrabber' will be in $PATH
$ mkdir libgrabber && cd libgrabber
$ npm install libgrabber
# Run it by executing 'node ./node_modules/libgrabber/bin/libgrabber.js'
- Properly configured git account (user.name, user.email, ssh key with empty ssh passphrase)
- Forked jsdelivr repo
- Upstream set to jsdelivr repo
$ git remote add upstream git@github.com:jsdelivr/jsdelivr.git
{
"github-access-token": "<secret>",
"pull-request-repo": "https://github.com/jsdelivr/jsdelivr",
"origin-repo": "<forked-repo-https-endpoint>",
"mention-repo-owner": false,
"papertrail-url": "<optional>",
"papertrail-hostname": "<optional>"
}
# --jsdelivr-path <path to the cloned forked repo>
# --config <path to the above mention config file>
$ libgrabber --jsdelivr-path jsdelivr/ --config jsdelivr/libgrabber.config.json
When your SemVer is updated on the master branch, libgrabber will automatically update your package on jsDelivr.