@archbee/mcp 1.1.23 → 2.1.0

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/src/index.ts CHANGED
@@ -2,47 +2,392 @@
2
2
 
3
3
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'
4
4
  import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'
5
+ import { type CallToolResult } from '@modelcontextprotocol/sdk/types.js'
6
+ import axios from 'axios'
5
7
  import { z } from 'zod'
6
8
 
7
- import { CallToolResult } from '@modelcontextprotocol/sdk/types'
8
- import axios from 'axios'
9
+ interface McpApiParams {
10
+ tool: string
11
+ docId?: string
12
+ query?: string
13
+ docSpaceId?: string
14
+ content?: string
15
+ format?: 'markdown' | 'mdx'
16
+ title?: string
17
+ parentDocId?: string
18
+ slug?: string
19
+ description?: string
20
+ previewImgURL?: string
21
+ hidden?: boolean
22
+ recursive?: boolean
23
+ name?: string
24
+ categoryName?: string
25
+ categoryId?: string
26
+ docSpaceGroupId?: string
27
+ isAiEnabled?: boolean
28
+ isReviewSystemEnabled?: boolean
29
+ isBranchingSystemEnabled?: boolean
30
+ hostnamePart?: { hostname: string; hostnamePath: string }
31
+ spaceLinks?: { label: string; docSpaceId: string }[]
32
+ publicAccessControlPart?: Record<string, unknown>
33
+ }
34
+
35
+ // A team key is not bound to a space, so the space travels per call instead of
36
+ // being packed into the credential like a space key is.
37
+ const TEAM_API_KEY_PREFIX = 'abteam_'
38
+
39
+ const usesTeamApiKey = (): boolean =>
40
+ (process.env.API_KEY || '').startsWith(TEAM_API_KEY_PREFIX)
41
+
42
+ const docSpaceIdArg = {
43
+ docSpaceId: z
44
+ .string()
45
+ .optional()
46
+ .describe(
47
+ 'Space to act on. Required when API_KEY is a team key (starts with `abteam_`), which can reach every space in the team. Ignored with a space API key, since that key already names its space.'
48
+ ),
49
+ }
50
+
51
+ const MDX_FORMAT_DESCRIPTION =
52
+ 'Format of `content`. Use `mdx` when the content contains JSX-style Archbee components such as `<hint>`, `<CtaButton />` or `<Tabs>` — with plain markdown those degrade to raw html blocks. Directive-style components (`:::hint{type="info"}`) work in both formats. Defaults to markdown when omitted.'
9
53
 
10
54
  // Create an MCP server
11
55
  const server = new McpServer({
12
56
  name: 'Archbee MCP',
13
- version: '1.0.0',
57
+ version: '2.1.0',
14
58
  })
15
59
 
