@teambit/aspect 1.0.188 → 1.0.189

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