@teambit/mdx 0.0.866 → 0.0.868

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.
@@ -0,0 +1,520 @@
1
+ {
2
+ "__schema": "APISchema",
3
+ "location": {
4
+ "filePath": "index.ts",
5
+ "line": 1,
6
+ "character": 1
7
+ },
8
+ "module": {
9
+ "__schema": "Module",
10
+ "location": {
11
+ "filePath": "index.ts",
12
+ "line": 1,
13
+ "character": 1
14
+ },
15
+ "exports": [
16
+ {
17
+ "__schema": "ClassSchema",
18
+ "className": "MDXMain",
19
+ "location": {
20
+ "filePath": "mdx.main.runtime.ts",
21
+ "line": 26,
22
+ "character": 1
23
+ },
24
+ "members": [
25
+ {
26
+ "__schema": "FunctionLikeSchema",
27
+ "location": {
28
+ "filePath": "mdx.main.runtime.ts",
29
+ "line": 27,
30
+ "character": 3
31
+ },
32
+ "name": "icon",
33
+ "signature": "(method) MDXMain.icon(): string",
34
+ "modifiers": [],
35
+ "params": [],
36
+ "returnType": {
37
+ "__schema": "InferenceTypeSchema",
38
+ "location": {
39
+ "filePath": "mdx.main.runtime.ts",
40
+ "line": 27,
41
+ "character": 3
42
+ },
43
+ "type": "string"
44
+ }
45
+ },
46
+ {
47
+ "__schema": "FunctionLikeSchema",
48
+ "location": {
49
+ "filePath": "mdx.main.runtime.ts",
50
+ "line": 34,
51
+ "character": 3
52
+ },
53
+ "name": "createCompiler",
54
+ "signature": "(method) MDXMain.createCompiler(opts?: MDXCompilerOpts): MDXCompiler",
55
+ "modifiers": [],
56
+ "params": [
57
+ {
58
+ "__schema": "ParameterSchema",
59
+ "location": {
60
+ "filePath": "mdx.main.runtime.ts",
61
+ "line": 34,
62
+ "character": 18
63
+ },
64
+ "name": "opts",
65
+ "isOptional": false,
66
+ "defaultValue": "{}",
67
+ "type": {
68
+ "__schema": "TypeRefSchema",
69
+ "location": {
70
+ "filePath": "mdx.main.runtime.ts",
71
+ "line": 34,
72
+ "character": 24
73
+ },
74
+ "name": "MDXCompilerOpts"
75
+ }
76
+ }
77
+ ],
78
+ "returnType": {
79
+ "__schema": "InferenceTypeSchema",
80
+ "location": {
81
+ "filePath": "mdx.main.runtime.ts",
82
+ "line": 34,
83
+ "character": 3
84
+ },
85
+ "type": "MDXCompiler"
86
+ },
87
+ "doc": {
88
+ "__schema": "DocSchema",
89
+ "location": {
90
+ "filePath": "mdx.main.runtime.ts",
91
+ "line": 31,
92
+ "character": 3
93
+ },
94
+ "raw": "/**\n * create an instance of the MDX compiler.\n */",
95
+ "comment": "create an instance of the MDX compiler."
96
+ }
97
+ },
98
+ {
99
+ "__schema": "VariableLikeSchema",
100
+ "location": {
101
+ "filePath": "mdx.main.runtime.ts",
102
+ "line": 39,
103
+ "character": 3
104
+ },
105
+ "name": "_mdxEnv",
106
+ "signature": "(property) MDXMain._mdxEnv: ReactEnv",
107
+ "isOptional": false,
108
+ "type": {
109
+ "__schema": "TypeRefSchema",
110
+ "location": {
111
+ "filePath": "mdx.main.runtime.ts",
112
+ "line": 39,
113
+ "character": 12
114
+ },
115
+ "name": "ReactEnv",
116
+ "componentId": {
117
+ "scope": "teambit.react",
118
+ "name": "react",
119
+ "version": "0.0.888"
120
+ }
121
+ }
122
+ },
123
+ {
124
+ "__schema": "GetAccessorSchema",
125
+ "location": {
126
+ "filePath": "mdx.main.runtime.ts",
127
+ "line": 40,
128
+ "character": 3
129
+ },
130
+ "name": "mdxEnv",
131
+ "signature": "(getter) MDXMain.mdxEnv: ReactEnv",
132
+ "type": {
133
+ "__schema": "InferenceTypeSchema",
134
+ "location": {
135
+ "filePath": "mdx.main.runtime.ts",
136
+ "line": 40,
137
+ "character": 3
138
+ },
139
+ "type": "ReactEnv"
140
+ }
141
+ },
142
+ {
143
+ "__schema": "VariableLikeSchema",
144
+ "location": {
145
+ "filePath": "mdx.main.runtime.ts",
146
+ "line": 47,
147
+ "character": 3
148
+ },
149
+ "name": "runtime",
150
+ "signature": "(property) MDXMain.runtime: RuntimeDefinition",
151
+ "isOptional": false,
152
+ "type": {
153
+ "__schema": "InferenceTypeSchema",
154
+ "location": {
155
+ "filePath": "mdx.main.runtime.ts",
156
+ "line": 47,
157
+ "character": 3
158
+ },
159
+ "type": "RuntimeDefinition"
160
+ }
161
+ },
162
+ {
163
+ "__schema": "VariableLikeSchema",
164
+ "location": {
165
+ "filePath": "mdx.main.runtime.ts",
166
+ "line": 49,
167
+ "character": 3
168
+ },
169
+ "name": "dependencies",
170
+ "signature": "(property) MDXMain.dependencies: Aspect[]",
171
+ "isOptional": false,
172
+ "type": {
173
+ "__schema": "InferenceTypeSchema",
174
+ "location": {
175
+ "filePath": "mdx.main.runtime.ts",
176
+ "line": 49,
177
+ "character": 3
178
+ },
179
+ "type": "Aspect[]"
180
+ }
181
+ },
182
+ {
183
+ "__schema": "VariableLikeSchema",
184
+ "location": {
185
+ "filePath": "mdx.main.runtime.ts",
186
+ "line": 60,
187
+ "character": 3
188
+ },
189
+ "name": "defaultConfig",
190
+ "signature": "(property) MDXMain.defaultConfig: {\n extensions: string[];\n}",
191
+ "isOptional": false,
192
+ "type": {
193
+ "__schema": "InferenceTypeSchema",
194
+ "location": {
195
+ "filePath": "mdx.main.runtime.ts",
196
+ "line": 60,
197
+ "character": 3
198
+ },
199
+ "type": "{\n extensions: string[];\n}"
200
+ }
201
+ },
202
+ {
203
+ "__schema": "FunctionLikeSchema",
204
+ "location": {
205
+ "filePath": "mdx.main.runtime.ts",
206
+ "line": 64,
207
+ "character": 3
208
+ },
209
+ "name": "provider",
210
+ "signature": "(method) MDXMain.provider([docs, depResolver, react, envs, multiCompiler, babel, compiler, generator]: [\n DocsMain,\n DependencyResolverMain,\n ReactMain,\n EnvsMain,\n MultiCompilerMain,\n BabelMain,\n CompilerMain,\n GeneratorMain\n], config: MDXConfig): Promise<MDXMain>",
211
+ "modifiers": [
212
+ "static",
213
+ "async"
214
+ ],
215
+ "params": [
216
+ {
217
+ "__schema": "ParameterSchema",
218
+ "location": {
219
+ "filePath": "mdx.main.runtime.ts",
220
+ "line": 65,
221
+ "character": 5
222
+ },
223
+ "name": "[ docs, depResolver, react, envs, multiCompiler, babel, compiler, generator ]",
224
+ "isOptional": false,
225
+ "type": {
226
+ "__schema": "TupleTypeSchema",
227
+ "location": {
228
+ "filePath": "mdx.main.runtime.ts",
229
+ "line": 65,
230
+ "character": 82
231
+ },
232
+ "elements": [
233
+ {
234
+ "__schema": "TypeRefSchema",
235
+ "location": {
236
+ "filePath": "mdx.main.runtime.ts",
237
+ "line": 66,
238
+ "character": 7
239
+ },
240
+ "name": "DocsMain",
241
+ "componentId": {
242
+ "scope": "teambit.docs",
243
+ "name": "docs",
244
+ "version": "0.0.888"
245
+ }
246
+ },
247
+ {
248
+ "__schema": "TypeRefSchema",
249
+ "location": {
250
+ "filePath": "mdx.main.runtime.ts",
251
+ "line": 67,
252
+ "character": 7
253
+ },
254
+ "name": "DependencyResolverMain",
255
+ "componentId": {
256
+ "scope": "teambit.dependencies",
257
+ "name": "dependency-resolver",
258
+ "version": "0.0.888"
259
+ }
260
+ },
261
+ {
262
+ "__schema": "TypeRefSchema",
263
+ "location": {
264
+ "filePath": "mdx.main.runtime.ts",
265
+ "line": 68,
266
+ "character": 7
267
+ },
268
+ "name": "ReactMain",
269
+ "componentId": {
270
+ "scope": "teambit.react",
271
+ "name": "react",
272
+ "version": "0.0.888"
273
+ }
274
+ },
275
+ {
276
+ "__schema": "TypeRefSchema",
277
+ "location": {
278
+ "filePath": "mdx.main.runtime.ts",
279
+ "line": 69,
280
+ "character": 7
281
+ },
282
+ "name": "EnvsMain",
283
+ "componentId": {
284
+ "scope": "teambit.envs",
285
+ "name": "envs",
286
+ "version": "0.0.888"
287
+ }
288
+ },
289
+ {
290
+ "__schema": "TypeRefSchema",
291
+ "location": {
292
+ "filePath": "mdx.main.runtime.ts",
293
+ "line": 70,
294
+ "character": 7
295
+ },
296
+ "name": "MultiCompilerMain",
297
+ "componentId": {
298
+ "scope": "teambit.compilation",
299
+ "name": "multi-compiler",
300
+ "version": "0.0.888"
301
+ }
302
+ },
303
+ {
304
+ "__schema": "TypeRefSchema",
305
+ "location": {
306
+ "filePath": "mdx.main.runtime.ts",
307
+ "line": 71,
308
+ "character": 7
309
+ },
310
+ "name": "BabelMain",
311
+ "componentId": {
312
+ "scope": "teambit.compilation",
313
+ "name": "babel",
314
+ "version": "0.0.888"
315
+ }
316
+ },
317
+ {
318
+ "__schema": "TypeRefSchema",
319
+ "location": {
320
+ "filePath": "mdx.main.runtime.ts",
321
+ "line": 72,
322
+ "character": 7
323
+ },
324
+ "name": "CompilerMain",
325
+ "componentId": {
326
+ "scope": "teambit.compilation",
327
+ "name": "compiler",
328
+ "version": "0.0.888"
329
+ }
330
+ },
331
+ {
332
+ "__schema": "TypeRefSchema",
333
+ "location": {
334
+ "filePath": "mdx.main.runtime.ts",
335
+ "line": 73,
336
+ "character": 7
337
+ },
338
+ "name": "GeneratorMain",
339
+ "componentId": {
340
+ "scope": "teambit.generator",
341
+ "name": "generator",
342
+ "version": "0.0.888"
343
+ }
344
+ }
345
+ ]
346
+ }
347
+ },
348
+ {
349
+ "__schema": "ParameterSchema",
350
+ "location": {
351
+ "filePath": "mdx.main.runtime.ts",
352
+ "line": 75,
353
+ "character": 5
354
+ },
355
+ "name": "config",
356
+ "isOptional": false,
357
+ "type": {
358
+ "__schema": "InferenceTypeSchema",
359
+ "location": {
360
+ "filePath": "mdx.main.runtime.ts",
361
+ "line": 75,
362
+ "character": 13
363
+ },
364
+ "type": "{\n extensions: string[];\n}",
365
+ "name": "MDXConfig"
366
+ }
367
+ }
368
+ ],
369
+ "returnType": {
370
+ "__schema": "InferenceTypeSchema",
371
+ "location": {
372
+ "filePath": "mdx.main.runtime.ts",
373
+ "line": 64,
374
+ "character": 3
375
+ },
376
+ "type": "Promise<MDXMain>"
377
+ }
378
+ }
379
+ ]
380
+ },
381
+ {
382
+ "__schema": "TypeSchema",
383
+ "location": {
384
+ "filePath": "mdx.compiler.ts",
385
+ "line": 10,
386
+ "character": 1
387
+ },
388
+ "name": "MDXCompilerOpts",
389
+ "signature": "type MDXCompilerOpts = {\n ignoredExtensions?: string[] | undefined;\n ignoredPatterns?: string[] | undefined;\n babelTransformOptions?: TransformOptions | undefined;\n}",
390
+ "type": {
391
+ "__schema": "TypeLiteralSchema",
392
+ "location": {
393
+ "filePath": "mdx.compiler.ts",
394
+ "line": 10,
395
+ "character": 31
396
+ },
397
+ "members": [
398
+ {
399
+ "__schema": "VariableLikeSchema",
400
+ "location": {
401
+ "filePath": "mdx.compiler.ts",
402
+ "line": 11,
403
+ "character": 3
404
+ },
405
+ "name": "ignoredExtensions",
406
+ "signature": "(property) ignoredExtensions?: string[] | undefined",
407
+ "isOptional": true,
408
+ "type": {
409
+ "__schema": "TypeArraySchema",
410
+ "location": {
411
+ "filePath": "mdx.compiler.ts",
412
+ "line": 11,
413
+ "character": 23
414
+ },
415
+ "type": {
416
+ "__schema": "KeywordTypeSchema",
417
+ "location": {
418
+ "filePath": "mdx.compiler.ts",
419
+ "line": 11,
420
+ "character": 23
421
+ },
422
+ "name": "string"
423
+ }
424
+ }
425
+ },
426
+ {
427
+ "__schema": "VariableLikeSchema",
428
+ "location": {
429
+ "filePath": "mdx.compiler.ts",
430
+ "line": 12,
431
+ "character": 3
432
+ },
433
+ "name": "ignoredPatterns",
434
+ "signature": "(property) ignoredPatterns?: string[] | undefined",
435
+ "isOptional": true,
436
+ "type": {
437
+ "__schema": "TypeArraySchema",
438
+ "location": {
439
+ "filePath": "mdx.compiler.ts",
440
+ "line": 12,
441
+ "character": 21
442
+ },
443
+ "type": {
444
+ "__schema": "KeywordTypeSchema",
445
+ "location": {
446
+ "filePath": "mdx.compiler.ts",
447
+ "line": 12,
448
+ "character": 21
449
+ },
450
+ "name": "string"
451
+ }
452
+ }
453
+ },
454
+ {
455
+ "__schema": "VariableLikeSchema",
456
+ "location": {
457
+ "filePath": "mdx.compiler.ts",
458
+ "line": 13,
459
+ "character": 3
460
+ },
461
+ "name": "babelTransformOptions",
462
+ "signature": "(property) babelTransformOptions?: TransformOptions | undefined",
463
+ "isOptional": true,
464
+ "type": {
465
+ "__schema": "TypeRefSchema",
466
+ "location": {
467
+ "filePath": "mdx.compiler.ts",
468
+ "line": 13,
469
+ "character": 27
470
+ },
471
+ "name": "TransformOptions",
472
+ "packageName": "@types/babel__core"
473
+ }
474
+ }
475
+ ]
476
+ }
477
+ },
478
+ {
479
+ "__schema": "ClassSchema",
480
+ "className": "MdxEnv",
481
+ "location": {
482
+ "filePath": "mdx.env.ts",
483
+ "line": 5,
484
+ "character": 1
485
+ },
486
+ "members": []
487
+ },
488
+ {
489
+ "__schema": "VariableLikeSchema",
490
+ "location": {
491
+ "filePath": "mdx.aspect.ts",
492
+ "line": 3,
493
+ "character": 14
494
+ },
495
+ "name": "MDXAspect",
496
+ "signature": "const MDXAspect: Aspect",
497
+ "isOptional": false,
498
+ "type": {
499
+ "__schema": "TypeRefSchema",
500
+ "location": {
501
+ "filePath": "mdx.aspect.ts",
502
+ "line": 3,
503
+ "character": 14
504
+ },
505
+ "name": "Aspect",
506
+ "componentId": {
507
+ "scope": "teambit.harmony",
508
+ "name": "harmony",
509
+ "version": "0.3.3"
510
+ }
511
+ }
512
+ }
513
+ ]
514
+ },
515
+ "componentId": {
516
+ "scope": "teambit.mdx",
517
+ "name": "mdx",
518
+ "version": "0.0.868"
519
+ }
520
+ }
package/package.json CHANGED
@@ -1,39 +1,39 @@
1
1
  {
2
2
  "name": "@teambit/mdx",
3
- "version": "0.0.866",
3
+ "version": "0.0.868",
4
4
  "homepage": "https://bit.dev/teambit/mdx/mdx",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.mdx",
8
8
  "name": "mdx",
9
- "version": "0.0.866"
9
+ "version": "0.0.868"
10
10
  },
