- Add github.ts to npm-client with functions to fetch GitHub stars - Add parseGitHubUrl to handle various GitHub URL formats - Update metrics sync endpoint to fetch and store GitHub stars - GitHub stars now factor into tool quality score calculation - Optional GITHUB_TOKEN env var for higher API rate limits Closes #8 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
28 lines
645 B
JSON
28 lines
645 B
JSON
{
|
|
"name": "@tpmjs/npm-client",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./changes": "./src/changes.ts",
|
|
"./search": "./src/search.ts",
|
|
"./package": "./src/package.ts",
|
|
"./stats": "./src/stats.ts",
|
|
"./github": "./src/github.ts",
|
|
"./rate-limiter": "./src/rate-limiter.ts"
|
|
},
|
|
"scripts": {
|
|
"type-check": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"zod": "^4.1.13"
|
|
},
|
|
"devDependencies": {
|
|
"@tpmjs/tsconfig": "workspace:*",
|
|
"@types/node": "^22.10.2",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|