File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff 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
305301const 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+
315312function sleep ( ms : number ) {
316313 return new Promise ( ( resolve ) => setTimeout ( resolve , ms ) ) ;
317314}
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ export const PROJECTS = [
99 "Fandom Cookies" ,
1010 "FujoCoded" ,
1111 "Learn@" ,
12+ "Code Contributor" ,
1213] as const ;
1314export type Project = ( typeof PROJECTS ) [ number ] ;
1415
@@ -47,6 +48,7 @@ export const FANDOM_COOKIES_ROLES = [
4748] ;
4849
4950export const LEARN_AT_ROLES = [ "Writers Coordinator" , "Article Writer" ] ;
51+ export const CODE_CONTRIBUTOR_ROLES = [ "Documentation" ] ;
5052
5153export 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
6164export default PROJECTS ;
Original file line number Diff line number Diff line change 44 - community
55 - contractor
66roles :
7- Code Libraries :
7+ Code Contributor :
88 - role : Documentation
99 details : Authproto README
1010contacts :
You can’t perform that action at this time.
0 commit comments