11
11
  "dependencies": {
12
- "@babel/core": "7.12.17",
12
+ "@babel/core": "7.19.6",
13
13
  "fs-extra": "10.0.0",
14
14
  "minimatch": "3.0.5",
15
15
  "@babel/helper-plugin-test-runner": "7.16.7",
16
- "@babel/runtime": "7.12.18",
16
+ "@babel/runtime": "7.20.0",
17
17
  "core-js": "^3.0.0",
18
18
  "@teambit/harmony": "0.3.3",
19
- "@teambit/builder": "0.0.886",
20
- "@teambit/compilation.modules.babel-compiler": "0.0.130",
21
- "@teambit/compiler": "0.0.886",
22
- "@teambit/mdx.modules.mdx-compiler": "0.0.497",
23
- "@teambit/dependency-resolver": "0.0.886",
24
- "@teambit/docs": "0.0.886",
25
- "@teambit/envs": "0.0.886",
26
- "@teambit/babel": "0.0.886",
27
- "@teambit/cli": "0.0.594",
28
- "@teambit/generator": "0.0.886",
29
- "@teambit/multi-compiler": "0.0.886",
30
- "@teambit/react": "0.0.886",
31
- "@teambit/typescript.modules.ts-config-mutator": "0.0.75",
32
- "@teambit/typescript": "0.0.886",
33
- "@teambit/compositions": "0.0.886",
34
- "@teambit/design.ui.empty-box": "0.0.360",
35
- "@teambit/tester": "0.0.886",
36
- "@teambit/ui": "0.0.886"
19
+ "@teambit/builder": "0.0.888",
20
+ "@teambit/compilation.modules.babel-compiler": "0.0.131",
21
+ "@teambit/compiler": "0.0.888",
22
+ "@teambit/mdx.modules.mdx-compiler": "0.0.498",
23
+ "@teambit/dependency-resolver": "0.0.888",
24
+ "@teambit/docs": "0.0.888",
25
+ "@teambit/envs": "0.0.888",
26
+ "@teambit/babel": "0.0.888",
27
+ "@teambit/cli": "0.0.595",
28
+ "@teambit/generator": "0.0.888",
29
+ "@teambit/multi-compiler": "0.0.888",
30
+ "@teambit/react": "0.0.888",
31
+ "@teambit/typescript.modules.ts-config-mutator": "0.0.76",
32
+ "@teambit/typescript": "0.0.888",
33
+ "@teambit/compositions": "0.0.888",
34
+ "@teambit/design.ui.empty-box": "0.0.361",
35
+ "@teambit/tester": "0.0.888",
36
+ "@teambit/ui": "0.0.888"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/fs-extra": "9.0.7",
@@ -45,7 +45,7 @@
45
45
  "@types/jest": "^26.0.0",
46
46
  "@types/react-dom": "^17.0.5",
47
47
  "@types/node": "12.20.4",
48
- "@teambit/mdx.aspect-docs.mdx": "0.0.147"
48
+ "@teambit/mdx.aspect-docs.mdx": "0.0.148"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "react-dom": "^16.8.0 || ^17.0.0",
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.mdx_mdx@0.0.866/dist/mdx.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.mdx_mdx@0.0.866/dist/mdx.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.mdx_mdx@0.0.868/dist/mdx.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.mdx_mdx@0.0.868/dist/mdx.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
Binary file