fix: update ctp/ctp schema & remove name from userstyles.yml (#1653)

This commit is contained in:
Hammy authored and GitHub committed 2025-03-13 10:45:23 +00:00
1 parent 5aa468acc8
commit a5bd6cb5e6
6 files changed
+6 -67

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@
"@std/path": "jsr:@std/path@^1.0.8",
"@std/yaml": "jsr:@std/yaml@^1.0.5",
"ajv": "npm:[email protected]",
"@catppuccin/catppuccin/": "https://raw.githubusercontent.com/catppuccin/catppuccin/d4f2666c2b04337f0a8632713de0889d9a7d332d/",
"@catppuccin/catppuccin/": "https://raw.githubusercontent.com/catppuccin/catppuccin/703edd47016cebe4bcb5164d38e2007c0cf6f65a/",
"handlebars": "npm:[email protected]",
"json-schema-to-typescript": "npm:json-schema-to-typescript@^15.0.3",
"less": "npm:[email protected]",
Generated
+1 -1
View File
@@ -1006,7 +1006,7 @@
"https://github.com/openstyles/stylus/raw/8fe35a4b90d85fb911bd7aa1deab4e4733c31150/src/js/sections-util.js": "https://raw.githubusercontent.com/openstyles/stylus/8fe35a4b90d85fb911bd7aa1deab4e4733c31150/src/js/sections-util.js"
},
"remote": {
"https://raw.githubusercontent.com/catppuccin/catppuccin/d4f2666c2b04337f0a8632713de0889d9a7d332d/resources/ports.schema.json": "39ce3bcd2dabd033010684df7caa82cc69c25584174eba0922e6435dce53f06a",
"https://raw.githubusercontent.com/catppuccin/catppuccin/703edd47016cebe4bcb5164d38e2007c0cf6f65a/resources/ports.schema.json": "8282601df9f1c40a3e9f6448142e43300a37beca8e038bac289b3daef659aadc",
"https://raw.githubusercontent.com/openstyles/stylus/8fe35a4b90d85fb911bd7aa1deab4e4733c31150/src/js/sections-util.js": "387e164ad40bc76048dccaafce6a032ac745616e7fc29f1873d7da33f5739502"
},
"workspace": {
+4 -2
View File
@@ -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()
}
});
}
-17
View File
@@ -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;
}
-5
View File
@@ -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",
-41
View File
@@ -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: