@teambit/mdx 0.0.945 → 0.0.947

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.
@@ -13,6 +13,16 @@
13
13
  "character": 1
14
14
  },
15
15
  "exports": [
16
+ {
17
+ "__schema": "UnImplementedSchema",
18
+ "location": {
19
+ "filePath": "index.ts",
20
+ "line": 3,
21
+ "character": 16
22
+ },
23
+ "name": "MDXAspect",
24
+ "type": "Identifier"
25
+ },
16
26
  {
17
27
  "__schema": "ClassSchema",
18
28
  "name": "MDXMain",
@@ -79,13 +89,14 @@
79
89
  }
80
90
  ],
81
91
  "returnType": {
82
- "__schema": "InferenceTypeSchema",
92
+ "__schema": "TypeRefSchema",
83
93
  "location": {
84
94
  "filePath": "mdx.main.runtime.ts",
85
95
  "line": 34,
86
96
  "character": 3
87
97
  },
88
- "type": "MDXCompiler"
98
+ "name": "MDXCompiler",
99
+ "internalFilePath": "mdx.compiler.ts"
89
100
  },
90
101
  "doc": {
91
102
  "__schema": "DocSchema",
@@ -113,13 +124,12 @@
113
124
  "location": {
114
125
  "filePath": "mdx.main.runtime.ts",
115
126
  "line": 39,
116
- "character": 12
127
+ "character": 3
117
128
  },
118
129
  "name": "ReactEnv",
119
130
  "componentId": {
120
131
  "scope": "teambit.react",
121
- "name": "react",
122
- "version": "0.0.965"
132
+ "name": "react"
123
133
  }
124
134
  }
125
135
  },
@@ -133,13 +143,17 @@
133
143
  "name": "mdxEnv",
134
144
  "signature": "(getter) MDXMain.mdxEnv: ReactEnv",
135
145
  "type": {
136
- "__schema": "InferenceTypeSchema",
146
+ "__schema": "TypeRefSchema",
137
147
  "location": {
138
148
  "filePath": "mdx.main.runtime.ts",
139
149
  "line": 40,
140
150
  "character": 3
141
151
  },
142
- "type": "ReactEnv"
152
+ "name": "ReactEnv",
153
+ "componentId": {
154
+ "scope": "teambit.react",
155
+ "name": "react"
156
+ }
143
157
  }
144
158
  },
145
159
  {
@@ -243,8 +257,7 @@
243
257
  "name": "DocsMain",
244
258
  "componentId": {
245
259
  "scope": "teambit.docs",
246
- "name": "docs",
247
- "version": "0.0.965"
260
+ "name": "docs"
248
261
  }
249
262
  },
250
263
  {
@@ -257,8 +270,7 @@
257
270
  "name": "DependencyResolverMain",
258
271
  "componentId": {
259
272
  "scope": "teambit.dependencies",
260
- "name": "dependency-resolver",
261
- "version": "0.0.965"
273
+ "name": "dependency-resolver"
262
274
  }
263
275
  },
264
276
  {
@@ -271,8 +283,7 @@
271
283
  "name": "ReactMain",
272
284
  "componentId": {
273
285
  "scope": "teambit.react",
274
- "name": "react",
275
- "version": "0.0.965"
286
+ "name": "react"
276
287
  }
277
288
  },
278
289
  {
@@ -285,8 +296,7 @@
285
296
  "name": "EnvsMain",
286
297
  "componentId": {
287
298
  "scope": "teambit.envs",
288
- "name": "envs",
289
- "version": "0.0.965"
299
+ "name": "envs"
290
300
  }
291
301
  },
292
302
  {
@@ -299,8 +309,7 @@
299
309
  "name": "MultiCompilerMain",
300
310
  "componentId": {
301
311
  "scope": "teambit.compilation",
302
- "name": "multi-compiler",
303
- "version": "0.0.965"
312
+ "name": "multi-compiler"
304
313
  }
305
314
  },
306
315
  {
@@ -313,8 +322,7 @@
313
322
  "name": "BabelMain",
314
323
  "componentId": {
315
324
  "scope": "teambit.compilation",
316
- "name": "babel",
317
- "version": "0.0.965"
325
+ "name": "babel"
318
326
  }
319
327
  },
320
328
  {
@@ -327,8 +335,7 @@
327
335
  "name": "CompilerMain",
328
336
  "componentId": {
329
337
  "scope": "teambit.compilation",
330
- "name": "compiler",
331
- "version": "0.0.965"
338
+ "name": "compiler"
332
339
  }
333
340
  },
334
341
  {
@@ -341,8 +348,7 @@
341
348
  "name": "GeneratorMain",
342
349
  "componentId": {
343
350
  "scope": "teambit.generator",
344
- "name": "generator",
345
- "version": "0.0.965"
351
+ "name": "generator"
346
352
  }
347
353
  }
348
354
  ]
@@ -358,14 +364,14 @@
358
364
  "name": "config",
359
365
  "isOptional": false,
360
366
  "type": {
361
- "__schema": "InferenceTypeSchema",
367
+ "__schema": "TypeRefSchema",
362
368
  "location": {
363
369
  "filePath": "mdx.main.runtime.ts",
364
370
  "line": 75,
365
371
  "character": 13
366
372
  },
367
- "type": "{\n extensions: string[];\n}",
368
- "name": "MDXConfig"
373
+ "name": "MDXConfig",
374
+ "internalFilePath": "mdx.main.runtime.ts"
369
375
  }
