Skip to content

Commit 15600ba

Browse files
committed
use github api to find pull request for commit
throttle octokit requests
1 parent 09b536c commit 15600ba

16 files changed

Lines changed: 930 additions & 633 deletions

package.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@
2525
"changelog": "node ./bin/cli.js",
2626
"clean": "rimraf lib",
2727
"fix": "pnpm lint --fix",
28-
"lint": "eslint src --ext ts --format stylish",
28+
"lint": "pnpm run '/lint:.*/'",
29+
"lint:js": "eslint src --ext ts --format stylish",
30+
"lint:types": "tsc --noEmit",
2931
"prepare": "pnpm build",
3032
"prettier": "prettier --write 'src/**/*.ts'",
3133
"test": "vitest",
@@ -41,6 +43,8 @@
4143
},
4244
"dependencies": {
4345
"@manypkg/get-packages": "^2.2.0",
46+
"@octokit/plugin-throttling": "^9.4.0",
47+
"@octokit/rest": "^21.1.0",
4448
"chalk": "^4.0.0",
4549
"cli-highlight": "^2.1.11",
4650
"execa": "^5.0.0",
@@ -51,7 +55,10 @@
5155
"yargs": "^17.1.0"
5256
},
5357
"devDependencies": {
58+
"@types/fs-extra": "^11.0.4",
59+
"@types/hosted-git-info": "^3.0.5",
5460
"@types/node": "22.10.10",
61+
"@types/yargs": "^17.0.33",
5562
"@typescript-eslint/eslint-plugin": "5.62.0",
5663
"@typescript-eslint/parser": "5.62.0",
5764
"eslint": "8.55.0",
@@ -62,7 +69,7 @@
6269
"release-plan": "^0.11.0",
6370
"rimraf": "3.0.2",
6471
"typescript": "5.0.4",
65-
"vitest": "^3.0.4"
72+
"vitest": "^3.0.7"
6673
},
6774
"packageManager": "pnpm@10.4.1+sha512.c753b6c3ad7afa13af388fa6d808035a008e30ea9993f58c6663e2bc5ff21679aa834db094987129aa4d488b86df57f7b634981b2f827cdcacc698cc0cfb88af",
6875
"engines": {

0 commit comments

Comments
 (0)