@teambit/aspect 1.0.158 → 1.0.159

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,3977 @@
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": "ClassSchema",
18
+ "location": {
19
+ "filePath": "aspect.main.runtime.ts",
20
+ "line": 37,
21
+ "character": 1
22
+ },
23
+ "signature": "class AspectMain",
24
+ "name": "AspectMain",
25
+ "members": [
26
+ {
27
+ "__schema": "ConstructorSchema",
28
+ "location": {
29
+ "filePath": "aspect.main.runtime.ts",
30
+ "line": 38,
31
+ "character": 3
32
+ },
33
+ "signature": "constructor AspectMain(aspectEnv: AspectEnv, envs: EnvsMain, workspace: Workspace): AspectMain",
34
+ "name": "constructor",
35
+ "params": [
36
+ {
37
+ "__schema": "ParameterSchema",
38
+ "location": {
39
+ "filePath": "aspect.main.runtime.ts",
40
+ "line": 38,
41
+ "character": 15
42
+ },
43
+ "name": "aspectEnv",
44
+ "type": {
45
+ "__schema": "TypeRefSchema",
46
+ "location": {
47
+ "filePath": "aspect.main.runtime.ts",
48
+ "line": 38,
49
+ "character": 35
50
+ },
51
+ "name": "AspectEnv"
52
+ },
53
+ "isOptional": false,
54
+ "isSpread": false
55
+ },
56
+ {
57
+ "__schema": "ParameterSchema",
58
+ "location": {
59
+ "filePath": "aspect.main.runtime.ts",
60
+ "line": 38,
61
+ "character": 46
62
+ },
63
+ "name": "envs",
64
+ "type": {
65
+ "__schema": "TypeRefSchema",
66
+ "location": {
67
+ "filePath": "aspect.main.runtime.ts",
68
+ "line": 38,
69
+ "character": 60
70
+ },
71
+ "name": "EnvsMain"
72
+ },
73
+ "isOptional": false,
74
+ "isSpread": false
75
+ },
76
+ {
77
+ "__schema": "ParameterSchema",
78
+ "location": {
79
+ "filePath": "aspect.main.runtime.ts",
80
+ "line": 38,
81
+ "character": 70
82
+ },
83
+ "name": "workspace",
84
+ "type": {
85
+ "__schema": "TypeRefSchema",
86
+ "location": {
87
+ "filePath": "aspect.main.runtime.ts",
88
+ "line": 38,
89
+ "character": 89
90
+ },
91
+ "name": "Workspace"
92
+ },
93
+ "isOptional": false,
94
+ "isSpread": false
95
+ }
96
+ ],
97
+ "returnType": {
98
+ "__schema": "ThisTypeSchema",
99
+ "location": {
100
+ "filePath": "aspect.main.runtime.ts",
101
+ "line": 37,
102
+ "character": 1
103
+ },
104
+ "name": "AspectMain"
105
+ },
106
+ "modifiers": []
107
+ },
108
+ {
109
+ "__schema": "FunctionLikeSchema",
110
+ "location": {
111
+ "filePath": "aspect.main.runtime.ts",
112
+ "line": 43,
113
+ "character": 3
114
+ },
115
+ "doc": {
116
+ "__schema": "DocSchema",
117
+ "location": {
118
+ "filePath": "aspect.main.runtime.ts",
119
+ "line": 40,
120
+ "character": 3
121
+ },
122
+ "raw": "/**\n * compose your own aspect environment.\n */",
123
+ "comment": "compose your own aspect environment."
124
+ },
125
+ "signature": "(method) AspectMain.compose(transformers?: EnvTransformer[], targetEnv?: Environment): Environment",
126
+ "name": "compose",
127
+ "params": [
128
+ {
129
+ "__schema": "ParameterSchema",
130
+ "location": {
131
+ "filePath": "aspect.main.runtime.ts",
132
+ "line": 43,
133
+ "character": 11
134
+ },
135
+ "name": "transformers",
136
+ "type": {
137
+ "__schema": "TypeArraySchema",
138
+ "location": {
139
+ "filePath": "aspect.main.runtime.ts",
140
+ "line": 43,
141
+ "character": 25
142
+ },
143
+ "type": {
144
+ "__schema": "TypeRefSchema",
145
+ "location": {
146
+ "filePath": "aspect.main.runtime.ts",
147
+ "line": 43,
148
+ "character": 25
149
+ },
150
+ "name": "EnvTransformer"
151
+ }
152
+ },
153
+ "isOptional": true,
154
+ "defaultValue": "[]",
155
+ "isSpread": false
156
+ },
157
+ {
158
+ "__schema": "ParameterSchema",
159
+ "location": {
160
+ "filePath": "aspect.main.runtime.ts",
161
+ "line": 43,
162
+ "character": 48
163
+ },
164
+ "name": "targetEnv",
165
+ "type": {
166
+ "__schema": "TypeRefSchema",
167
+ "location": {
168
+ "filePath": "aspect.main.runtime.ts",
169
+ "line": 43,
170
+ "character": 59
171
+ },
172
+ "name": "Environment"
173
+ },
174
+ "isOptional": true,
175
+ "defaultValue": "{}",
176
+ "isSpread": false
177
+ }
178
+ ],
179
+ "returnType": {
180
+ "__schema": "TypeRefSchema",
181
+ "location": {
182
+ "filePath": "aspect.main.runtime.ts",
183
+ "line": 43,
184
+ "character": 3
185
+ },
186
+ "name": "Environment",
187
+ "componentId": {
188
+ "scope": "teambit.envs",
189
+ "name": "envs"
190
+ }
191
+ },
192
+ "modifiers": []
193
+ },
194
+ {
195
+ "__schema": "FunctionLikeSchema",
196
+ "location": {
197
+ "filePath": "aspect.main.runtime.ts",
198
+ "line": 47,
199
+ "character": 3
200
+ },
201
+ "signature": "(method) AspectMain.listAspectsOfComponent(pattern?: string): Promise<{\n [component: string]: AspectSource[];\n}>",
202
+ "name": "listAspectsOfComponent",
203
+ "params": [
204
+ {
205
+ "__schema": "ParameterSchema",
206
+ "location": {
207
+ "filePath": "aspect.main.runtime.ts",
208
+ "line": 47,
209
+ "character": 32
210
+ },
211
+ "name": "pattern",
212
+ "type": {
213
+ "__schema": "KeywordTypeSchema",
214
+ "location": {
215
+ "filePath": "aspect.main.runtime.ts",
216
+ "line": 47,
217
+ "character": 42
218
+ },
219
+ "name": "string"
220
+ },
221
+ "isOptional": true,
222
+ "isSpread": false
223
+ }
224
+ ],
225
+ "returnType": {
226
+ "__schema": "TypeRefSchema",
227
+ "location": {
228
+ "filePath": "aspect.main.runtime.ts",
229
+ "line": 47,
230
+ "character": 51
231
+ },
232
+ "name": "Promise",
233
+ "typeArgs": [
234
+ {
235
+ "__schema": "TypeLiteralSchema",
236
+ "location": {
237
+ "filePath": "aspect.main.runtime.ts",
238
+ "line": 47,
239
+ "character": 59
240
+ },
241
+ "members": [
242
+ {
243
+ "__schema": "IndexSignatureSchema",
244
+ "location": {
245
+ "filePath": "aspect.main.runtime.ts",
246
+ "line": 47,
247
+ "character": 61
248
+ },
249
+ "keyType": {
250
+ "__schema": "ParameterSchema",
251
+ "location": {
252
+ "filePath": "aspect.main.runtime.ts",
253
+ "line": 47,
254
+ "character": 62
255
+ },
256
+ "name": "component",
257
+ "type": {
258
+ "__schema": "KeywordTypeSchema",
259
+ "location": {
260
+ "filePath": "aspect.main.runtime.ts",
261
+ "line": 47,
262
+ "character": 73
263
+ },
264
+ "name": "string"
265
+ },
266
+ "isOptional": false,
267
+ "isSpread": false
268
+ },
269
+ "valueType": {
270
+ "__schema": "TypeArraySchema",
271
+ "location": {
272
+ "filePath": "aspect.main.runtime.ts",
273
+ "line": 47,
274
+ "character": 82
275
+ },
276
+ "type": {
277
+ "__schema": "TypeRefSchema",
278
+ "location": {
279
+ "filePath": "aspect.main.runtime.ts",
280
+ "line": 47,
281
+ "character": 82
282
+ },
283
+ "name": "AspectSource"
284
+ }
285
+ }
286
+ }
287
+ ]
288
+ }
289
+ ]
290
+ },
291
+ "modifiers": [
292
+ "async"
293
+ ]
294
+ },
295
+ {
296
+ "__schema": "GetAccessorSchema",
297
+ "location": {
298
+ "filePath": "aspect.main.runtime.ts",
299
+ "line": 63,
300
+ "character": 3
301
+ },
302
+ "signature": "(getter) AspectMain.babelConfig: {\n presets: (string | (string | {\n targets: {\n node: number;\n };\n })[])[];\n plugins: (string | (string | {\n lazy: () => boolean;\n })[] | (string | {\n legacy: boolean;\n })[])[];\n sourceMaps: boolean;\n}",
303
+ "name": "babelConfig",
304
+ "type": {
305
+ "__schema": "InferenceTypeSchema",
306
+ "location": {
307
+ "filePath": "aspect.main.runtime.ts",
308
+ "line": 63,
309
+ "character": 3
310
+ },
311
+ "type": "{\n presets: (string | (string | {\n targets: {\n node: number;\n };\n })[])[];\n plugins: (string | (string | {\n lazy: () => boolean;\n })[] | (string | {\n legacy: boolean;\n })[])[];\n sourceMaps: boolean;\n}"
312
+ }
313
+ },
314
+ {
315
+ "__schema": "FunctionLikeSchema",
316
+ "location": {
317
+ "filePath": "aspect.main.runtime.ts",
318
+ "line": 93,
319
+ "character": 3
320
+ },
321
+ "signature": "(method) AspectMain.setAspectsToComponents(pattern: string, aspectId: string, config?: Record<string, any>, options?: SetAspectOptions): Promise<ComponentID[]>",
322
+ "name": "setAspectsToComponents",
323
+ "params": [
324
+ {
325
+ "__schema": "ParameterSchema",
326
+ "location": {
327
+ "filePath": "aspect.main.runtime.ts",
328
+ "line": 94,
329
+ "character": 5
330
+ },
331
+ "name": "pattern",
332
+ "type": {
333
+ "__schema": "KeywordTypeSchema",
334
+ "location": {
335
+ "filePath": "aspect.main.runtime.ts",
336
+ "line": 94,
337
+ "character": 14
338
+ },
339
+ "name": "string"
340
+ },
341
+ "isOptional": false,
342
+ "isSpread": false
343
+ },
344
+ {
345
+ "__schema": "ParameterSchema",
346
+ "location": {
347
+ "filePath": "aspect.main.runtime.ts",
348
+ "line": 95,
349
+ "character": 5
350
+ },
351
+ "name": "aspectId",
352
+ "type": {
353
+ "__schema": "KeywordTypeSchema",
354
+ "location": {
355
+ "filePath": "aspect.main.runtime.ts",
356
+ "line": 95,
357
+ "character": 15
358
+ },
359
+ "name": "string"
360
+ },
361
+ "isOptional": false,
362
+ "isSpread": false
363
+ },
364
+ {
365
+ "__schema": "ParameterSchema",
366
+ "location": {
367
+ "filePath": "aspect.main.runtime.ts",
368
+ "line": 96,
369
+ "character": 5
370
+ },
371
+ "name": "config",
372
+ "type": {
373
+ "__schema": "TypeRefSchema",
374
+ "location": {
375
+ "filePath": "aspect.main.runtime.ts",
376
+ "line": 96,
377
+ "character": 13
378
+ },
379
+ "name": "Record",
380
+ "typeArgs": [
381
+ {
382
+ "__schema": "KeywordTypeSchema",
383
+ "location": {
384
+ "filePath": "aspect.main.runtime.ts",
385
+ "line": 96,
386
+ "character": 20
387
+ },
388
+ "name": "string"
389
+ },
390
+ {
391
+ "__schema": "KeywordTypeSchema",
392
+ "location": {
393
+ "filePath": "aspect.main.runtime.ts",
394
+ "line": 96,
395
+ "character": 28
396
+ },
397
+ "name": "any"
398
+ }
399
+ ]
400
+ },
401
+ "isOptional": true,
402
+ "defaultValue": "{}",
403
+ "isSpread": false
404
+ },
405
+ {
406
+ "__schema": "ParameterSchema",
407
+ "location": {
408
+ "filePath": "aspect.main.runtime.ts",
409
+ "line": 97,
410
+ "character": 5
411
+ },
412
+ "name": "options",
413
+ "type": {
414
+ "__schema": "TypeRefSchema",
415
+ "location": {
416
+ "filePath": "aspect.main.runtime.ts",
417
+ "line": 97,
418
+ "character": 14
419
+ },
420
+ "name": "SetAspectOptions"
421
+ },
422
+ "isOptional": true,
423
+ "defaultValue": "{}",
424
+ "isSpread": false
425
+ }
426
+ ],
427
+ "returnType": {
428
+ "__schema": "TypeRefSchema",
429
+ "location": {
430
+ "filePath": "aspect.main.runtime.ts",
431
+ "line": 98,
432
+ "character": 6
433
+ },
434
+ "name": "Promise",
435
+ "typeArgs": [
436
+ {
437
+ "__schema": "TypeArraySchema",
438
+ "location": {
439
+ "filePath": "aspect.main.runtime.ts",
440
+ "line": 98,
441
+ "character": 14
442
+ },
443
+ "type": {
444
+ "__schema": "TypeRefSchema",
445
+ "location": {
446
+ "filePath": "aspect.main.runtime.ts",
447
+ "line": 98,
448
+ "character": 14
449
+ },
450
+ "name": "ComponentID"
451
+ }
452
+ }
453
+ ]
454
+ },
455
+ "modifiers": [
456
+ "async"
457
+ ]
458
+ },
459
+ {
460
+ "__schema": "FunctionLikeSchema",
461
+ "location": {
462
+ "filePath": "aspect.main.runtime.ts",
463
+ "line": 112,
464
+ "character": 3
465
+ },
466
+ "signature": "(method) AspectMain.unsetAspectsFromComponents(pattern: string, aspectIdStr: string): Promise<ComponentID[]>",
467
+ "name": "unsetAspectsFromComponents",
468
+ "params": [
469
+ {
470
+ "__schema": "ParameterSchema",
471
+ "location": {
472
+ "filePath": "aspect.main.runtime.ts",
473
+ "line": 112,
474
+ "character": 36
475
+ },
476
+ "name": "pattern",
477
+ "type": {
478
+ "__schema": "KeywordTypeSchema",
479
+ "location": {
480
+ "filePath": "aspect.main.runtime.ts",
481
+ "line": 112,
482
+ "character": 45
483
+ },
484
+ "name": "string"
485
+ },
486
+ "isOptional": false,
487
+ "isSpread": false
488
+ },
489
+ {
490
+ "__schema": "ParameterSchema",
491
+ "location": {
492
+ "filePath": "aspect.main.runtime.ts",
493
+ "line": 112,
494
+ "character": 53
495
+ },
496
+ "name": "aspectIdStr",
497
+ "type": {
498
+ "__schema": "KeywordTypeSchema",
499
+ "location": {
500
+ "filePath": "aspect.main.runtime.ts",
501
+ "line": 112,
502
+ "character": 66
503
+ },
504
+ "name": "string"
505
+ },
506
+ "isOptional": false,
507
+ "isSpread": false
508
+ }
509
+ ],
510
+ "returnType": {
511
+ "__schema": "TypeRefSchema",
512
+ "location": {
513
+ "filePath": "aspect.main.runtime.ts",
514
+ "line": 112,
515
+ "character": 75
516
+ },
517
+ "name": "Promise",
518
+ "typeArgs": [
519
+ {
520
+ "__schema": "TypeArraySchema",
521
+ "location": {
522
+ "filePath": "aspect.main.runtime.ts",
523
+ "line": 112,
524
+ "character": 83
525
+ },
526
+ "type": {
527
+ "__schema": "TypeRefSchema",
528
+ "location": {
529
+ "filePath": "aspect.main.runtime.ts",
530
+ "line": 112,
531
+ "character": 83
532
+ },
533
+ "name": "ComponentID"
534
+ }
535
+ }
536
+ ]
537
+ },
538
+ "modifiers": [
539
+ "async"
540
+ ]
541
+ },
542
+ {
543
+ "__schema": "FunctionLikeSchema",
544
+ "location": {
545
+ "filePath": "aspect.main.runtime.ts",
546
+ "line": 132,
547
+ "character": 3
548
+ },
549
+ "doc": {
550
+ "__schema": "DocSchema",
551
+ "location": {
552
+ "filePath": "aspect.main.runtime.ts",
553
+ "line": 129,
554
+ "character": 3
555
+ },
556
+ "raw": "/**\n * returns all aspects info of a component, include the config and the data.\n */",
557
+ "comment": "returns all aspects info of a component, include the config and the data."
558
+ },
559
+ "signature": "(method) AspectMain.getAspectsOfComponent(id: string | ComponentID): Promise<AspectList>",
560
+ "name": "getAspectsOfComponent",
561
+ "params": [
562
+ {
563
+ "__schema": "ParameterSchema",
564
+ "location": {
565
+ "filePath": "aspect.main.runtime.ts",
566
+ "line": 132,
567
+ "character": 31
568
+ },
569
+ "name": "id",
570
+ "type": {
571
+ "__schema": "TypeUnionSchema",
572
+ "location": {
573
+ "filePath": "aspect.main.runtime.ts",
574
+ "line": 132,
575
+ "character": 35
576
+ },
577
+ "types": [
578
+ {
579
+ "__schema": "KeywordTypeSchema",
580
+ "location": {
581
+ "filePath": "aspect.main.runtime.ts",
582
+ "line": 132,
583
+ "character": 35
584
+ },
585
+ "name": "string"
586
+ },
587
+ {
588
+ "__schema": "TypeRefSchema",
589
+ "location": {
590
+ "filePath": "aspect.main.runtime.ts",
591
+ "line": 132,
592
+ "character": 44
593
+ },
594
+ "name": "ComponentID"
595
+ }
596
+ ]
597
+ },
598
+ "isOptional": false,
599
+ "isSpread": false
600
+ }
601
+ ],
602
+ "returnType": {
603
+ "__schema": "TypeRefSchema",
604
+ "location": {
605
+ "filePath": "aspect.main.runtime.ts",
606
+ "line": 132,
607
+ "character": 58
608
+ },
609
+ "name": "Promise",
610
+ "typeArgs": [
611
+ {
612
+ "__schema": "TypeRefSchema",
613
+ "location": {
614
+ "filePath": "aspect.main.runtime.ts",
615
+ "line": 132,
616
+ "character": 66
617
+ },
618
+ "name": "AspectList"
619
+ }
620
+ ]
621
+ },
622
+ "modifiers": [
623
+ "async"
624
+ ]
625
+ },
626
+ {
627
+ "__schema": "FunctionLikeSchema",
628
+ "location": {
629
+ "filePath": "aspect.main.runtime.ts",
630
+ "line": 143,
631
+ "character": 3
632
+ },
633
+ "doc": {
634
+ "__schema": "DocSchema",
635
+ "location": {
636
+ "filePath": "aspect.main.runtime.ts",
637
+ "line": 140,
638
+ "character": 3
639
+ },
640
+ "raw": "/**\n * helps debugging why/how an aspect was set to a component\n */",
641
+ "comment": "helps debugging why/how an aspect was set to a component"
642
+ },
643
+ "signature": "(method) AspectMain.getAspectsOfComponentForDebugging(id: string | ComponentID): Promise<{\n aspects: AspectList;\n extensions: ExtensionDataList;\n beforeMerge: {\n extensions: ExtensionDataList;\n origin: ExtensionsOrigin;\n extraData: any;\n }[];\n}>",
644
+ "name": "getAspectsOfComponentForDebugging",
645
+ "params": [
646
+ {
647
+ "__schema": "ParameterSchema",
648
+ "location": {
649
+ "filePath": "aspect.main.runtime.ts",
650
+ "line": 143,
651
+ "character": 43
652
+ },
653
+ "name": "id",
654
+ "type": {
655
+ "__schema": "TypeUnionSchema",
656
+ "location": {
657
+ "filePath": "aspect.main.runtime.ts",
658
+ "line": 143,
659
+ "character": 47
660
+ },
661
+ "types": [
662
+ {
663
+ "__schema": "KeywordTypeSchema",
664
+ "location": {
665
+ "filePath": "aspect.main.runtime.ts",
666
+ "line": 143,
667
+ "character": 47
668
+ },
669
+ "name": "string"
670
+ },
671
+ {
672
+ "__schema": "TypeRefSchema",
673
+ "location": {
674
+ "filePath": "aspect.main.runtime.ts",
675
+ "line": 143,
676
+ "character": 56
677
+ },
678
+ "name": "ComponentID"
679
+ }
680
+ ]
681
+ },
682
+ "isOptional": false,
683
+ "isSpread": false
684
+ }
685
+ ],
686
+ "returnType": {
687
+ "__schema": "InferenceTypeSchema",
688
+ "location": {
689
+ "filePath": "aspect.main.runtime.ts",
690
+ "line": 143,
691
+ "character": 3
692
+ },
693
+ "type": "Promise<{\n aspects: AspectList;\n extensions: ExtensionDataList;\n beforeMerge: {\n extensions: ExtensionDataList;\n origin: ExtensionsOrigin;\n extraData: any;\n }[];\n}>"
694
+ },
695
+ "modifiers": [
696
+ "async"
697
+ ]
698
+ },
699
+ {
700
+ "__schema": "FunctionLikeSchema",
701
+ "location": {
702
+ "filePath": "aspect.main.runtime.ts",
703
+ "line": 157,
704
+ "character": 3
705
+ },
706
+ "signature": "(method) AspectMain.updateAspectsToComponents(aspectId: string, pattern?: string): Promise<{\n updated: ComponentID[];\n alreadyUpToDate: ComponentID[];\n}>",
707
+ "name": "updateAspectsToComponents",
708
+ "params": [
709
+ {
710
+ "__schema": "ParameterSchema",
711
+ "location": {
712
+ "filePath": "aspect.main.runtime.ts",
713
+ "line": 158,
714
+ "character": 5
715
+ },
716
+ "name": "aspectId",
717
+ "type": {
718
+ "__schema": "KeywordTypeSchema",
719
+ "location": {
720
+ "filePath": "aspect.main.runtime.ts",
721
+ "line": 158,
722
+ "character": 15
723
+ },
724
+ "name": "string"
725
+ },
726
+ "isOptional": false,
727
+ "isSpread": false
728
+ },
729
+ {
730
+ "__schema": "ParameterSchema",
731
+ "location": {
732
+ "filePath": "aspect.main.runtime.ts",
733
+ "line": 159,
734
+ "character": 5
735
+ },
736
+ "name": "pattern",
737
+ "type": {
738
+ "__schema": "KeywordTypeSchema",
739
+ "location": {
740
+ "filePath": "aspect.main.runtime.ts",
741
+ "line": 159,
742
+ "character": 15
743
+ },
744
+ "name": "string"
745
+ },
746
+ "isOptional": true,
747
+ "isSpread": false
748
+ }
749
+ ],
750
+ "returnType": {
751
+ "__schema": "TypeRefSchema",
752
+ "location": {
753
+ "filePath": "aspect.main.runtime.ts",
754
+ "line": 160,
755
+ "character": 6
756
+ },
757
+ "name": "Promise",
758
+ "typeArgs": [
759
+ {
760
+ "__schema": "TypeLiteralSchema",
761
+ "location": {
762
+ "filePath": "aspect.main.runtime.ts",
763
+ "line": 160,
764
+ "character": 14
765
+ },
766
+ "members": [
767
+ {
768
+ "__schema": "VariableLikeSchema",
769
+ "location": {
770
+ "filePath": "aspect.main.runtime.ts",
771
+ "line": 160,
772
+ "character": 16
773
+ },
774
+ "signature": "(property) updated: ComponentID[]",
775
+ "name": "updated",
776
+ "type": {
777
+ "__schema": "TypeArraySchema",
778
+ "location": {
779
+ "filePath": "aspect.main.runtime.ts",
780
+ "line": 160,
781
+ "character": 25
782
+ },
783
+ "type": {
784
+ "__schema": "TypeRefSchema",
785
+ "location": {
786
+ "filePath": "aspect.main.runtime.ts",
787
+ "line": 160,
788
+ "character": 25
789
+ },
790
+ "name": "ComponentID"
791
+ }
792
+ },
793
+ "isOptional": false
794
+ },
795
+ {
796
+ "__schema": "VariableLikeSchema",
797
+ "location": {
798
+ "filePath": "aspect.main.runtime.ts",
799
+ "line": 160,
800
+ "character": 40
801
+ },
802
+ "signature": "(property) alreadyUpToDate: ComponentID[]",
803
+ "name": "alreadyUpToDate",
804
+ "type": {
805
+ "__schema": "TypeArraySchema",
806
+ "location": {
807
+ "filePath": "aspect.main.runtime.ts",
808
+ "line": 160,
809
+ "character": 57
810
+ },
811
+ "type": {
812
+ "__schema": "TypeRefSchema",
813
+ "location": {
814
+ "filePath": "aspect.main.runtime.ts",
815
+ "line": 160,
816
+ "character": 57
817
+ },
818
+ "name": "ComponentID"
819
+ }
820
+ },
821
+ "isOptional": false
822
+ }
823
+ ]
824
+ }
825
+ ]
826
+ },
827
+ "modifiers": [
828
+ "async"
829
+ ]
830
+ },
831
+ {
832
+ "__schema": "FunctionLikeSchema",
833
+ "location": {
834
+ "filePath": "aspect.main.runtime.ts",
835
+ "line": 198,
836
+ "character": 3
837
+ },
838
+ "doc": {
839
+ "__schema": "DocSchema",
840
+ "location": {
841
+ "filePath": "aspect.main.runtime.ts",
842
+ "line": 195,
843
+ "character": 3
844
+ },
845
+ "raw": "/**\n * override the dependency configuration of the component environment.\n */",
846
+ "comment": "override the dependency configuration of the component environment."
847
+ },
848
+ "signature": "(method) AspectMain.overrideDependencies(dependencyPolicy: EnvPolicyConfigObject): EnvTransformer",
849
+ "name": "overrideDependencies",
850
+ "params": [
851
+ {
852
+ "__schema": "ParameterSchema",
853
+ "location": {
854
+ "filePath": "aspect.main.runtime.ts",
855
+ "line": 198,
856
+ "character": 24
857
+ },
858
+ "name": "dependencyPolicy",
859
+ "type": {
860
+ "__schema": "TypeRefSchema",
861
+ "location": {
862
+ "filePath": "aspect.main.runtime.ts",
863
+ "line": 198,
864
+ "character": 42
865
+ },
866
+ "name": "EnvPolicyConfigObject"
867
+ },
868
+ "isOptional": false,
869
+ "isSpread": false
870
+ }
871
+ ],
872
+ "returnType": {
873
+ "__schema": "TypeRefSchema",
874
+ "location": {
875
+ "filePath": "aspect.main.runtime.ts",
876
+ "line": 198,
877
+ "character": 3
878
+ },
879
+ "name": "EnvTransformer",
880
+ "componentId": {
881
+ "scope": "teambit.envs",
882
+ "name": "envs"
883
+ }
884
+ },
885
+ "modifiers": []
886
+ },
887
+ {
888
+ "__schema": "VariableLikeSchema",
889
+ "location": {
890
+ "filePath": "aspect.main.runtime.ts",
891
+ "line": 207,
892
+ "character": 3
893
+ },
894
+ "signature": "(property) AspectMain.runtime: RuntimeDefinition",
895
+ "name": "runtime",
896
+ "type": {
897
+ "__schema": "InferenceTypeSchema",
898
+ "location": {
899
+ "filePath": "aspect.main.runtime.ts",
900
+ "line": 207,
901
+ "character": 3
902
+ },
903
+ "type": "RuntimeDefinition"
904
+ },
905
+ "isOptional": true,
906
+ "defaultValue": "MainRuntime"
907
+ },
908
+ {
909
+ "__schema": "VariableLikeSchema",
910
+ "location": {
911
+ "filePath": "aspect.main.runtime.ts",
912
+ "line": 208,
913
+ "character": 3
914
+ },
915
+ "signature": "(property) AspectMain.dependencies: Aspect[]",
916
+ "name": "dependencies",
917
+ "type": {
918
+ "__schema": "InferenceTypeSchema",
919
+ "location": {
920
+ "filePath": "aspect.main.runtime.ts",
921
+ "line": 208,
922
+ "character": 3
923
+ },
924
+ "type": "Aspect[]"
925
+ },
926
+ "isOptional": true,
927
+ "defaultValue": "[\n ReactAspect,\n EnvsAspect,\n BuilderAspect,\n AspectLoaderAspect,\n CompilerAspect,\n BabelAspect,\n GeneratorAspect,\n WorkspaceAspect,\n CLIAspect,\n LoggerAspect,\n WorkerAspect,\n ]"
928
+ },
929
+ {
930
+ "__schema": "FunctionLikeSchema",
931
+ "location": {
932
+ "filePath": "aspect.main.runtime.ts",
933
+ "line": 222,
934
+ "character": 3
935
+ },
936
+ "signature": "(method) AspectMain.provider([react, envs, builder, aspectLoader, compiler, babel, generator, workspace, cli, loggerMain, workerMain]: [\n ReactMain,\n EnvsMain,\n BuilderMain,\n AspectLoaderMain,\n CompilerMain,\n BabelMain,\n GeneratorMain,\n Workspace,\n CLIMain,\n LoggerMain,\n WorkerMain\n], config: any, slots: any, harmony: Harmony): Promise<AspectMain>",
937
+ "name": "provider",
938
+ "params": [
939
+ {
940
+ "__schema": "ParameterSchema",
941
+ "location": {
942
+ "filePath": "aspect.main.runtime.ts",
943
+ "line": 223,
944
+ "character": 5
945
+ },
946
+ "name": "[ react, envs, builder, aspectLoader, compiler, babel, generator, workspace, cli, loggerMain, workerMain ]",
947
+ "type": {
948
+ "__schema": "TupleTypeSchema",
949
+ "location": {
950
+ "filePath": "aspect.main.runtime.ts",
951
+ "line": 223,
952
+ "character": 111
953
+ },
954
+ "elements": [
955
+ {
956
+ "__schema": "TypeRefSchema",
957
+ "location": {
958
+ "filePath": "aspect.main.runtime.ts",
959
+ "line": 224,
960
+ "character": 7
961
+ },
962
+ "name": "ReactMain"
963
+ },
964
+ {
965
+ "__schema": "TypeRefSchema",
966
+ "location": {
967
+ "filePath": "aspect.main.runtime.ts",
968
+ "line": 225,
969
+ "character": 7
970
+ },
971
+ "name": "EnvsMain"
972
+ },
973
+ {
974
+ "__schema": "TypeRefSchema",
975
+ "location": {
976
+ "filePath": "aspect.main.runtime.ts",
977
+ "line": 226,
978
+ "character": 7
979
+ },
980
+ "name": "BuilderMain"
981
+ },
982
+ {
983
+ "__schema": "TypeRefSchema",
984
+ "location": {
985
+ "filePath": "aspect.main.runtime.ts",
986
+ "line": 227,
987
+ "character": 7
988
+ },
989
+ "name": "AspectLoaderMain"
990
+ },
991
+ {
992
+ "__schema": "TypeRefSchema",
993
+ "location": {
994
+ "filePath": "aspect.main.runtime.ts",
995
+ "line": 228,
996
+ "character": 7
997
+ },
998
+ "name": "CompilerMain"
999
+ },
1000
+ {
1001
+ "__schema": "TypeRefSchema",
1002
+ "location": {
1003
+ "filePath": "aspect.main.runtime.ts",
1004
+ "line": 229,
1005
+ "character": 7
1006
+ },
1007
+ "name": "BabelMain"
1008
+ },
1009
+ {
1010
+ "__schema": "TypeRefSchema",
1011
+ "location": {
1012
+ "filePath": "aspect.main.runtime.ts",
1013
+ "line": 230,
1014
+ "character": 7
1015
+ },
1016
+ "name": "GeneratorMain"
1017
+ },
1018
+ {
1019
+ "__schema": "TypeRefSchema",
1020
+ "location": {
1021
+ "filePath": "aspect.main.runtime.ts",
1022
+ "line": 231,
1023
+ "character": 7
1024
+ },
1025
+ "name": "Workspace"
1026
+ },
1027
+ {
1028
+ "__schema": "TypeRefSchema",
1029
+ "location": {
1030
+ "filePath": "aspect.main.runtime.ts",
1031
+ "line": 232,
1032
+ "character": 7
1033
+ },
1034
+ "name": "CLIMain"
1035
+ },
1036
+ {
1037
+ "__schema": "TypeRefSchema",
1038
+ "location": {
1039
+ "filePath": "aspect.main.runtime.ts",
1040
+ "line": 233,
1041
+ "character": 7
1042
+ },
1043
+ "name": "LoggerMain"
1044
+ },
1045
+ {
1046
+ "__schema": "TypeRefSchema",
1047
+ "location": {
1048
+ "filePath": "aspect.main.runtime.ts",
1049
+ "line": 234,
1050
+ "character": 7
1051
+ },
1052
+ "name": "WorkerMain"
1053
+ }
1054
+ ]
1055
+ },
1056
+ "isOptional": false,
1057
+ "isSpread": false
1058
+ },
1059
+ {
1060
+ "__schema": "ParameterSchema",
1061
+ "location": {
1062
+ "filePath": "aspect.main.runtime.ts",
1063
+ "line": 236,
1064
+ "character": 5
1065
+ },
1066
+ "name": "config",
1067
+ "type": {
1068
+ "__schema": "InferenceTypeSchema",
1069
+ "location": {
1070
+ "filePath": "aspect.main.runtime.ts",
1071
+ "line": 236,
1072
+ "character": 5
1073
+ },
1074
+ "type": "any"
1075
+ },
1076
+ "isOptional": false,
1077
+ "isSpread": false
1078
+ },
1079
+ {
1080
+ "__schema": "ParameterSchema",
1081
+ "location": {
1082
+ "filePath": "aspect.main.runtime.ts",
1083
+ "line": 237,
1084
+ "character": 5
1085
+ },
1086
+ "name": "slots",
1087
+ "type": {
1088
+ "__schema": "InferenceTypeSchema",
1089
+ "location": {
1090
+ "filePath": "aspect.main.runtime.ts",
1091
+ "line": 237,
1092
+ "character": 5
1093
+ },
1094
+ "type": "any"
1095
+ },
1096
+ "isOptional": false,
1097
+ "isSpread": false
1098
+ },
1099
+ {
1100
+ "__schema": "ParameterSchema",
1101
+ "location": {
1102
+ "filePath": "aspect.main.runtime.ts",
1103
+ "line": 238,
1104
+ "character": 5
1105
+ },
1106
+ "name": "harmony",
1107
+ "type": {
1108
+ "__schema": "TypeRefSchema",
1109
+ "location": {
1110
+ "filePath": "aspect.main.runtime.ts",
1111
+ "line": 238,
1112
+ "character": 14
1113
+ },
1114
+ "name": "Harmony"
1115
+ },
1116
+ "isOptional": false,
1117
+ "isSpread": false
1118
+ }
1119
+ ],
1120
+ "returnType": {
1121
+ "__schema": "InferenceTypeSchema",
1122
+ "location": {
1123
+ "filePath": "aspect.main.runtime.ts",
1124
+ "line": 222,
1125
+ "character": 3
1126
+ },
1127
+ "type": "Promise<AspectMain>"
1128
+ },
1129
+ "modifiers": [
1130
+ "static",
1131
+ "async"
1132
+ ]
1133
+ }
1134
+ ],
1135
+ "extendsNodes": [],
1136
+ "implementNodes": []
1137
+ },
1138
+ {
1139
+ "__schema": "VariableLikeSchema",
1140
+ "location": {
1141
+ "filePath": "aspect.aspect.ts",
1142
+ "line": 3,
1143
+ "character": 14
1144
+ },
1145
+ "signature": "const AspectAspect: Aspect",
1146
+ "name": "AspectAspect",
1147
+ "type": {
1148
+ "__schema": "TypeRefSchema",
1149
+ "location": {
1150
+ "filePath": "aspect.aspect.ts",
1151
+ "line": 3,
1152
+ "character": 14
1153
+ },
1154
+ "name": "Aspect",
1155
+ "componentId": {
1156
+ "scope": "teambit.harmony",
1157
+ "name": "harmony",
1158
+ "version": "0.4.6"
1159
+ }
1160
+ },
1161
+ "isOptional": false,
1162
+ "defaultValue": "Aspect.create({\n id: 'teambit.harmony/aspect',\n})"
1163
+ },
1164
+ {
1165
+ "__schema": "VariableLikeSchema",
1166
+ "location": {
1167
+ "filePath": "aspect.aspect.ts",
1168
+ "line": 3,
1169
+ "character": 14
1170
+ },
1171
+ "signature": "const AspectAspect: Aspect",
1172
+ "name": "AspectAspect",
1173
+ "type": {
1174
+ "__schema": "TypeRefSchema",
1175
+ "location": {
1176
+ "filePath": "aspect.aspect.ts",
1177
+ "line": 3,
1178
+ "character": 14
1179
+ },
1180
+ "name": "Aspect",
1181
+ "componentId": {
1182
+ "scope": "teambit.harmony",
1183
+ "name": "harmony",
1184
+ "version": "0.4.6"
1185
+ }
1186
+ },
1187
+ "isOptional": false,
1188
+ "defaultValue": "Aspect.create({\n id: 'teambit.harmony/aspect',\n})"
1189
+ },
1190
+ {
1191
+ "__schema": "ClassSchema",
1192
+ "location": {
1193
+ "filePath": "aspect.env.ts",
1194
+ "line": 27,
1195
+ "character": 1
1196
+ },
1197
+ "doc": {
1198
+ "__schema": "DocSchema",
1199
+ "location": {
1200
+ "filePath": "aspect.env.ts",
1201
+ "line": 24,
1202
+ "character": 1
1203
+ },
1204
+ "raw": "/**\n * a component environment built for Aspects .\n */",
1205
+ "comment": "a component environment built for Aspects ."
1206
+ },
1207
+ "signature": "class AspectEnv",
1208
+ "name": "AspectEnv",
1209
+ "members": [
1210
+ {
1211
+ "__schema": "ConstructorSchema",
1212
+ "location": {
1213
+ "filePath": "aspect.env.ts",
1214
+ "line": 28,
1215
+ "character": 3
1216
+ },
1217
+ "signature": "constructor AspectEnv(reactEnv: ReactEnv, aspectLoader: AspectLoaderMain, logger: Logger): AspectEnv",
1218
+ "name": "constructor",
1219
+ "params": [
1220
+ {
1221
+ "__schema": "ParameterSchema",
1222
+ "location": {
1223
+ "filePath": "aspect.env.ts",
1224
+ "line": 28,
1225
+ "character": 15
1226
+ },
1227
+ "name": "reactEnv",
1228
+ "type": {
1229
+ "__schema": "TypeRefSchema",
1230
+ "location": {
1231
+ "filePath": "aspect.env.ts",
1232
+ "line": 28,
1233
+ "character": 33
1234
+ },
1235
+ "name": "ReactEnv"
1236
+ },
1237
+ "isOptional": false,
1238
+ "isSpread": false
1239
+ },
1240
+ {
1241
+ "__schema": "ParameterSchema",
1242
+ "location": {
1243
+ "filePath": "aspect.env.ts",
1244
+ "line": 28,
1245
+ "character": 43
1246
+ },
1247
+ "name": "aspectLoader",
1248
+ "type": {
1249
+ "__schema": "TypeRefSchema",
1250
+ "location": {
1251
+ "filePath": "aspect.env.ts",
1252
+ "line": 28,
1253
+ "character": 65
1254
+ },
1255
+ "name": "AspectLoaderMain"
1256
+ },
1257
+ "isOptional": false,
1258
+ "isSpread": false
1259
+ },
1260
+ {
1261
+ "__schema": "ParameterSchema",
1262
+ "location": {
1263
+ "filePath": "aspect.env.ts",
1264
+ "line": 28,
1265
+ "character": 83
1266
+ },
1267
+ "name": "logger",
1268
+ "type": {
1269
+ "__schema": "TypeRefSchema",
1270
+ "location": {
1271
+ "filePath": "aspect.env.ts",
1272
+ "line": 28,
1273
+ "character": 99
1274
+ },
1275
+ "name": "Logger"
1276
+ },
1277
+ "isOptional": false,
1278
+ "isSpread": false
1279
+ }
1280
+ ],
1281
+ "returnType": {
1282
+ "__schema": "ThisTypeSchema",
1283
+ "location": {
1284
+ "filePath": "aspect.env.ts",
1285
+ "line": 27,
1286
+ "character": 1
1287
+ },
1288
+ "name": "AspectEnv"
1289
+ },
1290
+ "modifiers": []
1291
+ },
1292
+ {
1293
+ "__schema": "VariableLikeSchema",
1294
+ "location": {
1295
+ "filePath": "aspect.env.ts",
1296
+ "line": 30,
1297
+ "character": 3
1298
+ },
1299
+ "signature": "(property) AspectEnv.icon: string",
1300
+ "name": "icon",
1301
+ "type": {
1302
+ "__schema": "InferenceTypeSchema",
1303
+ "location": {
1304
+ "filePath": "aspect.env.ts",
1305
+ "line": 30,
1306
+ "character": 3
1307
+ },
1308
+ "type": "string"
1309
+ },
1310
+ "isOptional": true,
1311
+ "defaultValue": "'https://static.bit.dev/extensions-icons/default.svg'"
1312
+ },
1313
+ {
1314
+ "__schema": "FunctionLikeSchema",
1315
+ "location": {
1316
+ "filePath": "aspect.env.ts",
1317
+ "line": 32,
1318
+ "character": 3
1319
+ },
1320
+ "signature": "(method) AspectEnv.__getDescriptor(): Promise<{\n type: string;\n}>",
1321
+ "name": "__getDescriptor",
1322
+ "params": [],
1323
+ "returnType": {
1324
+ "__schema": "InferenceTypeSchema",
1325
+ "location": {
1326
+ "filePath": "aspect.env.ts",
1327
+ "line": 32,
1328
+ "character": 3
1329
+ },
1330
+ "type": "Promise<{\n type: string;\n}>"
1331
+ },
1332
+ "modifiers": [
1333
+ "async"
1334
+ ]
1335
+ },
1336
+ {
1337
+ "__schema": "FunctionLikeSchema",
1338
+ "location": {
1339
+ "filePath": "aspect.env.ts",
1340
+ "line": 38,
1341
+ "character": 3
1342
+ },
1343
+ "signature": "(method) AspectEnv.getTsConfig(tsConfig: TsConfigSourceFile): any",
1344
+ "name": "getTsConfig",
1345
+ "params": [
1346
+ {
1347
+ "__schema": "ParameterSchema",
1348
+ "location": {
1349
+ "filePath": "aspect.env.ts",
1350
+ "line": 38,
1351
+ "character": 15
1352
+ },
1353
+ "name": "tsConfig",
1354
+ "type": {
1355
+ "__schema": "TypeRefSchema",
1356
+ "location": {
1357
+ "filePath": "aspect.env.ts",
1358
+ "line": 38,
1359
+ "character": 25
1360
+ },
1361
+ "name": "TsConfigSourceFile"
1362
+ },
1363
+ "isOptional": false,
1364
+ "isSpread": false
1365
+ }
1366
+ ],
1367
+ "returnType": {
1368
+ "__schema": "InferenceTypeSchema",
1369
+ "location": {
1370
+ "filePath": "aspect.env.ts",
1371
+ "line": 38,
1372
+ "character": 3
1373
+ },
1374
+ "type": "any"
1375
+ },
1376
+ "modifiers": []
1377
+ },
1378
+ {
1379
+ "__schema": "FunctionLikeSchema",
1380
+ "location": {
1381
+ "filePath": "aspect.env.ts",
1382
+ "line": 45,
1383
+ "character": 3
1384
+ },
1385
+ "signature": "(method) AspectEnv.createTsCompiler(tsConfig: TsConfigSourceFile): Compiler",
1386
+ "name": "createTsCompiler",
1387
+ "params": [
1388
+ {
1389
+ "__schema": "ParameterSchema",
1390
+ "location": {
1391
+ "filePath": "aspect.env.ts",
1392
+ "line": 45,
1393
+ "character": 20
1394
+ },
1395
+ "name": "tsConfig",
1396
+ "type": {
1397
+ "__schema": "TypeRefSchema",
1398
+ "location": {
1399
+ "filePath": "aspect.env.ts",
1400
+ "line": 45,
1401
+ "character": 30
1402
+ },
1403
+ "name": "TsConfigSourceFile"
1404
+ },
1405
+ "isOptional": false,
1406
+ "isSpread": false
1407
+ }
1408
+ ],
1409
+ "returnType": {
1410
+ "__schema": "TypeRefSchema",
1411
+ "location": {
1412
+ "filePath": "aspect.env.ts",
1413
+ "line": 45,
1414
+ "character": 3
1415
+ },
1416
+ "name": "Compiler",
1417
+ "componentId": {
1418
+ "scope": "teambit.compilation",
1419
+ "name": "compiler"
1420
+ }
1421
+ },
1422
+ "modifiers": []
1423
+ },
1424
+ {
1425
+ "__schema": "FunctionLikeSchema",
1426
+ "location": {
1427
+ "filePath": "aspect.env.ts",
1428
+ "line": 52,
1429
+ "character": 3
1430
+ },
1431
+ "doc": {
1432
+ "__schema": "DocSchema",
1433
+ "location": {
1434
+ "filePath": "aspect.env.ts",
1435
+ "line": 49,
1436
+ "character": 3
1437
+ },
1438
+ "raw": "/**\n * returns a component tester.\n */",
1439
+ "comment": "returns a component tester."
1440
+ },
1441
+ "signature": "(method) AspectEnv.getTester(jestConfigPath: string, jestModulePath?: string): Tester",
1442
+ "name": "getTester",
1443
+ "params": [
1444
+ {
1445
+ "__schema": "ParameterSchema",
1446
+ "location": {
1447
+ "filePath": "aspect.env.ts",
1448
+ "line": 52,
1449
+ "character": 13
1450
+ },
1451
+ "name": "jestConfigPath",
1452
+ "type": {
1453
+ "__schema": "KeywordTypeSchema",
1454
+ "location": {
1455
+ "filePath": "aspect.env.ts",
1456
+ "line": 52,
1457
+ "character": 29
1458
+ },
1459
+ "name": "string"
1460
+ },
1461
+ "isOptional": false,
1462
+ "isSpread": false
1463
+ },
1464
+ {
1465
+ "__schema": "ParameterSchema",
1466
+ "location": {
1467
+ "filePath": "aspect.env.ts",
1468
+ "line": 52,
1469
+ "character": 37
1470
+ },
1471
+ "name": "jestModulePath",
1472
+ "type": {
1473
+ "__schema": "KeywordTypeSchema",
1474
+ "location": {
1475
+ "filePath": "aspect.env.ts",
1476
+ "line": 52,
1477
+ "character": 54
1478
+ },
1479
+ "name": "string"
1480
+ },
1481
+ "isOptional": true,
1482
+ "isSpread": false
1483
+ }
1484
+ ],
1485
+ "returnType": {
1486
+ "__schema": "TypeRefSchema",
1487
+ "location": {
1488
+ "filePath": "aspect.env.ts",
1489
+ "line": 52,
1490
+ "character": 3
1491
+ },
1492
+ "name": "Tester",
1493
+ "componentId": {
1494
+ "scope": "teambit.defender",
1495
+ "name": "tester"
1496
+ }
1497
+ },
1498
+ "modifiers": []
1499
+ },
1500
+ {
1501
+ "__schema": "FunctionLikeSchema",
1502
+ "location": {
1503
+ "filePath": "aspect.env.ts",
1504
+ "line": 57,
1505
+ "character": 3
1506
+ },
1507
+ "signature": "(method) AspectEnv.getTemplateBundler(context: BundlerContext, transformers?: WebpackConfigTransformer[]): Promise<Bundler>",
1508
+ "name": "getTemplateBundler",
1509
+ "params": [
1510
+ {
1511
+ "__schema": "ParameterSchema",
1512
+ "location": {
1513
+ "filePath": "aspect.env.ts",
1514
+ "line": 57,
1515
+ "character": 28
1516
+ },
1517
+ "name": "context",
1518
+ "type": {
1519
+ "__schema": "TypeRefSchema",
1520
+ "location": {
1521
+ "filePath": "aspect.env.ts",
1522
+ "line": 57,
1523
+ "character": 37
1524
+ },
1525
+ "name": "BundlerContext"
1526
+ },
1527
+ "isOptional": false,
1528
+ "isSpread": false
1529
+ },
1530
+ {
1531
+ "__schema": "ParameterSchema",
1532
+ "location": {
1533
+ "filePath": "aspect.env.ts",
1534
+ "line": 57,
1535
+ "character": 53
1536
+ },
1537
+ "name": "transformers",
1538
+ "type": {
1539
+ "__schema": "TypeArraySchema",
1540
+ "location": {
1541
+ "filePath": "aspect.env.ts",
1542
+ "line": 57,
1543
+ "character": 67
1544
+ },
1545
+ "type": {
1546
+ "__schema": "TypeRefSchema",
1547
+ "location": {
1548
+ "filePath": "aspect.env.ts",
1549
+ "line": 57,
1550
+ "character": 67
1551
+ },
1552
+ "name": "WebpackConfigTransformer"
1553
+ }
1554
+ },
1555
+ "isOptional": true,
1556
+ "defaultValue": "[]",
1557
+ "isSpread": false
1558
+ }
1559
+ ],
1560
+ "returnType": {
1561
+ "__schema": "TypeRefSchema",
1562
+ "location": {
1563
+ "filePath": "aspect.env.ts",
1564
+ "line": 57,
1565
+ "character": 101
1566
+ },
1567
+ "name": "Promise",
1568
+ "typeArgs": [
1569
+ {
1570
+ "__schema": "TypeRefSchema",
1571
+ "location": {
1572
+ "filePath": "aspect.env.ts",
1573
+ "line": 57,
1574
+ "character": 109
1575
+ },
1576
+ "name": "Bundler"
1577
+ }
1578
+ ]
1579
+ },
1580
+ "modifiers": [
1581
+ "async"
1582
+ ]
1583
+ },
1584
+ {
1585
+ "__schema": "FunctionLikeSchema",
1586
+ "location": {
1587
+ "filePath": "aspect.env.ts",
1588
+ "line": 61,
1589
+ "character": 3
1590
+ },
1591
+ "signature": "(method) AspectEnv.createTemplateWebpackBundler(context: BundlerContext, transformers?: WebpackConfigTransformer[]): Promise<Bundler>",
1592
+ "name": "createTemplateWebpackBundler",
1593
+ "params": [
1594
+ {
1595
+ "__schema": "ParameterSchema",
1596
+ "location": {
1597
+ "filePath": "aspect.env.ts",
1598
+ "line": 62,
1599
+ "character": 5
1600
+ },
1601
+ "name": "context",
1602
+ "type": {
1603
+ "__schema": "TypeRefSchema",
1604
+ "location": {
1605
+ "filePath": "aspect.env.ts",
1606
+ "line": 62,
1607
+ "character": 14
1608
+ },
1609
+ "name": "BundlerContext"
1610
+ },
1611
+ "isOptional": false,
1612
+ "isSpread": false
1613
+ },
1614
+ {
1615
+ "__schema": "ParameterSchema",
1616
+ "location": {
1617
+ "filePath": "aspect.env.ts",
1618
+ "line": 63,
1619
+ "character": 5
1620
+ },
1621
+ "name": "transformers",
1622
+ "type": {
1623
+ "__schema": "TypeArraySchema",
1624
+ "location": {
1625
+ "filePath": "aspect.env.ts",
1626
+ "line": 63,
1627
+ "character": 19
1628
+ },
1629
+ "type": {
1630
+ "__schema": "TypeRefSchema",
1631
+ "location": {
1632
+ "filePath": "aspect.env.ts",
1633
+ "line": 63,
1634
+ "character": 19
1635
+ },
1636
+ "name": "WebpackConfigTransformer"
1637
+ }
1638
+ },
1639
+ "isOptional": true,
1640
+ "defaultValue": "[]",
1641
+ "isSpread": false
1642
+ }
1643
+ ],
1644
+ "returnType": {
1645
+ "__schema": "TypeRefSchema",
1646
+ "location": {
1647
+ "filePath": "aspect.env.ts",
1648
+ "line": 64,
1649
+ "character": 6
1650
+ },
1651
+ "name": "Promise",
1652
+ "typeArgs": [
1653
+ {
1654
+ "__schema": "TypeRefSchema",
1655
+ "location": {
1656
+ "filePath": "aspect.env.ts",
1657
+ "line": 64,
1658
+ "character": 14
1659
+ },
1660
+ "name": "Bundler"
1661
+ }
1662
+ ]
1663
+ },
1664
+ "modifiers": [
1665
+ "async"
1666
+ ]
1667
+ },
1668
+ {
1669
+ "__schema": "FunctionLikeSchema",
1670
+ "location": {
1671
+ "filePath": "aspect.env.ts",
1672
+ "line": 68,
1673
+ "character": 3
1674
+ },
1675
+ "signature": "(method) AspectEnv.getPackageJsonProps(): PackageJsonProps",
1676
+ "name": "getPackageJsonProps",
1677
+ "params": [],
1678
+ "returnType": {
1679
+ "__schema": "TypeRefSchema",
1680
+ "location": {
1681
+ "filePath": "aspect.env.ts",
1682
+ "line": 68,
1683
+ "character": 3
1684
+ },
1685
+ "name": "PackageJsonProps",
1686
+ "componentId": {
1687
+ "scope": "teambit.pkg",
1688
+ "name": "pkg"
1689
+ }
1690
+ },
1691
+ "modifiers": []
1692
+ },
1693
+ {
1694
+ "__schema": "FunctionLikeSchema",
1695
+ "location": {
1696
+ "filePath": "aspect.env.ts",
1697
+ "line": 81,
1698
+ "character": 3
1699
+ },
1700
+ "signature": "(method) AspectEnv.getNpmIgnore(context?: GetNpmIgnoreContext): string[]",
1701
+ "name": "getNpmIgnore",
1702
+ "params": [
1703
+ {
1704
+ "__schema": "ParameterSchema",
1705
+ "location": {
1706
+ "filePath": "aspect.env.ts",
1707
+ "line": 81,
1708
+ "character": 16
1709
+ },
1710
+ "name": "context",
1711
+ "type": {
1712
+ "__schema": "TypeRefSchema",
1713
+ "location": {
1714
+ "filePath": "aspect.env.ts",
1715
+ "line": 81,
1716
+ "character": 26
1717
+ },
1718
+ "name": "GetNpmIgnoreContext"
1719
+ },
1720
+ "isOptional": true,
1721
+ "isSpread": false
1722
+ }
1723
+ ],
1724
+ "returnType": {
1725
+ "__schema": "InferenceTypeSchema",
1726
+ "location": {
1727
+ "filePath": "aspect.env.ts",
1728
+ "line": 81,
1729
+ "character": 3
1730
+ },
1731
+ "type": "string[]"
1732
+ },
1733
+ "modifiers": []
1734
+ },
1735
+ {
1736
+ "__schema": "FunctionLikeSchema",
1737
+ "location": {
1738
+ "filePath": "aspect.env.ts",
1739
+ "line": 104,
1740
+ "character": 3
1741
+ },
1742
+ "signature": "(method) AspectEnv.getPreviewConfig(): {\n strategyName: PreviewStrategyName;\n splitComponentBundle: boolean;\n}",
1743
+ "name": "getPreviewConfig",
1744
+ "params": [],
1745
+ "returnType": {
1746
+ "__schema": "InferenceTypeSchema",
1747
+ "location": {
1748
+ "filePath": "aspect.env.ts",
1749
+ "line": 104,
1750
+ "character": 3
1751
+ },
1752
+ "type": "{\n strategyName: PreviewStrategyName;\n splitComponentBundle: boolean;\n}"
1753
+ },
1754
+ "modifiers": []
1755
+ },
1756
+ {
1757
+ "__schema": "FunctionLikeSchema",
1758
+ "location": {
1759
+ "filePath": "aspect.env.ts",
1760
+ "line": 111,
1761
+ "character": 3
1762
+ },
1763
+ "signature": "(method) AspectEnv.getDependencies(): Promise<{\n dependencies: {\n react: string;\n 'react-dom': string;\n 'core-js': string;\n '@babel/runtime': string;\n };\n devDependencies: {\n react: string;\n 'react-dom': string;\n '@types/mocha': string;\n '@types/node': string;\n '@types/react': string;\n '@types/react-dom': string;\n '@types/jest': string;\n '@types/testing-library__jest-dom': string;\n };\n peerDependencies: {\n ...;\n };\n}>",
1764
+ "name": "getDependencies",
1765
+ "params": [],
1766
+ "returnType": {
1767
+ "__schema": "InferenceTypeSchema",
1768
+ "location": {
1769
+ "filePath": "aspect.env.ts",
1770
+ "line": 111,
1771
+ "character": 3
1772
+ },
1773
+ "type": "Promise<{\n dependencies: {\n react: string;\n 'react-dom': string;\n 'core-js': string;\n '@babel/runtime': string;\n };\n devDependencies: {\n react: string;\n 'react-dom': string;\n '@types/mocha': string;\n '@types/node': string;\n '@types/react': string;\n '@types/react-dom': string;\n '@types/jest': string;\n '@types/testing-library__jest-dom': string;\n };\n peerDependencies: {\n ...;\n };\n}>"
1774
+ },
1775
+ "modifiers": [
1776
+ "async"
1777
+ ]
1778
+ },
1779
+ {
1780
+ "__schema": "FunctionLikeSchema",
1781
+ "location": {
1782
+ "filePath": "aspect.env.ts",
1783
+ "line": 139,
1784
+ "character": 3
1785
+ },
1786
+ "signature": "(method) AspectEnv.workspaceConfig(): ConfigWriterEntry[]",
1787
+ "name": "workspaceConfig",
1788
+ "params": [],
1789
+ "returnType": {
1790
+ "__schema": "TypeArraySchema",
1791
+ "location": {
1792
+ "filePath": "aspect.env.ts",
1793
+ "line": 139,
1794
+ "character": 22
1795
+ },
1796
+ "type": {
1797
+ "__schema": "TypeRefSchema",
1798
+ "location": {
1799
+ "filePath": "aspect.env.ts",
1800
+ "line": 139,
1801
+ "character": 22
1802
+ },
1803
+ "name": "ConfigWriterEntry"
1804
+ }
1805
+ },
1806
+ "modifiers": []
1807
+ }
1808
+ ],
1809
+ "extendsNodes": [],
1810
+ "implementNodes": [
1811
+ {
1812
+ "__schema": "ExpressionWithTypeArgumentsSchema",
1813
+ "location": {
1814
+ "filePath": "aspect.env.ts",
1815
+ "line": 27,
1816
+ "character": 35
1817
+ },
1818
+ "name": "implements DependenciesEnv, PackageEnv, PreviewEnv",
1819
+ "typeArgs": [],
1820
+ "expression": {
1821
+ "__schema": "TypeRefSchema",
1822
+ "location": {
1823
+ "filePath": "aspect.env.ts",
1824
+ "line": 27,
1825
+ "character": 35
1826
+ },
1827
+ "name": "DependenciesEnv",
1828
+ "componentId": {
1829
+ "_legacy": {
1830
+ "scope": "teambit.harmony",
1831
+ "name": "aspect",
1832
+ "version": "1.0.159"
1833
+ },
1834
+ "_scope": "teambit.harmony"
1835
+ }
1836
+ }
1837
+ },
1838
+ {
1839
+ "__schema": "ExpressionWithTypeArgumentsSchema",
1840
+ "location": {
1841
+ "filePath": "aspect.env.ts",
1842
+ "line": 27,
1843
+ "character": 52
1844
+ },
1845
+ "name": "implements DependenciesEnv, PackageEnv, PreviewEnv",
1846
+ "typeArgs": [],
1847
+ "expression": {
1848
+ "__schema": "TypeRefSchema",
1849
+ "location": {
1850
+ "filePath": "aspect.env.ts",
1851
+ "line": 27,
1852
+ "character": 52
1853
+ },
1854
+ "name": "PackageEnv",
1855
+ "componentId": {
1856
+ "_legacy": {
1857
+ "scope": "teambit.harmony",
1858
+ "name": "aspect",
1859
+ "version": "1.0.159"
1860
+ },
1861
+ "_scope": "teambit.harmony"
1862
+ }
1863
+ }
1864
+ },
1865
+ {
1866
+ "__schema": "ExpressionWithTypeArgumentsSchema",
1867
+ "location": {
1868
+ "filePath": "aspect.env.ts",
1869
+ "line": 27,
1870
+ "character": 64
1871
+ },
1872
+ "name": "implements DependenciesEnv, PackageEnv, PreviewEnv",
1873
+ "typeArgs": [],
1874
+ "expression": {
1875
+ "__schema": "TypeRefSchema",
1876
+ "location": {
1877
+ "filePath": "aspect.env.ts",
1878
+ "line": 27,
1879
+ "character": 64
1880
+ },
1881
+ "name": "PreviewEnv",
1882
+ "componentId": {
1883
+ "_legacy": {
1884
+ "scope": "teambit.harmony",
1885
+ "name": "aspect",
1886
+ "version": "1.0.159"
1887
+ },
1888
+ "_scope": "teambit.harmony"
1889
+ }
1890
+ }
1891
+ }
1892
+ ]
1893
+ }
1894
+ ],
1895
+ "internals": []
1896
+ },
1897
+ "internals": [
1898
+ {
1899
+ "__schema": "ModuleSchema",
1900
+ "location": {
1901
+ "filePath": "aspect.main.runtime.ts",
1902
+ "line": 1,
1903
+ "character": 1
1904
+ },
1905
+ "exports": [
1906
+ {
1907
+ "__schema": "TypeSchema",
1908
+ "location": {
1909
+ "filePath": "aspect.main.runtime.ts",
1910
+ "line": 33,
1911
+ "character": 1
1912
+ },
1913
+ "signature": "type AspectSource = {\n aspectName: string;\n source: string;\n level: string;\n}",
1914
+ "name": "AspectSource",
1915
+ "type": {
1916
+ "__schema": "TypeLiteralSchema",
1917
+ "location": {
1918
+ "filePath": "aspect.main.runtime.ts",
1919
+ "line": 33,
1920
+ "character": 28
1921
+ },
1922
+ "members": [
1923
+ {
1924
+ "__schema": "VariableLikeSchema",
1925
+ "location": {
1926
+ "filePath": "aspect.main.runtime.ts",
1927
+ "line": 33,
1928
+ "character": 30
1929
+ },
1930
+ "signature": "(property) aspectName: string",
1931
+ "name": "aspectName",
1932
+ "type": {
1933
+ "__schema": "KeywordTypeSchema",
1934
+ "location": {
1935
+ "filePath": "aspect.main.runtime.ts",
1936
+ "line": 33,
1937
+ "character": 42
1938
+ },
1939
+ "name": "string"
1940
+ },
1941
+ "isOptional": false
1942
+ },
1943
+ {
1944
+ "__schema": "VariableLikeSchema",
1945
+ "location": {
1946
+ "filePath": "aspect.main.runtime.ts",
1947
+ "line": 33,
1948
+ "character": 50
1949
+ },
1950
+ "signature": "(property) source: string",
1951
+ "name": "source",
1952
+ "type": {
1953
+ "__schema": "KeywordTypeSchema",
1954
+ "location": {
1955
+ "filePath": "aspect.main.runtime.ts",
1956
+ "line": 33,
1957
+ "character": 58
1958
+ },
1959
+ "name": "string"
1960
+ },
1961
+ "isOptional": false
1962
+ },
1963
+ {
1964
+ "__schema": "VariableLikeSchema",
1965
+ "location": {
1966
+ "filePath": "aspect.main.runtime.ts",
1967
+ "line": 33,
1968
+ "character": 66
1969
+ },
1970
+ "signature": "(property) level: string",
1971
+ "name": "level",
1972
+ "type": {
1973
+ "__schema": "KeywordTypeSchema",
1974
+ "location": {
1975
+ "filePath": "aspect.main.runtime.ts",
1976
+ "line": 33,
1977
+ "character": 73
1978
+ },
1979
+ "name": "string"
1980
+ },
1981
+ "isOptional": false
1982
+ }
1983
+ ]
1984
+ }
1985
+ },
1986
+ {
1987
+ "__schema": "ClassSchema",
1988
+ "location": {
1989
+ "filePath": "aspect.main.runtime.ts",
1990
+ "line": 37,
1991
+ "character": 1
1992
+ },
1993
+ "signature": "class AspectMain",
1994
+ "name": "AspectMain",
1995
+ "members": [
1996
+ {
1997
+ "__schema": "ConstructorSchema",
1998
+ "location": {
1999
+ "filePath": "aspect.main.runtime.ts",
2000
+ "line": 38,
2001
+ "character": 3
2002
+ },
2003
+ "signature": "constructor AspectMain(aspectEnv: AspectEnv, envs: EnvsMain, workspace: Workspace): AspectMain",
2004
+ "name": "constructor",
2005
+ "params": [
2006
+ {
2007
+ "__schema": "ParameterSchema",
2008
+ "location": {
2009
+ "filePath": "aspect.main.runtime.ts",
2010
+ "line": 38,
2011
+ "character": 15
2012
+ },
2013
+ "name": "aspectEnv",
2014
+ "type": {
2015
+ "__schema": "TypeRefSchema",
2016
+ "location": {
2017
+ "filePath": "aspect.main.runtime.ts",
2018
+ "line": 38,
2019
+ "character": 35
2020
+ },
2021
+ "name": "AspectEnv"
2022
+ },
2023
+ "isOptional": false,
2024
+ "isSpread": false
2025
+ },
2026
+ {
2027
+ "__schema": "ParameterSchema",
2028
+ "location": {
2029
+ "filePath": "aspect.main.runtime.ts",
2030
+ "line": 38,
2031
+ "character": 46
2032
+ },
2033
+ "name": "envs",
2034
+ "type": {
2035
+ "__schema": "TypeRefSchema",
2036
+ "location": {
2037
+ "filePath": "aspect.main.runtime.ts",
2038
+ "line": 38,
2039
+ "character": 60
2040
+ },
2041
+ "name": "EnvsMain"
2042
+ },
2043
+ "isOptional": false,
2044
+ "isSpread": false
2045
+ },
2046
+ {
2047
+ "__schema": "ParameterSchema",
2048
+ "location": {
2049
+ "filePath": "aspect.main.runtime.ts",
2050
+ "line": 38,
2051
+ "character": 70
2052
+ },
2053
+ "name": "workspace",
2054
+ "type": {
2055
+ "__schema": "TypeRefSchema",
2056
+ "location": {
2057
+ "filePath": "aspect.main.runtime.ts",
2058
+ "line": 38,
2059
+ "character": 89
2060
+ },
2061
+ "name": "Workspace"
2062
+ },
2063
+ "isOptional": false,
2064
+ "isSpread": false
2065
+ }
2066
+ ],
2067
+ "returnType": {
2068
+ "__schema": "ThisTypeSchema",
2069
+ "location": {
2070
+ "filePath": "aspect.main.runtime.ts",
2071
+ "line": 37,
2072
+ "character": 1
2073
+ },
2074
+ "name": "AspectMain"
2075
+ },
2076
+ "modifiers": []
2077
+ },
2078
+ {
2079
+ "__schema": "FunctionLikeSchema",
2080
+ "location": {
2081
+ "filePath": "aspect.main.runtime.ts",
2082
+ "line": 43,
2083
+ "character": 3
2084
+ },
2085
+ "doc": {
2086
+ "__schema": "DocSchema",
2087
+ "location": {
2088
+ "filePath": "aspect.main.runtime.ts",
2089
+ "line": 40,
2090
+ "character": 3
2091
+ },
2092
+ "raw": "/**\n * compose your own aspect environment.\n */",
2093
+ "comment": "compose your own aspect environment."
2094
+ },
2095
+ "signature": "(method) AspectMain.compose(transformers?: EnvTransformer[], targetEnv?: Environment): Environment",
2096
+ "name": "compose",
2097
+ "params": [
2098
+ {
2099
+ "__schema": "ParameterSchema",
2100
+ "location": {
2101
+ "filePath": "aspect.main.runtime.ts",
2102
+ "line": 43,
2103
+ "character": 11
2104
+ },
2105
+ "name": "transformers",
2106
+ "type": {
2107
+ "__schema": "TypeArraySchema",
2108
+ "location": {
2109
+ "filePath": "aspect.main.runtime.ts",
2110
+ "line": 43,
2111
+ "character": 25
2112
+ },
2113
+ "type": {
2114
+ "__schema": "TypeRefSchema",
2115
+ "location": {
2116
+ "filePath": "aspect.main.runtime.ts",
2117
+ "line": 43,
2118
+ "character": 25
2119
+ },
2120
+ "name": "EnvTransformer"
2121
+ }
2122
+ },
2123
+ "isOptional": true,
2124
+ "defaultValue": "[]",
2125
+ "isSpread": false
2126
+ },
2127
+ {
2128
+ "__schema": "ParameterSchema",
2129
+ "location": {
2130
+ "filePath": "aspect.main.runtime.ts",
2131
+ "line": 43,
2132
+ "character": 48
2133
+ },
2134
+ "name": "targetEnv",
2135
+ "type": {
2136
+ "__schema": "TypeRefSchema",
2137
+ "location": {
2138
+ "filePath": "aspect.main.runtime.ts",
2139
+ "line": 43,
2140
+ "character": 59
2141
+ },
2142
+ "name": "Environment"
2143
+ },
2144
+ "isOptional": true,
2145
+ "defaultValue": "{}",
2146
+ "isSpread": false
2147
+ }
2148
+ ],
2149
+ "returnType": {
2150
+ "__schema": "TypeRefSchema",
2151
+ "location": {
2152
+ "filePath": "aspect.main.runtime.ts",
2153
+ "line": 43,
2154
+ "character": 3
2155
+ },
2156
+ "name": "Environment",
2157
+ "componentId": {
2158
+ "scope": "teambit.envs",
2159
+ "name": "envs"
2160
+ }
2161
+ },
2162
+ "modifiers": []
2163
+ },
2164
+ {
2165
+ "__schema": "FunctionLikeSchema",
2166
+ "location": {
2167
+ "filePath": "aspect.main.runtime.ts",
2168
+ "line": 47,
2169
+ "character": 3
2170
+ },
2171
+ "signature": "(method) AspectMain.listAspectsOfComponent(pattern?: string): Promise<{\n [component: string]: AspectSource[];\n}>",
2172
+ "name": "listAspectsOfComponent",
2173
+ "params": [
2174
+ {
2175
+ "__schema": "ParameterSchema",
2176
+ "location": {
2177
+ "filePath": "aspect.main.runtime.ts",
2178
+ "line": 47,
2179
+ "character": 32
2180
+ },
2181
+ "name": "pattern",
2182
+ "type": {
2183
+ "__schema": "KeywordTypeSchema",
2184
+ "location": {
2185
+ "filePath": "aspect.main.runtime.ts",
2186
+ "line": 47,
2187
+ "character": 42
2188
+ },
2189
+ "name": "string"
2190
+ },
2191
+ "isOptional": true,
2192
+ "isSpread": false
2193
+ }
2194
+ ],
2195
+ "returnType": {
2196
+ "__schema": "TypeRefSchema",
2197
+ "location": {
2198
+ "filePath": "aspect.main.runtime.ts",
2199
+ "line": 47,
2200
+ "character": 51
2201
+ },
2202
+ "name": "Promise",
2203
+ "typeArgs": [
2204
+ {
2205
+ "__schema": "TypeLiteralSchema",
2206
+ "location": {
2207
+ "filePath": "aspect.main.runtime.ts",
2208
+ "line": 47,
2209
+ "character": 59
2210
+ },
2211
+ "members": [
2212
+ {
2213
+ "__schema": "IndexSignatureSchema",
2214
+ "location": {
2215
+ "filePath": "aspect.main.runtime.ts",
2216
+ "line": 47,
2217
+ "character": 61
2218
+ },
2219
+ "keyType": {
2220
+ "__schema": "ParameterSchema",
2221
+ "location": {
2222
+ "filePath": "aspect.main.runtime.ts",
2223
+ "line": 47,
2224
+ "character": 62
2225
+ },
2226
+ "name": "component",
2227
+ "type": {
2228
+ "__schema": "KeywordTypeSchema",
2229
+ "location": {
2230
+ "filePath": "aspect.main.runtime.ts",
2231
+ "line": 47,
2232
+ "character": 73
2233
+ },
2234
+ "name": "string"
2235
+ },
2236
+ "isOptional": false,
2237
+ "isSpread": false
2238
+ },
2239
+ "valueType": {
2240
+ "__schema": "TypeArraySchema",
2241
+ "location": {
2242
+ "filePath": "aspect.main.runtime.ts",
2243
+ "line": 47,
2244
+ "character": 82
2245
+ },
2246
+ "type": {
2247
+ "__schema": "TypeRefSchema",
2248
+ "location": {
2249
+ "filePath": "aspect.main.runtime.ts",
2250
+ "line": 47,
2251
+ "character": 82
2252
+ },
2253
+ "name": "AspectSource"
2254
+ }
2255
+ }
2256
+ }
2257
+ ]
2258
+ }
2259
+ ]
2260
+ },
2261
+ "modifiers": [
2262
+ "async"
2263
+ ]
2264
+ },
2265
+ {
2266
+ "__schema": "GetAccessorSchema",
2267
+ "location": {
2268
+ "filePath": "aspect.main.runtime.ts",
2269
+ "line": 63,
2270
+ "character": 3
2271
+ },
2272
+ "signature": "(getter) AspectMain.babelConfig: {\n presets: (string | (string | {\n targets: {\n node: number;\n };\n })[])[];\n plugins: (string | (string | {\n lazy: () => boolean;\n })[] | (string | {\n legacy: boolean;\n })[])[];\n sourceMaps: boolean;\n}",
2273
+ "name": "babelConfig",
2274
+ "type": {
2275
+ "__schema": "InferenceTypeSchema",
2276
+ "location": {
2277
+ "filePath": "aspect.main.runtime.ts",
2278
+ "line": 63,
2279
+ "character": 3
2280
+ },
2281
+ "type": "{\n presets: (string | (string | {\n targets: {\n node: number;\n };\n })[])[];\n plugins: (string | (string | {\n lazy: () => boolean;\n })[] | (string | {\n legacy: boolean;\n })[])[];\n sourceMaps: boolean;\n}"
2282
+ }
2283
+ },
2284
+ {
2285
+ "__schema": "FunctionLikeSchema",
2286
+ "location": {
2287
+ "filePath": "aspect.main.runtime.ts",
2288
+ "line": 93,
2289
+ "character": 3
2290
+ },
2291
+ "signature": "(method) AspectMain.setAspectsToComponents(pattern: string, aspectId: string, config?: Record<string, any>, options?: SetAspectOptions): Promise<ComponentID[]>",
2292
+ "name": "setAspectsToComponents",
2293
+ "params": [
2294
+ {
2295
+ "__schema": "ParameterSchema",
2296
+ "location": {
2297
+ "filePath": "aspect.main.runtime.ts",
2298
+ "line": 94,
2299
+ "character": 5
2300
+ },
2301
+ "name": "pattern",
2302
+ "type": {
2303
+ "__schema": "KeywordTypeSchema",
2304
+ "location": {
2305
+ "filePath": "aspect.main.runtime.ts",
2306
+ "line": 94,
2307
+ "character": 14
2308
+ },
2309
+ "name": "string"
2310
+ },
2311
+ "isOptional": false,
2312
+ "isSpread": false
2313
+ },
2314
+ {
2315
+ "__schema": "ParameterSchema",
2316
+ "location": {
2317
+ "filePath": "aspect.main.runtime.ts",
2318
+ "line": 95,
2319
+ "character": 5
2320
+ },
2321
+ "name": "aspectId",
2322
+ "type": {
2323
+ "__schema": "KeywordTypeSchema",
2324
+ "location": {
2325
+ "filePath": "aspect.main.runtime.ts",
2326
+ "line": 95,
2327
+ "character": 15
2328
+ },
2329
+ "name": "string"
2330
+ },
2331
+ "isOptional": false,
2332
+ "isSpread": false
2333
+ },
2334
+ {
2335
+ "__schema": "ParameterSchema",
2336
+ "location": {
2337
+ "filePath": "aspect.main.runtime.ts",
2338
+ "line": 96,
2339
+ "character": 5
2340
+ },
2341
+ "name": "config",
2342
+ "type": {
2343
+ "__schema": "TypeRefSchema",
2344
+ "location": {
2345
+ "filePath": "aspect.main.runtime.ts",
2346
+ "line": 96,
2347
+ "character": 13
2348
+ },
2349
+ "name": "Record",
2350
+ "typeArgs": [
2351
+ {
2352
+ "__schema": "KeywordTypeSchema",
2353
+ "location": {
2354
+ "filePath": "aspect.main.runtime.ts",
2355
+ "line": 96,
2356
+ "character": 20
2357
+ },
2358
+ "name": "string"
2359
+ },
2360
+ {
2361
+ "__schema": "KeywordTypeSchema",
2362
+ "location": {
2363
+ "filePath": "aspect.main.runtime.ts",
2364
+ "line": 96,
2365
+ "character": 28
2366
+ },
2367
+ "name": "any"
2368
+ }
2369
+ ]
2370
+ },
2371
+ "isOptional": true,
2372
+ "defaultValue": "{}",
2373
+ "isSpread": false
2374
+ },
2375
+ {
2376
+ "__schema": "ParameterSchema",
2377
+ "location": {
2378
+ "filePath": "aspect.main.runtime.ts",
2379
+ "line": 97,
2380
+ "character": 5
2381
+ },
2382
+ "name": "options",
2383
+ "type": {
2384
+ "__schema": "TypeRefSchema",
2385
+ "location": {
2386
+ "filePath": "aspect.main.runtime.ts",
2387
+ "line": 97,
2388
+ "character": 14
2389
+ },
2390
+ "name": "SetAspectOptions"
2391
+ },
2392
+ "isOptional": true,
2393
+ "defaultValue": "{}",
2394
+ "isSpread": false
2395
+ }
2396
+ ],
2397
+ "returnType": {
2398
+ "__schema": "TypeRefSchema",
2399
+ "location": {
2400
+ "filePath": "aspect.main.runtime.ts",
2401
+ "line": 98,
2402
+ "character": 6
2403
+ },
2404
+ "name": "Promise",
2405
+ "typeArgs": [
2406
+ {
2407
+ "__schema": "TypeArraySchema",
2408
+ "location": {
2409
+ "filePath": "aspect.main.runtime.ts",
2410
+ "line": 98,
2411
+ "character": 14
2412
+ },
2413
+ "type": {
2414
+ "__schema": "TypeRefSchema",
2415
+ "location": {
2416
+ "filePath": "aspect.main.runtime.ts",
2417
+ "line": 98,
2418
+ "character": 14
2419
+ },
2420
+ "name": "ComponentID"
2421
+ }
2422
+ }
2423
+ ]
2424
+ },
2425
+ "modifiers": [
2426
+ "async"
2427
+ ]
2428
+ },
2429
+ {
2430
+ "__schema": "FunctionLikeSchema",
2431
+ "location": {
2432
+ "filePath": "aspect.main.runtime.ts",
2433
+ "line": 112,
2434
+ "character": 3
2435
+ },
2436
+ "signature": "(method) AspectMain.unsetAspectsFromComponents(pattern: string, aspectIdStr: string): Promise<ComponentID[]>",
2437
+ "name": "unsetAspectsFromComponents",
2438
+ "params": [
2439
+ {
2440
+ "__schema": "ParameterSchema",
2441
+ "location": {
2442
+ "filePath": "aspect.main.runtime.ts",
2443
+ "line": 112,
2444
+ "character": 36
2445
+ },
2446
+ "name": "pattern",
2447
+ "type": {
2448
+ "__schema": "KeywordTypeSchema",
2449
+ "location": {
2450
+ "filePath": "aspect.main.runtime.ts",
2451
+ "line": 112,
2452
+ "character": 45
2453
+ },
2454
+ "name": "string"
2455
+ },
2456
+ "isOptional": false,
2457
+ "isSpread": false
2458
+ },
2459
+ {
2460
+ "__schema": "ParameterSchema",
2461
+ "location": {
2462
+ "filePath": "aspect.main.runtime.ts",
2463
+ "line": 112,
2464
+ "character": 53
2465
+ },
2466
+ "name": "aspectIdStr",
2467
+ "type": {
2468
+ "__schema": "KeywordTypeSchema",
2469
+ "location": {
2470
+ "filePath": "aspect.main.runtime.ts",
2471
+ "line": 112,
2472
+ "character": 66
2473
+ },
2474
+ "name": "string"
2475
+ },
2476
+ "isOptional": false,
2477
+ "isSpread": false
2478
+ }
2479
+ ],
2480
+ "returnType": {
2481
+ "__schema": "TypeRefSchema",
2482
+ "location": {
2483
+ "filePath": "aspect.main.runtime.ts",
2484
+ "line": 112,
2485
+ "character": 75
2486
+ },
2487
+ "name": "Promise",
2488
+ "typeArgs": [
2489
+ {
2490
+ "__schema": "TypeArraySchema",
2491
+ "location": {
2492
+ "filePath": "aspect.main.runtime.ts",
2493
+ "line": 112,
2494
+ "character": 83
2495
+ },
2496
+ "type": {
2497
+ "__schema": "TypeRefSchema",
2498
+ "location": {
2499
+ "filePath": "aspect.main.runtime.ts",
2500
+ "line": 112,
2501
+ "character": 83
2502
+ },
2503
+ "name": "ComponentID"
2504
+ }
2505
+ }
2506
+ ]
2507
+ },
2508
+ "modifiers": [
2509
+ "async"
2510
+ ]
2511
+ },
2512
+ {
2513
+ "__schema": "FunctionLikeSchema",
2514
+ "location": {
2515
+ "filePath": "aspect.main.runtime.ts",
2516
+ "line": 132,
2517
+ "character": 3
2518
+ },
2519
+ "doc": {
2520
+ "__schema": "DocSchema",
2521
+ "location": {
2522
+ "filePath": "aspect.main.runtime.ts",
2523
+ "line": 129,
2524
+ "character": 3
2525
+ },
2526
+ "raw": "/**\n * returns all aspects info of a component, include the config and the data.\n */",
2527
+ "comment": "returns all aspects info of a component, include the config and the data."
2528
+ },
2529
+ "signature": "(method) AspectMain.getAspectsOfComponent(id: string | ComponentID): Promise<AspectList>",
2530
+ "name": "getAspectsOfComponent",
2531
+ "params": [
2532
+ {
2533
+ "__schema": "ParameterSchema",
2534
+ "location": {
2535
+ "filePath": "aspect.main.runtime.ts",
2536
+ "line": 132,
2537
+ "character": 31
2538
+ },
2539
+ "name": "id",
2540
+ "type": {
2541
+ "__schema": "TypeUnionSchema",
2542
+ "location": {
2543
+ "filePath": "aspect.main.runtime.ts",
2544
+ "line": 132,
2545
+ "character": 35
2546
+ },
2547
+ "types": [
2548
+ {
2549
+ "__schema": "KeywordTypeSchema",
2550
+ "location": {
2551
+ "filePath": "aspect.main.runtime.ts",
2552
+ "line": 132,
2553
+ "character": 35
2554
+ },
2555
+ "name": "string"
2556
+ },
2557
+ {
2558
+ "__schema": "TypeRefSchema",
2559
+ "location": {
2560
+ "filePath": "aspect.main.runtime.ts",
2561
+ "line": 132,
2562
+ "character": 44
2563
+ },
2564
+ "name": "ComponentID"
2565
+ }
2566
+ ]
2567
+ },
2568
+ "isOptional": false,
2569
+ "isSpread": false
2570
+ }
2571
+ ],
2572
+ "returnType": {
2573
+ "__schema": "TypeRefSchema",
2574
+ "location": {
2575
+ "filePath": "aspect.main.runtime.ts",
2576
+ "line": 132,
2577
+ "character": 58
2578
+ },
2579
+ "name": "Promise",
2580
+ "typeArgs": [
2581
+ {
2582
+ "__schema": "TypeRefSchema",
2583
+ "location": {
2584
+ "filePath": "aspect.main.runtime.ts",
2585
+ "line": 132,
2586
+ "character": 66
2587
+ },
2588
+ "name": "AspectList"
2589
+ }
2590
+ ]
2591
+ },
2592
+ "modifiers": [
2593
+ "async"
2594
+ ]
2595
+ },
2596
+ {
2597
+ "__schema": "FunctionLikeSchema",
2598
+ "location": {
2599
+ "filePath": "aspect.main.runtime.ts",
2600
+ "line": 143,
2601
+ "character": 3
2602
+ },
2603
+ "doc": {
2604
+ "__schema": "DocSchema",
2605
+ "location": {
2606
+ "filePath": "aspect.main.runtime.ts",
2607
+ "line": 140,
2608
+ "character": 3
2609
+ },
2610
+ "raw": "/**\n * helps debugging why/how an aspect was set to a component\n */",
2611
+ "comment": "helps debugging why/how an aspect was set to a component"
2612
+ },
2613
+ "signature": "(method) AspectMain.getAspectsOfComponentForDebugging(id: string | ComponentID): Promise<{\n aspects: AspectList;\n extensions: ExtensionDataList;\n beforeMerge: {\n extensions: ExtensionDataList;\n origin: ExtensionsOrigin;\n extraData: any;\n }[];\n}>",
2614
+ "name": "getAspectsOfComponentForDebugging",
2615
+ "params": [
2616
+ {
2617
+ "__schema": "ParameterSchema",
2618
+ "location": {
2619
+ "filePath": "aspect.main.runtime.ts",
2620
+ "line": 143,
2621
+ "character": 43
2622
+ },
2623
+ "name": "id",
2624
+ "type": {
2625
+ "__schema": "TypeUnionSchema",
2626
+ "location": {
2627
+ "filePath": "aspect.main.runtime.ts",
2628
+ "line": 143,
2629
+ "character": 47
2630
+ },
2631
+ "types": [
2632
+ {
2633
+ "__schema": "KeywordTypeSchema",
2634
+ "location": {
2635
+ "filePath": "aspect.main.runtime.ts",
2636
+ "line": 143,
2637
+ "character": 47
2638
+ },
2639
+ "name": "string"
2640
+ },
2641
+ {
2642
+ "__schema": "TypeRefSchema",
2643
+ "location": {
2644
+ "filePath": "aspect.main.runtime.ts",
2645
+ "line": 143,
2646
+ "character": 56
2647
+ },
2648
+ "name": "ComponentID"
2649
+ }
2650
+ ]
2651
+ },
2652
+ "isOptional": false,
2653
+ "isSpread": false
2654
+ }
2655
+ ],
2656
+ "returnType": {
2657
+ "__schema": "InferenceTypeSchema",
2658
+ "location": {
2659
+ "filePath": "aspect.main.runtime.ts",
2660
+ "line": 143,
2661
+ "character": 3
2662
+ },
2663
+ "type": "Promise<{\n aspects: AspectList;\n extensions: ExtensionDataList;\n beforeMerge: {\n extensions: ExtensionDataList;\n origin: ExtensionsOrigin;\n extraData: any;\n }[];\n}>"
2664
+ },
2665
+ "modifiers": [
2666
+ "async"
2667
+ ]
2668
+ },
2669
+ {
2670
+ "__schema": "FunctionLikeSchema",
2671
+ "location": {
2672
+ "filePath": "aspect.main.runtime.ts",
2673
+ "line": 157,
2674
+ "character": 3
2675
+ },
2676
+ "signature": "(method) AspectMain.updateAspectsToComponents(aspectId: string, pattern?: string): Promise<{\n updated: ComponentID[];\n alreadyUpToDate: ComponentID[];\n}>",
2677
+ "name": "updateAspectsToComponents",
2678
+ "params": [
2679
+ {
2680
+ "__schema": "ParameterSchema",
2681
+ "location": {
2682
+ "filePath": "aspect.main.runtime.ts",
2683
+ "line": 158,
2684
+ "character": 5
2685
+ },
2686
+ "name": "aspectId",
2687
+ "type": {
2688
+ "__schema": "KeywordTypeSchema",
2689
+ "location": {
2690
+ "filePath": "aspect.main.runtime.ts",
2691
+ "line": 158,
2692
+ "character": 15
2693
+ },
2694
+ "name": "string"
2695
+ },
2696
+ "isOptional": false,
2697
+ "isSpread": false
2698
+ },
2699
+ {
2700
+ "__schema": "ParameterSchema",
2701
+ "location": {
2702
+ "filePath": "aspect.main.runtime.ts",
2703
+ "line": 159,
2704
+ "character": 5
2705
+ },
2706
+ "name": "pattern",
2707
+ "type": {
2708
+ "__schema": "KeywordTypeSchema",
2709
+ "location": {
2710
+ "filePath": "aspect.main.runtime.ts",
2711
+ "line": 159,
2712
+ "character": 15
2713
+ },
2714
+ "name": "string"
2715
+ },
2716
+ "isOptional": true,
2717
+ "isSpread": false
2718
+ }
2719
+ ],
2720
+ "returnType": {
2721
+ "__schema": "TypeRefSchema",
2722
+ "location": {
2723
+ "filePath": "aspect.main.runtime.ts",
2724
+ "line": 160,
2725
+ "character": 6
2726
+ },
2727
+ "name": "Promise",
2728
+ "typeArgs": [
2729
+ {
2730
+ "__schema": "TypeLiteralSchema",
2731
+ "location": {
2732
+ "filePath": "aspect.main.runtime.ts",
2733
+ "line": 160,
2734
+ "character": 14
2735
+ },
2736
+ "members": [
2737
+ {
2738
+ "__schema": "VariableLikeSchema",
2739
+ "location": {
2740
+ "filePath": "aspect.main.runtime.ts",
2741
+ "line": 160,
2742
+ "character": 16
2743
+ },
2744
+ "signature": "(property) updated: ComponentID[]",
2745
+ "name": "updated",
2746
+ "type": {
2747
+ "__schema": "TypeArraySchema",
2748
+ "location": {
2749
+ "filePath": "aspect.main.runtime.ts",
2750
+ "line": 160,
2751
+ "character": 25
2752
+ },
2753
+ "type": {
2754
+ "__schema": "TypeRefSchema",
2755
+ "location": {
2756
+ "filePath": "aspect.main.runtime.ts",
2757
+ "line": 160,
2758
+ "character": 25
2759
+ },
2760
+ "name": "ComponentID"
2761
+ }
2762
+ },
2763
+ "isOptional": false
2764
+ },
2765
+ {
2766
+ "__schema": "VariableLikeSchema",
2767
+ "location": {
2768
+ "filePath": "aspect.main.runtime.ts",
2769
+ "line": 160,
2770
+ "character": 40
2771
+ },
2772
+ "signature": "(property) alreadyUpToDate: ComponentID[]",
2773
+ "name": "alreadyUpToDate",
2774
+ "type": {
2775
+ "__schema": "TypeArraySchema",
2776
+ "location": {
2777
+ "filePath": "aspect.main.runtime.ts",
2778
+ "line": 160,
2779
+ "character": 57
2780
+ },
2781
+ "type": {
2782
+ "__schema": "TypeRefSchema",
2783
+ "location": {
2784
+ "filePath": "aspect.main.runtime.ts",
2785
+ "line": 160,
2786
+ "character": 57
2787
+ },
2788
+ "name": "ComponentID"
2789
+ }
2790
+ },
2791
+ "isOptional": false
2792
+ }
2793
+ ]
2794
+ }
2795
+ ]
2796
+ },
2797
+ "modifiers": [
2798
+ "async"
2799
+ ]
2800
+ },
2801
+ {
2802
+ "__schema": "FunctionLikeSchema",
2803
+ "location": {
2804
+ "filePath": "aspect.main.runtime.ts",
2805
+ "line": 198,
2806
+ "character": 3
2807
+ },
2808
+ "doc": {
2809
+ "__schema": "DocSchema",
2810
+ "location": {
2811
+ "filePath": "aspect.main.runtime.ts",
2812
+ "line": 195,
2813
+ "character": 3
2814
+ },
2815
+ "raw": "/**\n * override the dependency configuration of the component environment.\n */",
2816
+ "comment": "override the dependency configuration of the component environment."
2817
+ },
2818
+ "signature": "(method) AspectMain.overrideDependencies(dependencyPolicy: EnvPolicyConfigObject): EnvTransformer",
2819
+ "name": "overrideDependencies",
2820
+ "params": [
2821
+ {
2822
+ "__schema": "ParameterSchema",
2823
+ "location": {
2824
+ "filePath": "aspect.main.runtime.ts",
2825
+ "line": 198,
2826
+ "character": 24
2827
+ },
2828
+ "name": "dependencyPolicy",
2829
+ "type": {
2830
+ "__schema": "TypeRefSchema",
2831
+ "location": {
2832
+ "filePath": "aspect.main.runtime.ts",
2833
+ "line": 198,
2834
+ "character": 42
2835
+ },
2836
+ "name": "EnvPolicyConfigObject"
2837
+ },
2838
+ "isOptional": false,
2839
+ "isSpread": false
2840
+ }
2841
+ ],
2842
+ "returnType": {
2843
+ "__schema": "TypeRefSchema",
2844
+ "location": {
2845
+ "filePath": "aspect.main.runtime.ts",
2846
+ "line": 198,
2847
+ "character": 3
2848
+ },
2849
+ "name": "EnvTransformer",
2850
+ "componentId": {
2851
+ "scope": "teambit.envs",
2852
+ "name": "envs"
2853
+ }
2854
+ },
2855
+ "modifiers": []
2856
+ },
2857
+ {
2858
+ "__schema": "VariableLikeSchema",
2859
+ "location": {
2860
+ "filePath": "aspect.main.runtime.ts",
2861
+ "line": 207,
2862
+ "character": 3
2863
+ },
2864
+ "signature": "(property) AspectMain.runtime: RuntimeDefinition",
2865
+ "name": "runtime",
2866
+ "type": {
2867
+ "__schema": "InferenceTypeSchema",
2868
+ "location": {
2869
+ "filePath": "aspect.main.runtime.ts",
2870
+ "line": 207,
2871
+ "character": 3
2872
+ },
2873
+ "type": "RuntimeDefinition"
2874
+ },
2875
+ "isOptional": true,
2876
+ "defaultValue": "MainRuntime"
2877
+ },
2878
+ {
2879
+ "__schema": "VariableLikeSchema",
2880
+ "location": {
2881
+ "filePath": "aspect.main.runtime.ts",
2882
+ "line": 208,
2883
+ "character": 3
2884
+ },
2885
+ "signature": "(property) AspectMain.dependencies: Aspect[]",
2886
+ "name": "dependencies",
2887
+ "type": {
2888
+ "__schema": "InferenceTypeSchema",
2889
+ "location": {
2890
+ "filePath": "aspect.main.runtime.ts",
2891
+ "line": 208,
2892
+ "character": 3
2893
+ },
2894
+ "type": "Aspect[]"
2895
+ },
2896
+ "isOptional": true,
2897
+ "defaultValue": "[\n ReactAspect,\n EnvsAspect,\n BuilderAspect,\n AspectLoaderAspect,\n CompilerAspect,\n BabelAspect,\n GeneratorAspect,\n WorkspaceAspect,\n CLIAspect,\n LoggerAspect,\n WorkerAspect,\n ]"
2898
+ },
2899
+ {
2900
+ "__schema": "FunctionLikeSchema",
2901
+ "location": {
2902
+ "filePath": "aspect.main.runtime.ts",
2903
+ "line": 222,
2904
+ "character": 3
2905
+ },
2906
+ "signature": "(method) AspectMain.provider([react, envs, builder, aspectLoader, compiler, babel, generator, workspace, cli, loggerMain, workerMain]: [\n ReactMain,\n EnvsMain,\n BuilderMain,\n AspectLoaderMain,\n CompilerMain,\n BabelMain,\n GeneratorMain,\n Workspace,\n CLIMain,\n LoggerMain,\n WorkerMain\n], config: any, slots: any, harmony: Harmony): Promise<AspectMain>",
2907
+ "name": "provider",
2908
+ "params": [
2909
+ {
2910
+ "__schema": "ParameterSchema",
2911
+ "location": {
2912
+ "filePath": "aspect.main.runtime.ts",
2913
+ "line": 223,
2914
+ "character": 5
2915
+ },
2916
+ "name": "[ react, envs, builder, aspectLoader, compiler, babel, generator, workspace, cli, loggerMain, workerMain ]",
2917
+ "type": {
2918
+ "__schema": "TupleTypeSchema",
2919
+ "location": {
2920
+ "filePath": "aspect.main.runtime.ts",
2921
+ "line": 223,
2922
+ "character": 111
2923
+ },
2924
+ "elements": [
2925
+ {
2926
+ "__schema": "TypeRefSchema",
2927
+ "location": {
2928
+ "filePath": "aspect.main.runtime.ts",
2929
+ "line": 224,
2930
+ "character": 7
2931
+ },
2932
+ "name": "ReactMain"
2933
+ },
2934
+ {
2935
+ "__schema": "TypeRefSchema",
2936
+ "location": {
2937
+ "filePath": "aspect.main.runtime.ts",
2938
+ "line": 225,
2939
+ "character": 7
2940
+ },
2941
+ "name": "EnvsMain"
2942
+ },
2943
+ {
2944
+ "__schema": "TypeRefSchema",
2945
+ "location": {
2946
+ "filePath": "aspect.main.runtime.ts",
2947
+ "line": 226,
2948
+ "character": 7
2949
+ },
2950
+ "name": "BuilderMain"
2951
+ },
2952
+ {
2953
+ "__schema": "TypeRefSchema",
2954
+ "location": {
2955
+ "filePath": "aspect.main.runtime.ts",
2956
+ "line": 227,
2957
+ "character": 7
2958
+ },
2959
+ "name": "AspectLoaderMain"
2960
+ },
2961
+ {
2962
+ "__schema": "TypeRefSchema",
2963
+ "location": {
2964
+ "filePath": "aspect.main.runtime.ts",
2965
+ "line": 228,
2966
+ "character": 7
2967
+ },
2968
+ "name": "CompilerMain"
2969
+ },
2970
+ {
2971
+ "__schema": "TypeRefSchema",
2972
+ "location": {
2973
+ "filePath": "aspect.main.runtime.ts",
2974
+ "line": 229,
2975
+ "character": 7
2976
+ },
2977
+ "name": "BabelMain"
2978
+ },
2979
+ {
2980
+ "__schema": "TypeRefSchema",
2981
+ "location": {
2982
+ "filePath": "aspect.main.runtime.ts",
2983
+ "line": 230,
2984
+ "character": 7
2985
+ },
2986
+ "name": "GeneratorMain"
2987
+ },
2988
+ {
2989
+ "__schema": "TypeRefSchema",
2990
+ "location": {
2991
+ "filePath": "aspect.main.runtime.ts",
2992
+ "line": 231,
2993
+ "character": 7
2994
+ },
2995
+ "name": "Workspace"
2996
+ },
2997
+ {
2998
+ "__schema": "TypeRefSchema",
2999
+ "location": {
3000
+ "filePath": "aspect.main.runtime.ts",
3001
+ "line": 232,
3002
+ "character": 7
3003
+ },
3004
+ "name": "CLIMain"
3005
+ },
3006
+ {
3007
+ "__schema": "TypeRefSchema",
3008
+ "location": {
3009
+ "filePath": "aspect.main.runtime.ts",
3010
+ "line": 233,
3011
+ "character": 7
3012
+ },
3013
+ "name": "LoggerMain"
3014
+ },
3015
+ {
3016
+ "__schema": "TypeRefSchema",
3017
+ "location": {
3018
+ "filePath": "aspect.main.runtime.ts",
3019
+ "line": 234,
3020
+ "character": 7
3021
+ },
3022
+ "name": "WorkerMain"
3023
+ }
3024
+ ]
3025
+ },
3026
+ "isOptional": false,
3027
+ "isSpread": false
3028
+ },
3029
+ {
3030
+ "__schema": "ParameterSchema",
3031
+ "location": {
3032
+ "filePath": "aspect.main.runtime.ts",
3033
+ "line": 236,
3034
+ "character": 5
3035
+ },
3036
+ "name": "config",
3037
+ "type": {
3038
+ "__schema": "InferenceTypeSchema",
3039
+ "location": {
3040
+ "filePath": "aspect.main.runtime.ts",
3041
+ "line": 236,
3042
+ "character": 5
3043
+ },
3044
+ "type": "any"
3045
+ },
3046
+ "isOptional": false,
3047
+ "isSpread": false
3048
+ },
3049
+ {
3050
+ "__schema": "ParameterSchema",
3051
+ "location": {
3052
+ "filePath": "aspect.main.runtime.ts",
3053
+ "line": 237,
3054
+ "character": 5
3055
+ },
3056
+ "name": "slots",
3057
+ "type": {
3058
+ "__schema": "InferenceTypeSchema",
3059
+ "location": {
3060
+ "filePath": "aspect.main.runtime.ts",
3061
+ "line": 237,
3062
+ "character": 5
3063
+ },
3064
+ "type": "any"
3065
+ },
3066
+ "isOptional": false,
3067
+ "isSpread": false
3068
+ },
3069
+ {
3070
+ "__schema": "ParameterSchema",
3071
+ "location": {
3072
+ "filePath": "aspect.main.runtime.ts",
3073
+ "line": 238,
3074
+ "character": 5
3075
+ },
3076
+ "name": "harmony",
3077
+ "type": {
3078
+ "__schema": "TypeRefSchema",
3079
+ "location": {
3080
+ "filePath": "aspect.main.runtime.ts",
3081
+ "line": 238,
3082
+ "character": 14
3083
+ },
3084
+ "name": "Harmony"
3085
+ },
3086
+ "isOptional": false,
3087
+ "isSpread": false
3088
+ }
3089
+ ],
3090
+ "returnType": {
3091
+ "__schema": "InferenceTypeSchema",
3092
+ "location": {
3093
+ "filePath": "aspect.main.runtime.ts",
3094
+ "line": 222,
3095
+ "character": 3
3096
+ },
3097
+ "type": "Promise<AspectMain>"
3098
+ },
3099
+ "modifiers": [
3100
+ "static",
3101
+ "async"
3102
+ ]
3103
+ }
3104
+ ],
3105
+ "extendsNodes": [],
3106
+ "implementNodes": []
3107
+ }
3108
+ ],
3109
+ "internals": [
3110
+ {
3111
+ "__schema": "ModuleSchema",
3112
+ "location": {
3113
+ "filePath": "aspect.main.runtime.ts",
3114
+ "line": 35,
3115
+ "character": 1
3116
+ },
3117
+ "exports": [
3118
+ {
3119
+ "__schema": "VariableLikeSchema",
3120
+ "location": {
3121
+ "filePath": "aspect.main.runtime.ts",
3122
+ "line": 35,
3123
+ "character": 7
3124
+ },
3125
+ "signature": "const tsconfig: any",
3126
+ "name": "tsconfig",
3127
+ "type": {
3128
+ "__schema": "InferenceTypeSchema",
3129
+ "location": {
3130
+ "filePath": "aspect.main.runtime.ts",
3131
+ "line": 35,
3132
+ "character": 7
3133
+ },
3134
+ "type": "any"
3135
+ },
3136
+ "isOptional": false,
3137
+ "defaultValue": "require('./typescript/tsconfig.json')"
3138
+ }
3139
+ ],
3140
+ "internals": []
3141
+ },
3142
+ {
3143
+ "__schema": "UnImplementedSchema",
3144
+ "location": {
3145
+ "filePath": "aspect.main.runtime.ts",
3146
+ "line": 298,
3147
+ "character": 1
3148
+ },
3149
+ "name": "AspectAspect.addRuntime(AspectMain);",
3150
+ "type": "ExpressionStatement"
3151
+ }
3152
+ ]
3153
+ },
3154
+ {
3155
+ "__schema": "ModuleSchema",
3156
+ "location": {
3157
+ "filePath": "aspect.aspect.ts",
3158
+ "line": 1,
3159
+ "character": 1
3160
+ },
3161
+ "exports": [
3162
+ {
3163
+ "__schema": "VariableLikeSchema",
3164
+ "location": {
3165
+ "filePath": "aspect.aspect.ts",
3166
+ "line": 3,
3167
+ "character": 14
3168
+ },
3169
+ "signature": "const AspectAspect: Aspect",
3170
+ "name": "AspectAspect",
3171
+ "type": {
3172
+ "__schema": "TypeRefSchema",
3173
+ "location": {
3174
+ "filePath": "aspect.aspect.ts",
3175
+ "line": 3,
3176
+ "character": 14
3177
+ },
3178
+ "name": "Aspect",
3179
+ "componentId": {
3180
+ "scope": "teambit.harmony",
3181
+ "name": "harmony",
3182
+ "version": "0.4.6"
3183
+ }
3184
+ },
3185
+ "isOptional": false,
3186
+ "defaultValue": "Aspect.create({\n id: 'teambit.harmony/aspect',\n})"
3187
+ },
3188
+ {
3189
+ "__schema": "UnImplementedSchema",
3190
+ "location": {
3191
+ "filePath": "aspect.aspect.ts",
3192
+ "line": 7,
3193
+ "character": 16
3194
+ },
3195
+ "name": "AspectAspect",
3196
+ "type": "Identifier"
3197
+ }
3198
+ ],
3199
+ "internals": []
3200
+ },
3201
+ {
3202
+ "__schema": "ModuleSchema",
3203
+ "location": {
3204
+ "filePath": "aspect.env.ts",
3205
+ "line": 1,
3206
+ "character": 1
3207
+ },
3208
+ "exports": [
3209
+ {
3210
+ "__schema": "VariableLikeSchema",
3211
+ "location": {
3212
+ "filePath": "aspect.env.ts",
3213
+ "line": 22,
3214
+ "character": 14
3215
+ },
3216
+ "signature": "const AspectEnvType: \"aspect\"",
3217
+ "name": "AspectEnvType",
3218
+ "type": {
3219
+ "__schema": "InferenceTypeSchema",
3220
+ "location": {
3221
+ "filePath": "aspect.env.ts",
3222
+ "line": 22,
3223
+ "character": 14
3224
+ },
3225
+ "type": "\"aspect\""
3226
+ },
3227
+ "isOptional": false,
3228
+ "defaultValue": "'aspect'"
3229
+ },
3230
+ {
3231
+ "__schema": "ClassSchema",
3232
+ "location": {
3233
+ "filePath": "aspect.env.ts",
3234
+ "line": 27,
3235
+ "character": 1
3236
+ },
3237
+ "doc": {
3238
+ "__schema": "DocSchema",
3239
+ "location": {
3240
+ "filePath": "aspect.env.ts",
3241
+ "line": 24,
3242
+ "character": 1
3243
+ },
3244
+ "raw": "/**\n * a component environment built for Aspects .\n */",
3245
+ "comment": "a component environment built for Aspects ."
3246
+ },
3247
+ "signature": "class AspectEnv",
3248
+ "name": "AspectEnv",
3249
+ "members": [
3250
+ {
3251
+ "__schema": "ConstructorSchema",
3252
+ "location": {
3253
+ "filePath": "aspect.env.ts",
3254
+ "line": 28,
3255
+ "character": 3
3256
+ },
3257
+ "signature": "constructor AspectEnv(reactEnv: ReactEnv, aspectLoader: AspectLoaderMain, logger: Logger): AspectEnv",
3258
+ "name": "constructor",
3259
+ "params": [
3260
+ {
3261
+ "__schema": "ParameterSchema",
3262
+ "location": {
3263
+ "filePath": "aspect.env.ts",
3264
+ "line": 28,
3265
+ "character": 15
3266
+ },
3267
+ "name": "reactEnv",
3268
+ "type": {
3269
+ "__schema": "TypeRefSchema",
3270
+ "location": {
3271
+ "filePath": "aspect.env.ts",
3272
+ "line": 28,
3273
+ "character": 33
3274
+ },
3275
+ "name": "ReactEnv"
3276
+ },
3277
+ "isOptional": false,
3278
+ "isSpread": false
3279
+ },
3280
+ {
3281
+ "__schema": "ParameterSchema",
3282
+ "location": {
3283
+ "filePath": "aspect.env.ts",
3284
+ "line": 28,
3285
+ "character": 43
3286
+ },
3287
+ "name": "aspectLoader",
3288
+ "type": {
3289
+ "__schema": "TypeRefSchema",
3290
+ "location": {
3291
+ "filePath": "aspect.env.ts",
3292
+ "line": 28,
3293
+ "character": 65
3294
+ },
3295
+ "name": "AspectLoaderMain"
3296
+ },
3297
+ "isOptional": false,
3298
+ "isSpread": false
3299
+ },
3300
+ {
3301
+ "__schema": "ParameterSchema",
3302
+ "location": {
3303
+ "filePath": "aspect.env.ts",
3304
+ "line": 28,
3305
+ "character": 83
3306
+ },
3307
+ "name": "logger",
3308
+ "type": {
3309
+ "__schema": "TypeRefSchema",
3310
+ "location": {
3311
+ "filePath": "aspect.env.ts",
3312
+ "line": 28,
3313
+ "character": 99
3314
+ },
3315
+ "name": "Logger"
3316
+ },
3317
+ "isOptional": false,
3318
+ "isSpread": false
3319
+ }
3320
+ ],
3321
+ "returnType": {
3322
+ "__schema": "ThisTypeSchema",
3323
+ "location": {
3324
+ "filePath": "aspect.env.ts",
3325
+ "line": 27,
3326
+ "character": 1
3327
+ },
3328
+ "name": "AspectEnv"
3329
+ },
3330
+ "modifiers": []
3331
+ },
3332
+ {
3333
+ "__schema": "VariableLikeSchema",
3334
+ "location": {
3335
+ "filePath": "aspect.env.ts",
3336
+ "line": 30,
3337
+ "character": 3
3338
+ },
3339
+ "signature": "(property) AspectEnv.icon: string",
3340
+ "name": "icon",
3341
+ "type": {
3342
+ "__schema": "InferenceTypeSchema",
3343
+ "location": {
3344
+ "filePath": "aspect.env.ts",
3345
+ "line": 30,
3346
+ "character": 3
3347
+ },
3348
+ "type": "string"
3349
+ },
3350
+ "isOptional": true,
3351
+ "defaultValue": "'https://static.bit.dev/extensions-icons/default.svg'"
3352
+ },
3353
+ {
3354
+ "__schema": "FunctionLikeSchema",
3355
+ "location": {
3356
+ "filePath": "aspect.env.ts",
3357
+ "line": 32,
3358
+ "character": 3
3359
+ },
3360
+ "signature": "(method) AspectEnv.__getDescriptor(): Promise<{\n type: string;\n}>",
3361
+ "name": "__getDescriptor",
3362
+ "params": [],
3363
+ "returnType": {
3364
+ "__schema": "InferenceTypeSchema",
3365
+ "location": {
3366
+ "filePath": "aspect.env.ts",
3367
+ "line": 32,
3368
+ "character": 3
3369
+ },
3370
+ "type": "Promise<{\n type: string;\n}>"
3371
+ },
3372
+ "modifiers": [
3373
+ "async"
3374
+ ]
3375
+ },
3376
+ {
3377
+ "__schema": "FunctionLikeSchema",
3378
+ "location": {
3379
+ "filePath": "aspect.env.ts",
3380
+ "line": 38,
3381
+ "character": 3
3382
+ },
3383
+ "signature": "(method) AspectEnv.getTsConfig(tsConfig: TsConfigSourceFile): any",
3384
+ "name": "getTsConfig",
3385
+ "params": [
3386
+ {
3387
+ "__schema": "ParameterSchema",
3388
+ "location": {
3389
+ "filePath": "aspect.env.ts",
3390
+ "line": 38,
3391
+ "character": 15
3392
+ },
3393
+ "name": "tsConfig",
3394
+ "type": {
3395
+ "__schema": "TypeRefSchema",
3396
+ "location": {
3397
+ "filePath": "aspect.env.ts",
3398
+ "line": 38,
3399
+ "character": 25
3400
+ },
3401
+ "name": "TsConfigSourceFile"
3402
+ },
3403
+ "isOptional": false,
3404
+ "isSpread": false
3405
+ }
3406
+ ],
3407
+ "returnType": {
3408
+ "__schema": "InferenceTypeSchema",
3409
+ "location": {
3410
+ "filePath": "aspect.env.ts",
3411
+ "line": 38,
3412
+ "character": 3
3413
+ },
3414
+ "type": "any"
3415
+ },
3416
+ "modifiers": []
3417
+ },
3418
+ {
3419
+ "__schema": "FunctionLikeSchema",
3420
+ "location": {
3421
+ "filePath": "aspect.env.ts",
3422
+ "line": 45,
3423
+ "character": 3
3424
+ },
3425
+ "signature": "(method) AspectEnv.createTsCompiler(tsConfig: TsConfigSourceFile): Compiler",
3426
+ "name": "createTsCompiler",
3427
+ "params": [
3428
+ {
3429
+ "__schema": "ParameterSchema",
3430
+ "location": {
3431
+ "filePath": "aspect.env.ts",
3432
+ "line": 45,
3433
+ "character": 20
3434
+ },
3435
+ "name": "tsConfig",
3436
+ "type": {
3437
+ "__schema": "TypeRefSchema",
3438
+ "location": {
3439
+ "filePath": "aspect.env.ts",
3440
+ "line": 45,
3441
+ "character": 30
3442
+ },
3443
+ "name": "TsConfigSourceFile"
3444
+ },
3445
+ "isOptional": false,
3446
+ "isSpread": false
3447
+ }
3448
+ ],
3449
+ "returnType": {
3450
+ "__schema": "TypeRefSchema",
3451
+ "location": {
3452
+ "filePath": "aspect.env.ts",
3453
+ "line": 45,
3454
+ "character": 3
3455
+ },
3456
+ "name": "Compiler",
3457
+ "componentId": {
3458
+ "scope": "teambit.compilation",
3459
+ "name": "compiler"
3460
+ }
3461
+ },
3462
+ "modifiers": []
3463
+ },
3464
+ {
3465
+ "__schema": "FunctionLikeSchema",
3466
+ "location": {
3467
+ "filePath": "aspect.env.ts",
3468
+ "line": 52,
3469
+ "character": 3
3470
+ },
3471
+ "doc": {
3472
+ "__schema": "DocSchema",
3473
+ "location": {
3474
+ "filePath": "aspect.env.ts",
3475
+ "line": 49,
3476
+ "character": 3
3477
+ },
3478
+ "raw": "/**\n * returns a component tester.\n */",
3479
+ "comment": "returns a component tester."
3480
+ },
3481
+ "signature": "(method) AspectEnv.getTester(jestConfigPath: string, jestModulePath?: string): Tester",
3482
+ "name": "getTester",
3483
+ "params": [
3484
+ {
3485
+ "__schema": "ParameterSchema",
3486
+ "location": {
3487
+ "filePath": "aspect.env.ts",
3488
+ "line": 52,
3489
+ "character": 13
3490
+ },
3491
+ "name": "jestConfigPath",
3492
+ "type": {
3493
+ "__schema": "KeywordTypeSchema",
3494
+ "location": {
3495
+ "filePath": "aspect.env.ts",
3496
+ "line": 52,
3497
+ "character": 29
3498
+ },
3499
+ "name": "string"
3500
+ },
3501
+ "isOptional": false,
3502
+ "isSpread": false
3503
+ },
3504
+ {
3505
+ "__schema": "ParameterSchema",
3506
+ "location": {
3507
+ "filePath": "aspect.env.ts",
3508
+ "line": 52,
3509
+ "character": 37
3510
+ },
3511
+ "name": "jestModulePath",
3512
+ "type": {
3513
+ "__schema": "KeywordTypeSchema",
3514
+ "location": {
3515
+ "filePath": "aspect.env.ts",
3516
+ "line": 52,
3517
+ "character": 54
3518
+ },
3519
+ "name": "string"
3520
+ },
3521
+ "isOptional": true,
3522
+ "isSpread": false
3523
+ }
3524
+ ],
3525
+ "returnType": {
3526
+ "__schema": "TypeRefSchema",
3527
+ "location": {
3528
+ "filePath": "aspect.env.ts",
3529
+ "line": 52,
3530
+ "character": 3
3531
+ },
3532
+ "name": "Tester",
3533
+ "componentId": {
3534
+ "scope": "teambit.defender",
3535
+ "name": "tester"
3536
+ }
3537
+ },
3538
+ "modifiers": []
3539
+ },
3540
+ {
3541
+ "__schema": "FunctionLikeSchema",
3542
+ "location": {
3543
+ "filePath": "aspect.env.ts",
3544
+ "line": 57,
3545
+ "character": 3
3546
+ },
3547
+ "signature": "(method) AspectEnv.getTemplateBundler(context: BundlerContext, transformers?: WebpackConfigTransformer[]): Promise<Bundler>",
3548
+ "name": "getTemplateBundler",
3549
+ "params": [
3550
+ {
3551
+ "__schema": "ParameterSchema",
3552
+ "location": {
3553
+ "filePath": "aspect.env.ts",
3554
+ "line": 57,
3555
+ "character": 28
3556
+ },
3557
+ "name": "context",
3558
+ "type": {
3559
+ "__schema": "TypeRefSchema",
3560
+ "location": {
3561
+ "filePath": "aspect.env.ts",
3562
+ "line": 57,
3563
+ "character": 37
3564
+ },
3565
+ "name": "BundlerContext"
3566
+ },
3567
+ "isOptional": false,
3568
+ "isSpread": false
3569
+ },
3570
+ {
3571
+ "__schema": "ParameterSchema",
3572
+ "location": {
3573
+ "filePath": "aspect.env.ts",
3574
+ "line": 57,
3575
+ "character": 53
3576
+ },
3577
+ "name": "transformers",
3578
+ "type": {
3579
+ "__schema": "TypeArraySchema",
3580
+ "location": {
3581
+ "filePath": "aspect.env.ts",
3582
+ "line": 57,
3583
+ "character": 67
3584
+ },
3585
+ "type": {
3586
+ "__schema": "TypeRefSchema",
3587
+ "location": {
3588
+ "filePath": "aspect.env.ts",
3589
+ "line": 57,
3590
+ "character": 67
3591
+ },
3592
+ "name": "WebpackConfigTransformer"
3593
+ }
3594
+ },
3595
+ "isOptional": true,
3596
+ "defaultValue": "[]",
3597
+ "isSpread": false
3598
+ }
3599
+ ],
3600
+ "returnType": {
3601
+ "__schema": "TypeRefSchema",
3602
+ "location": {
3603
+ "filePath": "aspect.env.ts",
3604
+ "line": 57,
3605
+ "character": 101
3606
+ },
3607
+ "name": "Promise",
3608
+ "typeArgs": [
3609
+ {
3610
+ "__schema": "TypeRefSchema",
3611
+ "location": {
3612
+ "filePath": "aspect.env.ts",
3613
+ "line": 57,
3614
+ "character": 109
3615
+ },
3616
+ "name": "Bundler"
3617
+ }
3618
+ ]
3619
+ },
3620
+ "modifiers": [
3621
+ "async"
3622
+ ]
3623
+ },
3624
+ {
3625
+ "__schema": "FunctionLikeSchema",
3626
+ "location": {
3627
+ "filePath": "aspect.env.ts",
3628
+ "line": 61,
3629
+ "character": 3
3630
+ },
3631
+ "signature": "(method) AspectEnv.createTemplateWebpackBundler(context: BundlerContext, transformers?: WebpackConfigTransformer[]): Promise<Bundler>",
3632
+ "name": "createTemplateWebpackBundler",
3633
+ "params": [
3634
+ {
3635
+ "__schema": "ParameterSchema",
3636
+ "location": {
3637
+ "filePath": "aspect.env.ts",
3638
+ "line": 62,
3639
+ "character": 5
3640
+ },
3641
+ "name": "context",
3642
+ "type": {
3643
+ "__schema": "TypeRefSchema",
3644
+ "location": {
3645
+ "filePath": "aspect.env.ts",
3646
+ "line": 62,
3647
+ "character": 14
3648
+ },
3649
+ "name": "BundlerContext"
3650
+ },
3651
+ "isOptional": false,
3652
+ "isSpread": false
3653
+ },
3654
+ {
3655
+ "__schema": "ParameterSchema",
3656
+ "location": {
3657
+ "filePath": "aspect.env.ts",
3658
+ "line": 63,
3659
+ "character": 5
3660
+ },
3661
+ "name": "transformers",
3662
+ "type": {
3663
+ "__schema": "TypeArraySchema",
3664
+ "location": {
3665
+ "filePath": "aspect.env.ts",
3666
+ "line": 63,
3667
+ "character": 19
3668
+ },
3669
+ "type": {
3670
+ "__schema": "TypeRefSchema",
3671
+ "location": {
3672
+ "filePath": "aspect.env.ts",
3673
+ "line": 63,
3674
+ "character": 19
3675
+ },
3676
+ "name": "WebpackConfigTransformer"
3677
+ }
3678
+ },
3679
+ "isOptional": true,
3680
+ "defaultValue": "[]",
3681
+ "isSpread": false
3682
+ }
3683
+ ],
3684
+ "returnType": {
3685
+ "__schema": "TypeRefSchema",
3686
+ "location": {
3687
+ "filePath": "aspect.env.ts",
3688
+ "line": 64,
3689
+ "character": 6
3690
+ },
3691
+ "name": "Promise",
3692
+ "typeArgs": [
3693
+ {
3694
+ "__schema": "TypeRefSchema",
3695
+ "location": {
3696
+ "filePath": "aspect.env.ts",
3697
+ "line": 64,
3698
+ "character": 14
3699
+ },
3700
+ "name": "Bundler"
3701
+ }
3702
+ ]
3703
+ },
3704
+ "modifiers": [
3705
+ "async"
3706
+ ]
3707
+ },
3708
+ {
3709
+ "__schema": "FunctionLikeSchema",
3710
+ "location": {
3711
+ "filePath": "aspect.env.ts",
3712
+ "line": 68,
3713
+ "character": 3
3714
+ },
3715
+ "signature": "(method) AspectEnv.getPackageJsonProps(): PackageJsonProps",
3716
+ "name": "getPackageJsonProps",
3717
+ "params": [],
3718
+ "returnType": {
3719
+ "__schema": "TypeRefSchema",
3720
+ "location": {
3721
+ "filePath": "aspect.env.ts",
3722
+ "line": 68,
3723
+ "character": 3
3724
+ },
3725
+ "name": "PackageJsonProps",
3726
+ "componentId": {
3727
+ "scope": "teambit.pkg",
3728
+ "name": "pkg"
3729
+ }
3730
+ },
3731
+ "modifiers": []
3732
+ },
3733
+ {
3734
+ "__schema": "FunctionLikeSchema",
3735
+ "location": {
3736
+ "filePath": "aspect.env.ts",
3737
+ "line": 81,
3738
+ "character": 3
3739
+ },
3740
+ "signature": "(method) AspectEnv.getNpmIgnore(context?: GetNpmIgnoreContext): string[]",
3741
+ "name": "getNpmIgnore",
3742
+ "params": [
3743
+ {
3744
+ "__schema": "ParameterSchema",
3745
+ "location": {
3746
+ "filePath": "aspect.env.ts",
3747
+ "line": 81,
3748
+ "character": 16
3749
+ },
3750
+ "name": "context",
3751
+ "type": {
3752
+ "__schema": "TypeRefSchema",
3753
+ "location": {
3754
+ "filePath": "aspect.env.ts",
3755
+ "line": 81,
3756
+ "character": 26
3757
+ },
3758
+ "name": "GetNpmIgnoreContext"
3759
+ },
3760
+ "isOptional": true,
3761
+ "isSpread": false
3762
+ }
3763
+ ],
3764
+ "returnType": {
3765
+ "__schema": "InferenceTypeSchema",
3766
+ "location": {
3767
+ "filePath": "aspect.env.ts",
3768
+ "line": 81,
3769
+ "character": 3
3770
+ },
3771
+ "type": "string[]"
3772
+ },
3773
+ "modifiers": []
3774
+ },
3775
+ {
3776
+ "__schema": "FunctionLikeSchema",
3777
+ "location": {
3778
+ "filePath": "aspect.env.ts",
3779
+ "line": 104,
3780
+ "character": 3
3781
+ },
3782
+ "signature": "(method) AspectEnv.getPreviewConfig(): {\n strategyName: PreviewStrategyName;\n splitComponentBundle: boolean;\n}",
3783
+ "name": "getPreviewConfig",
3784
+ "params": [],
3785
+ "returnType": {
3786
+ "__schema": "InferenceTypeSchema",
3787
+ "location": {
3788
+ "filePath": "aspect.env.ts",
3789
+ "line": 104,
3790
+ "character": 3
3791
+ },
3792
+ "type": "{\n strategyName: PreviewStrategyName;\n splitComponentBundle: boolean;\n}"
3793
+ },
3794
+ "modifiers": []
3795
+ },
3796
+ {
3797
+ "__schema": "FunctionLikeSchema",
3798
+ "location": {
3799
+ "filePath": "aspect.env.ts",
3800
+ "line": 111,
3801
+ "character": 3
3802
+ },
3803
+ "signature": "(method) AspectEnv.getDependencies(): Promise<{\n dependencies: {\n react: string;\n 'react-dom': string;\n 'core-js': string;\n '@babel/runtime': string;\n };\n devDependencies: {\n react: string;\n 'react-dom': string;\n '@types/mocha': string;\n '@types/node': string;\n '@types/react': string;\n '@types/react-dom': string;\n '@types/jest': string;\n '@types/testing-library__jest-dom': string;\n };\n peerDependencies: {\n ...;\n };\n}>",
3804
+ "name": "getDependencies",
3805
+ "params": [],
3806
+ "returnType": {
3807
+ "__schema": "InferenceTypeSchema",
3808
+ "location": {
3809
+ "filePath": "aspect.env.ts",
3810
+ "line": 111,
3811
+ "character": 3
3812
+ },
3813
+ "type": "Promise<{\n dependencies: {\n react: string;\n 'react-dom': string;\n 'core-js': string;\n '@babel/runtime': string;\n };\n devDependencies: {\n react: string;\n 'react-dom': string;\n '@types/mocha': string;\n '@types/node': string;\n '@types/react': string;\n '@types/react-dom': string;\n '@types/jest': string;\n '@types/testing-library__jest-dom': string;\n };\n peerDependencies: {\n ...;\n };\n}>"
3814
+ },
3815
+ "modifiers": [
3816
+ "async"
3817
+ ]
3818
+ },
3819
+ {
3820
+ "__schema": "FunctionLikeSchema",
3821
+ "location": {
3822
+ "filePath": "aspect.env.ts",
3823
+ "line": 139,
3824
+ "character": 3
3825
+ },
3826
+ "signature": "(method) AspectEnv.workspaceConfig(): ConfigWriterEntry[]",
3827
+ "name": "workspaceConfig",
3828
+ "params": [],
3829
+ "returnType": {
3830
+ "__schema": "TypeArraySchema",
3831
+ "location": {
3832
+ "filePath": "aspect.env.ts",
3833
+ "line": 139,
3834
+ "character": 22
3835
+ },
3836
+ "type": {
3837
+ "__schema": "TypeRefSchema",
3838
+ "location": {
3839
+ "filePath": "aspect.env.ts",
3840
+ "line": 139,
3841
+ "character": 22
3842
+ },
3843
+ "name": "ConfigWriterEntry"
3844
+ }
3845
+ },
3846
+ "modifiers": []
3847
+ }
3848
+ ],
3849
+ "extendsNodes": [],
3850
+ "implementNodes": [
3851
+ {
3852
+ "__schema": "ExpressionWithTypeArgumentsSchema",
3853
+ "location": {
3854
+ "filePath": "aspect.env.ts",
3855
+ "line": 27,
3856
+ "character": 35
3857
+ },
3858
+ "name": "implements DependenciesEnv, PackageEnv, PreviewEnv",
3859
+ "typeArgs": [],
3860
+ "expression": {
3861
+ "__schema": "TypeRefSchema",
3862
+ "location": {
3863
+ "filePath": "aspect.env.ts",
3864
+ "line": 27,
3865
+ "character": 35
3866
+ },
3867
+ "name": "DependenciesEnv",
3868
+ "componentId": {
3869
+ "_legacy": {
3870
+ "scope": "teambit.harmony",
3871
+ "name": "aspect",
3872
+ "version": "1.0.159"
3873
+ },
3874
+ "_scope": "teambit.harmony"
3875
+ }
3876
+ }
3877
+ },
3878
+ {
3879
+ "__schema": "ExpressionWithTypeArgumentsSchema",
3880
+ "location": {
3881
+ "filePath": "aspect.env.ts",
3882
+ "line": 27,
3883
+ "character": 52
3884
+ },
3885
+ "name": "implements DependenciesEnv, PackageEnv, PreviewEnv",
3886
+ "typeArgs": [],
3887
+ "expression": {
3888
+ "__schema": "TypeRefSchema",
3889
+ "location": {
3890
+ "filePath": "aspect.env.ts",
3891
+ "line": 27,
3892
+ "character": 52
3893
+ },
3894
+ "name": "PackageEnv",
3895
+ "componentId": {
3896
+ "_legacy": {
3897
+ "scope": "teambit.harmony",
3898
+ "name": "aspect",
3899
+ "version": "1.0.159"
3900
+ },
3901
+ "_scope": "teambit.harmony"
3902
+ }
3903
+ }
3904
+ },
3905
+ {
3906
+ "__schema": "ExpressionWithTypeArgumentsSchema",
3907
+ "location": {
3908
+ "filePath": "aspect.env.ts",
3909
+ "line": 27,
3910
+ "character": 64
3911
+ },
3912
+ "name": "implements DependenciesEnv, PackageEnv, PreviewEnv",
3913
+ "typeArgs": [],
3914
+ "expression": {
3915
+ "__schema": "TypeRefSchema",
3916
+ "location": {
3917
+ "filePath": "aspect.env.ts",
3918
+ "line": 27,
3919
+ "character": 64
3920
+ },
3921
+ "name": "PreviewEnv",
3922
+ "componentId": {
3923
+ "_legacy": {
3924
+ "scope": "teambit.harmony",
3925
+ "name": "aspect",
3926
+ "version": "1.0.159"
3927
+ },
3928
+ "_scope": "teambit.harmony"
3929
+ }
3930
+ }
3931
+ }
3932
+ ]
3933
+ }
3934
+ ],
3935
+ "internals": [
3936
+ {
3937
+ "__schema": "ModuleSchema",
3938
+ "location": {
3939
+ "filePath": "aspect.env.ts",
3940
+ "line": 20,
3941
+ "character": 1
3942
+ },
3943
+ "exports": [
3944
+ {
3945
+ "__schema": "VariableLikeSchema",
3946
+ "location": {
3947
+ "filePath": "aspect.env.ts",
3948
+ "line": 20,
3949
+ "character": 7
3950
+ },
3951
+ "signature": "const tsconfig: any",
3952
+ "name": "tsconfig",
3953
+ "type": {
3954
+ "__schema": "InferenceTypeSchema",
3955
+ "location": {
3956
+ "filePath": "aspect.env.ts",
3957
+ "line": 20,
3958
+ "character": 7
3959
+ },
3960
+ "type": "any"
3961
+ },
3962
+ "isOptional": false,
3963
+ "defaultValue": "require('./typescript/tsconfig.json')"
3964
+ }
3965
+ ],
3966
+ "internals": []
3967
+ }
3968
+ ]
3969
+ }
3970
+ ],
3971
+ "componentId": {
3972
+ "scope": "teambit.harmony",
3973
+ "name": "aspect",
3974
+ "version": "1.0.159"
3975
+ },
3976
+ "taggedModuleExports": []
3977
+ }