@teambit/aspect 1.0.515 → 1.0.517

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