mirror of
https://github.com/tiennm99/blog.git
synced 2026-10-11 03:13:10 +00:00
refactor(projects): build the projects list on the octokit SDK
Replace hand-rolled REST paging, GraphQL cursor loops and header plumbing with octokit, which also brings request retry and rate-limit backoff. Introduces the repo's first package.json, lockfile and ESLint flat config; the Hugo site build itself still needs no Node step. Output verified against the previous implementation: identical counts and rows apart from live star drift on four upstream repos.
This commit is contained in:
1 parent
f0b6b4904d
commit
a0de52c877
8 files changed
+1742
-91
No files matched your search
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "blog",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"description": "Tooling for miti99.com — the Hugo site itself needs no Node build step.",
|
||||
"type": "module",
|
||||
"engines": {
|
||||
"node": ">=24"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint .",
|
||||
"projects:refresh": "node .github/scripts/update-projects-list.mjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"octokit": "^5.0.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^10.0.1",
|
||||
"eslint": "^10.10.0"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user