Configure throttle plugin and allow setting token on the action to increase rate limit

This commit is contained in:
Imran Ismail
2021-05-12 13:20:07 +08:00
parent b67a0e7e1b
commit 60d57572ce
14 changed files with 23344 additions and 15473 deletions

View File

@@ -9,8 +9,8 @@
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts",
"lint": "eslint src/**/*.ts",
"package": "ncc build --source-map",
"test": "jest -i",
"package": "ncc build --source-map --license licenses.txt",
"test": "jest",
"all": "npm run build && npm run format && npm run lint && npm run package && npm test"
},
"repository": {
@@ -26,26 +26,26 @@
"license": "MIT",
"dependencies": {
"@actions/core": "^1.2.6",
"@actions/github": "^4.0.0",
"@actions/io": "^1.0.2",
"@actions/tool-cache": "^1.3.3",
"@octokit/plugin-retry": "^3.0.6",
"@octokit/rest": "^18.0.6",
"@octokit/plugin-throttling": "^3.4.1",
"semver": "^7.3.2"
},
"devDependencies": {
"@types/jest": "^26.0.14",
"@types/node": "^14.11.8",
"@types/jest": "^26.0.15",
"@types/node": "^15.0.2",
"@types/semver": "^7.3.4",
"@typescript-eslint/parser": "^4.4.1",
"@zeit/ncc": "^0.22.3",
"eslint": "^7.10.0",
"eslint-plugin-github": "^4.0.1",
"eslint-plugin-jest": "^24.1.0",
"jest": "^24.9.0",
"jest-circus": "^26.5.3",
"js-yaml": "^3.13.1",
"prettier": "^2.1.2",
"ts-jest": "^24.2.0",
"typescript": "^4.0.3"
"@typescript-eslint/parser": "^4.8.1",
"@vercel/ncc": "^0.25.1",
"eslint": "^7.17.0",
"eslint-plugin-github": "^4.1.1",
"eslint-plugin-jest": "^24.1.3",
"jest": "^26.6.3",
"jest-circus": "^26.6.3",
"js-yaml": "^3.14.0",
"prettier": "2.2.1",
"ts-jest": "^26.4.4",
"typescript": "^4.1.3"
}
}