@teambit/multi-compiler 1.0.512 → 1.0.514

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