forked from TanStack/tanstack.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmaintainers.ts
More file actions
662 lines (639 loc) · 18.4 KB
/
maintainers.ts
File metadata and controls
662 lines (639 loc) · 18.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
import type { Framework, Library, LibrarySlim } from './types'
import { getLibrary } from './index'
export interface Maintainer {
name: string
avatar: string
github: string
isCoreMaintainer?: boolean
creatorOf?: Library['id'][]
maintainerOf?: Library['id'][] // inherits from creatorOf
contributorOf?: Library['id'][] // inherits from maintainerOf
consultantOf?: Library['id'][] // inherits from maintainerOf
frameworkExpertise?: Framework[]
specialties?: string[]
social?: {
twitter?: string
bluesky?: string
linkedIn?: string
website?: string
}
workshopsAvailable?: boolean
}
// order matters
export const allMaintainers: Maintainer[] = [
{
name: 'Tanner Linsley',
isCoreMaintainer: true,
avatar: 'https://github.com/tannerlinsley.png',
github: 'tannerlinsley',
creatorOf: [
'start',
'router',
'query',
'table',
'form',
'virtual',
'ranger',
'store',
'pacer',
'mcp',
'react-charts',
],
frameworkExpertise: ['react', 'solid'],
specialties: ['Architecture', 'Core API', 'Documentation'],
social: {
twitter: 'https://x.com/tannerlinsley',
bluesky: 'https://bsky.app/profile/tannerlinsley.com',
website: 'https://tannerlinsley.com',
},
workshopsAvailable: false,
},
{
name: 'Dominik Dorfmeister',
isCoreMaintainer: true,
avatar: 'https://github.com/tkdodo.png',
github: 'tkdodo',
maintainerOf: ['query'],
contributorOf: ['router'],
frameworkExpertise: ['react'],
specialties: ['Core API', 'TypeScript', 'Documentation'],
social: {
bluesky: 'https://bsky.app/profile/tkdodo.eu',
website: 'https://tkdodo.eu',
},
},
{
name: 'Corbin Crutchley',
isCoreMaintainer: true,
avatar: 'https://github.com/crutchcorn.png',
github: 'crutchcorn',
creatorOf: ['form'],
maintainerOf: ['store', 'config'],
frameworkExpertise: ['react', 'solid', 'vue', 'angular'],
specialties: ['Forms', 'Validation', 'State Management'],
social: {
twitter: 'https://x.com/crutchcorn',
bluesky: 'https://bsky.app/profile/crutchcorn.dev',
website: 'https://playfulprogramming.com/people/crutchcorn',
},
},
{
name: 'Manuel Schiller',
isCoreMaintainer: true,
avatar: 'https://github.com/schiller-manuel.png',
github: 'schiller-manuel',
maintainerOf: ['start', 'router'],
frameworkExpertise: ['react'],
specialties: ['Architecture', 'Core API', 'Documentation'],
social: {
twitter: 'https://x.com/schanuelmiller',
bluesky: 'https://bsky.app/profile/manuelschiller.bsky.social',
},
},
{
name: 'Kevin Van Cott',
isCoreMaintainer: true,
avatar: 'https://github.com/kevinvandy.png',
github: 'kevinvandy',
creatorOf: ['pacer', 'hotkeys'],
maintainerOf: ['table'],
contributorOf: ['virtual'],
consultantOf: ['query'],
frameworkExpertise: ['react', 'preact', 'solid'],
specialties: ['Tables', 'Data Grids', 'Dashboards'],
social: {
twitter: 'https://x.com/kevinvancott',
bluesky: 'https://bsky.app/profile/kevinvancott.dev',
website: 'https://kevinvancott.dev',
},
workshopsAvailable: true,
},
{
name: 'Jack Herrington',
isCoreMaintainer: true,
avatar: 'https://github.com/jherr.png',
github: 'jherr',
creatorOf: ['ai', 'create-tsrouter-app'],
frameworkExpertise: ['react'],
specialties: ['Templates'],
workshopsAvailable: true,
},
{
name: 'Sean Cassiere',
isCoreMaintainer: true,
avatar: 'https://github.com/seancassiere.png',
github: 'seancassiere',
maintainerOf: ['start', 'router'],
frameworkExpertise: ['react'],
specialties: ['Architecture', 'Core API', 'Documentation'],
social: {
twitter: 'https://x.com/seancassiere',
bluesky: 'https://bsky.app/profile/seancassiere.com',
website: 'https://seancassiere.com',
},
},
{
name: 'Chris Horobin',
isCoreMaintainer: true,
avatar: 'https://github.com/chorobin.png',
github: 'chorobin',
maintainerOf: ['start', 'router'],
frameworkExpertise: ['react'],
specialties: ['TypeScript'],
social: {
twitter: 'https://x.com/c_horobin',
bluesky: 'https://bsky.app/profile/chorobin.bsky.social',
},
},
{
name: 'Damian Pieczynski',
isCoreMaintainer: true,
avatar: 'https://github.com/piecyk.png',
github: 'piecyk',
maintainerOf: ['virtual'],
frameworkExpertise: ['react'],
specialties: ['Virtualization', 'Performance'],
},
{
name: 'Kyle Mathews',
isCoreMaintainer: true,
avatar: 'https://github.com/KyleAMathews.png',
github: 'KyleAMathews',
creatorOf: ['db'],
frameworkExpertise: ['react'],
specialties: ['Sync Engines'],
},
{
name: 'Alem Tuzlak',
avatar: 'https://github.com/AlemTuzlak.png',
github: 'AlemTuzlak',
creatorOf: ['ai', 'devtools'],
contributorOf: ['pacer', 'form'],
frameworkExpertise: ['react'],
specialties: ['DevTools', 'Routers', 'Vite Plugins'],
social: {
twitter: 'https://x.com/AlemTuzlak',
bluesky: 'https://bsky.app/profile/alem.forge42.dev',
website: 'https://www.forge42.dev',
},
workshopsAvailable: true,
},
{
name: 'Lachlan Collins',
isCoreMaintainer: true,
avatar: 'https://github.com/lachlancollins.png',
github: 'lachlancollins',
maintainerOf: ['config', 'query'],
contributorOf: [
'start',
'router',
'virtual',
'table',
'form',
'db',
'pacer',
],
frameworkExpertise: ['react', 'svelte'],
specialties: ['Architecture'],
},
{
name: 'Sam Willis',
isCoreMaintainer: true,
avatar: 'https://github.com/samwillis.png',
github: 'samwillis',
creatorOf: ['db'],
frameworkExpertise: ['react'],
specialties: ['Sync Engines', 'Incremental View Maintenance'],
},
{
name: 'Vedanta Somnathe',
avatar: 'https://github.com/theVedanta.png',
github: 'theVedanta',
maintainerOf: ['query', 'pacer'],
frameworkExpertise: ['preact', 'angular'],
social: {
website: 'https://vedantas.xyz/',
twitter: 'https://x.com/thvdnta',
bluesky: 'https://bsky.app/profile/thvdnta.bsky.social',
linkedIn: 'https://linkedin.com/in/thvdnta',
},
},
{
name: 'Leonardo Montini',
avatar: 'https://github.com/Balastrong.png',
github: 'Balastrong',
maintainerOf: ['form'],
frameworkExpertise: ['react'],
social: {
website: 'https://leonardomontini.dev/',
twitter: 'https://x.com/Balastrong',
bluesky: 'https://bsky.app/profile/leonardomontini.dev',
},
workshopsAvailable: true,
},
{
name: 'Fredrik Höglund',
avatar: 'https://github.com/ephem.png',
github: 'ephem',
maintainerOf: ['query'],
frameworkExpertise: ['react'],
specialties: ['Data Management', 'SSR', 'Hydration'],
social: {
bluesky: 'https://bsky.app/profile/ephem.dev',
twitter: 'https://x.com/ephemjs',
website: 'https://www.ephem.dev',
},
},
{
name: 'Aadit Olkar',
avatar: 'https://github.com/aadito123.png',
github: 'aadito123',
maintainerOf: ['form'],
frameworkExpertise: ['solid'],
social: {
twitter: 'https://x.com/swagdoctor19',
},
},
{
name: 'Harry Whorlow',
avatar: 'https://github.com/harry-whorlow.png',
github: 'harry-whorlow',
maintainerOf: ['form', 'devtools'],
frameworkExpertise: ['react'],
social: {
linkedIn: 'https://www.linkedin.com/in/harry-whorlow/',
website: 'harry-whorlow.dev',
},
},
{
name: 'Luca Jakob',
avatar: 'https://github.com/LeCarbonator.png',
github: 'LeCarbonator',
maintainerOf: ['form'],
frameworkExpertise: ['react'],
},
{
name: 'Jonghyeon Ko',
avatar: 'https://github.com/manudeli.png',
github: 'manudeli',
maintainerOf: ['query'],
frameworkExpertise: ['react'],
specialties: ['TypeScript', 'Backport', 'Test'],
social: {
twitter: 'https://x.com/manudeli_',
bluesky: 'https://bsky.app/profile/manudeli.bsky.social',
linkedIn: 'https://www.linkedin.com/in/jonghyeonko',
},
},
{
name: 'Wonsuk Choi',
avatar: 'https://github.com/sukvvon.png',
github: 'sukvvon',
maintainerOf: ['query'],
frameworkExpertise: ['react'],
specialties: ['TypeScript', 'Test'],
social: {
linkedIn: 'https://www.linkedin.com/in/sukvvon',
twitter: 'https://x.com/sukvvon',
bluesky: 'https://bsky.app/profile/sukvvon.bsky.social',
},
},
{
name: 'Sarah Gerrard',
avatar: 'https://github.com/ladybluenotes.png',
github: 'ladybluenotes',
contributorOf: [
'ai',
'config',
'db',
'devtools',
'form',
'pacer',
'query',
'ranger',
'router',
'hotkeys',
'start',
'store',
'table',
'virtual',
],
frameworkExpertise: ['react', 'solid'],
specialties: ['Documentation', 'Architecture'],
social: {
bluesky: 'https://bsky.app/profile/ladybluenotes.dev',
twitter: 'https://x.com/ladybluenotes',
website: 'https://sarahgerrard.me',
},
},
{
name: 'Riccardo Perra',
avatar:
'https://cdn.bsky.app/img/avatar/plain/did:plc:gtnigsmgu7jyrc4tnkvn62qw/bafkreiceysbj4o6jrbbniudtwj3tcsns6rvwcxyjsqiaumeojurwbkki5a@jpeg',
github: 'riccardoperra',
maintainerOf: ['table'],
frameworkExpertise: ['angular', 'solid'],
specialties: [],
social: {
twitter: 'https://x.com/riccardoperra0',
bluesky: 'https://bsky.app/profile/riccardoperra.bsky.social',
website: 'https://riccardoperra.com',
},
},
{
name: 'Birk Skyum',
avatar: 'https://github.com/birkskyum.png',
github: 'birkskyum',
maintainerOf: ['start'],
contributorOf: ['pacer'],
frameworkExpertise: ['solid'],
specialties: [],
social: {
twitter: 'https://x.com/birkskyum',
bluesky: 'https://bsky.app/profile/bskyum.bsky.social',
},
},
{
name: 'Brooke Holmes',
avatar: 'https://github.com/brhx.png',
github: 'brhx',
maintainerOf: ['start', 'router'],
frameworkExpertise: ['react'],
specialties: ['TypeScript'],
social: {
twitter: 'https://x.com/brooke_lune',
linkedIn: 'https://www.linkedin.com/in/brooke-holmes/',
website: 'https://brooke.me',
},
},
{
name: 'Arnoud de Vries',
avatar: 'https://github.com/arnoud-dv.png',
github: 'arnoud-dv',
maintainerOf: ['query'],
frameworkExpertise: ['angular', 'react'],
specialties: [
'Architecture',
'Developer Experience',
'TypeScript',
'Reactivity',
],
social: {
twitter: 'https://x.com/Arnoud_dv',
bluesky: 'https://bsky.app/profile/arnoud.dev',
linkedIn: 'https://www.linkedin.com/in/arnouddv/',
},
workshopsAvailable: true,
},
{
name: 'Fülöp Kovács',
avatar: 'https://github.com/fulopkovacs.png',
github: 'fulopkovacs',
maintainerOf: ['form'],
frameworkExpertise: ['react'],
social: {
website: 'https://fulop.dev/',
twitter: 'https://x.com/notacheetah',
bluesky: 'https://bsky.app/profile/notacheetah.bsky.social',
},
},
{
name: 'Aryan Deora',
avatar: 'https://github.com/ardeora.png',
github: 'ardeora',
maintainerOf: ['query'],
frameworkExpertise: ['solid'],
specialties: ['Dev Tools'],
social: {
twitter: 'https://x.com/aryan__deora',
website: 'https://www.aryandeora.com/',
},
},
{
name: 'Mokshit Jain',
avatar: 'https://github.com/Mokshit06.png',
contributorOf: ['table'],
frameworkExpertise: ['svelte', 'solid', 'vue'],
github: 'Mokshit06',
social: {
twitter: 'https://x.com/mokshit06',
website: 'https://mokshitjain.co',
},
},
{
name: 'Walker Lockard',
github: 'walker-tx',
avatar: 'https://github.com/walker-tx.png',
contributorOf: ['table'],
frameworkExpertise: ['svelte', 'react'],
social: {
twitter: 'https://x.com/walker_lockard',
website: 'https://walker.dev',
},
},
{
name: 'Tom',
github: 'tombuntus',
avatar: 'https://github.com/tombuntus.png',
contributorOf: ['table'],
frameworkExpertise: ['react'],
social: {},
},
{
name: 'Damian Osipiuk',
avatar: 'https://github.com/DamianOsipiuk.png',
github: 'DamianOsipiuk',
maintainerOf: ['query'],
frameworkExpertise: ['vue'],
specialties: [],
},
{
name: 'Eliya Cohen',
avatar: 'https://github.com/Newbie012.png',
github: 'Newbie012',
maintainerOf: ['query'],
frameworkExpertise: [],
specialties: ['eslint plugin'],
},
{
name: 'Kevin De Porre',
avatar: 'https://github.com/kevin-dp.png',
github: 'kevin-dp',
maintainerOf: ['db'],
frameworkExpertise: ['react'],
specialties: ['Sync Engines', 'Incremental View Maintenance'],
},
{
name: 'Shruti Kapoor',
avatar: 'https://github.com/shrutikapoor08.png',
github: 'shrutikapoor08',
contributorOf: ['start'],
frameworkExpertise: ['react'],
specialties: ['Education', 'Documentation'],
social: {
twitter: 'https://x.com/shrutikapoor08',
bluesky: 'https://bsky.app/profile/shrutikapoor08.bsky.social',
},
workshopsAvailable: true,
},
{
name: 'Nicolas Beaussart',
avatar: 'https://github.com/beaussan.png',
github: 'beaussan',
maintainerOf: ['router'],
frameworkExpertise: ['react'],
specialties: ['Monorepo', 'Architecture', 'Typescript'],
social: {
twitter: 'https://x.com/beaussan',
bluesky: 'https://bsky.app/profile/beaussan.io',
website: 'https://beaussan.io/',
},
workshopsAvailable: true,
},
{
name: 'Nico Lynzaad',
avatar: 'https://github.com/nlynzaad.png',
github: 'nlynzaad',
maintainerOf: ['router'],
frameworkExpertise: ['react'],
specialties: [],
social: {
twitter: 'https://twitter.com/NLynzaad',
},
workshopsAvailable: false,
},
]
export const coreMaintainers = allMaintainers.filter(
(maintainer) => maintainer.isCoreMaintainer,
)
export function getLibraryCreators(libraryId: string): Maintainer[] {
return allMaintainers.filter((maintainer) =>
maintainer.creatorOf?.includes(libraryId as Library['id']),
)
}
export function getLibraryMaintainers(
libraryId: string,
includeCreators = true,
): Maintainer[] {
const creators = getLibraryCreators(libraryId)
const maintainers = allMaintainers.filter((maintainer) =>
maintainer.maintainerOf?.includes(libraryId as Library['id']),
)
// Use Set to dedupe while preserving order
return includeCreators
? [...new Set([...creators, ...maintainers])]
: maintainers
}
export function getLibraryContributors(
libraryId: string,
includeMaintainers = true,
): Maintainer[] {
const maintainers = getLibraryMaintainers(libraryId)
const contributors = allMaintainers.filter((maintainer) =>
maintainer.contributorOf?.includes(libraryId as Library['id']),
)
return includeMaintainers
? [...new Set([...maintainers, ...contributors])]
: contributors
}
export function getPersonsCreatorOf(person: Maintainer): LibrarySlim[] {
return person.creatorOf?.map((libraryId) => getLibrary(libraryId)) || []
}
export function getPersonsMaintainerOf(
person: Maintainer,
includeCreatorOf = true,
): LibrarySlim[] {
const creatorOf = getPersonsCreatorOf(person)
const maintainerOf =
person.maintainerOf?.map((libraryId) => getLibrary(libraryId)) || []
return includeCreatorOf
? [...new Set([...creatorOf, ...maintainerOf])]
: maintainerOf
}
export function getIsCreatorOfLibrary(person: Maintainer, libraryId: string) {
return person.creatorOf?.includes(libraryId as Library['id'])
}
export function getIsMaintainerOfLibrary(
person: Maintainer,
libraryId: string,
) {
return person.maintainerOf?.includes(libraryId as Library['id'])
}
export function getIsContributorOfLibrary(
person: Maintainer,
libraryId: string,
) {
return person.contributorOf?.includes(libraryId as Library['id'])
}
export function getIsConsultantOfLibrary(
person: Maintainer,
libraryId: string,
) {
return person.consultantOf?.includes(libraryId as Library['id'])
}
export function getRoleInLibrary(person: Maintainer, libraryId: string) {
if (getIsCreatorOfLibrary(person, libraryId)) return 'Creator'
if (getIsMaintainerOfLibrary(person, libraryId)) return 'Maintainer'
if (getIsContributorOfLibrary(person, libraryId)) return 'Contributor'
if (getIsConsultantOfLibrary(person, libraryId)) return 'Consultant'
return 'Contributor'
}
export function getRoleForFilteredLibraries(
person: Maintainer,
libraryIds: Library['id'][] | undefined,
): 'creator' | 'maintainer' | 'contributor' | 'other' {
// If no libraries are filtered, use global roles
if (!libraryIds || libraryIds.length === 0) {
if (person.creatorOf && person.creatorOf.length > 0) return 'creator'
if (person.maintainerOf && person.maintainerOf.length > 0)
return 'maintainer'
if (person.contributorOf && person.contributorOf.length > 0)
return 'contributor'
return 'other'
}
// Check roles only for the filtered libraries
const isCreatorOfFiltered = libraryIds.some((lib) =>
person.creatorOf?.includes(lib),
)
const isMaintainerOfFiltered = libraryIds.some((lib) =>
person.maintainerOf?.includes(lib),
)
const isContributorOfFiltered = libraryIds.some((lib) =>
person.contributorOf?.includes(lib),
)
if (isCreatorOfFiltered) return 'creator'
if (isMaintainerOfFiltered) return 'maintainer'
if (isContributorOfFiltered) return 'contributor'
return 'other'
}
export function getRolePriorityForFilteredLibraries(
person: Maintainer,
libraryIds: Library['id'][] | undefined,
): number {
const role = getRoleForFilteredLibraries(person, libraryIds)
// Higher numbers = higher priority (sorted first)
switch (role) {
case 'creator':
return 4
case 'maintainer':
return 3
case 'contributor':
return 2
case 'other':
return 1
default:
return 0
}
}
export function getIsCoreMaintainerForFilteredLibraries(
person: Maintainer,
libraryIds: Library['id'][] | undefined,
): boolean {
// If no libraries are filtered, use global core maintainer status
if (!libraryIds || libraryIds.length === 0) {
return person.isCoreMaintainer || false
}
// When filtering, core maintainer status is only relevant if they have a role in filtered libraries
const role = getRoleForFilteredLibraries(person, libraryIds)
return role !== 'other' && (person.isCoreMaintainer || false)
}