Skip to content

Commit 57a398c

Browse files
get haetae's schema updated
1 parent 4b26677 commit 57a398c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

code/check.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,27 +281,23 @@ function startWatchMode(): void {
281281
);
282282
watchers.push(teamWatcher);
283283

284-
// Watch projects file
285284
const projectsWatcher = watch(PROJECTS_FILE, () => {
286285
runValidation(true);
287286
});
288287
watchers.push(projectsWatcher);
289288

290-
// Watch schema file
291289
const schemaWatcher = watch(SCHEMA_FILE, () => {
292290
runValidation(true);
293291
});
294292
watchers.push(schemaWatcher);
295293

296-
// Handle graceful shutdown
297294
process.on("SIGINT", () => {
298295
console.log("\n👋 Bye bye!");
299296
watchers.forEach((watcher) => watcher.close());
300297
process.exit(0);
301298
});
302299
}
303300

304-
// Check if running in watch mode
305301
const isWatchMode =
306302
process.argv.includes("--watch") || process.argv.includes("-w");
307303

@@ -312,6 +308,7 @@ if (isWatchMode) {
312308

313309
process.exit(hasErrors ? 1 : 0);
314310
}
311+
315312
function sleep(ms: number) {
316313
return new Promise((resolve) => setTimeout(resolve, ms));
317314
}

contributors/_schema/projects.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export const PROJECTS = [
99
"Fandom Cookies",
1010
"FujoCoded",
1111
"Learn@",
12+
"Code Contributor",
1213
] as const;
1314
export type Project = (typeof PROJECTS)[number];
1415

@@ -47,6 +48,7 @@ export const FANDOM_COOKIES_ROLES = [
4748
];
4849

4950
export const LEARN_AT_ROLES = ["Writers Coordinator", "Article Writer"];
51+
export const CODE_CONTRIBUTOR_ROLES = ["Documentation"];
5052

5153
export const PROJECT_ROLES: Record<Project, string[]> = {
5254
"Volume 0 Issue 1": VOLUME_0_ISSUE_1_ROLES,
@@ -56,6 +58,7 @@ export const PROJECT_ROLES: Record<Project, string[]> = {
5658
"Fandom Cookies": FANDOM_COOKIES_ROLES,
5759
FujoCoded: FUJOCODED_ROLES,
5860
"Learn@": LEARN_AT_ROLES,
61+
"Code Contributor": CODE_CONTRIBUTOR_ROLES,
5962
};
6063

6164
export default PROJECTS;

contributors/haetae.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ type:
44
- community
55
- contractor
66
roles:
7-
Code Libraries:
7+
Code Contributor:
88
- role: Documentation
99
details: Authproto README
1010
contacts:

0 commit comments

Comments
 (0)