Skip to content
This repository has been archived by the owner on Jan 3, 2020. It is now read-only.

Maintain differences in routes as static files #1

Open
swinton opened this issue May 15, 2019 · 1 comment
Open

Maintain differences in routes as static files #1

swinton opened this issue May 15, 2019 · 1 comment
Assignees

Comments

@swinton
Copy link
Owner

swinton commented May 15, 2019

This will avoid having to load all routes from all GitHub.com and GitHub Enterprise Server versions, i.e. here:

const routesDotCom = require('@octokit/routes/routes/api.github.com')
const routesGHES216 = require('@octokit/routes/routes/ghe-2.16')
const routesGHES215 = require('@octokit/routes/routes/ghe-2.15')
const routesGHES214 = require('@octokit/routes/routes/ghe-2.14')

For inspiration: https://github.com/octokit/plugin-throttling.js/tree/master/scripts

@swinton swinton self-assigned this May 15, 2019
@swinton
Copy link
Owner Author

swinton commented May 15, 2019

This will be easier once octokit/routes#410 is ✅

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant