@teambit/multi-compiler 1.0.158 → 1.0.160

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,2043 @@
1
+ {
2
+ "__schema": "APISchema",
3
+ "location": {
4
+ "filePath": "index.ts",
5
+ "line": 1,
6
+ "character": 1
7
+ },
8
+ "module": {
9
+ "__schema": "ModuleSchema",
10
+ "location": {
11
+ "filePath": "index.ts",
12
+ "line": 1,
13
+ "character": 1
14
+ },
15
+ "exports": [
16
+ {
17
+ "__schema": "VariableLikeSchema",
18
+ "location": {
19
+ "filePath": "multi-compiler.aspect.ts",
20
+ "line": 3,
21
+ "character": 14
22
+ },
23
+ "signature": "const MultiCompilerAspect: Aspect",
24
+ "name": "MultiCompilerAspect",
25
+ "type": {
26
+ "__schema": "TypeRefSchema",
27
+ "location": {
28
+ "filePath": "multi-compiler.aspect.ts",
29
+ "line": 3,
30
+ "character": 14
31
+ },
32
+ "name": "Aspect",
33
+ "componentId": {
34
+ "scope": "teambit.harmony",
35
+ "name": "harmony",
36
+ "version": "0.4.6"
37
+ }
38
+ },
39
+ "isOptional": false,
40
+ "defaultValue": "Aspect.create({\n id: 'teambit.compilation/multi-compiler',\n})"
41
+ },
42
+ {
43
+ "__schema": "ClassSchema",
44
+ "location": {
45
+ "filePath": "multi-compiler.main.runtime.ts",
46
+ "line": 6,
47
+ "character": 1
48
+ },
49
+ "signature": "class MultiCompilerMain",
50
+ "name": "MultiCompilerMain",
51
+ "members": [
52
+ {
53
+ "__schema": "FunctionLikeSchema",
54
+ "location": {
55
+ "filePath": "multi-compiler.main.runtime.ts",
56
+ "line": 11,
57
+ "character": 3
58
+ },
59
+ "doc": {
60
+ "__schema": "DocSchema",
61
+ "location": {
62
+ "filePath": "multi-compiler.main.runtime.ts",
63
+ "line": 7,
64
+ "character": 3
65
+ },
66
+ "raw": "/**\n * create a multi-compiler `Compiler` instance.\n * @param compilers list of compilers to include.\n */",
67
+ "comment": "create a multi-compiler `Compiler` instance.",
68
+ "tags": [
69
+ {
70
+ "__schema": "PropertyLikeTagSchema",
71
+ "location": {
72
+ "filePath": "multi-compiler.main.runtime.ts",
73
+ "line": 9,
74
+ "character": 6
75
+ },
76
+ "name": "compilers",
77
+ "tagName": "parameter",
78
+ "comment": "list of compilers to include."
79
+ }
80
+ ]
81
+ },
82
+ "signature": "(method) MultiCompilerMain.createCompiler(compilers: Compiler[], options?: Partial<CompilerOptions>): MultiCompiler",
83
+ "name": "createCompiler",
84
+ "params": [
85
+ {
86
+ "__schema": "ParameterSchema",
87
+ "location": {
88
+ "filePath": "multi-compiler.main.runtime.ts",
89
+ "line": 11,
90
+ "character": 18
91
+ },
92
+ "name": "compilers",
93
+ "type": {
94
+ "__schema": "TypeArraySchema",
95
+ "location": {
96
+ "filePath": "multi-compiler.main.runtime.ts",
97
+ "line": 11,
98
+ "character": 29
99
+ },
100
+ "type": {
101
+ "__schema": "TypeRefSchema",
102
+ "location": {
103
+ "filePath": "multi-compiler.main.runtime.ts",
104
+ "line": 11,
105
+ "character": 29
106
+ },
107
+ "name": "Compiler"
108
+ }
109
+ },
110
+ "isOptional": false,
111
+ "isSpread": false
112
+ },
113
+ {
114
+ "__schema": "ParameterSchema",
115
+ "location": {
116
+ "filePath": "multi-compiler.main.runtime.ts",
117
+ "line": 11,
118
+ "character": 41
119
+ },
120
+ "name": "options",
121
+ "type": {
122
+ "__schema": "TypeRefSchema",
123
+ "location": {
124
+ "filePath": "multi-compiler.main.runtime.ts",
125
+ "line": 11,
126
+ "character": 50
127
+ },
128
+ "name": "Partial",
129
+ "typeArgs": [
130
+ {
131
+ "__schema": "TypeRefSchema",
132
+ "location": {
133
+ "filePath": "multi-compiler.main.runtime.ts",
134
+ "line": 11,
135
+ "character": 58
136
+ },
137
+ "name": "CompilerOptions"
138
+ }
139
+ ]
140
+ },
141
+ "isOptional": true,
142
+ "defaultValue": "{}",
143
+ "isSpread": false
144
+ }
145
+ ],
146
+ "returnType": {
147
+ "__schema": "TypeRefSchema",
148
+ "location": {
149
+ "filePath": "multi-compiler.main.runtime.ts",
150
+ "line": 11,
151
+ "character": 3
152
+ },
153
+ "name": "MultiCompiler"
154
+ },
155
+ "modifiers": []
156
+ },
157
+ {
158
+ "__schema": "VariableLikeSchema",
159
+ "location": {
160
+ "filePath": "multi-compiler.main.runtime.ts",
161
+ "line": 15,
162
+ "character": 3
163
+ },
164
+ "signature": "(property) MultiCompilerMain.runtime: RuntimeDefinition",
165
+ "name": "runtime",
166
+ "type": {
167
+ "__schema": "InferenceTypeSchema",
168
+ "location": {
169
+ "filePath": "multi-compiler.main.runtime.ts",
170
+ "line": 15,
171
+ "character": 3
172
+ },
173
+ "type": "RuntimeDefinition"
174
+ },
175
+ "isOptional": true,
176
+ "defaultValue": "MainRuntime"
177
+ },
178
+ {
179
+ "__schema": "FunctionLikeSchema",
180
+ "location": {
181
+ "filePath": "multi-compiler.main.runtime.ts",
182
+ "line": 17,
183
+ "character": 3
184
+ },
185
+ "signature": "(method) MultiCompilerMain.provider(): Promise<MultiCompilerMain>",
186
+ "name": "provider",
187
+ "params": [],
188
+ "returnType": {
189
+ "__schema": "InferenceTypeSchema",
190
+ "location": {
191
+ "filePath": "multi-compiler.main.runtime.ts",
192
+ "line": 17,
193
+ "character": 3
194
+ },
195
+ "type": "Promise<MultiCompilerMain>"
196
+ },
197
+ "modifiers": [
198
+ "static",
199
+ "async"
200
+ ]
201
+ }
202
+ ],
203
+ "extendsNodes": [],
204
+ "implementNodes": []
205
+ },
206
+ {
207
+ "__schema": "ClassSchema",
208
+ "location": {
209
+ "filePath": "multi-compiler.compiler.ts",
210
+ "line": 18,
211
+ "character": 1
212
+ },
213
+ "signature": "class MultiCompiler",
214
+ "name": "MultiCompiler",
215
+ "members": [
216
+ {
217
+ "__schema": "VariableLikeSchema",
218
+ "location": {
219
+ "filePath": "multi-compiler.compiler.ts",
220
+ "line": 19,
221
+ "character": 3
222
+ },
223
+ "signature": "(property) MultiCompiler.displayName: string",
224
+ "name": "displayName",
225
+ "type": {
226
+ "__schema": "InferenceTypeSchema",
227
+ "location": {
228
+ "filePath": "multi-compiler.compiler.ts",
229
+ "line": 19,
230
+ "character": 3
231
+ },
232
+ "type": "string"
233
+ },
234
+ "isOptional": true,
235
+ "defaultValue": "'Multi compiler'"
236
+ },
237
+ {
238
+ "__schema": "VariableLikeSchema",
239
+ "location": {
240
+ "filePath": "multi-compiler.compiler.ts",
241
+ "line": 21,
242
+ "character": 3
243
+ },
244
+ "signature": "(property) MultiCompiler.shouldCopyNonSupportedFiles: boolean",
245
+ "name": "shouldCopyNonSupportedFiles",
246
+ "type": {
247
+ "__schema": "InferenceTypeSchema",
248
+ "location": {
249
+ "filePath": "multi-compiler.compiler.ts",
250
+ "line": 21,
251
+ "character": 3
252
+ },
253
+ "type": "boolean"
254
+ },
255
+ "isOptional": true,
256
+ "defaultValue": "typeof this.compilerOptions.shouldCopyNonSupportedFiles === 'boolean'\n ? this.compilerOptions.shouldCopyNonSupportedFiles\n : true"
257
+ },
258
+ {
259
+ "__schema": "VariableLikeSchema",
260
+ "location": {
261
+ "filePath": "multi-compiler.compiler.ts",
262
+ "line": 25,
263
+ "character": 3
264
+ },
265
+ "signature": "(property) MultiCompiler.distDir: string",
266
+ "name": "distDir",
267
+ "type": {
268
+ "__schema": "InferenceTypeSchema",
269
+ "location": {
270
+ "filePath": "multi-compiler.compiler.ts",
271
+ "line": 25,
272
+ "character": 3
273
+ },
274
+ "type": "string"
275
+ },
276
+ "isOptional": true,
277
+ "defaultValue": "'dist'"
278
+ },
279
+ {
280
+ "__schema": "ConstructorSchema",
281
+ "location": {
282
+ "filePath": "multi-compiler.compiler.ts",
283
+ "line": 27,
284
+ "character": 3
285
+ },
286
+ "signature": "constructor MultiCompiler(id: string, compilers: Compiler[], compilerOptions?: Partial<CompilerOptions>, options?: MultiCompilerOptions): MultiCompiler",
287
+ "name": "constructor",
288
+ "params": [
289
+ {
290
+ "__schema": "ParameterSchema",
291
+ "location": {
292
+ "filePath": "multi-compiler.compiler.ts",
293
+ "line": 28,
294
+ "character": 5
295
+ },
296
+ "name": "id",
297
+ "type": {
298
+ "__schema": "KeywordTypeSchema",
299
+ "location": {
300
+ "filePath": "multi-compiler.compiler.ts",
301
+ "line": 28,
302
+ "character": 18
303
+ },
304
+ "name": "string"
305
+ },
306
+ "isOptional": false,
307
+ "isSpread": false
308
+ },
309
+ {
310
+ "__schema": "ParameterSchema",
311
+ "location": {
312
+ "filePath": "multi-compiler.compiler.ts",
313
+ "line": 29,
314
+ "character": 5
315
+ },
316
+ "name": "compilers",
317
+ "type": {
318
+ "__schema": "TypeArraySchema",
319
+ "location": {
320
+ "filePath": "multi-compiler.compiler.ts",
321
+ "line": 29,
322
+ "character": 25
323
+ },
324
+ "type": {
325
+ "__schema": "TypeRefSchema",
326
+ "location": {
327
+ "filePath": "multi-compiler.compiler.ts",
328
+ "line": 29,
329
+ "character": 25
330
+ },
331
+ "name": "Compiler"
332
+ }
333
+ },
334
+ "isOptional": false,
335
+ "isSpread": false
336
+ },
337
+ {
338
+ "__schema": "ParameterSchema",
339
+ "location": {
340
+ "filePath": "multi-compiler.compiler.ts",
341
+ "line": 30,
342
+ "character": 5
343
+ },
344
+ "name": "compilerOptions",
345
+ "type": {
346
+ "__schema": "TypeRefSchema",
347
+ "location": {
348
+ "filePath": "multi-compiler.compiler.ts",
349
+ "line": 30,
350
+ "character": 31
351
+ },
352
+ "name": "Partial",
353
+ "typeArgs": [
354
+ {
355
+ "__schema": "TypeRefSchema",
356
+ "location": {
357
+ "filePath": "multi-compiler.compiler.ts",
358
+ "line": 30,
359
+ "character": 39
360
+ },
361
+ "name": "CompilerOptions"
362
+ }
363
+ ]
364
+ },
365
+ "isOptional": true,
366
+ "defaultValue": "{}",
367
+ "isSpread": false
368
+ },
369
+ {
370
+ "__schema": "ParameterSchema",
371
+ "location": {
372
+ "filePath": "multi-compiler.compiler.ts",
373
+ "line": 31,
374
+ "character": 5
375
+ },
376
+ "name": "options",
377
+ "type": {
378
+ "__schema": "TypeRefSchema",
379
+ "location": {
380
+ "filePath": "multi-compiler.compiler.ts",
381
+ "line": 31,
382
+ "character": 23
383
+ },
384
+ "name": "MultiCompilerOptions"
385
+ },
386
+ "isOptional": true,
387
+ "defaultValue": "{}",
388
+ "isSpread": false
389
+ }
390
+ ],
391
+ "returnType": {
392
+ "__schema": "ThisTypeSchema",
393
+ "location": {
394
+ "filePath": "multi-compiler.compiler.ts",
395
+ "line": 18,
396
+ "character": 1
397
+ },
398
+ "name": "MultiCompiler"
399
+ },
400
+ "modifiers": []
401
+ },
402
+ {
403
+ "__schema": "FunctionLikeSchema",
404
+ "location": {
405
+ "filePath": "multi-compiler.compiler.ts",
406
+ "line": 34,
407
+ "character": 3
408
+ },
409
+ "signature": "(method) MultiCompiler.getDistDir(): string",
410
+ "name": "getDistDir",
411
+ "params": [],
412
+ "returnType": {
413
+ "__schema": "InferenceTypeSchema",
414
+ "location": {
415
+ "filePath": "multi-compiler.compiler.ts",
416
+ "line": 34,
417
+ "character": 3
418
+ },
419
+ "type": "string"
420
+ },
421
+ "modifiers": []
422
+ },
423
+ {
424
+ "__schema": "FunctionLikeSchema",
425
+ "location": {
426
+ "filePath": "multi-compiler.compiler.ts",
427
+ "line": 38,
428
+ "character": 3
429
+ },
430
+ "signature": "(method) MultiCompiler.getArtifactDefinition(): {\n generatedBy: string;\n name: string;\n globPatterns: string[];\n}[]",
431
+ "name": "getArtifactDefinition",
432
+ "params": [],
433
+ "returnType": {
434
+ "__schema": "InferenceTypeSchema",
435
+ "location": {
436
+ "filePath": "multi-compiler.compiler.ts",
437
+ "line": 38,
438
+ "character": 3
439
+ },
440
+ "type": "{\n generatedBy: string;\n name: string;\n globPatterns: string[];\n}[]"
441
+ },
442
+ "modifiers": []
443
+ },
444
+ {
445
+ "__schema": "FunctionLikeSchema",
446
+ "location": {
447
+ "filePath": "multi-compiler.compiler.ts",
448
+ "line": 59,
449
+ "character": 3
450
+ },
451
+ "signature": "(method) MultiCompiler.displayConfig(): string",
452
+ "name": "displayConfig",
453
+ "params": [],
454
+ "returnType": {
455
+ "__schema": "InferenceTypeSchema",
456
+ "location": {
457
+ "filePath": "multi-compiler.compiler.ts",
458
+ "line": 59,
459
+ "character": 3
460
+ },
461
+ "type": "string"
462
+ },
463
+ "modifiers": []
464
+ },
465
+ {
466
+ "__schema": "FunctionLikeSchema",
467
+ "location": {
468
+ "filePath": "multi-compiler.compiler.ts",
469
+ "line": 70,
470
+ "character": 3
471
+ },
472
+ "doc": {
473
+ "__schema": "DocSchema",
474
+ "location": {
475
+ "filePath": "multi-compiler.compiler.ts",
476
+ "line": 67,
477
+ "character": 3
478
+ },
479
+ "raw": "/**\n * the multi-compiler applies all applicable defined compilers on given content.\n */",
480
+ "comment": "the multi-compiler applies all applicable defined compilers on given content."
481
+ },
482
+ "signature": "(method) MultiCompiler.transpileFile(fileContent: string, options: TranspileFileParams): Promise<TranspileFileOutput>",
483
+ "name": "transpileFile",
484
+ "params": [
485
+ {
486
+ "__schema": "ParameterSchema",
487
+ "location": {
488
+ "filePath": "multi-compiler.compiler.ts",
489
+ "line": 70,
490
+ "character": 23
491
+ },
492
+ "name": "fileContent",
493
+ "type": {
494
+ "__schema": "KeywordTypeSchema",
495
+ "location": {
496
+ "filePath": "multi-compiler.compiler.ts",
497
+ "line": 70,
498
+ "character": 36
499
+ },
500
+ "name": "string"
501
+ },
502
+ "isOptional": false,
503
+ "isSpread": false
504
+ },
505
+ {
506
+ "__schema": "ParameterSchema",
507
+ "location": {
508
+ "filePath": "multi-compiler.compiler.ts",
509
+ "line": 70,
510
+ "character": 44
511
+ },
512
+ "name": "options",
513
+ "type": {
514
+ "__schema": "TypeRefSchema",
515
+ "location": {
516
+ "filePath": "multi-compiler.compiler.ts",
517
+ "line": 70,
518
+ "character": 53
519
+ },
520
+ "name": "TranspileFileParams"
521
+ },
522
+ "isOptional": false,
523
+ "isSpread": false
524
+ }
525
+ ],
526
+ "returnType": {
527
+ "__schema": "TypeRefSchema",
528
+ "location": {
529
+ "filePath": "multi-compiler.compiler.ts",
530
+ "line": 70,
531
+ "character": 75
532
+ },
533
+ "name": "Promise",
534
+ "typeArgs": [
535
+ {
536
+ "__schema": "TypeRefSchema",
537
+ "location": {
538
+ "filePath": "multi-compiler.compiler.ts",
539
+ "line": 70,
540
+ "character": 83
541
+ },
542
+ "name": "TranspileFileOutput"
543
+ }
544
+ ]
545
+ },
546
+ "modifiers": [
547
+ "async"
548
+ ]
549
+ },
550
+ {
551
+ "__schema": "FunctionLikeSchema",
552
+ "location": {
553
+ "filePath": "multi-compiler.compiler.ts",
554
+ "line": 99,
555
+ "character": 3
556
+ },
557
+ "signature": "(method) MultiCompiler.transpileComponent(params: TranspileComponentParams): Promise<void>",
558
+ "name": "transpileComponent",
559
+ "params": [
560
+ {
561
+ "__schema": "ParameterSchema",
562
+ "location": {
563
+ "filePath": "multi-compiler.compiler.ts",
564
+ "line": 99,
565
+ "character": 28
566
+ },
567
+ "name": "params",
568
+ "type": {
569
+ "__schema": "TypeRefSchema",
570
+ "location": {
571
+ "filePath": "multi-compiler.compiler.ts",
572
+ "line": 99,
573
+ "character": 36
574
+ },
575
+ "name": "TranspileComponentParams"
576
+ },
577
+ "isOptional": false,
578
+ "isSpread": false
579
+ }
580
+ ],
581
+ "returnType": {
582
+ "__schema": "TypeRefSchema",
583
+ "location": {
584
+ "filePath": "multi-compiler.compiler.ts",
585
+ "line": 99,
586
+ "character": 63
587
+ },
588
+ "name": "Promise",
589
+ "typeArgs": [
590
+ {
591
+ "__schema": "KeywordTypeSchema",
592
+ "location": {
593
+ "filePath": "multi-compiler.compiler.ts",
594
+ "line": 99,
595
+ "character": 71
596
+ },
597
+ "name": "void"
598
+ }
599
+ ]
600
+ },
601
+ "modifiers": [
602
+ "async"
603
+ ]
604
+ },
605
+ {
606
+ "__schema": "FunctionLikeSchema",
607
+ "location": {
608
+ "filePath": "multi-compiler.compiler.ts",
609
+ "line": 107,
610
+ "character": 3
611
+ },
612
+ "signature": "(method) MultiCompiler.build(context: BuildContext): Promise<BuiltTaskResult>",
613
+ "name": "build",
614
+ "params": [
615
+ {
616
+ "__schema": "ParameterSchema",
617
+ "location": {
618
+ "filePath": "multi-compiler.compiler.ts",
619
+ "line": 107,
620
+ "character": 15
621
+ },
622
+ "name": "context",
623
+ "type": {
624
+ "__schema": "TypeRefSchema",
625
+ "location": {
626
+ "filePath": "multi-compiler.compiler.ts",
627
+ "line": 107,
628
+ "character": 24
629
+ },
630
+ "name": "BuildContext"
631
+ },
632
+ "isOptional": false,
633
+ "isSpread": false
634
+ }
635
+ ],
636
+ "returnType": {
637
+ "__schema": "TypeRefSchema",
638
+ "location": {
639
+ "filePath": "multi-compiler.compiler.ts",
640
+ "line": 107,
641
+ "character": 39
642
+ },
643
+ "name": "Promise",
644
+ "typeArgs": [
645
+ {
646
+ "__schema": "TypeRefSchema",
647
+ "location": {
648
+ "filePath": "multi-compiler.compiler.ts",
649
+ "line": 107,
650
+ "character": 47
651
+ },
652
+ "name": "BuiltTaskResult"
653
+ }
654
+ ]
655
+ },
656
+ "modifiers": [
657
+ "async"
658
+ ]
659
+ },
660
+ {
661
+ "__schema": "FunctionLikeSchema",
662
+ "location": {
663
+ "filePath": "multi-compiler.compiler.ts",
664
+ "line": 119,
665
+ "character": 3
666
+ },
667
+ "signature": "(method) MultiCompiler.preBuild(context: BuildContext): Promise<void>",
668
+ "name": "preBuild",
669
+ "params": [
670
+ {
671
+ "__schema": "ParameterSchema",
672
+ "location": {
673
+ "filePath": "multi-compiler.compiler.ts",
674
+ "line": 119,
675
+ "character": 18
676
+ },
677
+ "name": "context",
678
+ "type": {
679
+ "__schema": "TypeRefSchema",
680
+ "location": {
681
+ "filePath": "multi-compiler.compiler.ts",
682
+ "line": 119,
683
+ "character": 27
684
+ },
685
+ "name": "BuildContext"
686
+ },
687
+ "isOptional": false,
688
+ "isSpread": false
689
+ }
690
+ ],
691
+ "returnType": {
692
+ "__schema": "InferenceTypeSchema",
693
+ "location": {
694
+ "filePath": "multi-compiler.compiler.ts",
695
+ "line": 119,
696
+ "character": 3
697
+ },
698
+ "type": "Promise<void>"
699
+ },
700
+ "modifiers": [
701
+ "async"
702
+ ]
703
+ },
704
+ {
705
+ "__schema": "FunctionLikeSchema",
706
+ "location": {
707
+ "filePath": "multi-compiler.compiler.ts",
708
+ "line": 128,
709
+ "character": 3
710
+ },
711
+ "signature": "(method) MultiCompiler.postBuild(context: BuildContext, taskResults: TaskResultsList): Promise<void>",
712
+ "name": "postBuild",
713
+ "params": [
714
+ {
715
+ "__schema": "ParameterSchema",
716
+ "location": {
717
+ "filePath": "multi-compiler.compiler.ts",
718
+ "line": 128,
719
+ "character": 19
720
+ },
721
+ "name": "context",
722
+ "type": {
723
+ "__schema": "TypeRefSchema",
724
+ "location": {
725
+ "filePath": "multi-compiler.compiler.ts",
726
+ "line": 128,
727
+ "character": 28
728
+ },
729
+ "name": "BuildContext"
730
+ },
731
+ "isOptional": false,
732
+ "isSpread": false
733
+ },
734
+ {
735
+ "__schema": "ParameterSchema",
736
+ "location": {
737
+ "filePath": "multi-compiler.compiler.ts",
738
+ "line": 128,
739
+ "character": 42
740
+ },
741
+ "name": "taskResults",
742
+ "type": {
743
+ "__schema": "TypeRefSchema",
744
+ "location": {
745
+ "filePath": "multi-compiler.compiler.ts",
746
+ "line": 128,
747
+ "character": 55
748
+ },
749
+ "name": "TaskResultsList"
750
+ },
751
+ "isOptional": false,
752
+ "isSpread": false
753
+ }
754
+ ],
755
+ "returnType": {
756
+ "__schema": "InferenceTypeSchema",
757
+ "location": {
758
+ "filePath": "multi-compiler.compiler.ts",
759
+ "line": 128,
760
+ "character": 3
761
+ },
762
+ "type": "Promise<void>"
763
+ },
764
+ "modifiers": [
765
+ "async"
766
+ ]
767
+ },
768
+ {
769
+ "__schema": "FunctionLikeSchema",
770
+ "location": {
771
+ "filePath": "multi-compiler.compiler.ts",
772
+ "line": 141,
773
+ "character": 3
774
+ },
775
+ "signature": "(method) MultiCompiler.getPreviewComponentRootPath(component: Component): string",
776
+ "name": "getPreviewComponentRootPath",
777
+ "params": [
778
+ {
779
+ "__schema": "ParameterSchema",
780
+ "location": {
781
+ "filePath": "multi-compiler.compiler.ts",
782
+ "line": 141,
783
+ "character": 31
784
+ },
785
+ "name": "component",
786
+ "type": {
787
+ "__schema": "TypeRefSchema",
788
+ "location": {
789
+ "filePath": "multi-compiler.compiler.ts",
790
+ "line": 141,
791
+ "character": 42
792
+ },
793
+ "name": "Component"
794
+ },
795
+ "isOptional": false,
796
+ "isSpread": false
797
+ }
798
+ ],
799
+ "returnType": {
800
+ "__schema": "KeywordTypeSchema",
801
+ "location": {
802
+ "filePath": "multi-compiler.compiler.ts",
803
+ "line": 141,
804
+ "character": 54
805
+ },
806
+ "name": "string"
807
+ },
808
+ "modifiers": []
809
+ },
810
+ {
811
+ "__schema": "FunctionLikeSchema",
812
+ "location": {
813
+ "filePath": "multi-compiler.compiler.ts",
814
+ "line": 157,
815
+ "character": 3
816
+ },
817
+ "doc": {
818
+ "__schema": "DocSchema",
819
+ "location": {
820
+ "filePath": "multi-compiler.compiler.ts",
821
+ "line": 153,
822
+ "character": 3
823
+ },
824
+ "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 */",
825
+ "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."
826
+ },
827
+ "signature": "(method) MultiCompiler.getDistPathBySrcPath(srcPath: string): string",
828
+ "name": "getDistPathBySrcPath",
829
+ "params": [
830
+ {
831
+ "__schema": "ParameterSchema",
832
+ "location": {
833
+ "filePath": "multi-compiler.compiler.ts",
834
+ "line": 157,
835
+ "character": 24
836
+ },
837
+ "name": "srcPath",
838
+ "type": {
839
+ "__schema": "KeywordTypeSchema",
840
+ "location": {
841
+ "filePath": "multi-compiler.compiler.ts",
842
+ "line": 157,
843
+ "character": 33
844
+ },
845
+ "name": "string"
846
+ },
847
+ "isOptional": false,
848
+ "isSpread": false
849
+ }
850
+ ],
851
+ "returnType": {
852
+ "__schema": "KeywordTypeSchema",
853
+ "location": {
854
+ "filePath": "multi-compiler.compiler.ts",
855
+ "line": 157,
856
+ "character": 42
857
+ },
858
+ "name": "string"
859
+ },
860
+ "modifiers": []
861
+ },
862
+ {
863
+ "__schema": "FunctionLikeSchema",
864
+ "location": {
865
+ "filePath": "multi-compiler.compiler.ts",
866
+ "line": 169,
867
+ "character": 3
868
+ },
869
+ "doc": {
870
+ "__schema": "DocSchema",
871
+ "location": {
872
+ "filePath": "multi-compiler.compiler.ts",
873
+ "line": 166,
874
+ "character": 3
875
+ },
876
+ "raw": "/**\n * only supported files matching get compiled. others, are copied to the dist dir.\n */",
877
+ "comment": "only supported files matching get compiled. others, are copied to the dist dir."
878
+ },
879
+ "signature": "(method) MultiCompiler.isFileSupported(filePath: string): boolean",
880
+ "name": "isFileSupported",
881
+ "params": [
882
+ {
883
+ "__schema": "ParameterSchema",
884
+ "location": {
885
+ "filePath": "multi-compiler.compiler.ts",
886
+ "line": 169,
887
+ "character": 19
888
+ },
889
+ "name": "filePath",
890
+ "type": {
891
+ "__schema": "KeywordTypeSchema",
892
+ "location": {
893
+ "filePath": "multi-compiler.compiler.ts",
894
+ "line": 169,
895
+ "character": 29
896
+ },
897
+ "name": "string"
898
+ },
899
+ "isOptional": false,
900
+ "isSpread": false
901
+ }
902
+ ],
903
+ "returnType": {
904
+ "__schema": "KeywordTypeSchema",
905
+ "location": {
906
+ "filePath": "multi-compiler.compiler.ts",
907
+ "line": 169,
908
+ "character": 38
909
+ },
910
+ "name": "boolean"
911
+ },
912
+ "modifiers": []
913
+ },
914
+ {
915
+ "__schema": "FunctionLikeSchema",
916
+ "location": {
917
+ "filePath": "multi-compiler.compiler.ts",
918
+ "line": 176,
919
+ "character": 3
920
+ },
921
+ "doc": {
922
+ "__schema": "DocSchema",
923
+ "location": {
924
+ "filePath": "multi-compiler.compiler.ts",
925
+ "line": 173,
926
+ "character": 3
927
+ },
928
+ "raw": "/**\n * returns the version of the current compiler instance (e.g. '4.0.1').\n */",
929
+ "comment": "returns the version of the current compiler instance (e.g. '4.0.1')."
930
+ },
931
+ "signature": "(method) MultiCompiler.version(): string",
932
+ "name": "version",
933
+ "params": [],
934
+ "returnType": {
935
+ "__schema": "KeywordTypeSchema",
936
+ "location": {
937
+ "filePath": "multi-compiler.compiler.ts",
938
+ "line": 176,
939
+ "character": 14
940
+ },
941
+ "name": "string"
942
+ },
943
+ "modifiers": []
944
+ }
945
+ ],
946
+ "extendsNodes": [],
947
+ "implementNodes": [
948
+ {
949
+ "__schema": "ExpressionWithTypeArgumentsSchema",
950
+ "location": {
951
+ "filePath": "multi-compiler.compiler.ts",
952
+ "line": 18,
953
+ "character": 39
954
+ },
955
+ "name": "implements Compiler",
956
+ "typeArgs": [],
957
+ "expression": {
958
+ "__schema": "TypeRefSchema",
959
+ "location": {
960
+ "filePath": "multi-compiler.compiler.ts",
961
+ "line": 18,
962
+ "character": 39
963
+ },
964
+ "name": "Compiler",
965
+ "componentId": {
966
+ "_legacy": {
967
+ "scope": "teambit.compilation",
968
+ "name": "multi-compiler",
969
+ "version": "1.0.160"
970
+ },
971
+ "_scope": "teambit.compilation"
972
+ }
973
+ }
974
+ }
975
+ ]
976
+ },
977
+ {
978
+ "__schema": "UnImplementedSchema",
979
+ "location": {
980
+ "filePath": "index.ts",
981
+ "line": 6,
982
+ "character": 16
983
+ },
984
+ "name": "MultiCompilerAspect",
985
+ "type": "Identifier"
986
+ }
987
+ ],
988
+ "internals": []
989
+ },
990
+ "internals": [
991
+ {
992
+ "__schema": "ModuleSchema",
993
+ "location": {
994
+ "filePath": "multi-compiler.aspect.ts",
995
+ "line": 1,
996
+ "character": 1
997
+ },
998
+ "exports": [
999
+ {
1000
+ "__schema": "VariableLikeSchema",
1001
+ "location": {
1002
+ "filePath": "multi-compiler.aspect.ts",
1003
+ "line": 3,
1004
+ "character": 14
1005
+ },
1006
+ "signature": "const MultiCompilerAspect: Aspect",
1007
+ "name": "MultiCompilerAspect",
1008
+ "type": {
1009
+ "__schema": "TypeRefSchema",
1010
+ "location": {
1011
+ "filePath": "multi-compiler.aspect.ts",
1012
+ "line": 3,
1013
+ "character": 14
1014
+ },
1015
+ "name": "Aspect",
1016
+ "componentId": {
1017
+ "scope": "teambit.harmony",
1018
+ "name": "harmony",
1019
+ "version": "0.4.6"
1020
+ }
1021
+ },
1022
+ "isOptional": false,
1023
+ "defaultValue": "Aspect.create({\n id: 'teambit.compilation/multi-compiler',\n})"
1024
+ }
1025
+ ],
1026
+ "internals": []
1027
+ },
1028
+ {
1029
+ "__schema": "ModuleSchema",
1030
+ "location": {
1031
+ "filePath": "multi-compiler.main.runtime.ts",
1032
+ "line": 1,
1033
+ "character": 1
1034
+ },
1035
+ "exports": [
1036
+ {
1037
+ "__schema": "ClassSchema",
1038
+ "location": {
1039
+ "filePath": "multi-compiler.main.runtime.ts",
1040
+ "line": 6,
1041
+ "character": 1
1042
+ },
1043
+ "signature": "class MultiCompilerMain",
1044
+ "name": "MultiCompilerMain",
1045
+ "members": [
1046
+ {
1047
+ "__schema": "FunctionLikeSchema",
1048
+ "location": {
1049
+ "filePath": "multi-compiler.main.runtime.ts",
1050
+ "line": 11,
1051
+ "character": 3
1052
+ },
1053
+ "doc": {
1054
+ "__schema": "DocSchema",
1055
+ "location": {
1056
+ "filePath": "multi-compiler.main.runtime.ts",
1057
+ "line": 7,
1058
+ "character": 3
1059
+ },
1060
+ "raw": "/**\n * create a multi-compiler `Compiler` instance.\n * @param compilers list of compilers to include.\n */",
1061
+ "comment": "create a multi-compiler `Compiler` instance.",
1062
+ "tags": [
1063
+ {
1064
+ "__schema": "PropertyLikeTagSchema",
1065
+ "location": {
1066
+ "filePath": "multi-compiler.main.runtime.ts",
1067
+ "line": 9,
1068
+ "character": 6
1069
+ },
1070
+ "name": "compilers",
1071
+ "tagName": "parameter",
1072
+ "comment": "list of compilers to include."
1073
+ }
1074
+ ]
1075
+ },
1076
+ "signature": "(method) MultiCompilerMain.createCompiler(compilers: Compiler[], options?: Partial<CompilerOptions>): MultiCompiler",
1077
+ "name": "createCompiler",
1078
+ "params": [
1079
+ {
1080
+ "__schema": "ParameterSchema",
1081
+ "location": {
1082
+ "filePath": "multi-compiler.main.runtime.ts",
1083
+ "line": 11,
1084
+ "character": 18
1085
+ },
1086
+ "name": "compilers",
1087
+ "type": {
1088
+ "__schema": "TypeArraySchema",
1089
+ "location": {
1090
+ "filePath": "multi-compiler.main.runtime.ts",
1091
+ "line": 11,
1092
+ "character": 29
1093
+ },
1094
+ "type": {
1095
+ "__schema": "TypeRefSchema",
1096
+ "location": {
1097
+ "filePath": "multi-compiler.main.runtime.ts",
1098
+ "line": 11,
1099
+ "character": 29
1100
+ },
1101
+ "name": "Compiler"
1102
+ }
1103
+ },
1104
+ "isOptional": false,
1105
+ "isSpread": false
1106
+ },
1107
+ {
1108
+ "__schema": "ParameterSchema",
1109
+ "location": {
1110
+ "filePath": "multi-compiler.main.runtime.ts",
1111
+ "line": 11,
1112
+ "character": 41
1113
+ },
1114
+ "name": "options",
1115
+ "type": {
1116
+ "__schema": "TypeRefSchema",
1117
+ "location": {
1118
+ "filePath": "multi-compiler.main.runtime.ts",
1119
+ "line": 11,
1120
+ "character": 50
1121
+ },
1122
+ "name": "Partial",
1123
+ "typeArgs": [
1124
+ {
1125
+ "__schema": "TypeRefSchema",
1126
+ "location": {
1127
+ "filePath": "multi-compiler.main.runtime.ts",
1128
+ "line": 11,
1129
+ "character": 58
1130
+ },
1131
+ "name": "CompilerOptions"
1132
+ }
1133
+ ]
1134
+ },
1135
+ "isOptional": true,
1136
+ "defaultValue": "{}",
1137
+ "isSpread": false
1138
+ }
1139
+ ],
1140
+ "returnType": {
1141
+ "__schema": "TypeRefSchema",
1142
+ "location": {
1143
+ "filePath": "multi-compiler.main.runtime.ts",
1144
+ "line": 11,
1145
+ "character": 3
1146
+ },
1147
+ "name": "MultiCompiler"
1148
+ },
1149
+ "modifiers": []
1150
+ },
1151
+ {
1152
+ "__schema": "VariableLikeSchema",
1153
+ "location": {
1154
+ "filePath": "multi-compiler.main.runtime.ts",
1155
+ "line": 15,
1156
+ "character": 3
1157
+ },
1158
+ "signature": "(property) MultiCompilerMain.runtime: RuntimeDefinition",
1159
+ "name": "runtime",
1160
+ "type": {
1161
+ "__schema": "InferenceTypeSchema",
1162
+ "location": {
1163
+ "filePath": "multi-compiler.main.runtime.ts",
1164
+ "line": 15,
1165
+ "character": 3
1166
+ },
1167
+ "type": "RuntimeDefinition"
1168
+ },
1169
+ "isOptional": true,
1170
+ "defaultValue": "MainRuntime"
1171
+ },
1172
+ {
1173
+ "__schema": "FunctionLikeSchema",
1174
+ "location": {
1175
+ "filePath": "multi-compiler.main.runtime.ts",
1176
+ "line": 17,
1177
+ "character": 3
1178
+ },
1179
+ "signature": "(method) MultiCompilerMain.provider(): Promise<MultiCompilerMain>",
1180
+ "name": "provider",
1181
+ "params": [],
1182
+ "returnType": {
1183
+ "__schema": "InferenceTypeSchema",
1184
+ "location": {
1185
+ "filePath": "multi-compiler.main.runtime.ts",
1186
+ "line": 17,
1187
+ "character": 3
1188
+ },
1189
+ "type": "Promise<MultiCompilerMain>"
1190
+ },
1191
+ "modifiers": [
1192
+ "static",
1193
+ "async"
1194
+ ]
1195
+ }
1196
+ ],
1197
+ "extendsNodes": [],
1198
+ "implementNodes": []
1199
+ }
1200
+ ],
1201
+ "internals": [
1202
+ {
1203
+ "__schema": "UnImplementedSchema",
1204
+ "location": {
1205
+ "filePath": "multi-compiler.main.runtime.ts",
1206
+ "line": 22,
1207
+ "character": 1
1208
+ },
1209
+ "name": "MultiCompilerAspect.addRuntime(MultiCompilerMain);",
1210
+ "type": "ExpressionStatement"
1211
+ }
1212
+ ]
1213
+ },
1214
+ {
1215
+ "__schema": "ModuleSchema",
1216
+ "location": {
1217
+ "filePath": "multi-compiler.compiler.ts",
1218
+ "line": 1,
1219
+ "character": 1
1220
+ },
1221
+ "exports": [
1222
+ {
1223
+ "__schema": "TypeSchema",
1224
+ "location": {
1225
+ "filePath": "multi-compiler.compiler.ts",
1226
+ "line": 14,
1227
+ "character": 1
1228
+ },
1229
+ "signature": "type MultiCompilerOptions = {\n targetExtension?: string | undefined;\n}",
1230
+ "name": "MultiCompilerOptions",
1231
+ "type": {
1232
+ "__schema": "TypeLiteralSchema",
1233
+ "location": {
1234
+ "filePath": "multi-compiler.compiler.ts",
1235
+ "line": 14,
1236
+ "character": 36
1237
+ },
1238
+ "members": [
1239
+ {
1240
+ "__schema": "VariableLikeSchema",
1241
+ "location": {
1242
+ "filePath": "multi-compiler.compiler.ts",
1243
+ "line": 15,
1244
+ "character": 3
1245
+ },
1246
+ "signature": "(property) targetExtension?: string | undefined",
1247
+ "name": "targetExtension",
1248
+ "type": {
1249
+ "__schema": "KeywordTypeSchema",
1250
+ "location": {
1251
+ "filePath": "multi-compiler.compiler.ts",
1252
+ "line": 15,
1253
+ "character": 21
1254
+ },
1255
+ "name": "string"
1256
+ },
1257
+ "isOptional": true
1258
+ }
1259
+ ]
1260
+ }
1261
+ },
1262
+ {
1263
+ "__schema": "ClassSchema",
1264
+ "location": {
1265
+ "filePath": "multi-compiler.compiler.ts",
1266
+ "line": 18,
1267
+ "character": 1
1268
+ },
1269
+ "signature": "class MultiCompiler",
1270
+ "name": "MultiCompiler",
1271
+ "members": [
1272
+ {
1273
+ "__schema": "VariableLikeSchema",
1274
+ "location": {
1275
+ "filePath": "multi-compiler.compiler.ts",
1276
+ "line": 19,
1277
+ "character": 3
1278
+ },
1279
+ "signature": "(property) MultiCompiler.displayName: string",
1280
+ "name": "displayName",
1281
+ "type": {
1282
+ "__schema": "InferenceTypeSchema",
1283
+ "location": {
1284
+ "filePath": "multi-compiler.compiler.ts",
1285
+ "line": 19,
1286
+ "character": 3
1287
+ },
1288
+ "type": "string"
1289
+ },
1290
+ "isOptional": true,
1291
+ "defaultValue": "'Multi compiler'"
1292
+ },
1293
+ {
1294
+ "__schema": "VariableLikeSchema",
1295
+ "location": {
1296
+ "filePath": "multi-compiler.compiler.ts",
1297
+ "line": 21,
1298
+ "character": 3
1299
+ },
1300
+ "signature": "(property) MultiCompiler.shouldCopyNonSupportedFiles: boolean",
1301
+ "name": "shouldCopyNonSupportedFiles",
1302
+ "type": {
1303
+ "__schema": "InferenceTypeSchema",
1304
+ "location": {
1305
+ "filePath": "multi-compiler.compiler.ts",
1306
+ "line": 21,
1307
+ "character": 3
1308
+ },
1309
+ "type": "boolean"
1310
+ },
1311
+ "isOptional": true,
1312
+ "defaultValue": "typeof this.compilerOptions.shouldCopyNonSupportedFiles === 'boolean'\n ? this.compilerOptions.shouldCopyNonSupportedFiles\n : true"
1313
+ },
1314
+ {
1315
+ "__schema": "VariableLikeSchema",
1316
+ "location": {
1317
+ "filePath": "multi-compiler.compiler.ts",
1318
+ "line": 25,
1319
+ "character": 3
1320
+ },
1321
+ "signature": "(property) MultiCompiler.distDir: string",
1322
+ "name": "distDir",
1323
+ "type": {
1324
+ "__schema": "InferenceTypeSchema",
1325
+ "location": {
1326
+ "filePath": "multi-compiler.compiler.ts",
1327
+ "line": 25,
1328
+ "character": 3
1329
+ },
1330
+ "type": "string"
1331
+ },
1332
+ "isOptional": true,
1333
+ "defaultValue": "'dist'"
1334
+ },
1335
+ {
1336
+ "__schema": "ConstructorSchema",
1337
+ "location": {
1338
+ "filePath": "multi-compiler.compiler.ts",
1339
+ "line": 27,
1340
+ "character": 3
1341
+ },
1342
+ "signature": "constructor MultiCompiler(id: string, compilers: Compiler[], compilerOptions?: Partial<CompilerOptions>, options?: MultiCompilerOptions): MultiCompiler",
1343
+ "name": "constructor",
1344
+ "params": [
1345
+ {
1346
+ "__schema": "ParameterSchema",
1347
+ "location": {
1348
+ "filePath": "multi-compiler.compiler.ts",
1349
+ "line": 28,
1350
+ "character": 5
1351
+ },
1352
+ "name": "id",
1353
+ "type": {
1354
+ "__schema": "KeywordTypeSchema",
1355
+ "location": {
1356
+ "filePath": "multi-compiler.compiler.ts",
1357
+ "line": 28,
1358
+ "character": 18
1359
+ },
1360
+ "name": "string"
1361
+ },
1362
+ "isOptional": false,
1363
+ "isSpread": false
1364
+ },
1365
+ {
1366
+ "__schema": "ParameterSchema",
1367
+ "location": {
1368
+ "filePath": "multi-compiler.compiler.ts",
1369
+ "line": 29,
1370
+ "character": 5
1371
+ },
1372
+ "name": "compilers",
1373
+ "type": {
1374
+ "__schema": "TypeArraySchema",
1375
+ "location": {
1376
+ "filePath": "multi-compiler.compiler.ts",
1377
+ "line": 29,
1378
+ "character": 25
1379
+ },
1380
+ "type": {
1381
+ "__schema": "TypeRefSchema",
1382
+ "location": {
1383
+ "filePath": "multi-compiler.compiler.ts",
1384
+ "line": 29,
1385
+ "character": 25
1386
+ },
1387
+ "name": "Compiler"
1388
+ }
1389
+ },
1390
+ "isOptional": false,
1391
+ "isSpread": false
1392
+ },
1393
+ {
1394
+ "__schema": "ParameterSchema",
1395
+ "location": {
1396
+ "filePath": "multi-compiler.compiler.ts",
1397
+ "line": 30,
1398
+ "character": 5
1399
+ },
1400
+ "name": "compilerOptions",
1401
+ "type": {
1402
+ "__schema": "TypeRefSchema",
1403
+ "location": {
1404
+ "filePath": "multi-compiler.compiler.ts",
1405
+ "line": 30,
1406
+ "character": 31
1407
+ },
1408
+ "name": "Partial",
1409
+ "typeArgs": [
1410
+ {
1411
+ "__schema": "TypeRefSchema",
1412
+ "location": {
1413
+ "filePath": "multi-compiler.compiler.ts",
1414
+ "line": 30,
1415
+ "character": 39
1416
+ },
1417
+ "name": "CompilerOptions"
1418
+ }
1419
+ ]
1420
+ },
1421
+ "isOptional": true,
1422
+ "defaultValue": "{}",
1423
+ "isSpread": false
1424
+ },
1425
+ {
1426
+ "__schema": "ParameterSchema",
1427
+ "location": {
1428
+ "filePath": "multi-compiler.compiler.ts",
1429
+ "line": 31,
1430
+ "character": 5
1431
+ },
1432
+ "name": "options",
1433
+ "type": {
1434
+ "__schema": "TypeRefSchema",
1435
+ "location": {
1436
+ "filePath": "multi-compiler.compiler.ts",
1437
+ "line": 31,
1438
+ "character": 23
1439
+ },
1440
+ "name": "MultiCompilerOptions"
1441
+ },
1442
+ "isOptional": true,
1443
+ "defaultValue": "{}",
1444
+ "isSpread": false
1445
+ }
1446
+ ],
1447
+ "returnType": {
1448
+ "__schema": "ThisTypeSchema",
1449
+ "location": {
1450
+ "filePath": "multi-compiler.compiler.ts",
1451
+ "line": 18,
1452
+ "character": 1
1453
+ },
1454
+ "name": "MultiCompiler"
1455
+ },
1456
+ "modifiers": []
1457
+ },
1458
+ {
1459
+ "__schema": "FunctionLikeSchema",
1460
+ "location": {
1461
+ "filePath": "multi-compiler.compiler.ts",
1462
+ "line": 34,
1463
+ "character": 3
1464
+ },
1465
+ "signature": "(method) MultiCompiler.getDistDir(): string",
1466
+ "name": "getDistDir",
1467
+ "params": [],
1468
+ "returnType": {
1469
+ "__schema": "InferenceTypeSchema",
1470
+ "location": {
1471
+ "filePath": "multi-compiler.compiler.ts",
1472
+ "line": 34,
1473
+ "character": 3
1474
+ },
1475
+ "type": "string"
1476
+ },
1477
+ "modifiers": []
1478
+ },
1479
+ {
1480
+ "__schema": "FunctionLikeSchema",
1481
+ "location": {
1482
+ "filePath": "multi-compiler.compiler.ts",
1483
+ "line": 38,
1484
+ "character": 3
1485
+ },
1486
+ "signature": "(method) MultiCompiler.getArtifactDefinition(): {\n generatedBy: string;\n name: string;\n globPatterns: string[];\n}[]",
1487
+ "name": "getArtifactDefinition",
1488
+ "params": [],
1489
+ "returnType": {
1490
+ "__schema": "InferenceTypeSchema",
1491
+ "location": {
1492
+ "filePath": "multi-compiler.compiler.ts",
1493
+ "line": 38,
1494
+ "character": 3
1495
+ },
1496
+ "type": "{\n generatedBy: string;\n name: string;\n globPatterns: string[];\n}[]"
1497
+ },
1498
+ "modifiers": []
1499
+ },
1500
+ {
1501
+ "__schema": "FunctionLikeSchema",
1502
+ "location": {
1503
+ "filePath": "multi-compiler.compiler.ts",
1504
+ "line": 59,
1505
+ "character": 3
1506
+ },
1507
+ "signature": "(method) MultiCompiler.displayConfig(): string",
1508
+ "name": "displayConfig",
1509
+ "params": [],
1510
+ "returnType": {
1511
+ "__schema": "InferenceTypeSchema",
1512
+ "location": {
1513
+ "filePath": "multi-compiler.compiler.ts",
1514
+ "line": 59,
1515
+ "character": 3
1516
+ },
1517
+ "type": "string"
1518
+ },
1519
+ "modifiers": []
1520
+ },
1521
+ {
1522
+ "__schema": "FunctionLikeSchema",
1523
+ "location": {
1524
+ "filePath": "multi-compiler.compiler.ts",
1525
+ "line": 70,
1526
+ "character": 3
1527
+ },
1528
+ "doc": {
1529
+ "__schema": "DocSchema",
1530
+ "location": {
1531
+ "filePath": "multi-compiler.compiler.ts",
1532
+ "line": 67,
1533
+ "character": 3
1534
+ },
1535
+ "raw": "/**\n * the multi-compiler applies all applicable defined compilers on given content.\n */",
1536
+ "comment": "the multi-compiler applies all applicable defined compilers on given content."
1537
+ },
1538
+ "signature": "(method) MultiCompiler.transpileFile(fileContent: string, options: TranspileFileParams): Promise<TranspileFileOutput>",
1539
+ "name": "transpileFile",
1540
+ "params": [
1541
+ {
1542
+ "__schema": "ParameterSchema",
1543
+ "location": {
1544
+ "filePath": "multi-compiler.compiler.ts",
1545
+ "line": 70,
1546
+ "character": 23
1547
+ },
1548
+ "name": "fileContent",
1549
+ "type": {
1550
+ "__schema": "KeywordTypeSchema",
1551
+ "location": {
1552
+ "filePath": "multi-compiler.compiler.ts",
1553
+ "line": 70,
1554
+ "character": 36
1555
+ },
1556
+ "name": "string"
1557
+ },
1558
+ "isOptional": false,
1559
+ "isSpread": false
1560
+ },
1561
+ {
1562
+ "__schema": "ParameterSchema",
1563
+ "location": {
1564
+ "filePath": "multi-compiler.compiler.ts",
1565
+ "line": 70,
1566
+ "character": 44
1567
+ },
1568
+ "name": "options",
1569
+ "type": {
1570
+ "__schema": "TypeRefSchema",
1571
+ "location": {
1572
+ "filePath": "multi-compiler.compiler.ts",
1573
+ "line": 70,
1574
+ "character": 53
1575
+ },
1576
+ "name": "TranspileFileParams"
1577
+ },
1578
+ "isOptional": false,
1579
+ "isSpread": false
1580
+ }
1581
+ ],
1582
+ "returnType": {
1583
+ "__schema": "TypeRefSchema",
1584
+ "location": {
1585
+ "filePath": "multi-compiler.compiler.ts",
1586
+ "line": 70,
1587
+ "character": 75
1588
+ },
1589
+ "name": "Promise",
1590
+ "typeArgs": [
1591
+ {
1592
+ "__schema": "TypeRefSchema",
1593
+ "location": {
1594
+ "filePath": "multi-compiler.compiler.ts",
1595
+ "line": 70,
1596
+ "character": 83
1597
+ },
1598
+ "name": "TranspileFileOutput"
1599
+ }
1600
+ ]
1601
+ },
1602
+ "modifiers": [
1603
+ "async"
1604
+ ]
1605
+ },
1606
+ {
1607
+ "__schema": "FunctionLikeSchema",
1608
+ "location": {
1609
+ "filePath": "multi-compiler.compiler.ts",
1610
+ "line": 99,
1611
+ "character": 3
1612
+ },
1613
+ "signature": "(method) MultiCompiler.transpileComponent(params: TranspileComponentParams): Promise<void>",
1614
+ "name": "transpileComponent",
1615
+ "params": [
1616
+ {
1617
+ "__schema": "ParameterSchema",
1618
+ "location": {
1619
+ "filePath": "multi-compiler.compiler.ts",
1620
+ "line": 99,
1621
+ "character": 28
1622
+ },
1623
+ "name": "params",
1624
+ "type": {
1625
+ "__schema": "TypeRefSchema",
1626
+ "location": {
1627
+ "filePath": "multi-compiler.compiler.ts",
1628
+ "line": 99,
1629
+ "character": 36
1630
+ },
1631
+ "name": "TranspileComponentParams"
1632
+ },
1633
+ "isOptional": false,
1634
+ "isSpread": false
1635
+ }
1636
+ ],
1637
+ "returnType": {
1638
+ "__schema": "TypeRefSchema",
1639
+ "location": {
1640
+ "filePath": "multi-compiler.compiler.ts",
1641
+ "line": 99,
1642
+ "character": 63
1643
+ },
1644
+ "name": "Promise",
1645
+ "typeArgs": [
1646
+ {
1647
+ "__schema": "KeywordTypeSchema",
1648
+ "location": {
1649
+ "filePath": "multi-compiler.compiler.ts",
1650
+ "line": 99,
1651
+ "character": 71
1652
+ },
1653
+ "name": "void"
1654
+ }
1655
+ ]
1656
+ },
1657
+ "modifiers": [
1658
+ "async"
1659
+ ]
1660
+ },
1661
+ {
1662
+ "__schema": "FunctionLikeSchema",
1663
+ "location": {
1664
+ "filePath": "multi-compiler.compiler.ts",
1665
+ "line": 107,
1666
+ "character": 3
1667
+ },
1668
+ "signature": "(method) MultiCompiler.build(context: BuildContext): Promise<BuiltTaskResult>",
1669
+ "name": "build",
1670
+ "params": [
1671
+ {
1672
+ "__schema": "ParameterSchema",
1673
+ "location": {
1674
+ "filePath": "multi-compiler.compiler.ts",
1675
+ "line": 107,
1676
+ "character": 15
1677
+ },
1678
+ "name": "context",
1679
+ "type": {
1680
+ "__schema": "TypeRefSchema",
1681
+ "location": {
1682
+ "filePath": "multi-compiler.compiler.ts",
1683
+ "line": 107,
1684
+ "character": 24
1685
+ },
1686
+ "name": "BuildContext"
1687
+ },
1688
+ "isOptional": false,
1689
+ "isSpread": false
1690
+ }
1691
+ ],
1692
+ "returnType": {
1693
+ "__schema": "TypeRefSchema",
1694
+ "location": {
1695
+ "filePath": "multi-compiler.compiler.ts",
1696
+ "line": 107,
1697
+ "character": 39
1698
+ },
1699
+ "name": "Promise",
1700
+ "typeArgs": [
1701
+ {
1702
+ "__schema": "TypeRefSchema",
1703
+ "location": {
1704
+ "filePath": "multi-compiler.compiler.ts",
1705
+ "line": 107,
1706
+ "character": 47
1707
+ },
1708
+ "name": "BuiltTaskResult"
1709
+ }
1710
+ ]
1711
+ },
1712
+ "modifiers": [
1713
+ "async"
1714
+ ]
1715
+ },
1716
+ {
1717
+ "__schema": "FunctionLikeSchema",
1718
+ "location": {
1719
+ "filePath": "multi-compiler.compiler.ts",
1720
+ "line": 119,
1721
+ "character": 3
1722
+ },
1723
+ "signature": "(method) MultiCompiler.preBuild(context: BuildContext): Promise<void>",
1724
+ "name": "preBuild",
1725
+ "params": [
1726
+ {
1727
+ "__schema": "ParameterSchema",
1728
+ "location": {
1729
+ "filePath": "multi-compiler.compiler.ts",
1730
+ "line": 119,
1731
+ "character": 18
1732
+ },
1733
+ "name": "context",
1734
+ "type": {
1735
+ "__schema": "TypeRefSchema",
1736
+ "location": {
1737
+ "filePath": "multi-compiler.compiler.ts",
1738
+ "line": 119,
1739
+ "character": 27
1740
+ },
1741
+ "name": "BuildContext"
1742
+ },
1743
+ "isOptional": false,
1744
+ "isSpread": false
1745
+ }
1746
+ ],
1747
+ "returnType": {
1748
+ "__schema": "InferenceTypeSchema",
1749
+ "location": {
1750
+ "filePath": "multi-compiler.compiler.ts",
1751
+ "line": 119,
1752
+ "character": 3
1753
+ },
1754
+ "type": "Promise<void>"
1755
+ },
1756
+ "modifiers": [
1757
+ "async"
1758
+ ]
1759
+ },
1760
+ {
1761
+ "__schema": "FunctionLikeSchema",
1762
+ "location": {
1763
+ "filePath": "multi-compiler.compiler.ts",
1764
+ "line": 128,
1765
+ "character": 3
1766
+ },
1767
+ "signature": "(method) MultiCompiler.postBuild(context: BuildContext, taskResults: TaskResultsList): Promise<void>",
1768
+ "name": "postBuild",
1769
+ "params": [
1770
+ {
1771
+ "__schema": "ParameterSchema",
1772
+ "location": {
1773
+ "filePath": "multi-compiler.compiler.ts",
1774
+ "line": 128,
1775
+ "character": 19
1776
+ },
1777
+ "name": "context",
1778
+ "type": {
1779
+ "__schema": "TypeRefSchema",
1780
+ "location": {
1781
+ "filePath": "multi-compiler.compiler.ts",
1782
+ "line": 128,
1783
+ "character": 28
1784
+ },
1785
+ "name": "BuildContext"
1786
+ },
1787
+ "isOptional": false,
1788
+ "isSpread": false
1789
+ },
1790
+ {
1791
+ "__schema": "ParameterSchema",
1792
+ "location": {
1793
+ "filePath": "multi-compiler.compiler.ts",
1794
+ "line": 128,
1795
+ "character": 42
1796
+ },
1797
+ "name": "taskResults",
1798
+ "type": {
1799
+ "__schema": "TypeRefSchema",
1800
+ "location": {
1801
+ "filePath": "multi-compiler.compiler.ts",
1802
+ "line": 128,
1803
+ "character": 55
1804
+ },
1805
+ "name": "TaskResultsList"
1806
+ },
1807
+ "isOptional": false,
1808
+ "isSpread": false
1809
+ }
1810
+ ],
1811
+ "returnType": {
1812
+ "__schema": "InferenceTypeSchema",
1813
+ "location": {
1814
+ "filePath": "multi-compiler.compiler.ts",
1815
+ "line": 128,
1816
+ "character": 3
1817
+ },
1818
+ "type": "Promise<void>"
1819
+ },
1820
+ "modifiers": [
1821
+ "async"
1822
+ ]
1823
+ },
1824
+ {
1825
+ "__schema": "FunctionLikeSchema",
1826
+ "location": {
1827
+ "filePath": "multi-compiler.compiler.ts",
1828
+ "line": 141,
1829
+ "character": 3
1830
+ },
1831
+ "signature": "(method) MultiCompiler.getPreviewComponentRootPath(component: Component): string",
1832
+ "name": "getPreviewComponentRootPath",
1833
+ "params": [
1834
+ {
1835
+ "__schema": "ParameterSchema",
1836
+ "location": {
1837
+ "filePath": "multi-compiler.compiler.ts",
1838
+ "line": 141,
1839
+ "character": 31
1840
+ },
1841
+ "name": "component",
1842
+ "type": {
1843
+ "__schema": "TypeRefSchema",
1844
+ "location": {
1845
+ "filePath": "multi-compiler.compiler.ts",
1846
+ "line": 141,
1847
+ "character": 42
1848
+ },
1849
+ "name": "Component"
1850
+ },
1851
+ "isOptional": false,
1852
+ "isSpread": false
1853
+ }
1854
+ ],
1855
+ "returnType": {
1856
+ "__schema": "KeywordTypeSchema",
1857
+ "location": {
1858
+ "filePath": "multi-compiler.compiler.ts",
1859
+ "line": 141,
1860
+ "character": 54
1861
+ },
1862
+ "name": "string"
1863
+ },
1864
+ "modifiers": []
1865
+ },
1866
+ {
1867
+ "__schema": "FunctionLikeSchema",
1868
+ "location": {
1869
+ "filePath": "multi-compiler.compiler.ts",
1870
+ "line": 157,
1871
+ "character": 3
1872
+ },
1873
+ "doc": {
1874
+ "__schema": "DocSchema",
1875
+ "location": {
1876
+ "filePath": "multi-compiler.compiler.ts",
1877
+ "line": 153,
1878
+ "character": 3
1879
+ },
1880
+ "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 */",
1881
+ "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."
1882
+ },
1883
+ "signature": "(method) MultiCompiler.getDistPathBySrcPath(srcPath: string): string",
1884
+ "name": "getDistPathBySrcPath",
1885
+ "params": [
1886
+ {
1887
+ "__schema": "ParameterSchema",
1888
+ "location": {
1889
+ "filePath": "multi-compiler.compiler.ts",
1890
+ "line": 157,
1891
+ "character": 24
1892
+ },
1893
+ "name": "srcPath",
1894
+ "type": {
1895
+ "__schema": "KeywordTypeSchema",
1896
+ "location": {
1897
+ "filePath": "multi-compiler.compiler.ts",
1898
+ "line": 157,
1899
+ "character": 33
1900
+ },
1901
+ "name": "string"
1902
+ },
1903
+ "isOptional": false,
1904
+ "isSpread": false
1905
+ }
1906
+ ],
1907
+ "returnType": {
1908
+ "__schema": "KeywordTypeSchema",
1909
+ "location": {
1910
+ "filePath": "multi-compiler.compiler.ts",
1911
+ "line": 157,
1912
+ "character": 42
1913
+ },
1914
+ "name": "string"
1915
+ },
1916
+ "modifiers": []
1917
+ },
1918
+ {
1919
+ "__schema": "FunctionLikeSchema",
1920
+ "location": {
1921
+ "filePath": "multi-compiler.compiler.ts",
1922
+ "line": 169,
1923
+ "character": 3
1924
+ },
1925
+ "doc": {
1926
+ "__schema": "DocSchema",
1927
+ "location": {
1928
+ "filePath": "multi-compiler.compiler.ts",
1929
+ "line": 166,
1930
+ "character": 3
1931
+ },
1932
+ "raw": "/**\n * only supported files matching get compiled. others, are copied to the dist dir.\n */",
1933
+ "comment": "only supported files matching get compiled. others, are copied to the dist dir."
1934
+ },
1935
+ "signature": "(method) MultiCompiler.isFileSupported(filePath: string): boolean",
1936
+ "name": "isFileSupported",
1937
+ "params": [
1938
+ {
1939
+ "__schema": "ParameterSchema",
1940
+ "location": {
1941
+ "filePath": "multi-compiler.compiler.ts",
1942
+ "line": 169,
1943
+ "character": 19
1944
+ },
1945
+ "name": "filePath",
1946
+ "type": {
1947
+ "__schema": "KeywordTypeSchema",
1948
+ "location": {
1949
+ "filePath": "multi-compiler.compiler.ts",
1950
+ "line": 169,
1951
+ "character": 29
1952
+ },
1953
+ "name": "string"
1954
+ },
1955
+ "isOptional": false,
1956
+ "isSpread": false
1957
+ }
1958
+ ],
1959
+ "returnType": {
1960
+ "__schema": "KeywordTypeSchema",
1961
+ "location": {
1962
+ "filePath": "multi-compiler.compiler.ts",
1963
+ "line": 169,
1964
+ "character": 38
1965
+ },
1966
+ "name": "boolean"
1967
+ },
1968
+ "modifiers": []
1969
+ },
1970
+ {
1971
+ "__schema": "FunctionLikeSchema",
1972
+ "location": {
1973
+ "filePath": "multi-compiler.compiler.ts",
1974
+ "line": 176,
1975
+ "character": 3
1976
+ },
1977
+ "doc": {
1978
+ "__schema": "DocSchema",
1979
+ "location": {
1980
+ "filePath": "multi-compiler.compiler.ts",
1981
+ "line": 173,
1982
+ "character": 3
1983
+ },
1984
+ "raw": "/**\n * returns the version of the current compiler instance (e.g. '4.0.1').\n */",
1985
+ "comment": "returns the version of the current compiler instance (e.g. '4.0.1')."
1986
+ },
1987
+ "signature": "(method) MultiCompiler.version(): string",
1988
+ "name": "version",
1989
+ "params": [],
1990
+ "returnType": {
1991
+ "__schema": "KeywordTypeSchema",
1992
+ "location": {
1993
+ "filePath": "multi-compiler.compiler.ts",
1994
+ "line": 176,
1995
+ "character": 14
1996
+ },
1997
+ "name": "string"
1998
+ },
1999
+ "modifiers": []
2000
+ }
2001
+ ],
2002
+ "extendsNodes": [],
2003
+ "implementNodes": [
2004
+ {
2005
+ "__schema": "ExpressionWithTypeArgumentsSchema",
2006
+ "location": {
2007
+ "filePath": "multi-compiler.compiler.ts",
2008
+ "line": 18,
2009
+ "character": 39
2010
+ },
2011
+ "name": "implements Compiler",
2012
+ "typeArgs": [],
2013
+ "expression": {
2014
+ "__schema": "TypeRefSchema",
2015
+ "location": {
2016
+ "filePath": "multi-compiler.compiler.ts",
2017
+ "line": 18,
2018
+ "character": 39
2019
+ },
2020
+ "name": "Compiler",
2021
+ "componentId": {
2022
+ "_legacy": {
2023
+ "scope": "teambit.compilation",
2024
+ "name": "multi-compiler",
2025
+ "version": "1.0.160"
2026
+ },
2027
+ "_scope": "teambit.compilation"
2028
+ }
2029
+ }
2030
+ }
2031
+ ]
2032
+ }
2033
+ ],
2034
+ "internals": []
2035
+ }
2036
+ ],
2037
+ "componentId": {
2038
+ "scope": "teambit.compilation",
2039
+ "name": "multi-compiler",
2040
+ "version": "1.0.160"
2041
+ },
2042
+ "taggedModuleExports": []
2043
+ }