From d61b650fc6355908defb2a6a8ff11183ac423db4 Mon Sep 17 00:00:00 2001 From: Jose Celano Date: Fri, 26 Jun 2026 19:42:02 +0100 Subject: [PATCH 1/2] chore(deps): update npm dependencies from Dependabot PRs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated the following devDependencies: - @sveltejs/kit: ^2.66.0 → ^2.67.0 - @types/node: ^25.6.0 → ^26.0.0 - @typescript-eslint/eslint-plugin: ^8.61.1 → ^8.62.0 - @typescript-eslint/parser: ^8.61.1 → ^8.62.0 - globals: ^17.5.0 → ^17.7.0 - typescript-eslint: ^8.61.1 → ^8.62.0 Closes dependabot PRs #223, #224, #225, #226, #227 --- package-lock.json | 160 +++++++++++++++++++++++----------------------- package.json | 12 ++-- 2 files changed, 86 insertions(+), 86 deletions(-) diff --git a/package-lock.json b/package-lock.json index b089c11..6e3345c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,18 +28,18 @@ "@melt-ui/pp": "^0.3.2", "@melt-ui/svelte": "^0.86.6", "@sveltejs/adapter-static": "^3.0.10", - "@sveltejs/kit": "^2.66.0", + "@sveltejs/kit": "^2.67.0", "@sveltejs/vite-plugin-svelte": "^7.0.0", "@types/dateformat": "^5.0.3", - "@types/node": "^25.6.0", + "@types/node": "^26.0.0", "@types/prismjs": "^1.26.6", - "@typescript-eslint/eslint-plugin": "^8.61.1", - "@typescript-eslint/parser": "^8.61.1", + "@typescript-eslint/eslint-plugin": "^8.62.0", + "@typescript-eslint/parser": "^8.62.0", "eslint": "^10.2.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-prettier": "^5.5.6", "eslint-plugin-svelte": "^3.17.0", - "globals": "^17.5.0", + "globals": "^17.7.0", "mdsvex": "^0.12.7", "prettier": "^3.8.2", "prettier-plugin-svelte": "^4.1.1", @@ -55,7 +55,7 @@ "tailwindcss": "^4.2.2", "tsx": "^4.21.0", "typescript": "^6.0.2", - "typescript-eslint": "^8.61.1", + "typescript-eslint": "^8.62.0", "vite": "^8.0.8", "vite-plugin-imagemin": "^0.6.1" }, @@ -1693,9 +1693,9 @@ } }, "node_modules/@sveltejs/kit": { - "version": "2.66.0", - "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-2.66.0.tgz", - "integrity": "sha512-7nN4Ur4+nofZ36DVo83JbRe02m61Vc+I441mML/DYa1pUTZ/x26+lbrdqPen8gjmsUc6flMtHEqAtn0UfmfvAw==", + "version": "2.67.0", + "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-2.67.0.tgz", + "integrity": "sha512-JXHbsDwRes1Wgyof3q5ApzzpbCWvinKXMQCiV67TFO6xlZPYLoK0fq3xQMqSicDMgCtFGqLkrQXkseOcASdZ8A==", "dev": true, "license": "MIT", "dependencies": { @@ -2216,13 +2216,13 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "25.9.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-25.9.3.tgz", - "integrity": "sha512-603BddQMv3pUcr4U2dhujk83N2tTDVr/34wII2B6bJy6g+8WD6yUb11jszNs0gdi4PesVWl7ABt8nYMVpnLUcg==", + "version": "26.0.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-26.0.0.tgz", + "integrity": "sha512-vf2YFi1iY9lHGwNJMs01biZFbKJkrZR1T6/MlzjhJLPdntOHLhTrDSnSVcdtvjihi4VQNlrFRIxLsDBlQpAipA==", "devOptional": true, "license": "MIT", "dependencies": { - "undici-types": ">=7.24.0 <7.24.7" + "undici-types": "~8.3.0" } }, "node_modules/@types/prismjs": { @@ -2255,17 +2255,17 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.61.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.61.1.tgz", - "integrity": "sha512-ZPlVl3PB3et/59Ne0fv/sci6ZXz4T4Hp4nTJ56i/Y0gR89ARb+KphojTq6j+56E5PIezmOIOOWyY+aWQFd+IkQ==", + "version": "8.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.62.0.tgz", + "integrity": "sha512-o+mpz7EYiMzXoySXiKmzlabIvTVqUuK5yLrAedRPRDA0IpPFMUV1IXt6OqljIxX/kumN6EjUYp41Hqelh6p/Dw==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.12.2", - "@typescript-eslint/scope-manager": "8.61.1", - "@typescript-eslint/type-utils": "8.61.1", - "@typescript-eslint/utils": "8.61.1", - "@typescript-eslint/visitor-keys": "8.61.1", + "@typescript-eslint/scope-manager": "8.62.0", + "@typescript-eslint/type-utils": "8.62.0", + "@typescript-eslint/utils": "8.62.0", + "@typescript-eslint/visitor-keys": "8.62.0", "ignore": "^7.0.5", "natural-compare": "^1.4.0", "ts-api-utils": "^2.5.0" @@ -2278,22 +2278,22 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.61.1", + "@typescript-eslint/parser": "^8.62.0", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "node_modules/@typescript-eslint/parser": { - "version": "8.61.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.61.1.tgz", - "integrity": "sha512-PJ5vePq5/ognBbrIcoC5+SHO5dfpeLPzP9FpLkzWrguoYQEeeSjlJpVwOpo1JRSTEi7dRcwNy4h4dzV70PqHcg==", + "version": "8.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.62.0.tgz", + "integrity": "sha512-dzHeT2gySzZtLDsuqxU9AkYgIsQoHAHtRBpOqM+Ofzx1Bwrd2RcCjQJ+6iQbsHOIR6NS33bF2W1k3blN1zLDrA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.61.1", - "@typescript-eslint/types": "8.61.1", - "@typescript-eslint/typescript-estree": "8.61.1", - "@typescript-eslint/visitor-keys": "8.61.1", + "@typescript-eslint/scope-manager": "8.62.0", + "@typescript-eslint/types": "8.62.0", + "@typescript-eslint/typescript-estree": "8.62.0", + "@typescript-eslint/visitor-keys": "8.62.0", "debug": "^4.4.3" }, "engines": { @@ -2309,14 +2309,14 @@ } }, "node_modules/@typescript-eslint/project-service": { - "version": "8.61.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.61.1.tgz", - "integrity": "sha512-PrC4JYGmR241lYnfhmKGTXkFqv8+ymbTFgSAY0fVXpY82/QkMw5TZPl+vGzuDDU2QYJk9fIDOBTntF+yDv9LEA==", + "version": "8.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.62.0.tgz", + "integrity": "sha512-wexnCqiTg7BOGtbLDftYpRWlmLq4xfoMd7BKFR6Y75sZS3QmRKLdN3yWLhmIYgqMmP/OXWpj3H8odkb5nGURCQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.61.1", - "@typescript-eslint/types": "^8.61.1", + "@typescript-eslint/tsconfig-utils": "^8.62.0", + "@typescript-eslint/types": "^8.62.0", "debug": "^4.4.3" }, "engines": { @@ -2331,14 +2331,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.61.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.61.1.tgz", - "integrity": "sha512-L2bdIeoQS8FlKAvONAr20w6OcLXeB+qiDKbAooS9A0Ben+iSIkBef0FxqwKWYqt5sa0i4KJtxVyVmhMylKzF5w==", + "version": "8.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.62.0.tgz", + "integrity": "sha512-1lX38kNxXIRb8mEc3lbq5mdHq1Pf2+U0nFU65KfT18mtPxxl0fvjuEE92mHuXPuCtElJhOrddOpyMlM3Z0umEA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.61.1", - "@typescript-eslint/visitor-keys": "8.61.1" + "@typescript-eslint/types": "8.62.0", + "@typescript-eslint/visitor-keys": "8.62.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2349,9 +2349,9 @@ } }, "node_modules/@typescript-eslint/tsconfig-utils": { - "version": "8.61.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.61.1.tgz", - "integrity": "sha512-UN/H4di+OO7EWx2ovME+8t31YO+KVnK0RRKEHR3kOt21/Ay8BOq3M1OMvWs5vNiqcFCYGYoxK3MXPZzmMUE+yg==", + "version": "8.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.62.0.tgz", + "integrity": "sha512-y2GAdB6ykaXUvuspbYnizQc4oDDz0Tz/Yc7iWrXf9mx8vm/L/0vLHCe0tS2boG96Zy+DivnVDQ9ZUEWoHqqx1g==", "dev": true, "license": "MIT", "engines": { @@ -2366,15 +2366,15 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.61.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.61.1.tgz", - "integrity": "sha512-GYRicKmVK0C4fsKgaACaknOUAq9Oa2kwsjnpFhFcS/5p4Ht5IP9OVLbgIgcK4SRk92nVHFluurg1lumD9dBcLw==", + "version": "8.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.62.0.tgz", + "integrity": "sha512-+g5O3j0w2ldzC86Pv6fvbO/xhAonbJFIdf/MKQ1d30gndlsVzUOE83ldfSE15Qrl9fhFjK6AovHs5Wpp6vx86w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.61.1", - "@typescript-eslint/typescript-estree": "8.61.1", - "@typescript-eslint/utils": "8.61.1", + "@typescript-eslint/types": "8.62.0", + "@typescript-eslint/typescript-estree": "8.62.0", + "@typescript-eslint/utils": "8.62.0", "debug": "^4.4.3", "ts-api-utils": "^2.5.0" }, @@ -2391,9 +2391,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.61.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.61.1.tgz", - "integrity": "sha512-G+CRlPqLv7Bz1IZVs03x5K59F1veqL0EJUROAdGhKsEq8qOiRiZbI+HUojPq5l0fEGOKModD9br6lObhB8zkoA==", + "version": "8.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.62.0.tgz", + "integrity": "sha512-KvAclkktORPvM54TgLgA4z9HIV1M8zOgw9ZVNXl9f/8dLYfXYX1wkMXP7qmabpijQRV5bHJLOmoyGQbLMaUYeg==", "devOptional": true, "license": "MIT", "engines": { @@ -2405,16 +2405,16 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.61.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.61.1.tgz", - "integrity": "sha512-u+oQD3BqYWPc8YV9Zab4vaJElJuwOLPRc10Jm1o/qS+6Qwen14HCWwx0Seo4LnSn2wxea2Ik8DxPt2/FHmuhrg==", + "version": "8.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.62.0.tgz", + "integrity": "sha512-+hVbNxtW64pIcZWDPGbyaKF7vp2IBTVY5ma1blwwksrjdsbdqqEKvJWMGbBofei4F6Dovx1M0RJgoFeNu2279A==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.61.1", - "@typescript-eslint/tsconfig-utils": "8.61.1", - "@typescript-eslint/types": "8.61.1", - "@typescript-eslint/visitor-keys": "8.61.1", + "@typescript-eslint/project-service": "8.62.0", + "@typescript-eslint/tsconfig-utils": "8.62.0", + "@typescript-eslint/types": "8.62.0", + "@typescript-eslint/visitor-keys": "8.62.0", "debug": "^4.4.3", "minimatch": "^10.2.2", "semver": "^7.7.3", @@ -2433,16 +2433,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.61.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.61.1.tgz", - "integrity": "sha512-1+P/3Dj6jvtybE1q0HQ6yBt/gq+oKJyLdEv4HdnqasaEXRSYCAsD59mXEVQnM/ULNdQxbX77tdG4jPRjIS6knA==", + "version": "8.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.62.0.tgz", + "integrity": "sha512-82r66fi9zYwZ+mTq3vKgwjbZ1PVk/DJzrXFLpG6RnBbdvH8TEGVHIs9H4d2drhkOzf0syZuD/OZvvlu6GDbP4g==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", - "@typescript-eslint/scope-manager": "8.61.1", - "@typescript-eslint/types": "8.61.1", - "@typescript-eslint/typescript-estree": "8.61.1" + "@typescript-eslint/scope-manager": "8.62.0", + "@typescript-eslint/types": "8.62.0", + "@typescript-eslint/typescript-estree": "8.62.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2457,13 +2457,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.61.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.61.1.tgz", - "integrity": "sha512-6fJ9MHWtK14C1DSkiMlHUSOmrVebL7150xZJBlJiL62jjhIA4JmOq6flwBgDxIdBKKdoiZRel+dfPD5MLfny3w==", + "version": "8.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.62.0.tgz", + "integrity": "sha512-CY3uyFSRbcQv3nnSv8S0+lDftMVz6P963PoRlxrV7ew/Md564g9ut60PYzdLM5qW4jFn93GBF+Soi90ISAN+GQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.61.1", + "@typescript-eslint/types": "8.62.0", "eslint-visitor-keys": "^5.0.0" }, "engines": { @@ -5770,9 +5770,9 @@ } }, "node_modules/globals": { - "version": "17.6.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-17.6.0.tgz", - "integrity": "sha512-sepffkT8stwnIYbsMBpoCHJuJM5l98FUF2AnE07hfvE0m/qp3R586hw4jF4uadbhvg1ooIdzuu7CsfD2jzCaNA==", + "version": "17.7.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-17.7.0.tgz", + "integrity": "sha512-Czmyns5dUsq4seFBR/Kdydhmo8y9kC79hiSkPn0YcGtNnYWnrgt0vjrSjx9tspoDGWm2CMarffRuLjM4xUz8xg==", "dev": true, "license": "MIT", "engines": { @@ -10791,16 +10791,16 @@ } }, "node_modules/typescript-eslint": { - "version": "8.61.1", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.61.1.tgz", - "integrity": "sha512-V7PayAfJokV3pEHgN7/v03D1SpujhRfQtYLbLIiBfDDncdg4PAiRBfoS4cnCANK4jmAPncczi59QO3afiXUlNw==", + "version": "8.62.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.62.0.tgz", + "integrity": "sha512-8QxXi+ZACKX0kaqO4gY8kn0RSD9gFfaHDWwjqtEN48aWCBkX4MJaufWN+c3BzlrXLOxfywDL8CaoqUwcRq4j4Q==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/eslint-plugin": "8.61.1", - "@typescript-eslint/parser": "8.61.1", - "@typescript-eslint/typescript-estree": "8.61.1", - "@typescript-eslint/utils": "8.61.1" + "@typescript-eslint/eslint-plugin": "8.62.0", + "@typescript-eslint/parser": "8.62.0", + "@typescript-eslint/typescript-estree": "8.62.0", + "@typescript-eslint/utils": "8.62.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -10826,9 +10826,9 @@ } }, "node_modules/undici-types": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.24.6.tgz", - "integrity": "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.3.0.tgz", + "integrity": "sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ==", "devOptional": true, "license": "MIT" }, diff --git a/package.json b/package.json index 39734a7..55f527a 100644 --- a/package.json +++ b/package.json @@ -24,18 +24,18 @@ "@melt-ui/pp": "^0.3.2", "@melt-ui/svelte": "^0.86.6", "@sveltejs/adapter-static": "^3.0.10", - "@sveltejs/kit": "^2.66.0", + "@sveltejs/kit": "^2.67.0", "@sveltejs/vite-plugin-svelte": "^7.0.0", "@types/dateformat": "^5.0.3", - "@types/node": "^25.6.0", + "@types/node": "^26.0.0", "@types/prismjs": "^1.26.6", - "@typescript-eslint/eslint-plugin": "^8.61.1", - "@typescript-eslint/parser": "^8.61.1", + "@typescript-eslint/eslint-plugin": "^8.62.0", + "@typescript-eslint/parser": "^8.62.0", "eslint": "^10.2.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-prettier": "^5.5.6", "eslint-plugin-svelte": "^3.17.0", - "globals": "^17.5.0", + "globals": "^17.7.0", "mdsvex": "^0.12.7", "prettier": "^3.8.2", "prettier-plugin-svelte": "^4.1.1", @@ -51,7 +51,7 @@ "tailwindcss": "^4.2.2", "tsx": "^4.21.0", "typescript": "^6.0.2", - "typescript-eslint": "^8.61.1", + "typescript-eslint": "^8.62.0", "vite": "^8.0.8", "vite-plugin-imagemin": "^0.6.1" }, From 4741716859b230cd5f2bce9e885a8fc69681185d Mon Sep 17 00:00:00 2001 From: Jose Celano Date: Fri, 26 Jun 2026 21:18:54 +0100 Subject: [PATCH 2/2] chore: update contributors list and address review feedback MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Rename html_url field to login in defaultContributorsList (was storing a username, not a URL — misleading field name) - Update the update script to output login instead of html_url - Update Contributors.svelte fallback render to use contributor.login - Bump engines.node from >=20.19.0 to >=26.0.0 to match @types/node v26 - Document fork/archive filtering in the update-contributors skill --- .github/skills/update-contributors/SKILL.md | 7 +- package.json | 2 +- scripts/updateContributors.ts | 11 +- .../components/organisms/Contributors.svelte | 4 +- src/lib/constants/constants.ts | 244 +++++------------- 5 files changed, 83 insertions(+), 185 deletions(-) diff --git a/.github/skills/update-contributors/SKILL.md b/.github/skills/update-contributors/SKILL.md index 1ee6372..88ec06c 100644 --- a/.github/skills/update-contributors/SKILL.md +++ b/.github/skills/update-contributors/SKILL.md @@ -45,9 +45,10 @@ npm run update-contributors ### 3. What the script does 1. Fetches all repositories from the Torrust GitHub organization -2. Fetches contributors from each repository -3. Deduplicates contributors by username -4. Updates `defaultContributorsList` in `src/lib/constants/constants.ts` +2. **Filters out forked and archived repositories** — forks include upstream contributors from projects Torrust doesn't own (e.g. `cargo-chef`, `grcov`), and archived repos are no longer active +3. Fetches contributors from each remaining repository (using the GitHub `/contributors` endpoint, which returns users who have authored at least one commit) +4. Deduplicates contributors by username +5. Updates `defaultContributorsList` in `src/lib/constants/constants.ts` ### 4. Verify and commit diff --git a/package.json b/package.json index 55f527a..2a520da 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "type": "module", "engines": { - "node": ">=20.19.0" + "node": ">=26.0.0" }, "scripts": { "dev": "vite dev", diff --git a/scripts/updateContributors.ts b/scripts/updateContributors.ts index 7a497b3..14b9be4 100644 --- a/scripts/updateContributors.ts +++ b/scripts/updateContributors.ts @@ -13,6 +13,8 @@ type Contributor = { type Repo = { name: string; + fork: boolean; + archived: boolean; }; async function fetchWithAuth(url: string): Promise { @@ -47,9 +49,12 @@ async function fetchRepos(): Promise { } const repos: Repo[] = await response.json(); - console.log(`✓ Found ${repos.length} repositories`); + const filteredRepos = repos.filter((repo) => !repo.fork && !repo.archived); + console.log( + `✓ Found ${repos.length} repositories (${filteredRepos.length} after excluding forks and archived)` + ); - return repos.map((repo) => repo.name); + return filteredRepos.map((repo) => repo.name); } async function fetchContributorsForRepo(repoName: string): Promise { @@ -157,7 +162,7 @@ function updateConstantsFile(contributors: Contributor[]): void { // Format contributors list const contributorEntries = contributors - .map((c) => `\t{\n\t\thtml_url: '${c.login}',\n\t\tavatar_url: '${c.avatar_url}'\n\t}`) + .map((c) => `\t{\n\t\tlogin: '${c.login}',\n\t\tavatar_url: '${c.avatar_url}'\n\t}`) .join(',\n'); const newList = `export const defaultContributorsList = [\n${contributorEntries}\n];`; diff --git a/src/lib/components/organisms/Contributors.svelte b/src/lib/components/organisms/Contributors.svelte index 5b1c4fe..7848986 100644 --- a/src/lib/components/organisms/Contributors.svelte +++ b/src/lib/components/organisms/Contributors.svelte @@ -19,9 +19,9 @@ {#each defaultContributorsList as contributor}
contributor diff --git a/src/lib/constants/constants.ts b/src/lib/constants/constants.ts index 934e731..ff836fd 100644 --- a/src/lib/constants/constants.ts +++ b/src/lib/constants/constants.ts @@ -709,279 +709,171 @@ export const aboutTableData = [ export const defaultContributorsList = [ { - html_url: 'mickvandijke', - avatar_url: 'https://avatars.githubusercontent.com/u/12992260?v=4' - }, - { - html_url: 'Aimless321', - avatar_url: 'https://avatars.githubusercontent.com/u/6079485?v=4' - }, - { - html_url: 'da2ce7', - avatar_url: 'https://avatars.githubusercontent.com/u/691439?v=4' - }, - { - html_url: 'josecelano', + login: 'josecelano', avatar_url: 'https://avatars.githubusercontent.com/u/58816?v=4' }, { - html_url: 'jamiew0w', - avatar_url: 'https://avatars.githubusercontent.com/u/8589138?v=4' + login: 'da2ce7', + avatar_url: 'https://avatars.githubusercontent.com/u/691439?v=4' }, { - html_url: 'GGLinnk', - avatar_url: 'https://avatars.githubusercontent.com/u/22531645?v=4' + login: 'mickvandijke', + avatar_url: 'https://avatars.githubusercontent.com/u/12992260?v=4' }, { - html_url: 'naim94a', + login: 'naim94a', avatar_url: 'https://avatars.githubusercontent.com/u/227396?v=4' }, { - html_url: 'Power2All', + login: 'Power2All', avatar_url: 'https://avatars.githubusercontent.com/u/2010549?v=4' }, { - html_url: 'dependabot[bot]', + login: 'dependabot[bot]', avatar_url: 'https://avatars.githubusercontent.com/in/29110?v=4' }, { - html_url: 'mario-nt', + login: 'mario-nt', avatar_url: 'https://avatars.githubusercontent.com/u/141633147?v=4' }, { - html_url: 'hungfnt', + login: 'hungfnt', avatar_url: 'https://avatars.githubusercontent.com/u/167511750?v=4' }, { - html_url: 'alexohneander', + login: 'alexohneander', avatar_url: 'https://avatars.githubusercontent.com/u/1469954?v=4' }, { - html_url: 'pataquets', + login: 'pataquets', avatar_url: 'https://avatars.githubusercontent.com/u/1286254?v=4' }, { - html_url: 'nuts-rice', + login: 'nuts-rice', avatar_url: 'https://avatars.githubusercontent.com/u/5147364?v=4' }, { - html_url: 'Binlogo', + login: 'GGLinnk', + avatar_url: 'https://avatars.githubusercontent.com/u/22531645?v=4' + }, + { + login: 'Aimless321', + avatar_url: 'https://avatars.githubusercontent.com/u/6079485?v=4' + }, + { + login: 'mvanhorn', + avatar_url: 'https://avatars.githubusercontent.com/u/455140?v=4' + }, + { + login: 'Binlogo', avatar_url: 'https://avatars.githubusercontent.com/u/7845507?v=4' }, { - html_url: 'si14', + login: 'si14', avatar_url: 'https://avatars.githubusercontent.com/u/316910?v=4' }, { - html_url: 'makefu', + login: 'makefu', avatar_url: 'https://avatars.githubusercontent.com/u/115218?v=4' }, { - html_url: 'eltociear', + login: 'eltociear', avatar_url: 'https://avatars.githubusercontent.com/u/22633385?v=4' }, { - html_url: 'ShrirangB', + login: 'ShrirangB', avatar_url: 'https://avatars.githubusercontent.com/u/68811459?v=4' }, { - html_url: 'victorb', + login: 'victorb', avatar_url: 'https://avatars.githubusercontent.com/u/459764?v=4' }, { - html_url: 'abstralexis', + login: 'abstralexis', avatar_url: 'https://avatars.githubusercontent.com/u/107479436?v=4' }, { - html_url: 'ftsimas', + login: 'ftsimas', avatar_url: 'https://avatars.githubusercontent.com/u/47324723?v=4' }, { - html_url: 'Zorlin', - avatar_url: 'https://avatars.githubusercontent.com/u/1369772?v=4' + login: 'naoNao89', + avatar_url: 'https://avatars.githubusercontent.com/u/90588855?v=4' }, { - html_url: 'cgbosse', + login: 'cgbosse', avatar_url: 'https://avatars.githubusercontent.com/u/15330600?v=4' }, { - html_url: 'anujkumardarji', + login: 'anujkumardarji', avatar_url: 'https://avatars.githubusercontent.com/u/45550546?v=4' }, { - html_url: 'Wolfremium13', + login: 'Wolfremium13', avatar_url: 'https://avatars.githubusercontent.com/u/64548160?v=4' }, { - html_url: 'danielroe', - avatar_url: 'https://avatars.githubusercontent.com/u/28706372?v=4' - }, - { - html_url: 'grmbyrn', - avatar_url: 'https://avatars.githubusercontent.com/u/95353365?v=4' - }, - { - html_url: 'pcarles', - avatar_url: 'https://avatars.githubusercontent.com/u/51314945?v=4' - }, - { - html_url: 'postmeback', - avatar_url: 'https://avatars.githubusercontent.com/u/14862687?v=4' - }, - { - html_url: 'Douile', - avatar_url: 'https://avatars.githubusercontent.com/u/25043847?v=4' - }, - { - html_url: 'hugues31', - avatar_url: 'https://avatars.githubusercontent.com/u/19244704?v=4' - }, - { - html_url: 'kent-williams', - avatar_url: 'https://avatars.githubusercontent.com/u/479648?v=4' + login: 'Zorlin', + avatar_url: 'https://avatars.githubusercontent.com/u/1369772?v=4' }, { - html_url: 'suhlig', - avatar_url: 'https://avatars.githubusercontent.com/u/80507?v=4' + login: 'danielroe', + avatar_url: 'https://avatars.githubusercontent.com/u/28706372?v=4' }, { - html_url: 'tecknicaltom', - avatar_url: 'https://avatars.githubusercontent.com/u/310024?v=4' + login: 'grmbyrn', + avatar_url: 'https://avatars.githubusercontent.com/u/95353365?v=4' }, { - html_url: 'ihaiker', - avatar_url: 'https://avatars.githubusercontent.com/u/6601465?v=4' + login: 'peer-cat', + avatar_url: 'https://avatars.githubusercontent.com/u/275475989?v=4' }, { - html_url: 'rimathia', - avatar_url: 'https://avatars.githubusercontent.com/u/7736877?v=4' + login: 'pcarles', + avatar_url: 'https://avatars.githubusercontent.com/u/51314945?v=4' }, { - html_url: 'matfantinel', - avatar_url: 'https://avatars.githubusercontent.com/u/24247035?v=4' + login: 'postmeback', + avatar_url: 'https://avatars.githubusercontent.com/u/14862687?v=4' }, { - html_url: 'nafumal', + login: 'nafumal', avatar_url: 'https://avatars.githubusercontent.com/u/167825698?v=4' }, { - html_url: 'GGist', - avatar_url: 'https://avatars.githubusercontent.com/u/5248583?v=4' - }, - { - html_url: 'hauleth', - avatar_url: 'https://avatars.githubusercontent.com/u/291639?v=4' - }, - { - html_url: 'reeFridge', - avatar_url: 'https://avatars.githubusercontent.com/u/12645379?v=4' - }, - { - html_url: 'astro', + login: 'astro', avatar_url: 'https://avatars.githubusercontent.com/u/12923?v=4' }, { - html_url: 'derekhendrickx', - avatar_url: 'https://avatars.githubusercontent.com/u/1218149?v=4' - }, - { - html_url: 'morrme', - avatar_url: 'https://avatars.githubusercontent.com/u/26514778?v=4' - }, - { - html_url: 'chpio', - avatar_url: 'https://avatars.githubusercontent.com/u/545659?v=4' - }, - { - html_url: 'toby', - avatar_url: 'https://avatars.githubusercontent.com/u/83556?v=4' - }, - { - html_url: 'madadam', - avatar_url: 'https://avatars.githubusercontent.com/u/5271?v=4' - }, - { - html_url: 'adamhammes', - avatar_url: 'https://avatars.githubusercontent.com/u/5597274?v=4' - }, - { - html_url: 'casey', - avatar_url: 'https://avatars.githubusercontent.com/u/1945?v=4' - }, - { - html_url: 'nrempel', - avatar_url: 'https://avatars.githubusercontent.com/u/540048?v=4' - }, - { - html_url: 'thequux', - avatar_url: 'https://avatars.githubusercontent.com/u/5264?v=4' - }, - { - html_url: 'letFunny', - avatar_url: 'https://avatars.githubusercontent.com/u/24965409?v=4' - }, - { - html_url: 'dependabot-preview[bot]', - avatar_url: 'https://avatars.githubusercontent.com/in/2141?v=4' - }, - { - html_url: 'svartalf', - avatar_url: 'https://avatars.githubusercontent.com/u/1279564?v=4' - }, - { - html_url: 'alekitto', - avatar_url: 'https://avatars.githubusercontent.com/u/1257206?v=4' - }, - { - html_url: 'prateekkumarweb', - avatar_url: 'https://avatars.githubusercontent.com/u/15064671?v=4' - }, - { - html_url: 'benbrandt', - avatar_url: 'https://avatars.githubusercontent.com/u/2111074?v=4' - }, - { - html_url: 'rye', - avatar_url: 'https://avatars.githubusercontent.com/u/1566689?v=4' - }, - { - html_url: 'Luni-4', - avatar_url: 'https://avatars.githubusercontent.com/u/12353765?v=4' - }, - { - html_url: 'qryxip', - avatar_url: 'https://avatars.githubusercontent.com/u/14125495?v=4' - }, - { - html_url: 'stepankuzmin', - avatar_url: 'https://avatars.githubusercontent.com/u/533564?v=4' + login: 'MarcelCoding', + avatar_url: 'https://avatars.githubusercontent.com/u/34819524?v=4' }, { - html_url: 'ubnt-intrepid', - avatar_url: 'https://avatars.githubusercontent.com/u/7354350?v=4' + login: 'magecnion', + avatar_url: 'https://avatars.githubusercontent.com/u/5495235?v=4' }, { - html_url: 'sharksforarms', - avatar_url: 'https://avatars.githubusercontent.com/u/10912917?v=4' + login: 'matfantinel', + avatar_url: 'https://avatars.githubusercontent.com/u/24247035?v=4' }, { - html_url: 'MarcelCoding', - avatar_url: 'https://avatars.githubusercontent.com/u/34819524?v=4' + login: 'TGlide', + avatar_url: 'https://avatars.githubusercontent.com/u/26071571?v=4' }, { - html_url: 'magecnion', - avatar_url: 'https://avatars.githubusercontent.com/u/5495235?v=4' + login: 'jviall', + avatar_url: 'https://avatars.githubusercontent.com/u/6645999?v=4' }, { - html_url: 'TGlide', - avatar_url: 'https://avatars.githubusercontent.com/u/26071571?v=4' + login: 'Copilot', + avatar_url: 'https://avatars.githubusercontent.com/in/1143301?v=4' }, { - html_url: 'jviall', - avatar_url: 'https://avatars.githubusercontent.com/u/6645999?v=4' + login: 'snyk-bot', + avatar_url: 'https://avatars.githubusercontent.com/u/19733683?v=4' }, { - html_url: 'Copilot', - avatar_url: 'https://avatars.githubusercontent.com/in/1143301?v=4' + login: 'josecelano-bot', + avatar_url: 'https://avatars.githubusercontent.com/u/93766613?v=4' } ];