16
- server.tool('get_all_docs', {}, async ({}) => {
17
- const params = {
18
- tool: 'get-all-docs',
60
+ server.tool(
61
+ 'get_all_docs',
62
+ 'Read every document in the Archbee doc space, with its content, and each document carries the name of the space it belongs to (docSpaceName). Returns the whole space, so prefer search_query or search_title when looking for something specific.',
63
+ { ...docSpaceIdArg },
64
+ async ({ docSpaceId }) => {
65
+ const params = {
66
+ tool: 'get-all-docs',
67
+ docSpaceId,
68
+ }
69
+ return callMcpApi(params)
19
70
  }
20
- return callMcpApi(params)
21
- })
71
+ )
22
72
 
23
- server.tool('get_doc', { docId: z.string() }, async ({ docId }) => {
24
- const params = {
25
- tool: 'get-doc',
26
- docId,
73
+ server.tool(
74
+ 'get_doc',
75
+ 'Read one Archbee document by id and return its content as markdown, alongside the id and name of the space it lives in.',
76
+ {
77
+ docId: z
78
+ .string()
79
+ .describe(
80
+ 'ID of the document to read, as returned by search_query, search_title or get_all_docs.'
81
+ ),
82
+ ...docSpaceIdArg,
83
+ },
84
+ async ({ docId, docSpaceId }) => {
85
+ const params = {
86
+ tool: 'get-doc',
87
+ docId,
88
+ docSpaceId,
89
+ }
90
+ return callMcpApi(params)
27
91
  }
28
- return callMcpApi(params)
29
- })
92
+ )
30
93
 
31
- server.tool('search_query', { query: z.string() }, async ({ query }) => {
32
- const params = {
33
- tool: 'search-query',
34
- query,
94
+ server.tool(
95
+ 'search_query',
96
+ 'Search the Archbee doc space by document content and return the matching documents. This is the tool to use for answering a question from the documentation. An empty query returns every document.',
97
+ {
98
+ query: z
99
+ .string()
100
+ .describe('Text to look for inside the content of the documents.'),
101
+ ...docSpaceIdArg,
102
+ },
103
+ async ({ query, docSpaceId }) => {
104
+ const params = {
105
+ tool: 'search-query',
106
+ query,
107
+ docSpaceId,
108
+ }
109
+ return callMcpApi(params)
35
110
  }
36
- return callMcpApi(params)
37
- })
111
+ )
38
112
 
39
- server.tool('search_title', { query: z.string() }, async ({ query }) => {
40
- const params = {
41
- tool: 'search-title',
42
- query,
113
+ server.tool(
114
+ 'search_title',
115
+ 'Search the Archbee doc space by document title. Use this when looking for a page by name; use search_query to search inside document content.',
116
+ {
117
+ query: z.string().describe('Text to look for in the document titles.'),
118
+ ...docSpaceIdArg,
119
+ },
120
+ async ({ query, docSpaceId }) => {
121
+ const params = {
122
+ tool: 'search-title',
123
+ query,
124
+ docSpaceId,
125
+ }
126
+ return callMcpApi(params)
43
127
  }
44
- return callMcpApi(params)
45
- })
128
+ )
129
+
130
+ // Write tools. With a space key the target space comes from SPACE_ID; with a
131
+ // team key it comes from the docSpaceId argument, which the three team-level
132
+ // tools below do not take because they act on the team, not on a space.
133
+
134
+ server.tool(
135
+ 'create_doc',
136
+ 'Create a new document in the Archbee doc space from Markdown or MDX content.',
137
+ {
138
+ content: z
139
+ .string()
140
+ .describe(
141
+ 'Body of the document to create, as Markdown or MDX text. JSON document content is not accepted.'
142
+ ),
143
+ format: z
144
+ .enum(['markdown', 'mdx'])
145
+ .optional()
146
+ .describe(MDX_FORMAT_DESCRIPTION),
147
+ title: z.string().optional().describe('Title of the document.'),
148
+ parentDocId: z
149
+ .string()
150
+ .optional()
151
+ .describe('ID of the parent document to nest this document under.'),
152
+ slug: z.string().optional().describe('URL slug for the document.'),
153
+ description: z
154
+ .string()
155
+ .optional()
156
+ .describe('Short description / summary of the document.'),
157
+ previewImgURL: z
158
+ .string()
159
+ .optional()
160
+ .describe('URL of the preview / social image for the document.'),
161
+ hidden: z
162
+ .boolean()
163
+ .optional()
164
+ .describe('When true, the document is hidden from navigation.'),
165
+ ...docSpaceIdArg,
166
+ },
167
+ async (args) => callWriteApi({ tool: 'create-doc', ...args })
168
+ )
169
+
170
+ server.tool(
171
+ 'update_doc',
172
+ 'Update an existing Archbee document. Only the provided fields are changed.',
173
+ {
174
+ docId: z.string().describe('ID of the document to update.'),
175
+ content: z
176
+ .string()
177
+ .optional()
178
+ .describe(
179
+ 'New body for the document, as Markdown or MDX text. JSON document content is not accepted.'
180
+ ),
181
+ format: z
182
+ .enum(['markdown', 'mdx'])
183
+ .optional()
184
+ .describe(MDX_FORMAT_DESCRIPTION),
185
+ title: z.string().optional().describe('New title of the document.'),
186
+ parentDocId: z
187
+ .string()
188
+ .optional()
189
+ .describe('ID of the parent document to move this document under.'),
190
+ slug: z.string().optional().describe('New URL slug for the document.'),
191
+ description: z
192
+ .string()
193
+ .optional()
194
+ .describe('New short description / summary of the document.'),
195
+ previewImgURL: z
196
+ .string()
197
+ .optional()
198
+ .describe('New preview / social image URL for the document.'),
199
+ hidden: z
200
+ .boolean()
201
+ .optional()
202
+ .describe('When true, the document is hidden from navigation.'),
203
+ ...docSpaceIdArg,
204
+ },
205
+ async (args) => callWriteApi({ tool: 'update-doc', ...args })
206
+ )
207
+
208
+ server.tool(
209
+ 'delete_doc',
210
+ 'Permanently delete an Archbee document. This is destructive and cannot be undone: the document is removed together with every file and image uploaded to it, and any documents nested underneath it are deleted as well. Ask the user to confirm before calling this tool.',
211
+ {
212
+ docId: z.string().describe('ID of the document to delete.'),
213
+ recursive: z
214
+ .boolean()
215
+ .optional()
216
+ .describe(
217
+ 'Required (set to true) to delete a document that has nested child documents, which deletes those children too. When the document has children and this is not set, the call is rejected and the response lists the child documents that would be affected.'
218
+ ),
219
+ ...docSpaceIdArg,
220
+ },
221
+ async (args) => callWriteApi({ tool: 'delete-doc', ...args })
222
+ )
223
+
224
+ server.tool(
225
+ 'create_doc_space',
226
+ 'Create a new doc space (documentation space) in the current Archbee team.',
227
+ {
228
+ name: z.string().describe('Name of the new doc space.'),
229
+ isReviewSystemEnabled: z
230
+ .boolean()
231
+ .optional()
232
+ .describe('Enable the review/approval workflow for the space.'),
233
+ isBranchingSystemEnabled: z
234
+ .boolean()
235
+ .optional()
236
+ .describe('Enable the branching (git-style) workflow for the space.'),
237
+ docSpaceGroupId: z
238
+ .string()
239
+ .optional()
240
+ .describe('ID of the collection/group to place the new space in.'),
241
+ },
242
+ async (args) => callWriteApi({ tool: 'create-doc-space', ...args })
243
+ )
244
+
245
+ // Mirrors PublicAPIUpdateDocSpaceRequestSchema in @archbee/data-access, which
246
+ // this standalone package cannot import. The API re-validates with the real
247
+ // schema, so this only has to describe the shape well enough for the model;
248
+ // publicAccessControlPart passes unknown keys through so newer access-control
249
+ // fields keep working without a release here.
250
+ const emailListSchema = z.array(z.object({ email: z.string() }))
251
+
252
+ const publicAccessControlPartSchema = z
253
+ .object({
254
+ publicProtectionTypes: z
255
+ .array(
256
+ z.enum([
257
+ 'None',
258
+ 'Password',
259
+ 'Guest accounts',
260
+ 'Private Accounts',
261
+ 'Private Link',
262
+ 'Magic Link',
263
+ 'JWT',
264
+ 'SAML',
265
+ 'OIDC',
266
+ ])
267
+ )
268
+ .optional(),
269
+ publicPassword: z.string().optional(),
270
+ publicGuestAccounts: z
271
+ .array(z.object({ email: z.string(), password: z.string() }))
272
+ .optional(),
273
+ publicMagicLinkAccounts: emailListSchema.optional(),
274
+ publicPrivateAccounts: emailListSchema.optional(),
275
+ jwtValidationType: z.string().optional(),
276
+ jwtKeyUrl: z.string().optional(),
277
+ jwtSecret: z.string().optional(),
278
+ jwtRedirectURL: z.string().optional(),
279
+ samlMetadata: z.string().optional(),
280
+ samlEntityId: z.string().optional(),
281
+ conditionalRuleId: z.string().optional(),
282
+ })
283
+ .passthrough()
284
+
285
+ server.tool(
286
+ 'update_doc_space',
287
+ 'Update an Archbee doc space: rename it, or change its hostname, space links or public access control. Only the provided parts are changed, and at least one must be provided. The response echoes the space name, and get_all_docs / get_doc report it too, so a rename can be verified.',
288
+ {
289
+ name: z
290
+ .string()
291
+ .optional()
292
+ .describe('New display name for the space (renames it).'),
293
+ hostnamePart: z
294
+ .object({ hostname: z.string(), hostnamePath: z.string() })
295
+ .optional()
296
+ .describe('Custom hostname configuration for the space.'),
297
+ spaceLinks: z
298
+ .array(z.object({ label: z.string(), docSpaceId: z.string() }))
299
+ .optional()
300
+ .describe(
301
+ 'Links to other spaces. The list should start with the current space.'
302
+ ),
303
+ publicAccessControlPart: publicAccessControlPartSchema
304
+ .optional()
305
+ .describe('Public access control and authentication configuration.'),
306
+ ...docSpaceIdArg,
307
+ },
308
+ async (args) => callWriteApi({ tool: 'update-doc-space', ...args })
309
+ )
310
+
311
+ server.tool(
312
+ 'delete_doc_space',
313
+ 'Permanently delete an Archbee doc space together with every document inside it. This is destructive and cannot be undone. With a space API key the space deleted is the one SPACE_ID points at, so that key dies with it and no further tool call will work; with a team key it is the space named by docSpaceId. Ask the user to confirm before calling this tool.',
314
+ { ...docSpaceIdArg },
315
+ async (args) => callWriteApi({ tool: 'delete-doc-space', ...args })
316
+ )
317
+
318
+ server.tool(
319
+ 'create_space_group',
320
+ 'Create a new space group (collection of doc spaces) in the current Archbee team. Requires a team admin.',
321
+ {
322
+ name: z.string().describe('Name of the new space group.'),
323
+ isAiEnabled: z
324
+ .boolean()
325
+ .optional()
326
+ .describe('Enable AI features for the space group.'),
327
+ isReviewSystemEnabled: z
328
+ .boolean()
329
+ .optional()
330
+ .describe('Enable the review/approval workflow for the space group.'),
331
+ isBranchingSystemEnabled: z
332
+ .boolean()
333
+ .optional()
334
+ .describe(
335
+ 'Enable the branching (git-style) workflow for the space group.'
336
+ ),
337
+ },
338
+ async (args) => callWriteApi({ tool: 'create-space-group', ...args })
339
+ )
340
+
341
+ server.tool(
342
+ 'delete_space_group',
343
+ 'Delete a space group (collection of doc spaces) from the current Archbee team. Requires a team admin. The group must already be empty: move or delete every doc space it still contains first, otherwise the call is rejected.',
344
+ {
345
+ docSpaceGroupId: z.string().describe('ID of the space group to delete.'),
346
+ },
347
+ async (args) => callWriteApi({ tool: 'delete-space-group', ...args })
348
+ )
349
+
350
+ server.tool(
351
+ 'create_category',
352
+ 'Create a category (a folder in the space navigation) in an Archbee doc space. A category holds documents but has no content of its own. To put a document inside it, pass the returned categoryId as `parentDocId` on create_doc or update_doc.',
353
+ {
354
+ categoryName: z.string().describe('Name of the category to create.'),
355
+ parentDocId: z
356
+ .string()
357
+ .optional()
358
+ .describe(
359
+ 'ID of the document or category to nest this category under. Omit to create it at the top level of the space.'
360
+ ),
361
+ ...docSpaceIdArg,
362
+ },
363
+ async (args) => callWriteApi({ tool: 'create-category', ...args })
364
+ )
365
+
366
+ server.tool(
367
+ 'delete_category',
368
+ 'Delete a category from an Archbee doc space. The category must already be empty: move or delete the documents inside it first, otherwise the call is rejected. Deleting a category never deletes documents.',
369
+ {
370
+ categoryId: z.string().describe('ID of the category to delete.'),
371
+ ...docSpaceIdArg,
372
+ },
373
+ async (args) => callWriteApi({ tool: 'delete-category', ...args })
374
+ )
375
+
376
+ // Origin of the Archbee API the key belongs to, same variable the CLI takes.
377
+ // app.archbee.com/api is being phased out, so the default is api.archbee.com.
378
+ const apiMcpUrl = (): string | null => {
379
+ const apiUrlInput = (process.env.ARCHBEE_API_URL || '').trim()
380
+
381
+ if (!apiUrlInput) {
382
+ return 'https://api.archbee.com/api/public-mcp'
383
+ }
384
+
385
+ try {
386
+ return new URL('/api/public-mcp', apiUrlInput).toString()
387
+ } catch {
388
+ return null
389
+ }
390
+ }
46
391
 
47
392
  const processUrl = (urlInput: string): string | null => {
48
393
  try {
@@ -53,55 +398,86 @@ const processUrl = (urlInput: string): string | null => {
53
398
  : url.pathname + '/mcp'
54
399
 
55
400
  return url.toString()
56
- } catch (error) {
401
+ } catch {
57
402
  return null
58
403
  }
59
404
  }
60
405
 
61
- const callMcpApi = async (
62
- params: Record<string, any>
63
- ): Promise<CallToolResult> => {
406
+ // A team key authenticates on its own, so team-level tools need no space at all.
407
+ // A space key carries no space id, so it travels packed with one.
408
+ const authorizationHeader = (docSpaceId: string): string => {
409
+ const apiKey = process.env.API_KEY || ''
410
+
411
+ if (!apiKey) {
412
+ return ''
413
+ }
414
+
415
+ if (usesTeamApiKey()) {
416
+ return `Bearer ${apiKey}`
417
+ }
418
+
419
+ return docSpaceId
420
+ ? `Bearer ${Buffer.from(`${docSpaceId}~${apiKey}`).toString('base64')}`
421
+ : ''
422
+ }
423
+
424
+ const callMcpApi = async (params: McpApiParams): Promise<CallToolResult> => {
64
425
  const urlInput = process.env.API_BASE || ''
65
- const docSpaceIdInput = process.env.SPACE_ID || ''
426
+ const teamMode = usesTeamApiKey()
427
+ const docSpaceIdInput = teamMode
428
+ ? params.docSpaceId || ''
429
+ : process.env.SPACE_ID || ''
66
430
 
67
- if (!urlInput && !docSpaceIdInput) {
431
+ if (!teamMode && !urlInput && !docSpaceIdInput) {
68
432
  return {
69
433
  content: [{ type: 'text', text: 'API base URL or docSpaceId not set.' }],
434
+ isError: true,
70
435
  }
71
436
  }
72
437
 
73
438
  if (!process.env.API_KEY && !urlInput) {
74
- return { content: [{ type: 'text', text: 'API key not set.' }] }
439
+ return {
440
+ content: [{ type: 'text', text: 'API key not set.' }],
441
+ isError: true,
442
+ }
75
443
  }
76
444
 
77
- const urlMcp = urlInput
78
- ? processUrl(urlInput)
79
- : 'https://app.archbee.com/api/public-mcp'
445
+ const urlMcp = urlInput ? processUrl(urlInput) : apiMcpUrl()
80
446
 
81
447
  if (urlMcp === null) {
82
448
  return {
83
- content: [{ type: 'text', text: 'Invalid API base URL format.' }],
449
+ content: [
450
+ {
451
+ type: 'text',
452
+ text: 'Invalid API base URL or ARCHBEE_API_URL format.',
453
+ },
454
+ ],
455
+ isError: true,
84
456
  }
85
457
  }
86
458
 
459
+ const authorization = authorizationHeader(docSpaceIdInput)
460
+
87
461
  try {
88
- let dataText: string = ''
462
+ let dataText: string
89
463
 
90
- if (docSpaceIdInput) {
91
- params.docSpaceId = docSpaceIdInput
92
- const rawAuth = `${docSpaceIdInput}~${process.env.API_KEY}`
93
- const base64Auth = Buffer.from(rawAuth).toString('base64')
464
+ if (authorization) {
465
+ if (docSpaceIdInput) {
466
+ params.docSpaceId = docSpaceIdInput
467
+ }
94
468
 
95
469
  const response = await axios.post(urlMcp, params, {
96
470
  headers: {
97
- Authorization: `Bearer ${base64Auth}`,
471
+ Authorization: authorization,
98
472
  'Content-Type': 'application/json',
99
473
  },
474
+ timeout: 30000,
100
475
  })
101
476
  dataText = JSON.stringify(response.data)
102
477
  } else {
103
478
  const response = await axios.get(urlMcp, {
104
479
  params,
480
+ timeout: 30000,
105
481
  })
106
482
  dataText = JSON.stringify(response.data)
107
483
  }
@@ -110,21 +486,114 @@ const callMcpApi = async (
110
486
  content: [{ type: 'text', text: dataText }],
111
487
  }
112
488
  } catch (error) {
489
+ const errorMessage = formatError(error)
490
+ console.error(`MCP API error: ${errorMessage}`)
491
+ return {
492
+ content: [{ type: 'text', text: errorMessage }],
493
+ isError: true,
494
+ }
495
+ }
496
+ }
497
+
498
+ // Writes only go through the SPACE_ID + API_KEY path: the API_BASE mode is an
499
+ // unauthenticated GET against a public portal, and the API refuses every write
500
+ // made with a PUBLISHED-/PREVIEW- snapshot credential. Both cases fail here with
501
+ // an explanation rather than as an opaque rejection from the server.
502
+ const callWriteApi = async (params: McpApiParams): Promise<CallToolResult> => {
503
+ const teamMode = usesTeamApiKey()
504
+ const docSpaceIdInput = teamMode
505
+ ? params.docSpaceId || ''
506
+ : process.env.SPACE_ID || ''
507
+
508
+ if (!process.env.API_KEY || (!teamMode && !docSpaceIdInput)) {
113
509
  return {
114
510
  content: [
115
511
  {
116
512
  type: 'text',
117
- text: `Error in mcp: ${error} ${urlMcp} ${params}`,
513
+ text: 'Write tools need an API_KEY, plus SPACE_ID when the key is a space key. The API_BASE configuration is read-only.',
118
514
  },
119
515
  ],
516
+ isError: true,
120
517
  }
121
518
  }
519
+
520
+ if (
521
+ docSpaceIdInput.startsWith('PUBLISHED-') ||
522
+ docSpaceIdInput.startsWith('PREVIEW-')
523
+ ) {
524
+ return {
525
+ content: [
526
+ {
527
+ type: 'text',
528
+ text: 'The target space is a published/preview snapshot, which cannot be written to. Use the live space id from the space URL in the Archbee app.',
529
+ },
530
+ ],
531
+ isError: true,
532
+ }
533
+ }
534
+
535
+ return callMcpApi(params)
536
+ }
537
+
538
+ const formatError = (error: unknown): string => {
539
+ if (axios.isAxiosError(error)) {
540
+ if (error.code === 'ECONNABORTED') {
541
+ return 'Request timeout - the server took too long to respond.'
542
+ }
543
+ if (error.code === 'ENOTFOUND' || error.code === 'ECONNREFUSED') {
544
+ return 'Connection failed - unable to reach the API server.'
545
+ }
546
+ if (error.response) {
547
+ const status = error.response.status
548
+ if (status === 401 || status === 403) {
549
+ return 'Authentication failed - check your API key.'
550
+ }
551
+ if (status === 404) {
552
+ return 'Resource not found - check the document ID.'
553
+ }
554
+ if (status >= 500) {
555
+ return 'Server error - please try again later.'
556
+ }
557
+ return `API error (${status}): ${error.response.statusText}`
558
+ }
559
+ return `Network error: ${error.message}`
560
+ }
561
+ if (error instanceof Error) {
562
+ return error.message
563
+ }
564
+ return 'An unexpected error occurred.'
122
565
  }
123
566
 
124
567
  const main = async () => {
125
- // Start receiving messages on stdin and sending messages on stdout
126
568
  const transport = new StdioServerTransport()
127
- await server.connect(transport)
569
+
570
+ // Handle graceful shutdown
571
+ const shutdown = async () => {
572
+ console.error('Shutting down MCP server...')
573
+ try {
574
+ await server.close()
575
+ } catch {
576
+ // Ignore close errors during shutdown
577
+ }
578
+ process.exit(0)
579
+ }
580
+
581
+ process.on('SIGINT', shutdown)
582
+ process.on('SIGTERM', shutdown)
583
+
584
+ try {
585
+ await server.connect(transport)
586
+ console.error('Archbee MCP server started successfully')
587
+ } catch (error) {
588
+ console.error(
589
+ 'Failed to start MCP server:',
590
+ error instanceof Error ? error.message : error
591
+ )
592
+ process.exit(1)
593
+ }
128
594
  }
129
595
 
130
- main()
596
+ main().catch((error) => {
597
+ console.error('Fatal error:', error instanceof Error ? error.message : error)
598
+ process.exit(1)
599
+ })
package/tsconfig.json DELETED
@@ -1,15 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "esModuleInterop": true,
4
- "module": "commonjs",
5
- "noImplicitReturns": true,
6
- "outDir": "dist",
7
- "sourceMap": true,
8
- "strict": true,
9
- "target": "es2019",
10
- "skipLibCheck": true,
11
- "skipDefaultLibCheck": true
12
- },
13
- "compileOnSave": true,
14
- "include": ["src"]
15
- }