contributor list: update script name, change a comment

This commit is contained in:
Adorian Doran
2026-04-19 18:33:35 +03:00
parent 5921d1f1a6
commit c4d832eebc
3 changed files with 3 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
{
"": "Auto-generated file. Run `pnpm run list-contributors` to regenerate.",
"": "Auto-generated file. Run `pnpm run update-contributors` to regenerate.",
"contributors": [
{
"name": "eliandoran",
@@ -23,15 +23,6 @@
"fullName": "Jon Fuller",
"url": "https://github.com/perfectra1n"
},
{
"name": "pano9000",
"fullName": "Panagiotis Papadopoulos",
"url": "https://github.com/pano9000"
},
{
"name": "SiriusXT",
"url": "https://github.com/SiriusXT"
},
{
"name": "JYC333",
"url": "https://github.com/JYC333"

View File

@@ -43,7 +43,7 @@
"dev:linter-fix": "cross-env NODE_OPTIONS=--max_old_space_size=4096 eslint . --fix",
"postinstall": "tsx scripts/electron-rebuild.mts && pnpm prepare",
"prepare": "pnpm run --filter pdfjs-viewer --filter share-theme build && pnpm run --filter web-clipper postinstall",
"list-contributors": "tsx ./scripts/list-contributors.ts"
"update-contributors": "tsx ./scripts/update-contributors.ts"
},
"private": true,
"devDependencies": {

View File

@@ -205,7 +205,7 @@ function updateContributorsJson(developers: ContributorInfo[]) {
}
const output = {
"": "Auto-generated file. Run `pnpm run list-contributors` to regenerate.",
"": "Auto-generated file. Run `pnpm run update-contributors` to regenerate.",
contributors
};
writeFileSync(CONTRIBUTORS_PATH, JSON.stringify(output, null, 4) + "\n");