This repository was archived by the owner on Jul 27, 2020. It is now read-only.
v23.0.0
·
467 commits
to master
since this release
BREAKING CHANGES
Before, @octokit/routes would export a function which accepted an optional GitHub Enterprise version number
const ROUTES = require('@octokit/routes')() // api.github.com
const GHE_ROUTES = require('@octokit/routes')(2.17) // GitHub Enterprise v2.17Now, you can export the de-referenced files directly
const ROUTES = require('@octokit/routes/api.github.com.json')
const GHE_ROUTES = require('@octokit/routes/ghe-2.17.json')The de-referenced JSON files are attached to the GitHub releases, too