370
376
  }
371
377
  ],
@@ -472,7 +478,7 @@
472
478
  "character": 27
473
479
  },
474
480
  "name": "TransformOptions",
475
- "packageName": "@types/babel__core"
481
+ "packageName": "@babel/core"
476
482
  }
477
483
  }
478
484
  ]
@@ -509,7 +515,7 @@
509
515
  "componentId": {
510
516
  "scope": "teambit.mdx",
511
517
  "name": "mdx",
512
- "version": "0.0.945"
518
+ "version": "0.0.947"
513
519
  }
514
520
  }
515
521
  }
@@ -541,11 +547,1086 @@
541
547
  }
542
548
  }
543
549
  }
544
- ]
550
+ ],
551
+ "internals": []
545
552
  },
553
+ "internals": [
554
+ {
555
+ "__schema": "ModuleSchema",
556
+ "location": {
557
+ "filePath": "mdx.main.runtime.ts",
558
+ "line": 1,
559
+ "character": 1
560
+ },
561
+ "exports": [
562
+ {
563
+ "__schema": "TypeSchema",
564
+ "location": {
565
+ "filePath": "mdx.main.runtime.ts",
566
+ "line": 19,
567
+ "character": 1
568
+ },
569
+ "name": "MDXConfig",
570
+ "signature": "type MDXConfig = {\n extensions: string[];\n}",
571
+ "type": {
572
+ "__schema": "TypeLiteralSchema",
573
+ "location": {
574
+ "filePath": "mdx.main.runtime.ts",
575
+ "line": 19,
576
+ "character": 25
577
+ },
578
+ "members": [
579
+ {
580
+ "__schema": "VariableLikeSchema",
581
+ "location": {
582
+ "filePath": "mdx.main.runtime.ts",
583
+ "line": 23,
584
+ "character": 3
585
+ },
586
+ "name": "extensions",
587
+ "signature": "(property) extensions: string[]",
588
+ "isOptional": false,
589
+ "type": {
590
+ "__schema": "TypeArraySchema",
591
+ "location": {
592
+ "filePath": "mdx.main.runtime.ts",
593
+ "line": 23,
594
+ "character": 15
595
+ },
596
+ "type": {
597
+ "__schema": "KeywordTypeSchema",
598
+ "location": {
599
+ "filePath": "mdx.main.runtime.ts",
600
+ "line": 23,
601
+ "character": 15
602
+ },
603
+ "name": "string"
604
+ }
605
+ },
606
+ "doc": {
607
+ "__schema": "DocSchema",
608
+ "location": {
609
+ "filePath": "mdx.main.runtime.ts",
610
+ "line": 20,
611
+ "character": 3
612
+ },
613
+ "raw": "/**\n * list of file extensions to consider as MDX files.\n */",
614
+ "comment": "list of file extensions to consider as MDX files."
615
+ }
616
+ }
617
+ ]
618
+ }
619
+ },
620
+ {
621
+ "__schema": "ClassSchema",
622
+ "name": "MDXMain",
623
+ "location": {
624
+ "filePath": "mdx.main.runtime.ts",
625
+ "line": 26,
626
+ "character": 1
627
+ },
628
+ "signature": "class MDXMain",
629
+ "extendsNodes": [],
630
+ "implementNodes": [],
631
+ "members": [
632
+ {
633
+ "__schema": "FunctionLikeSchema",
634
+ "location": {
635
+ "filePath": "mdx.main.runtime.ts",
636
+ "line": 27,
637
+ "character": 3
638
+ },
639
+ "name": "icon",
640
+ "signature": "(method) MDXMain.icon(): string",
641
+ "modifiers": [],
642
+ "params": [],
643
+ "returnType": {
644
+ "__schema": "InferenceTypeSchema",
645
+ "location": {
646
+ "filePath": "mdx.main.runtime.ts",
647
+ "line": 27,
648
+ "character": 3
649
+ },
650
+ "type": "string"
651
+ }
652
+ },
653
+ {
654
+ "__schema": "FunctionLikeSchema",
655
+ "location": {
656
+ "filePath": "mdx.main.runtime.ts",
657
+ "line": 34,
658
+ "character": 3
659
+ },
660
+ "name": "createCompiler",
661
+ "signature": "(method) MDXMain.createCompiler(opts?: MDXCompilerOpts): MDXCompiler",
662
+ "modifiers": [],
663
+ "params": [
664
+ {
665
+ "__schema": "ParameterSchema",
666
+ "location": {
667
+ "filePath": "mdx.main.runtime.ts",
668
+ "line": 34,
669
+ "character": 18
670
+ },
671
+ "name": "opts",
672
+ "isOptional": false,
673
+ "defaultValue": "{}",
674
+ "type": {
675
+ "__schema": "TypeRefSchema",
676
+ "location": {
677
+ "filePath": "mdx.main.runtime.ts",
678
+ "line": 34,
679
+ "character": 24
680
+ },
681
+ "name": "MDXCompilerOpts"
682
+ }
683
+ }
684
+ ],
685
+ "returnType": {
686
+ "__schema": "TypeRefSchema",
687
+ "location": {
688
+ "filePath": "mdx.main.runtime.ts",
689
+ "line": 34,
690
+ "character": 3
691
+ },
692
+ "name": "MDXCompiler",
693
+ "internalFilePath": "mdx.compiler.ts"
694
+ },
695
+ "doc": {
696
+ "__schema": "DocSchema",
697
+ "location": {
698
+ "filePath": "mdx.main.runtime.ts",
699
+ "line": 31,
700
+ "character": 3
701
+ },
702
+ "raw": "/**\n * create an instance of the MDX compiler.\n */",
703
+ "comment": "create an instance of the MDX compiler."
704
+ }
705
+ },
706
+ {
707
+ "__schema": "VariableLikeSchema",
708
+ "location": {
709
+ "filePath": "mdx.main.runtime.ts",
710
+ "line": 39,
711
+ "character": 3
712
+ },
713
+ "name": "_mdxEnv",
714
+ "signature": "(property) MDXMain._mdxEnv: ReactEnv",
715
+ "isOptional": false,
716
+ "type": {
717
+ "__schema": "TypeRefSchema",
718
+ "location": {
719
+ "filePath": "mdx.main.runtime.ts",
720
+ "line": 39,
721
+ "character": 3
722
+ },
723
+ "name": "ReactEnv",
724
+ "componentId": {
725
+ "scope": "teambit.react",
726
+ "name": "react"
727
+ }
728
+ }
729
+ },
730
+ {
731
+ "__schema": "GetAccessorSchema",
732
+ "location": {
733
+ "filePath": "mdx.main.runtime.ts",
734
+ "line": 40,
735
+ "character": 3
736
+ },
737
+ "name": "mdxEnv",
738
+ "signature": "(getter) MDXMain.mdxEnv: ReactEnv",
739
+ "type": {
740
+ "__schema": "TypeRefSchema",
741
+ "location": {
742
+ "filePath": "mdx.main.runtime.ts",
743
+ "line": 40,
744
+ "character": 3
745
+ },
746
+ "name": "ReactEnv",
747
+ "componentId": {
748
+ "scope": "teambit.react",
749
+ "name": "react"
750
+ }
751
+ }
752
+ },
753
+ {
754
+ "__schema": "VariableLikeSchema",
755
+ "location": {
756
+ "filePath": "mdx.main.runtime.ts",
757
+ "line": 47,
758
+ "character": 3
759
+ },
760
+ "name": "runtime",
761
+ "signature": "(property) MDXMain.runtime: RuntimeDefinition",
762
+ "isOptional": false,
763
+ "type": {
764
+ "__schema": "InferenceTypeSchema",
765
+ "location": {
766
+ "filePath": "mdx.main.runtime.ts",
767
+ "line": 47,
768
+ "character": 3
769
+ },
770
+ "type": "RuntimeDefinition"
771
+ }
772
+ },
773
+ {
774
+ "__schema": "VariableLikeSchema",
775
+ "location": {
776
+ "filePath": "mdx.main.runtime.ts",
777
+ "line": 49,
778
+ "character": 3
779
+ },
780
+ "name": "dependencies",
781
+ "signature": "(property) MDXMain.dependencies: Aspect[]",
782
+ "isOptional": false,
783
+ "type": {
784
+ "__schema": "InferenceTypeSchema",
785
+ "location": {
786
+ "filePath": "mdx.main.runtime.ts",
787
+ "line": 49,
788
+ "character": 3
789
+ },
790
+ "type": "Aspect[]"
791
+ }
792
+ },
793
+ {
794
+ "__schema": "VariableLikeSchema",
795
+ "location": {
796
+ "filePath": "mdx.main.runtime.ts",
797
+ "line": 60,
798
+ "character": 3
799
+ },
800
+ "name": "defaultConfig",
801
+ "signature": "(property) MDXMain.defaultConfig: {\n extensions: string[];\n}",
802
+ "isOptional": false,
803
+ "type": {
804
+ "__schema": "InferenceTypeSchema",
805
+ "location": {
806
+ "filePath": "mdx.main.runtime.ts",
807
+ "line": 60,
808
+ "character": 3
809
+ },
810
+ "type": "{\n extensions: string[];\n}"
811
+ }
812
+ },
813
+ {
814
+ "__schema": "FunctionLikeSchema",
815
+ "location": {
816
+ "filePath": "mdx.main.runtime.ts",
817
+ "line": 64,
818
+ "character": 3
819
+ },
820
+ "name": "provider",
821
+ "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>",
822
+ "modifiers": [
823
+ "static",
824
+ "async"
825
+ ],
826
+ "params": [
827
+ {
828
+ "__schema": "ParameterSchema",
829
+ "location": {
830
+ "filePath": "mdx.main.runtime.ts",
831
+ "line": 65,
832
+ "character": 5
833
+ },
834
+ "name": "[ docs, depResolver, react, envs, multiCompiler, babel, compiler, generator ]",
835
+ "isOptional": false,
836
+ "type": {
837
+ "__schema": "TupleTypeSchema",
838
+ "location": {
839
+ "filePath": "mdx.main.runtime.ts",
840
+ "line": 65,
841
+ "character": 82
842
+ },
843
+ "elements": [
844
+ {
845
+ "__schema": "TypeRefSchema",
846
+ "location": {
847
+ "filePath": "mdx.main.runtime.ts",
848
+ "line": 66,
849
+ "character": 7
850
+ },
851
+ "name": "DocsMain",
852
+ "componentId": {
853
+ "scope": "teambit.docs",
854
+ "name": "docs"
855
+ }
856
+ },
857
+ {
858
+ "__schema": "TypeRefSchema",
859
+ "location": {
860
+ "filePath": "mdx.main.runtime.ts",
861
+ "line": 67,
862
+ "character": 7
863
+ },
864
+ "name": "DependencyResolverMain",
865
+ "componentId": {
866
+ "scope": "teambit.dependencies",
867
+ "name": "dependency-resolver"
868
+ }
869
+ },
870
+ {
871
+ "__schema": "TypeRefSchema",
872
+ "location": {
873
+ "filePath": "mdx.main.runtime.ts",
874
+ "line": 68,
875
+ "character": 7
876
+ },
877
+ "name": "ReactMain",
878
+ "componentId": {
879
+ "scope": "teambit.react",
880
+ "name": "react"
881
+ }
882
+ },
883
+ {
884
+ "__schema": "TypeRefSchema",
885
+ "location": {
886
+ "filePath": "mdx.main.runtime.ts",
887
+ "line": 69,
888
+ "character": 7
889
+ },
890
+ "name": "EnvsMain",
891
+ "componentId": {
892
+ "scope": "teambit.envs",
893
+ "name": "envs"
894
+ }
895
+ },
896
+ {
897
+ "__schema": "TypeRefSchema",
898
+ "location": {
899
+ "filePath": "mdx.main.runtime.ts",
900
+ "line": 70,
901
+ "character": 7
902
+ },
903
+ "name": "MultiCompilerMain",
904
+ "componentId": {
905
+ "scope": "teambit.compilation",
906
+ "name": "multi-compiler"
907
+ }
908
+ },
909
+ {
910
+ "__schema": "TypeRefSchema",
911
+ "location": {
912
+ "filePath": "mdx.main.runtime.ts",
913
+ "line": 71,
914
+ "character": 7
915
+ },
916
+ "name": "BabelMain",
917
+ "componentId": {
918
+ "scope": "teambit.compilation",
919
+ "name": "babel"
920
+ }
921
+ },
922
+ {
923
+ "__schema": "TypeRefSchema",
924
+ "location": {
925
+ "filePath": "mdx.main.runtime.ts",
926
+ "line": 72,
927
+ "character": 7
928
+ },
929
+ "name": "CompilerMain",
930
+ "componentId": {
931
+ "scope": "teambit.compilation",
932
+ "name": "compiler"
933
+ }
934
+ },
935
+ {
936
+ "__schema": "TypeRefSchema",
937
+ "location": {
938
+ "filePath": "mdx.main.runtime.ts",
939
+ "line": 73,
940
+ "character": 7
941
+ },
942
+ "name": "GeneratorMain",
943
+ "componentId": {
944
+ "scope": "teambit.generator",
945
+ "name": "generator"
946
+ }
947
+ }
948
+ ]
949
+ }
950
+ },
951
+ {
952
+ "__schema": "ParameterSchema",
953
+ "location": {
954
+ "filePath": "mdx.main.runtime.ts",
955
+ "line": 75,
956
+ "character": 5
957
+ },
958
+ "name": "config",
959
+ "isOptional": false,
960
+ "type": {
961
+ "__schema": "TypeRefSchema",
962
+ "location": {
963
+ "filePath": "mdx.main.runtime.ts",
964
+ "line": 75,
965
+ "character": 13
966
+ },
967
+ "name": "MDXConfig",
968
+ "internalFilePath": "mdx.main.runtime.ts"
969
+ }
970
+ }
971
+ ],
972
+ "returnType": {
973
+ "__schema": "InferenceTypeSchema",
974
+ "location": {
975
+ "filePath": "mdx.main.runtime.ts",
976
+ "line": 64,
977
+ "character": 3
978
+ },
979
+ "type": "Promise<MDXMain>"
980
+ }
981
+ }
982
+ ]
983
+ }
984
+ ],
985
+ "internals": [
986
+ {
987
+ "__schema": "UnImplementedSchema",
988
+ "location": {
989
+ "filePath": "mdx.main.runtime.ts",
990
+ "line": 121,
991
+ "character": 1
992
+ },
993
+ "name": "MDXAspect.addRuntime(MDXMain);",
994
+ "type": "ExpressionStatement"
995
+ }
996
+ ]
997
+ },
998
+ {
999
+ "__schema": "ModuleSchema",
1000
+ "location": {
1001
+ "filePath": "mdx.compiler.ts",
1002
+ "line": 1,
1003
+ "character": 1
1004
+ },
1005
+ "exports": [
1006
+ {
1007
+ "__schema": "TypeSchema",
1008
+ "location": {
1009
+ "filePath": "mdx.compiler.ts",
1010
+ "line": 10,
1011
+ "character": 1
1012
+ },
1013
+ "name": "MDXCompilerOpts",
1014
+ "signature": "type MDXCompilerOpts = {\n ignoredExtensions?: string[] | undefined;\n ignoredPatterns?: string[] | undefined;\n babelTransformOptions?: TransformOptions | undefined;\n}",
1015
+ "type": {
1016
+ "__schema": "TypeLiteralSchema",
1017
+ "location": {
1018
+ "filePath": "mdx.compiler.ts",
1019
+ "line": 10,
1020
+ "character": 31
1021
+ },
1022
+ "members": [
1023
+ {
1024
+ "__schema": "VariableLikeSchema",
1025
+ "location": {
1026
+ "filePath": "mdx.compiler.ts",
1027
+ "line": 11,
1028
+ "character": 3
1029
+ },
1030
+ "name": "ignoredExtensions",
1031
+ "signature": "(property) ignoredExtensions?: string[] | undefined",
1032
+ "isOptional": true,
1033
+ "type": {
1034
+ "__schema": "TypeArraySchema",
1035
+ "location": {
1036
+ "filePath": "mdx.compiler.ts",
1037
+ "line": 11,
1038
+ "character": 23
1039
+ },
1040
+ "type": {
1041
+ "__schema": "KeywordTypeSchema",
1042
+ "location": {
1043
+ "filePath": "mdx.compiler.ts",
1044
+ "line": 11,
1045
+ "character": 23
1046
+ },
1047
+ "name": "string"
1048
+ }
1049
+ }
1050
+ },
1051
+ {
1052
+ "__schema": "VariableLikeSchema",
1053
+ "location": {
1054
+ "filePath": "mdx.compiler.ts",
1055
+ "line": 12,
1056
+ "character": 3
1057
+ },
1058
+ "name": "ignoredPatterns",
1059
+ "signature": "(property) ignoredPatterns?: string[] | undefined",
1060
+ "isOptional": true,
1061
+ "type": {
1062
+ "__schema": "TypeArraySchema",
1063
+ "location": {
1064
+ "filePath": "mdx.compiler.ts",
1065
+ "line": 12,
1066
+ "character": 21
1067
+ },
1068
+ "type": {
1069
+ "__schema": "KeywordTypeSchema",
1070
+ "location": {
1071
+ "filePath": "mdx.compiler.ts",
1072
+ "line": 12,
1073
+ "character": 21
1074
+ },
1075
+ "name": "string"
1076
+ }
1077
+ }
1078
+ },
1079
+ {
1080
+ "__schema": "VariableLikeSchema",
1081
+ "location": {
1082
+ "filePath": "mdx.compiler.ts",
1083
+ "line": 13,
1084
+ "character": 3
1085
+ },
1086
+ "name": "babelTransformOptions",
1087
+ "signature": "(property) babelTransformOptions?: TransformOptions | undefined",
1088
+ "isOptional": true,
1089
+ "type": {
1090
+ "__schema": "TypeRefSchema",
1091
+ "location": {
1092
+ "filePath": "mdx.compiler.ts",
1093
+ "line": 13,
1094
+ "character": 27
1095
+ },
1096
+ "name": "TransformOptions",
1097
+ "packageName": "@babel/core"
1098
+ }
1099
+ }
1100
+ ]
1101
+ }
1102
+ },
1103
+ {
1104
+ "__schema": "ClassSchema",
1105
+ "name": "MDXCompiler",
1106
+ "location": {
1107
+ "filePath": "mdx.compiler.ts",
1108
+ "line": 15,
1109
+ "character": 1
1110
+ },
1111
+ "signature": "class MDXCompiler",
1112
+ "extendsNodes": [],
1113
+ "implementNodes": [
1114
+ {
1115
+ "__schema": "ExpressionWithTypeArgumentsSchema",
1116
+ "name": "implements Compiler",
1117
+ "location": {
1118
+ "filePath": "mdx.compiler.ts",
1119
+ "line": 15,
1120
+ "character": 37
1121
+ },
1122
+ "typeArgs": [],
1123
+ "expression": {
1124
+ "__schema": "TypeRefSchema",
1125
+ "location": {
1126
+ "filePath": "mdx.compiler.ts",
1127
+ "line": 15,
1128
+ "character": 37
1129
+ },
1130
+ "name": "Compiler",
1131
+ "componentId": {
1132
+ "scope": "teambit.mdx",
1133
+ "name": "mdx",
1134
+ "version": "0.0.947"
1135
+ }
1136
+ }
1137
+ }
1138
+ ],
1139
+ "members": [
1140
+ {
1141
+ "__schema": "VariableLikeSchema",
1142
+ "location": {
1143
+ "filePath": "mdx.compiler.ts",
1144
+ "line": 16,
1145
+ "character": 3
1146
+ },
1147
+ "name": "displayName",
1148
+ "signature": "(property) MDXCompiler.displayName: string",
1149
+ "isOptional": false,
1150
+ "type": {
1151
+ "__schema": "InferenceTypeSchema",
1152
+ "location": {
1153
+ "filePath": "mdx.compiler.ts",
1154
+ "line": 16,
1155
+ "character": 3
1156
+ },
1157
+ "type": "string"
1158
+ }
1159
+ },
1160
+ {
1161
+ "__schema": "VariableLikeSchema",
1162
+ "location": {
1163
+ "filePath": "mdx.compiler.ts",
1164
+ "line": 18,
1165
+ "character": 3
1166
+ },
1167
+ "name": "shouldCopyNonSupportedFiles",
1168
+ "signature": "(property) MDXCompiler.shouldCopyNonSupportedFiles: boolean",
1169
+ "isOptional": false,
1170
+ "type": {
1171
+ "__schema": "InferenceTypeSchema",
1172
+ "location": {
1173
+ "filePath": "mdx.compiler.ts",
1174
+ "line": 18,
1175
+ "character": 3
1176
+ },
1177
+ "type": "boolean"
1178
+ }
1179
+ },
1180
+ {
1181
+ "__schema": "VariableLikeSchema",
1182
+ "location": {
1183
+ "filePath": "mdx.compiler.ts",
1184
+ "line": 20,
1185
+ "character": 3
1186
+ },
1187
+ "name": "distDir",
1188
+ "signature": "(property) MDXCompiler.distDir: string",
1189
+ "isOptional": false,
1190
+ "type": {
1191
+ "__schema": "InferenceTypeSchema",
1192
+ "location": {
1193
+ "filePath": "mdx.compiler.ts",
1194
+ "line": 20,
1195
+ "character": 3
1196
+ },
1197
+ "type": "string"
1198
+ }
1199
+ },
1200
+ {
1201
+ "__schema": "ConstructorSchema",
1202
+ "location": {
1203
+ "filePath": "mdx.compiler.ts",
1204
+ "line": 22,
1205
+ "character": 3
1206
+ },
1207
+ "name": "constructor",
1208
+ "signature": "constructor MDXCompiler(id: string, config: MDXCompilerOpts): MDXCompiler",
1209
+ "modifiers": [],
1210
+ "params": [
1211
+ {
1212
+ "__schema": "ParameterSchema",
1213
+ "location": {
1214
+ "filePath": "mdx.compiler.ts",
1215
+ "line": 22,
1216
+ "character": 15
1217
+ },
1218
+ "name": "id",
1219
+ "isOptional": false,
1220
+ "type": {
1221
+ "__schema": "KeywordTypeSchema",
1222
+ "location": {
1223
+ "filePath": "mdx.compiler.ts",
1224
+ "line": 22,
1225
+ "character": 28
1226
+ },
1227
+ "name": "string"
1228
+ }
1229
+ },
1230
+ {
1231
+ "__schema": "ParameterSchema",
1232
+ "location": {
1233
+ "filePath": "mdx.compiler.ts",
1234
+ "line": 22,
1235
+ "character": 36
1236
+ },
1237
+ "name": "config",
1238
+ "isOptional": false,
1239
+ "type": {
1240
+ "__schema": "TypeRefSchema",
1241
+ "location": {
1242
+ "filePath": "mdx.compiler.ts",
1243
+ "line": 22,
1244
+ "character": 53
1245
+ },
1246
+ "name": "MDXCompilerOpts"
1247
+ }
1248
+ }
1249
+ ],
1250
+ "returnType": {
1251
+ "__schema": "ThisTypeSchema",
1252
+ "location": {
1253
+ "filePath": "mdx.compiler.ts",
1254
+ "line": 15,
1255
+ "character": 1
1256
+ }
1257
+ }
1258
+ },
1259
+ {
1260
+ "__schema": "FunctionLikeSchema",
1261
+ "location": {
1262
+ "filePath": "mdx.compiler.ts",
1263
+ "line": 24,
1264
+ "character": 3
1265
+ },
1266
+ "name": "displayConfig",
1267
+ "signature": "(method) MDXCompiler.displayConfig(): string",
1268
+ "modifiers": [],
1269
+ "params": [],
1270
+ "returnType": {
1271
+ "__schema": "InferenceTypeSchema",
1272
+ "location": {
1273
+ "filePath": "mdx.compiler.ts",
1274
+ "line": 24,
1275
+ "character": 3
1276
+ },
1277
+ "type": "string"
1278
+ }
1279
+ },
1280
+ {
1281
+ "__schema": "FunctionLikeSchema",
1282
+ "location": {
1283
+ "filePath": "mdx.compiler.ts",
1284
+ "line": 28,
1285
+ "character": 3
1286
+ },
1287
+ "name": "getDistDir",
1288
+ "signature": "(method) MDXCompiler.getDistDir(): string",
1289
+ "modifiers": [],
1290
+ "params": [],
1291
+ "returnType": {
1292
+ "__schema": "InferenceTypeSchema",
1293
+ "location": {
1294
+ "filePath": "mdx.compiler.ts",
1295
+ "line": 28,
1296
+ "character": 3
1297
+ },
1298
+ "type": "string"
1299
+ }
1300
+ },
1301
+ {
1302
+ "__schema": "FunctionLikeSchema",
1303
+ "location": {
1304
+ "filePath": "mdx.compiler.ts",
1305
+ "line": 32,
1306
+ "character": 3
1307
+ },
1308
+ "name": "transpileFile",
1309
+ "signature": "(method) MDXCompiler.transpileFile(fileContent: string, options: TranspileFileParams): TranspileFileOutput",
1310
+ "modifiers": [],
1311
+ "params": [
1312
+ {
1313
+ "__schema": "ParameterSchema",
1314
+ "location": {
1315
+ "filePath": "mdx.compiler.ts",
1316
+ "line": 32,
1317
+ "character": 17
1318
+ },
1319
+ "name": "fileContent",
1320
+ "isOptional": false,
1321
+ "type": {
1322
+ "__schema": "KeywordTypeSchema",
1323
+ "location": {
1324
+ "filePath": "mdx.compiler.ts",
1325
+ "line": 32,
1326
+ "character": 30
1327
+ },
1328
+ "name": "string"
1329
+ }
1330
+ },
1331
+ {
1332
+ "__schema": "ParameterSchema",
1333
+ "location": {
1334
+ "filePath": "mdx.compiler.ts",
1335
+ "line": 32,
1336
+ "character": 38
1337
+ },
1338
+ "name": "options",
1339
+ "isOptional": false,
1340
+ "type": {
1341
+ "__schema": "TypeRefSchema",
1342
+ "location": {
1343
+ "filePath": "mdx.compiler.ts",
1344
+ "line": 32,
1345
+ "character": 47
1346
+ },
1347
+ "name": "TranspileFileParams",
1348
+ "componentId": {
1349
+ "scope": "teambit.compilation",
1350
+ "name": "compiler"
1351
+ }
1352
+ }
1353
+ }
1354
+ ],
1355
+ "returnType": {
1356
+ "__schema": "TypeRefSchema",
1357
+ "location": {
1358
+ "filePath": "mdx.compiler.ts",
1359
+ "line": 32,
1360
+ "character": 3
1361
+ },
1362
+ "name": "TranspileFileOutput",
1363
+ "componentId": {
1364
+ "scope": "teambit.compilation",
1365
+ "name": "compiler"
1366
+ }
1367
+ }
1368
+ },
1369
+ {
1370
+ "__schema": "FunctionLikeSchema",
1371
+ "location": {
1372
+ "filePath": "mdx.compiler.ts",
1373
+ "line": 55,
1374
+ "character": 3
1375
+ },
1376
+ "name": "build",
1377
+ "signature": "(method) MDXCompiler.build(context: BuildContext): Promise<BuiltTaskResult>",
1378
+ "modifiers": [
1379
+ "async"
1380
+ ],
1381
+ "params": [
1382
+ {
1383
+ "__schema": "ParameterSchema",
1384
+ "location": {
1385
+ "filePath": "mdx.compiler.ts",
1386
+ "line": 55,
1387
+ "character": 15
1388
+ },
1389
+ "name": "context",
1390
+ "isOptional": false,
1391
+ "type": {
1392
+ "__schema": "TypeRefSchema",
1393
+ "location": {
1394
+ "filePath": "mdx.compiler.ts",
1395
+ "line": 55,
1396
+ "character": 24
1397
+ },
1398
+ "name": "BuildContext",
1399
+ "componentId": {
1400
+ "scope": "teambit.pipelines",
1401
+ "name": "builder"
1402
+ }
1403
+ }
1404
+ }
1405
+ ],
1406
+ "returnType": {
1407
+ "__schema": "TypeRefSchema",
1408
+ "location": {
1409
+ "filePath": "mdx.compiler.ts",
1410
+ "line": 55,
1411
+ "character": 39
1412
+ },
1413
+ "name": "Promise",
1414
+ "packageName": "",
1415
+ "typeArgs": [
1416
+ {
1417
+ "__schema": "TypeRefSchema",
1418
+ "location": {
1419
+ "filePath": "mdx.compiler.ts",
1420
+ "line": 55,
1421
+ "character": 47
1422
+ },
1423
+ "name": "BuiltTaskResult",
1424
+ "componentId": {
1425
+ "scope": "teambit.pipelines",
1426
+ "name": "builder"
1427
+ }
1428
+ }
1429
+ ]
1430
+ },
1431
+ "doc": {
1432
+ "__schema": "DocSchema",
1433
+ "location": {
1434
+ "filePath": "mdx.compiler.ts",
1435
+ "line": 51,
1436
+ "character": 3
1437
+ },
1438
+ "raw": "/**\n * compile components inside isolated capsules. this being used during tag for the release.\n * meaning, the final package of the component has the dists generated by this method.\n */",
1439
+ "comment": "compile components inside isolated capsules. this being used during tag for the release.\nmeaning, the final package of the component has the dists generated by this method."
1440
+ }
1441
+ },
1442
+ {
1443
+ "__schema": "FunctionLikeSchema",
1444
+ "location": {
1445
+ "filePath": "mdx.compiler.ts",
1446
+ "line": 107,
1447
+ "character": 3
1448
+ },
1449
+ "name": "getDistPathBySrcPath",
1450
+ "signature": "(method) MDXCompiler.getDistPathBySrcPath(srcPath: string): string",
1451
+ "modifiers": [],
1452
+ "params": [
1453
+ {
1454
+ "__schema": "ParameterSchema",
1455
+ "location": {
1456
+ "filePath": "mdx.compiler.ts",
1457
+ "line": 107,
1458
+ "character": 24
1459
+ },
1460
+ "name": "srcPath",
1461
+ "isOptional": false,
1462
+ "type": {
1463
+ "__schema": "KeywordTypeSchema",
1464
+ "location": {
1465
+ "filePath": "mdx.compiler.ts",
1466
+ "line": 107,
1467
+ "character": 33
1468
+ },
1469
+ "name": "string"
1470
+ }
1471
+ }
1472
+ ],
1473
+ "returnType": {
1474
+ "__schema": "KeywordTypeSchema",
1475
+ "location": {
1476
+ "filePath": "mdx.compiler.ts",
1477
+ "line": 107,
1478
+ "character": 42
1479
+ },
1480
+ "name": "string"
1481
+ },
1482
+ "doc": {
1483
+ "__schema": "DocSchema",
1484
+ "location": {
1485
+ "filePath": "mdx.compiler.ts",
1486
+ "line": 103,
1487
+ "character": 3
1488
+ },
1489
+ "raw": "/**\n * given a source file, return its parallel in the dists. e.g. \"index.ts\" => \"dist/index.js\"\n * both, the return path and the given path are relative paths.\n */",
1490
+ "comment": "given a source file, return its parallel in the dists. e.g. \"index.ts\" => \"dist/index.js\"\nboth, the return path and the given path are relative paths."
1491
+ }
1492
+ },
1493
+ {
1494
+ "__schema": "FunctionLikeSchema",
1495
+ "location": {
1496
+ "filePath": "mdx.compiler.ts",
1497
+ "line": 123,
1498
+ "character": 3
1499
+ },
1500
+ "name": "isFileSupported",
1501
+ "signature": "(method) MDXCompiler.isFileSupported(filePath: string): boolean",
1502
+ "modifiers": [],
1503
+ "params": [
1504
+ {
1505
+ "__schema": "ParameterSchema",
1506
+ "location": {
1507
+ "filePath": "mdx.compiler.ts",
1508
+ "line": 123,
1509
+ "character": 19
1510
+ },
1511
+ "name": "filePath",
1512
+ "isOptional": false,
1513
+ "type": {
1514
+ "__schema": "KeywordTypeSchema",
1515
+ "location": {
1516
+ "filePath": "mdx.compiler.ts",
1517
+ "line": 123,
1518
+ "character": 29
1519
+ },
1520
+ "name": "string"
1521
+ }
1522
+ }
1523
+ ],
1524
+ "returnType": {
1525
+ "__schema": "KeywordTypeSchema",
1526
+ "location": {
1527
+ "filePath": "mdx.compiler.ts",
1528
+ "line": 123,
1529
+ "character": 38
1530
+ },
1531
+ "name": "boolean"
1532
+ },
1533
+ "doc": {
1534
+ "__schema": "DocSchema",
1535
+ "location": {
1536
+ "filePath": "mdx.compiler.ts",
1537
+ "line": 120,
1538
+ "character": 3
1539
+ },
1540
+ "raw": "/**\n * only supported files matching get compiled. others, are copied to the dist dir.\n */",
1541
+ "comment": "only supported files matching get compiled. others, are copied to the dist dir."
1542
+ }
1543
+ },
1544
+ {
1545
+ "__schema": "FunctionLikeSchema",
1546
+ "location": {
1547
+ "filePath": "mdx.compiler.ts",
1548
+ "line": 134,
1549
+ "character": 3
1550
+ },
1551
+ "name": "version",
1552
+ "signature": "(method) MDXCompiler.version(): string",
1553
+ "modifiers": [],
1554
+ "params": [],
1555
+ "returnType": {
1556
+ "__schema": "KeywordTypeSchema",
1557
+ "location": {
1558
+ "filePath": "mdx.compiler.ts",
1559
+ "line": 134,
1560
+ "character": 14
1561
+ },
1562
+ "name": "string"
1563
+ },
1564
+ "doc": {
1565
+ "__schema": "DocSchema",
1566
+ "location": {
1567
+ "filePath": "mdx.compiler.ts",
1568
+ "line": 131,
1569
+ "character": 3
1570
+ },
1571
+ "raw": "/**\n * returns the version of the current compiler instance (e.g. '4.0.1').\n */",
1572
+ "comment": "returns the version of the current compiler instance (e.g. '4.0.1')."
1573
+ }
1574
+ }
1575
+ ]
1576
+ }
1577
+ ],
1578
+ "internals": []
1579
+ },
1580
+ {
1581
+ "__schema": "ModuleSchema",
1582
+ "location": {
1583
+ "filePath": "mdx.aspect.ts",
1584
+ "line": 1,
1585
+ "character": 1
1586
+ },
1587
+ "exports": [
1588
+ {
1589
+ "__schema": "VariableLikeSchema",
1590
+ "location": {
1591
+ "filePath": "mdx.aspect.ts",
1592
+ "line": 3,
1593
+ "character": 14
1594
+ },
1595
+ "name": "MDXAspect",
1596
+ "signature": "const MDXAspect: Aspect",
1597
+ "isOptional": false,
1598
+ "type": {
1599
+ "__schema": "TypeRefSchema",
1600
+ "location": {
1601
+ "filePath": "mdx.aspect.ts",
1602
+ "line": 3,
1603
+ "character": 14
1604
+ },
1605
+ "name": "Aspect",
1606
+ "componentId": {
1607
+ "scope": "teambit.harmony",
1608
+ "name": "harmony",
1609
+ "version": "0.4.6"
1610
+ }
1611
+ }
1612
+ },
1613
+ {
1614
+ "__schema": "UnImplementedSchema",
1615
+ "location": {
1616
+ "filePath": "mdx.aspect.ts",
1617
+ "line": 7,
1618
+ "character": 16
1619
+ },
1620
+ "name": "MDXAspect",
1621
+ "type": "Identifier"
1622
+ }
1623
+ ],
1624
+ "internals": []
1625
+ }
1626
+ ],
546
1627
  "componentId": {
547
1628
  "scope": "teambit.mdx",
548
1629
  "name": "mdx",
549
- "version": "0.0.945"
1630
+ "version": "0.0.947"
550
1631
  }
551
1632
  }