diff --git a/docs/contributors.json b/docs/contributors.json index 9f88256bf..e6dd60dc5 100644 --- a/docs/contributors.json +++ b/docs/contributors.json @@ -1,21 +1,32 @@ [ "antfu", + "sheremet-va", "patak-dev", "Aslemammad", - "sheremet-va", - "edimitchel", - "tony-go", "userquin", - "wtchnm", - "horacioh", - "dominikg", - "hannoeru", - "aleclarson", - "david-crespo", - "innocenzi", - "cyco130", - "IanVS", - "ydcjeff", + "DerYeger", + "Demivan", + "edimitchel", + "Saul-Mirone", "11joselu", - "wheatjs" + "dammy001", + "tony-go", + "wtchnm", + "cexbrayat", + "dominikg", + "mitchelvanbever", + "tigerabrodi", + "horacioh", + "LeonardSSH", + "sachinraja", + "cawa-93", + "Monkatraz", + "sudongyuer", + "hannoeru", + "JakeGinnivan", + "JoostK", + "PuruVJ", + "aleclarson", + "CyriacBr", + "christianhg" ] \ No newline at end of file diff --git a/package.json b/package.json index f9e140259..0799bc4b3 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "docs:build": "npm -C docs run build", "docs:serve": "npm -C docs run serve", "docs:examples": "esmo scripts/update-examples.ts", + "docs:contributors": "esmo scripts/update-contributors.ts", "postinstall": "pnpm -C examples/vue2 i", "lint": "eslint --ext .js,.vue,.ts,.tsx .", "lint:fix": "eslint --ext .js,.vue,.ts,.tsx . --fix", diff --git a/scripts/get-contributors.ts b/scripts/update-contributors.ts similarity index 92% rename from scripts/get-contributors.ts rename to scripts/update-contributors.ts index e432c1246..ea417aa9f 100644 --- a/scripts/get-contributors.ts +++ b/scripts/update-contributors.ts @@ -16,7 +16,7 @@ async function fetchContributors() { 'content-type': 'application/json', }, }) - const data = await res.json() as Contributor[] + const data = await res.json() as Contributor[] || [] collaborators.push(...data.map(i => i.login)) return collaborators }