fix: update ctp/ctp schema & remove name from userstyles.yml (#1653)
This commit is contained in:
1 parent
5aa468acc8
commit
a5bd6cb5e6
6 files changed
+6
-67
No files matched your search
@@ -40,8 +40,10 @@ function extractName(
|
||||
if (!collaborators) return;
|
||||
// set the name to the github.com/<name>
|
||||
return collaborators.map((c) => {
|
||||
c.name ??= c.url.split("/").pop();
|
||||
return c;
|
||||
return {
|
||||
...c,
|
||||
name: c.url.split("/").pop()
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Vendored
-17
@@ -87,12 +87,10 @@ export type FAQ = [
|
||||
{
|
||||
question: Question;
|
||||
answer: Answer;
|
||||
[k: string]: unknown;
|
||||
},
|
||||
...{
|
||||
question: Question;
|
||||
answer: Answer;
|
||||
[k: string]: unknown;
|
||||
}[]
|
||||
];
|
||||
/**
|
||||
@@ -103,10 +101,6 @@ export type Question = string;
|
||||
* An answer to the question about the userstyle.
|
||||
*/
|
||||
export type Answer = string;
|
||||
/**
|
||||
* The display name of the collaborator to show in the userstyle README.
|
||||
*/
|
||||
export type DisplayName = string;
|
||||
/**
|
||||
* The GitHub profile link of the collaborator to show in the userstyle README.
|
||||
*/
|
||||
@@ -115,9 +109,7 @@ export type GitHubProfile = string;
|
||||
* List of all active maintainers for this userstyle.
|
||||
*/
|
||||
export type CurrentMaintainers = {
|
||||
name?: DisplayName;
|
||||
url: GitHubProfile;
|
||||
[k: string]: unknown;
|
||||
}[];
|
||||
/**
|
||||
* List of all users that have maintained this userstyle in the past.
|
||||
@@ -126,14 +118,10 @@ export type CurrentMaintainers = {
|
||||
*/
|
||||
export type PastMaintainers = [
|
||||
{
|
||||
name?: DisplayName;
|
||||
url: GitHubProfile;
|
||||
[k: string]: unknown;
|
||||
},
|
||||
...{
|
||||
name?: DisplayName;
|
||||
url: GitHubProfile;
|
||||
[k: string]: unknown;
|
||||
}[]
|
||||
];
|
||||
/**
|
||||
@@ -143,14 +131,10 @@ export type PastMaintainers = [
|
||||
*/
|
||||
export type AllCollaborators = [
|
||||
{
|
||||
name?: DisplayName;
|
||||
url: GitHubProfile;
|
||||
[k: string]: unknown;
|
||||
},
|
||||
...{
|
||||
name?: DisplayName;
|
||||
url: GitHubProfile;
|
||||
[k: string]: unknown;
|
||||
}[]
|
||||
];
|
||||
|
||||
@@ -186,5 +170,4 @@ export interface README {
|
||||
"app-link": ApplicationLink;
|
||||
note?: Note;
|
||||
faq?: FAQ;
|
||||
[k: string]: unknown;
|
||||
}
|
||||
@@ -177,11 +177,6 @@
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"title": "Display Name",
|
||||
"description": "The display name of the collaborator to show in the userstyle README."
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"title": "GitHub Profile",
|
||||
|
||||
@@ -6,150 +6,110 @@ collaborators:
|
||||
- &ndsboy
|
||||
url: https://github.com/ndsboy
|
||||
- &jn-sena
|
||||
name: Sena
|
||||
url: https://github.com/jn-sena
|
||||
- &watatomo
|
||||
name: Ren
|
||||
url: https://github.com/watatomo
|
||||
- &ryanccn
|
||||
name: Ryan Cao
|
||||
url: https://github.com/ryanccn
|
||||
- &pocco81
|
||||
url: https://github.com/Pocco81
|
||||
- &glowingumbreon
|
||||
name: Umbreon
|
||||
url: https://github.com/GlowingUmbreon
|
||||
- &justtobbi
|
||||
url: https://github.com/justTOBBI
|
||||
- &unseen-ninja
|
||||
name: Lemon
|
||||
url: https://github.com/unseen-ninja
|
||||
- &lucasmelin
|
||||
name: Lucas Melin
|
||||
url: https://github.com/lucasmelin
|
||||
- &gingeh
|
||||
url: https://github.com/Gingeh
|
||||
- &isabelroses
|
||||
name: Isabel
|
||||
url: https://github.com/isabelroses
|
||||
- &thismoon
|
||||
url: https://github.com/thismoon
|
||||
- &cecelot
|
||||
name: Sydney Newmark
|
||||
url: https://github.com/cecelot
|
||||
- &soya-daizu
|
||||
name: soya_daizu
|
||||
url: https://github.com/soya-daizu
|
||||
- &jayylmao
|
||||
url: https://github.com/jayylmao
|
||||
- &sekki21956
|
||||
name: Sekki
|
||||
url: https://github.com/Sekki21956
|
||||
- &winston
|
||||
name: winston
|
||||
url: https://github.com/nekowinston
|
||||
- &tnixc
|
||||
name: Tnixc
|
||||
url: https://github.com/Tnixc
|
||||
- &elkrien
|
||||
name: Elkrien
|
||||
url: https://github.com/elkrien
|
||||
- &thememesniper
|
||||
name: TheMemeSniper
|
||||
url: https://github.com/TheMemeSniper
|
||||
- &spaghettiosareyummy
|
||||
url: https://github.com/spaghettiosareyummy
|
||||
- &stonks3141
|
||||
name: Stonks3141
|
||||
url: https://github.com/Stonks3141
|
||||
- &rubyowo
|
||||
url: https://github.com/rubyowo
|
||||
- &gandalf-the-blue
|
||||
name: Gandalf the Blue
|
||||
url: https://github.com/Gandalf-the-Blue
|
||||
- &francorav
|
||||
name: FrancoRav
|
||||
url: https://github.com/FrancoRav
|
||||
- &coldenate
|
||||
name: coldenate
|
||||
url: https://github.com/coldenate
|
||||
- &skelebro1
|
||||
name: skele
|
||||
url: https://github.com/skelebro1
|
||||
- &r58Playz
|
||||
name: r58Playz
|
||||
url: https://github.com/r58Playz
|
||||
- &rockquiet
|
||||
name: rockquiet
|
||||
url: https://github.com/rockquiet
|
||||
- &nyameliaaaa
|
||||
name: Amelia Rose
|
||||
url: https://github.com/Nyameliaaaa
|
||||
- &meowcelinee
|
||||
name: Marceline
|
||||
url: https://github.com/Meowcelinee
|
||||
- &bartlibert
|
||||
name: Bart Libert
|
||||
url: https://github.com/bartlibert
|
||||
- &BlankParticle
|
||||
name: BlankParticle
|
||||
url: https://github.com/BlankParticle
|
||||
- &genshibe
|
||||
name: GenShibe
|
||||
url: https://github.com/GenShibe
|
||||
- &coopw1
|
||||
name: coopw
|
||||
url: https://github.com/coopw1
|
||||
- &rooot
|
||||
name: rooot
|
||||
url: https://github.com/RoootTheFox
|
||||
- &itzTheMeow
|
||||
name: Meow
|
||||
url: https://github.com/itzTheMeow
|
||||
- &Dandraghas
|
||||
name: Dandraghas
|
||||
url: https://github.com/Dandraghas
|
||||
- &uncenter
|
||||
name: uncenter
|
||||
url: https://github.com/uncenter
|
||||
- &thomas-philippot
|
||||
name: Thomas Philippot
|
||||
url: https://github.com/thomas-philippot
|
||||
- &Guaxinim5573
|
||||
name: Guaxinim5573
|
||||
url: https://github.com/Guaxinim5573
|
||||
- &trinkey
|
||||
url: https://github.com/trinkey
|
||||
- &NK308
|
||||
url: https://github.com/NK308
|
||||
name: NK308
|
||||
- &00dani
|
||||
url: https://github.com/00dani
|
||||
- &kerichdev
|
||||
name: keri
|
||||
url: https://github.com/kerichdev
|
||||
- &Flapperoo
|
||||
name: Eli
|
||||
url: https://github.com/Flapperoo
|
||||
- &sofiedotcafe
|
||||
name: Sofie
|
||||
url: https://github.com/sofiedotcafe
|
||||
- &stellophiliac
|
||||
url: https://github.com/stellophiliac
|
||||
- &bunfluff
|
||||
name: elly
|
||||
url: https://github.com/bunfluff
|
||||
- &neongamerbot
|
||||
url: https://github.com/NeonGamerBot-QK
|
||||
- &orangci
|
||||
name: orangc
|
||||
url: https://github.com/orangci
|
||||
- &Lichthagel
|
||||
url: https://github.com/Lichthagel
|
||||
- &comfysage
|
||||
url: https://github.com/comfysage
|
||||
- &TadoTheMiner
|
||||
name: jan Tatesa
|
||||
url: https://github.com/TadoTheMiner
|
||||
- &mxgic1337
|
||||
url: https://github.com/mxgic1337
|
||||
@@ -162,7 +122,6 @@ collaborators:
|
||||
- &pynappo
|
||||
url: https://github.com/pynappo
|
||||
- &nuexq
|
||||
name: nuexq
|
||||
url: https://github.com/nuexq
|
||||
|
||||
userstyles:
|
||||
|
||||
Reference in new issue
Block a user