@slates-integrations/github 0.2.0-rc.4 → 0.2.0-rc.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -0
- package/dist/package.json +3 -0
- package/dist/sourcemap-register.cjs +1 -0
- package/package.json +10 -4
- package/slate.json +1 -4
- package/src/auth.ts +0 -347
- package/src/config.ts +0 -4
- package/src/index.ts +0 -78
- package/src/lib/client.ts +0 -991
- package/src/spec.ts +0 -13
- package/src/tools/comment-on-issue.ts +0 -46
- package/src/tools/create-commit-status.ts +0 -97
- package/src/tools/create-release.ts +0 -69
- package/src/tools/create-repository.ts +0 -70
- package/src/tools/get-issue.ts +0 -67
- package/src/tools/get-repository.ts +0 -75
- package/src/tools/get-user.ts +0 -64
- package/src/tools/index.ts +0 -24
- package/src/tools/list-branches.ts +0 -54
- package/src/tools/list-commits.ts +0 -70
- package/src/tools/list-issues.ts +0 -90
- package/src/tools/list-pull-requests.ts +0 -82
- package/src/tools/list-repositories.ts +0 -102
- package/src/tools/manage-collaborators.ts +0 -88
- package/src/tools/manage-file-content.ts +0 -117
- package/src/tools/manage-gist.ts +0 -183
- package/src/tools/manage-issue.ts +0 -94
- package/src/tools/manage-labels.ts +0 -93
- package/src/tools/manage-pull-request.ts +0 -111
- package/src/tools/manage-workflow.ts +0 -242
- package/src/tools/merge-pull-request.ts +0 -61
- package/src/tools/review-pull-request.ts +0 -90
- package/src/tools/search.ts +0 -72
- package/src/tools/star-repository.ts +0 -57
- package/src/tools/update-repository.ts +0 -56
- package/src/triggers/index.ts +0 -8
- package/src/triggers/issue-comment.ts +0 -94
- package/src/triggers/issues.ts +0 -111
- package/src/triggers/pull-request-review.ts +0 -95
- package/src/triggers/pull-request.ts +0 -123
- package/src/triggers/push.ts +0 -117
- package/src/triggers/release.ts +0 -103
- package/src/triggers/star.ts +0 -71
- package/src/triggers/workflow-run.ts +0 -112
- package/tsconfig.json +0 -23
package/src/triggers/push.ts
DELETED
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import { SlateTrigger } from 'slates';
|
|
2
|
-
import { spec } from '../spec';
|
|
3
|
-
import { z } from 'zod';
|
|
4
|
-
|
|
5
|
-
export let pushTrigger = SlateTrigger.create(spec, {
|
|
6
|
-
name: 'Push',
|
|
7
|
-
key: 'push',
|
|
8
|
-
description: 'Triggered when commits are pushed to a branch or tag in a repository.'
|
|
9
|
-
})
|
|
10
|
-
.input(
|
|
11
|
-
z.object({
|
|
12
|
-
owner: z.string().describe('Repository owner'),
|
|
13
|
-
repo: z.string().describe('Repository name'),
|
|
14
|
-
ref: z.string().describe('Git ref that was pushed to (e.g., "refs/heads/main")'),
|
|
15
|
-
before: z.string().describe('SHA of the previous HEAD commit'),
|
|
16
|
-
after: z.string().describe('SHA of the new HEAD commit'),
|
|
17
|
-
pusher: z.string().describe('Username of the pusher'),
|
|
18
|
-
forced: z.boolean().describe('Whether the push was a force push'),
|
|
19
|
-
commits: z
|
|
20
|
-
.array(
|
|
21
|
-
z.object({
|
|
22
|
-
sha: z.string(),
|
|
23
|
-
message: z.string(),
|
|
24
|
-
author: z.string(),
|
|
25
|
-
url: z.string()
|
|
26
|
-
})
|
|
27
|
-
)
|
|
28
|
-
.describe('Commits included in the push'),
|
|
29
|
-
headCommitMessage: z.string().nullable().describe('Message of the head commit'),
|
|
30
|
-
deliveryId: z.string().describe('Webhook delivery ID')
|
|
31
|
-
})
|
|
32
|
-
)
|
|
33
|
-
.output(
|
|
34
|
-
z.object({
|
|
35
|
-
owner: z.string().describe('Repository owner'),
|
|
36
|
-
repo: z.string().describe('Repository name'),
|
|
37
|
-
ref: z.string().describe('Git ref that was pushed to'),
|
|
38
|
-
branch: z.string().nullable().describe('Branch name (null for tags)'),
|
|
39
|
-
before: z.string().describe('SHA of the previous HEAD commit'),
|
|
40
|
-
after: z.string().describe('SHA of the new HEAD commit'),
|
|
41
|
-
pusher: z.string().describe('Username of the pusher'),
|
|
42
|
-
forced: z.boolean().describe('Whether the push was a force push'),
|
|
43
|
-
commits: z
|
|
44
|
-
.array(
|
|
45
|
-
z.object({
|
|
46
|
-
sha: z.string().describe('Commit SHA'),
|
|
47
|
-
message: z.string().describe('Commit message'),
|
|
48
|
-
author: z.string().describe('Commit author'),
|
|
49
|
-
url: z.string().describe('Commit URL')
|
|
50
|
-
})
|
|
51
|
-
)
|
|
52
|
-
.describe('Commits in the push'),
|
|
53
|
-
commitCount: z.number().describe('Number of commits in the push'),
|
|
54
|
-
headCommitMessage: z.string().nullable().describe('Message of the head commit')
|
|
55
|
-
})
|
|
56
|
-
)
|
|
57
|
-
.webhook({
|
|
58
|
-
handleRequest: async ctx => {
|
|
59
|
-
let event = ctx.request.headers.get('x-github-event');
|
|
60
|
-
if (event === 'ping' || event !== 'push') {
|
|
61
|
-
return { inputs: [] };
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
let data = (await ctx.request.json()) as any;
|
|
65
|
-
let deliveryId = ctx.request.headers.get('x-github-delivery') ?? '';
|
|
66
|
-
|
|
67
|
-
let commits = (data.commits ?? []).map((c: any) => ({
|
|
68
|
-
sha: c.id,
|
|
69
|
-
message: c.message,
|
|
70
|
-
author: c.author?.username ?? c.author?.name ?? 'unknown',
|
|
71
|
-
url: c.url
|
|
72
|
-
}));
|
|
73
|
-
|
|
74
|
-
return {
|
|
75
|
-
inputs: [
|
|
76
|
-
{
|
|
77
|
-
owner: data.repository.owner.login ?? data.repository.owner.name,
|
|
78
|
-
repo: data.repository.name,
|
|
79
|
-
ref: data.ref,
|
|
80
|
-
before: data.before,
|
|
81
|
-
after: data.after,
|
|
82
|
-
pusher: data.pusher?.name ?? 'unknown',
|
|
83
|
-
forced: data.forced ?? false,
|
|
84
|
-
commits,
|
|
85
|
-
headCommitMessage: data.head_commit?.message ?? null,
|
|
86
|
-
deliveryId
|
|
87
|
-
}
|
|
88
|
-
]
|
|
89
|
-
};
|
|
90
|
-
},
|
|
91
|
-
|
|
92
|
-
handleEvent: async ctx => {
|
|
93
|
-
let branch: string | null = null;
|
|
94
|
-
if (ctx.input.ref.startsWith('refs/heads/')) {
|
|
95
|
-
branch = ctx.input.ref.replace('refs/heads/', '');
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
return {
|
|
99
|
-
type: 'push',
|
|
100
|
-
id: ctx.input.deliveryId,
|
|
101
|
-
output: {
|
|
102
|
-
owner: ctx.input.owner,
|
|
103
|
-
repo: ctx.input.repo,
|
|
104
|
-
ref: ctx.input.ref,
|
|
105
|
-
branch,
|
|
106
|
-
before: ctx.input.before,
|
|
107
|
-
after: ctx.input.after,
|
|
108
|
-
pusher: ctx.input.pusher,
|
|
109
|
-
forced: ctx.input.forced,
|
|
110
|
-
commits: ctx.input.commits,
|
|
111
|
-
commitCount: ctx.input.commits.length,
|
|
112
|
-
headCommitMessage: ctx.input.headCommitMessage
|
|
113
|
-
}
|
|
114
|
-
};
|
|
115
|
-
}
|
|
116
|
-
})
|
|
117
|
-
.build();
|
package/src/triggers/release.ts
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { SlateTrigger } from 'slates';
|
|
2
|
-
import { spec } from '../spec';
|
|
3
|
-
import { z } from 'zod';
|
|
4
|
-
|
|
5
|
-
export let releaseTrigger = SlateTrigger.create(spec, {
|
|
6
|
-
name: 'Release',
|
|
7
|
-
key: 'release',
|
|
8
|
-
description:
|
|
9
|
-
'Triggered when a release is published, edited, deleted, prereleased, or released.'
|
|
10
|
-
})
|
|
11
|
-
.input(
|
|
12
|
-
z.object({
|
|
13
|
-
action: z
|
|
14
|
-
.string()
|
|
15
|
-
.describe('Release event action (published, edited, deleted, prereleased, released)'),
|
|
16
|
-
owner: z.string().describe('Repository owner'),
|
|
17
|
-
repo: z.string().describe('Repository name'),
|
|
18
|
-
releaseId: z.number().describe('Release ID'),
|
|
19
|
-
tagName: z.string().describe('Tag name'),
|
|
20
|
-
name: z.string().nullable().describe('Release title'),
|
|
21
|
-
body: z.string().nullable().describe('Release notes'),
|
|
22
|
-
htmlUrl: z.string().describe('URL to the release'),
|
|
23
|
-
draft: z.boolean().describe('Whether the release is a draft'),
|
|
24
|
-
prerelease: z.boolean().describe('Whether it is a pre-release'),
|
|
25
|
-
author: z.string().describe('Release author login'),
|
|
26
|
-
createdAt: z.string().describe('Creation timestamp'),
|
|
27
|
-
publishedAt: z.string().nullable().describe('Publication timestamp'),
|
|
28
|
-
deliveryId: z.string().describe('Webhook delivery ID')
|
|
29
|
-
})
|
|
30
|
-
)
|
|
31
|
-
.output(
|
|
32
|
-
z.object({
|
|
33
|
-
action: z.string().describe('Release event action'),
|
|
34
|
-
owner: z.string().describe('Repository owner'),
|
|
35
|
-
repo: z.string().describe('Repository name'),
|
|
36
|
-
releaseId: z.number().describe('Release ID'),
|
|
37
|
-
tagName: z.string().describe('Tag name'),
|
|
38
|
-
name: z.string().nullable().describe('Release title'),
|
|
39
|
-
body: z.string().nullable().describe('Release notes'),
|
|
40
|
-
htmlUrl: z.string().describe('URL to the release'),
|
|
41
|
-
draft: z.boolean().describe('Whether the release is a draft'),
|
|
42
|
-
prerelease: z.boolean().describe('Whether it is a pre-release'),
|
|
43
|
-
author: z.string().describe('Release author login'),
|
|
44
|
-
createdAt: z.string().describe('Creation timestamp'),
|
|
45
|
-
publishedAt: z.string().nullable().describe('Publication timestamp')
|
|
46
|
-
})
|
|
47
|
-
)
|
|
48
|
-
.webhook({
|
|
49
|
-
handleRequest: async ctx => {
|
|
50
|
-
let event = ctx.request.headers.get('x-github-event');
|
|
51
|
-
if (event !== 'release') {
|
|
52
|
-
return { inputs: [] };
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
let data = (await ctx.request.json()) as any;
|
|
56
|
-
let release = data.release;
|
|
57
|
-
let deliveryId = ctx.request.headers.get('x-github-delivery') ?? '';
|
|
58
|
-
|
|
59
|
-
return {
|
|
60
|
-
inputs: [
|
|
61
|
-
{
|
|
62
|
-
action: data.action,
|
|
63
|
-
owner: data.repository.owner.login,
|
|
64
|
-
repo: data.repository.name,
|
|
65
|
-
releaseId: release.id,
|
|
66
|
-
tagName: release.tag_name,
|
|
67
|
-
name: release.name,
|
|
68
|
-
body: release.body,
|
|
69
|
-
htmlUrl: release.html_url,
|
|
70
|
-
draft: release.draft,
|
|
71
|
-
prerelease: release.prerelease,
|
|
72
|
-
author: release.author.login,
|
|
73
|
-
createdAt: release.created_at,
|
|
74
|
-
publishedAt: release.published_at,
|
|
75
|
-
deliveryId
|
|
76
|
-
}
|
|
77
|
-
]
|
|
78
|
-
};
|
|
79
|
-
},
|
|
80
|
-
|
|
81
|
-
handleEvent: async ctx => {
|
|
82
|
-
return {
|
|
83
|
-
type: `release.${ctx.input.action}`,
|
|
84
|
-
id: ctx.input.deliveryId,
|
|
85
|
-
output: {
|
|
86
|
-
action: ctx.input.action,
|
|
87
|
-
owner: ctx.input.owner,
|
|
88
|
-
repo: ctx.input.repo,
|
|
89
|
-
releaseId: ctx.input.releaseId,
|
|
90
|
-
tagName: ctx.input.tagName,
|
|
91
|
-
name: ctx.input.name,
|
|
92
|
-
body: ctx.input.body,
|
|
93
|
-
htmlUrl: ctx.input.htmlUrl,
|
|
94
|
-
draft: ctx.input.draft,
|
|
95
|
-
prerelease: ctx.input.prerelease,
|
|
96
|
-
author: ctx.input.author,
|
|
97
|
-
createdAt: ctx.input.createdAt,
|
|
98
|
-
publishedAt: ctx.input.publishedAt
|
|
99
|
-
}
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
})
|
|
103
|
-
.build();
|
package/src/triggers/star.ts
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { SlateTrigger } from 'slates';
|
|
2
|
-
import { spec } from '../spec';
|
|
3
|
-
import { z } from 'zod';
|
|
4
|
-
|
|
5
|
-
export let starTrigger = SlateTrigger.create(spec, {
|
|
6
|
-
name: 'Star',
|
|
7
|
-
key: 'star',
|
|
8
|
-
description: 'Triggered when a repository is starred or unstarred.'
|
|
9
|
-
})
|
|
10
|
-
.input(
|
|
11
|
-
z.object({
|
|
12
|
-
action: z.string().describe('Star action (created or deleted)'),
|
|
13
|
-
owner: z.string().describe('Repository owner'),
|
|
14
|
-
repo: z.string().describe('Repository name'),
|
|
15
|
-
starredAt: z.string().nullable().describe('Timestamp when the star was created'),
|
|
16
|
-
sender: z.string().describe('User who starred/unstarred'),
|
|
17
|
-
senderAvatarUrl: z.string().describe('Avatar URL of the sender'),
|
|
18
|
-
deliveryId: z.string().describe('Webhook delivery ID')
|
|
19
|
-
})
|
|
20
|
-
)
|
|
21
|
-
.output(
|
|
22
|
-
z.object({
|
|
23
|
-
action: z.string().describe('Star action (created or deleted)'),
|
|
24
|
-
owner: z.string().describe('Repository owner'),
|
|
25
|
-
repo: z.string().describe('Repository name'),
|
|
26
|
-
starredAt: z.string().nullable().describe('Timestamp when the star was created'),
|
|
27
|
-
sender: z.string().describe('User who starred/unstarred'),
|
|
28
|
-
senderAvatarUrl: z.string().describe('Avatar URL of the sender')
|
|
29
|
-
})
|
|
30
|
-
)
|
|
31
|
-
.webhook({
|
|
32
|
-
handleRequest: async ctx => {
|
|
33
|
-
let event = ctx.request.headers.get('x-github-event');
|
|
34
|
-
if (event !== 'star') {
|
|
35
|
-
return { inputs: [] };
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
let data = (await ctx.request.json()) as any;
|
|
39
|
-
let deliveryId = ctx.request.headers.get('x-github-delivery') ?? '';
|
|
40
|
-
|
|
41
|
-
return {
|
|
42
|
-
inputs: [
|
|
43
|
-
{
|
|
44
|
-
action: data.action,
|
|
45
|
-
owner: data.repository.owner.login,
|
|
46
|
-
repo: data.repository.name,
|
|
47
|
-
starredAt: data.starred_at ?? null,
|
|
48
|
-
sender: data.sender.login,
|
|
49
|
-
senderAvatarUrl: data.sender.avatar_url,
|
|
50
|
-
deliveryId
|
|
51
|
-
}
|
|
52
|
-
]
|
|
53
|
-
};
|
|
54
|
-
},
|
|
55
|
-
|
|
56
|
-
handleEvent: async ctx => {
|
|
57
|
-
return {
|
|
58
|
-
type: `star.${ctx.input.action}`,
|
|
59
|
-
id: ctx.input.deliveryId,
|
|
60
|
-
output: {
|
|
61
|
-
action: ctx.input.action,
|
|
62
|
-
owner: ctx.input.owner,
|
|
63
|
-
repo: ctx.input.repo,
|
|
64
|
-
starredAt: ctx.input.starredAt,
|
|
65
|
-
sender: ctx.input.sender,
|
|
66
|
-
senderAvatarUrl: ctx.input.senderAvatarUrl
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
})
|
|
71
|
-
.build();
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { SlateTrigger } from 'slates';
|
|
2
|
-
import { spec } from '../spec';
|
|
3
|
-
import { z } from 'zod';
|
|
4
|
-
|
|
5
|
-
export let workflowRunTrigger = SlateTrigger.create(spec, {
|
|
6
|
-
name: 'Workflow Run',
|
|
7
|
-
key: 'workflow_run',
|
|
8
|
-
description:
|
|
9
|
-
'Triggered when a GitHub Actions workflow run is requested, completed, or in progress.'
|
|
10
|
-
})
|
|
11
|
-
.input(
|
|
12
|
-
z.object({
|
|
13
|
-
action: z.string().describe('Workflow run action (requested, completed, in_progress)'),
|
|
14
|
-
owner: z.string().describe('Repository owner'),
|
|
15
|
-
repo: z.string().describe('Repository name'),
|
|
16
|
-
runId: z.number().describe('Workflow run ID'),
|
|
17
|
-
workflowName: z.string().describe('Workflow name'),
|
|
18
|
-
workflowId: z.number().describe('Workflow ID'),
|
|
19
|
-
status: z.string().nullable().describe('Run status'),
|
|
20
|
-
conclusion: z.string().nullable().describe('Run conclusion'),
|
|
21
|
-
headBranch: z.string().nullable().describe('Head branch'),
|
|
22
|
-
headSha: z.string().describe('Head commit SHA'),
|
|
23
|
-
event: z.string().describe('Event that triggered the workflow'),
|
|
24
|
-
htmlUrl: z.string().describe('URL to the workflow run'),
|
|
25
|
-
createdAt: z.string().describe('Creation timestamp'),
|
|
26
|
-
updatedAt: z.string().describe('Last update timestamp'),
|
|
27
|
-
actor: z.string().describe('User who triggered the run'),
|
|
28
|
-
deliveryId: z.string().describe('Webhook delivery ID')
|
|
29
|
-
})
|
|
30
|
-
)
|
|
31
|
-
.output(
|
|
32
|
-
z.object({
|
|
33
|
-
action: z.string().describe('Workflow run action'),
|
|
34
|
-
owner: z.string().describe('Repository owner'),
|
|
35
|
-
repo: z.string().describe('Repository name'),
|
|
36
|
-
runId: z.number().describe('Workflow run ID'),
|
|
37
|
-
workflowName: z.string().describe('Workflow name'),
|
|
38
|
-
workflowId: z.number().describe('Workflow ID'),
|
|
39
|
-
status: z.string().nullable().describe('Run status'),
|
|
40
|
-
conclusion: z
|
|
41
|
-
.string()
|
|
42
|
-
.nullable()
|
|
43
|
-
.describe('Run conclusion (success, failure, cancelled, etc.)'),
|
|
44
|
-
headBranch: z.string().nullable().describe('Head branch'),
|
|
45
|
-
headSha: z.string().describe('Head commit SHA'),
|
|
46
|
-
event: z.string().describe('Triggering event'),
|
|
47
|
-
htmlUrl: z.string().describe('URL to the workflow run'),
|
|
48
|
-
createdAt: z.string().describe('Creation timestamp'),
|
|
49
|
-
updatedAt: z.string().describe('Last update timestamp'),
|
|
50
|
-
actor: z.string().describe('User who triggered the run')
|
|
51
|
-
})
|
|
52
|
-
)
|
|
53
|
-
.webhook({
|
|
54
|
-
handleRequest: async ctx => {
|
|
55
|
-
let event = ctx.request.headers.get('x-github-event');
|
|
56
|
-
if (event !== 'workflow_run') {
|
|
57
|
-
return { inputs: [] };
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
let data = (await ctx.request.json()) as any;
|
|
61
|
-
let run = data.workflow_run;
|
|
62
|
-
let deliveryId = ctx.request.headers.get('x-github-delivery') ?? '';
|
|
63
|
-
|
|
64
|
-
return {
|
|
65
|
-
inputs: [
|
|
66
|
-
{
|
|
67
|
-
action: data.action,
|
|
68
|
-
owner: data.repository.owner.login,
|
|
69
|
-
repo: data.repository.name,
|
|
70
|
-
runId: run.id,
|
|
71
|
-
workflowName: run.name ?? data.workflow?.name ?? 'unknown',
|
|
72
|
-
workflowId: run.workflow_id ?? data.workflow?.id ?? 0,
|
|
73
|
-
status: run.status,
|
|
74
|
-
conclusion: run.conclusion,
|
|
75
|
-
headBranch: run.head_branch,
|
|
76
|
-
headSha: run.head_sha,
|
|
77
|
-
event: run.event,
|
|
78
|
-
htmlUrl: run.html_url,
|
|
79
|
-
createdAt: run.created_at,
|
|
80
|
-
updatedAt: run.updated_at,
|
|
81
|
-
actor: run.actor?.login ?? 'unknown',
|
|
82
|
-
deliveryId
|
|
83
|
-
}
|
|
84
|
-
]
|
|
85
|
-
};
|
|
86
|
-
},
|
|
87
|
-
|
|
88
|
-
handleEvent: async ctx => {
|
|
89
|
-
return {
|
|
90
|
-
type: `workflow_run.${ctx.input.action}`,
|
|
91
|
-
id: ctx.input.deliveryId,
|
|
92
|
-
output: {
|
|
93
|
-
action: ctx.input.action,
|
|
94
|
-
owner: ctx.input.owner,
|
|
95
|
-
repo: ctx.input.repo,
|
|
96
|
-
runId: ctx.input.runId,
|
|
97
|
-
workflowName: ctx.input.workflowName,
|
|
98
|
-
workflowId: ctx.input.workflowId,
|
|
99
|
-
status: ctx.input.status,
|
|
100
|
-
conclusion: ctx.input.conclusion,
|
|
101
|
-
headBranch: ctx.input.headBranch,
|
|
102
|
-
headSha: ctx.input.headSha,
|
|
103
|
-
event: ctx.input.event,
|
|
104
|
-
htmlUrl: ctx.input.htmlUrl,
|
|
105
|
-
createdAt: ctx.input.createdAt,
|
|
106
|
-
updatedAt: ctx.input.updatedAt,
|
|
107
|
-
actor: ctx.input.actor
|
|
108
|
-
}
|
|
109
|
-
};
|
|
110
|
-
}
|
|
111
|
-
})
|
|
112
|
-
.build();
|
package/tsconfig.json
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"types": ["node"],
|
|
4
|
-
"lib": ["ESNext"],
|
|
5
|
-
"target": "ESNext",
|
|
6
|
-
"module": "Preserve",
|
|
7
|
-
"moduleDetection": "force",
|
|
8
|
-
"jsx": "react-jsx",
|
|
9
|
-
"allowJs": true,
|
|
10
|
-
"moduleResolution": "bundler",
|
|
11
|
-
|
|
12
|
-
"noEmit": true,
|
|
13
|
-
"strict": true,
|
|
14
|
-
"skipLibCheck": true,
|
|
15
|
-
"noFallthroughCasesInSwitch": true,
|
|
16
|
-
"noUncheckedIndexedAccess": true,
|
|
17
|
-
"noImplicitOverride": true,
|
|
18
|
-
"noUnusedLocals": false,
|
|
19
|
-
"noUnusedParameters": false,
|
|
20
|
-
"noPropertyAccessFromIndexSignature": false
|
|
21
|
-
},
|
|
22
|
-
"include": ["src"]
|
|
23
|
-
}
|