@teambit/aspect 1.0.510 → 1.0.511

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