refactor(web/server): consolidate GitHub utilities into single module (#436)

This commit is contained in:
Nelson Pires
2026-02-16 22:58:56 +02:00
committed by GitHub
parent 4fce1c9f9f
commit 58b27fa621
8 changed files with 89 additions and 19 deletions
+24
View File
@@ -0,0 +1,24 @@
export {
getGitHubAuth,
getGitHubAuthAccounts,
setGitHubAuth,
activateGitHubAuth,
clearGitHubAuth,
getGitHubClientId,
getGitHubScopes,
GITHUB_AUTH_FILE,
} from './auth.js';
export {
startDeviceFlow,
exchangeDeviceCode,
} from './device-flow.js';
export {
getOctokitOrNull,
} from './octokit.js';
export {
parseGitHubRemoteUrl,
resolveGitHubRepoFromDirectory,
} from './repo/index.js';