Skip to content

Commit e835e2d

Browse files
authored
chore: use @mongodb-js/devtools-github-repo COMPASS-5218 (#2556)
1 parent 45700ff commit e835e2d

File tree

4 files changed

+20
-252
lines changed

4 files changed

+20
-252
lines changed

package-lock.json

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/hadron-build/commands/upload.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
const fs = require('fs');
99

1010
const { Octokit } = require('@octokit/rest');
11-
const { GithubRepo } = require('./../lib/github-repo');
11+
const { GithubRepo } = require('@mongodb-js/devtools-github-repo');
1212

1313
const cli = require('mongodb-js-cli')('hadron-build:upload');
1414
const abortIfError = cli.abortIfError.bind(cli);

packages/hadron-build/lib/github-repo.js

Lines changed: 0 additions & 250 deletions
This file was deleted.

packages/hadron-build/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@
1818
"url": "https://github.com/mongodb-js/compass.git"
1919
},
2020
"dependencies": {
21+
"@mongodb-js/devtools-github-repo": "^1.0.1",
2122
"@mongodb-js/electron-wix-msi": "^3.0.0",
2223
"@mongodb-js/mongodb-notary-service-client": "^1.4.0",
24+
"@octokit/rest": "^18.6.2",
2325
"asar": "^3.0.3",
2426
"async": "^3.2.0",
2527
"aws-sdk": "^2.611.0",
@@ -39,7 +41,6 @@
3941
"flatnest": "^1.0.0",
4042
"fs-extra": "^8.1.0",
4143
"getos": "^3.1.4",
42-
"@octokit/rest": "^18.6.2",
4344
"got": "^10.4.0",
4445
"in-publish": "^2.0.0",
4546
"js-yaml": "^3.13.1",

0 commit comments

Comments
 (0)