Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
contributor list: update script name, change a comment
Adorian Doranc4d832eebc89
diff --git a/contributors.json b/contributors.jsonindex 5134dff233..fe73288033 100644--- a/contributors.json+++ b/contributors.json@@ -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"diff --git a/package.json b/package.jsonindex 17254a5179..cd3505b422 100644--- a/package.json+++ b/package.json@@ -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": {diff --git a/scripts/list-contributors.ts b/scripts/update-contributors.tssimilarity index 98%rename from scripts/list-contributors.tsrename to scripts/update-contributors.tsindex c58766d5f6..62a209b066 100644--- a/scripts/list-contributors.ts+++ b/scripts/update-contributors.ts@@ -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");