Skip to content

Commit 9a81c81

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

20 files changed

+904
-1004
lines changed

package.json

+9-3
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,17 +43,21 @@
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",
4751
"hosted-git-info": "^4.0.0",
48-
"make-fetch-happen": "^9.0.0",
4952
"p-map": "^3.0.0",
5053
"progress": "^2.0.0",
5154
"yargs": "^17.1.0"
5255
},
5356
"devDependencies": {
57+
"@types/fs-extra": "^11.0.4",
58+
"@types/hosted-git-info": "^3.0.5",
5459
"@types/node": "22.10.10",
60+
"@types/yargs": "^17.0.33",
5561
"@typescript-eslint/eslint-plugin": "5.62.0",
5662
"@typescript-eslint/parser": "5.62.0",
5763
"eslint": "8.55.0",
@@ -62,7 +68,7 @@
6268
"release-plan": "^0.11.0",
6369
"rimraf": "3.0.2",
6470
"typescript": "5.0.4",
65-
"vitest": "^3.0.4"
71+
"vitest": "^3.0.7"
6672
},
6773
"packageManager": "pnpm@10.4.1+sha512.c753b6c3ad7afa13af388fa6d808035a008e30ea9993f58c6663e2bc5ff21679aa834db094987129aa4d488b86df57f7b634981b2f827cdcacc698cc0cfb88af",
6874
"engines": {

0 commit comments

Comments
 (0)