-
Notifications
You must be signed in to change notification settings - Fork 1
/
labelsync.ts
86 lines (85 loc) · 3.85 KB
/
labelsync.ts
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
import { note, repos, scope, theme, type } from './prisma-labs-labelsync/lib/core'
//prettier-ignore
export default repos([
{
name: 'nexus',
destroyUnknownLabels: false,
labels: [
type('design', theme.shiny, ''),
type('meta', theme.refine, 'Related to something misc around the project e.g. brand, defining principals, ...'),
note('regression', ''),
scope('app', ''),
scope('cli', ''),
scope('builder', ''),
scope('autocomplete', ''),
scope('db-workflow', ''),
scope('core', ''),
scope('dev-mode', ''),
scope('doctor', ''),
scope('generate', ''),
scope('layout', ''),
scope('logger', 'Related to the logger component'),
scope('plugins', ''),
scope('schema-context', ''),
scope('schema', 'Related to the schema component'),
scope('schema/connection', 'Related to t.connection or relay connections generally', { siblings: ['scope/schema'] }),
scope('schema/backing-types'),
scope('server', 'Related to the server component'),
scope('vscode', 'Related to integration with VSCode'),
scope('deployment', ''),
scope('settings', ''),
scope('testing', ''),
scope('docs/recipe', ''),
scope('auth', 'Related to authentication or authorization'),
scope('tsconfig', 'Related to interop with tsconfig settings/files', { siblings: ['lang/ts'] }),
scope('docs/inline', 'Related to jsDoc'),
scope('docs/examples', 'Related to the examples repo'),
scope('website', 'Related to the website itself'),
scope('scaffolding', 'Related to the generation of code to get things started faster', { alias: ['scope/cli/create'] }),
scope('framework', 'Related to something affecting the entire tool e.g. add JS support'),
{ name: 'plugin/prisma', color: '#eee' },
{ name: 'lang/ts', color: '#eee', description: 'Related to TypeScript language interop' },
{ name: 'lang/js', color: '#eee', description: 'Related to JavaScript language interop' },
{ name: 'platform/windows', color: '#eee' },
{ name: 'platform/macos', color: '#eee' },
{ name: 'platform/linux', color: '#eee' },
{ name: 'component/schema', color: '#eee', description: 'Related to the @nexus/schema package' },
{ name: 'component/logger', color: '#eee', description: 'Related to the @nexus/logger package' },
{ name: 'theme/type-safety', color: '#eee', description: 'Related to type-safety' },
{ name: 'theme/feedback', color: '#eee', description: 'Related to better messages, errors, more contextual, etc.' },
]
},
{
name: 'nexus-plugin-prisma',
destroyUnknownLabels: false,
labels: [
type('epic', theme.social, ''),
type('meta', theme.neutral, ''),
note('prisma1', 'specific to the version of nexus-prisma based on Prisma 1'),
scope('architecture'),
scope('auth', 'Relates to Prisma crud/model auth'),
scope('config'),
scope('crud'),
scope('distributed-data'),
scope('mapping'),
scope('projecting', 'Exposing Prisma Models in the GQL API'),
scope('resolving', 'Relates to implementing resolvers'),
scope('runtime-validation'),
scope('schema'),
scope('synchronized-projectors'),
scope('typegen', 'Relates to typegen/codegen systems'),
scope('workflow'),
scope('pagination', 'Relates to pagiantion at the GQL or Prisma level'),
]
},
{
name: "schema",
destroyUnknownLabels: false,
labels: []
},
{
name: "logger",
destroyUnknownLabels: true,
labels: []
}
])