@teambit/aspect 0.0.885 → 0.0.887

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 (22) hide show
  1. package/artifacts/env-template/public/{541.1516a23eed50b9cf76cc.js → 39.5915c4509594c18ef0e2.js} +4 -4
  2. package/artifacts/env-template/public/assets-manifest.json +14 -14
  3. package/artifacts/env-template/public/{compositions.ce1ee3f1934ad339168d.js → compositions.907ab2bc40557846e43e.js} +1 -1
  4. package/artifacts/env-template/public/compositions.html +1 -1
  5. package/artifacts/env-template/public/{overview.61b603cd98fee25b72b2.js → overview.235115950cb887e90787.js} +1 -1
  6. package/artifacts/env-template/public/overview.html +1 -1
  7. package/artifacts/env-template/public/{peers.b1e4206f4191bded799f.js → peers.452067e78da73d01180f.js} +1 -1
  8. package/artifacts/env-template/public/{preview-root.d446cbe08f33f740f2bd.js → preview-root.0ef8198dd3b4c48d8adf.js} +1 -1
  9. package/artifacts/env-template/public/static/css/39.0382be7b.css +1 -0
  10. package/artifacts/env-template/public/static/css/overview.79e8d4e8.css +1 -0
  11. package/artifacts/preview/teambit_harmony_aspect-preview.js +1 -1
  12. package/artifacts/schema.json +1797 -0
  13. package/{compositions-1666755696699.js → compositions-1667014802517.js} +0 -0
  14. package/dist/aspect.env.js +1 -1
  15. package/dist/aspect.env.js.map +1 -1
  16. package/{overview-1666755696699.js → overview-1667014802517.js} +0 -0
  17. package/package-tar/teambit-aspect-0.0.887.tgz +0 -0
  18. package/package.json +29 -29
  19. package/{preview-1666755696699.js → preview-1667014802517.js} +2 -2
  20. package/artifacts/env-template/public/static/css/541.2aa44154.css +0 -1
  21. package/artifacts/env-template/public/static/css/overview.793d10f3.css +0 -1
  22. package/package-tar/teambit-aspect-0.0.885.tgz +0 -0
@@ -0,0 +1,1797 @@
1
+ {
2
+ "__schema": "APISchema",
3
+ "location": {
4
+ "filePath": "index.ts",
5
+ "line": 1,
6
+ "character": 1
7
+ },
8
+ "module": {
9
+ "__schema": "Module",
10
+ "location": {
11
+ "filePath": "index.ts",
12
+ "line": 1,
13
+ "character": 1
14
+ },
15
+ "exports": [
16
+ {
17
+ "__schema": "ClassSchema",
18
+ "className": "AspectMain",
19
+ "location": {
20
+ "filePath": "aspect.main.runtime.ts",
21
+ "line": 35,
22
+ "character": 1
23
+ },
24
+ "members": [
25
+ {
26
+ "__schema": "ConstructorSchema",
27
+ "location": {
28
+ "filePath": "aspect.main.runtime.ts",
29
+ "line": 36,
30
+ "character": 3
31
+ },
32
+ "params": [
33
+ {
34
+ "__schema": "ParameterSchema",
35
+ "location": {
36
+ "filePath": "aspect.main.runtime.ts",
37
+ "line": 36,
38
+ "character": 15
39
+ },
40
+ "name": "aspectEnv",
41
+ "isOptional": false,
42
+ "type": {
43
+ "__schema": "TypeRefSchema",
44
+ "location": {
45
+ "filePath": "aspect.main.runtime.ts",
46
+ "line": 36,
47
+ "character": 35
48
+ },
49
+ "name": "AspectEnv"
50
+ }
51
+ },
52
+ {
53
+ "__schema": "ParameterSchema",
54
+ "location": {
55
+ "filePath": "aspect.main.runtime.ts",
56
+ "line": 36,
57
+ "character": 46
58
+ },
59
+ "name": "envs",
60
+ "isOptional": false,
61
+ "type": {
62
+ "__schema": "TypeRefSchema",
63
+ "location": {
64
+ "filePath": "aspect.main.runtime.ts",
65
+ "line": 36,
66
+ "character": 60
67
+ },
68
+ "name": "EnvsMain",
69
+ "componentId": {
70
+ "scope": "teambit.envs",
71
+ "name": "envs",
72
+ "version": "0.0.887"
73
+ }
74
+ }
75
+ },
76
+ {
77
+ "__schema": "ParameterSchema",
78
+ "location": {
79
+ "filePath": "aspect.main.runtime.ts",
80
+ "line": 36,
81
+ "character": 70
82
+ },
83
+ "name": "workspace",
84
+ "isOptional": false,
85
+ "type": {
86
+ "__schema": "TypeRefSchema",
87
+ "location": {
88
+ "filePath": "aspect.main.runtime.ts",
89
+ "line": 36,
90
+ "character": 89
91
+ },
92
+ "name": "Workspace",
93
+ "componentId": {
94
+ "scope": "teambit.workspace",
95
+ "name": "workspace",
96
+ "version": "0.0.887"
97
+ }
98
+ }
99
+ }
100
+ ]
101
+ },
102
+ {
103
+ "__schema": "FunctionLikeSchema",
104
+ "location": {
105
+ "filePath": "aspect.main.runtime.ts",
106
+ "line": 41,
107
+ "character": 3
108
+ },
109
+ "name": "compose",
110
+ "signature": "(method) AspectMain.compose(transformers?: EnvTransformer[], targetEnv?: Environment): Environment",
111
+ "modifiers": [],
112
+ "params": [
113
+ {
114
+ "__schema": "ParameterSchema",
115
+ "location": {
116
+ "filePath": "aspect.main.runtime.ts",
117
+ "line": 41,
118
+ "character": 11
119
+ },
120
+ "name": "transformers",
121
+ "isOptional": false,
122
+ "defaultValue": "[]",
123
+ "type": {
124
+ "__schema": "TypeArraySchema",
125
+ "location": {
126
+ "filePath": "aspect.main.runtime.ts",
127
+ "line": 41,
128
+ "character": 25
129
+ },
130
+ "type": {
131
+ "__schema": "TypeRefSchema",
132
+ "location": {
133
+ "filePath": "aspect.main.runtime.ts",
134
+ "line": 41,
135
+ "character": 25
136
+ },
137
+ "name": "EnvTransformer",
138
+ "componentId": {
139
+ "scope": "teambit.envs",
140
+ "name": "envs",
141
+ "version": "0.0.887"
142
+ }
143
+ }
144
+ }
145
+ },
146
+ {
147
+ "__schema": "ParameterSchema",
148
+ "location": {
149
+ "filePath": "aspect.main.runtime.ts",
150
+ "line": 41,
151
+ "character": 48
152
+ },
153
+ "name": "targetEnv",
154
+ "isOptional": false,
155
+ "defaultValue": "{}",
156
+ "type": {
157
+ "__schema": "TypeRefSchema",
158
+ "location": {
159
+ "filePath": "aspect.main.runtime.ts",
160
+ "line": 41,
161
+ "character": 59
162
+ },
163
+ "name": "Environment",
164
+ "componentId": {
165
+ "scope": "teambit.envs",
166
+ "name": "envs",
167
+ "version": "0.0.887"
168
+ }
169
+ }
170
+ }
171
+ ],
172
+ "returnType": {
173
+ "__schema": "TypeRefSchema",
174
+ "location": {
175
+ "filePath": "aspect.main.runtime.ts",
176
+ "line": 41,
177
+ "character": 3
178
+ },
179
+ "name": "Environment",
180
+ "componentId": {
181
+ "scope": "teambit.envs",
182
+ "name": "envs",
183
+ "version": "0.0.887"
184
+ }
185
+ },
186
+ "doc": {
187
+ "__schema": "DocSchema",
188
+ "location": {
189
+ "filePath": "aspect.main.runtime.ts",
190
+ "line": 38,
191
+ "character": 3
192
+ },
193
+ "raw": "/**\n * compose your own aspect environment.\n */",
194
+ "comment": "compose your own aspect environment."
195
+ }
196
+ },
197
+ {
198
+ "__schema": "FunctionLikeSchema",
199
+ "location": {
200
+ "filePath": "aspect.main.runtime.ts",
201
+ "line": 45,
202
+ "character": 3
203
+ },
204
+ "name": "listAspectsOfComponent",
205
+ "signature": "(method) AspectMain.listAspectsOfComponent(pattern?: string): Promise<{\n [component: string]: AspectSource[];\n}>",
206
+ "modifiers": [
207
+ "async"
208
+ ],
209
+ "params": [
210
+ {
211
+ "__schema": "ParameterSchema",
212
+ "location": {
213
+ "filePath": "aspect.main.runtime.ts",
214
+ "line": 45,
215
+ "character": 32
216
+ },
217
+ "name": "pattern",
218
+ "isOptional": true,
219
+ "type": {
220
+ "__schema": "KeywordTypeSchema",
221
+ "location": {
222
+ "filePath": "aspect.main.runtime.ts",
223
+ "line": 45,
224
+ "character": 42
225
+ },
226
+ "name": "string"
227
+ }
228
+ }
229
+ ],
230
+ "returnType": {
231
+ "__schema": "TypeRefSchema",
232
+ "location": {
233
+ "filePath": "aspect.main.runtime.ts",
234
+ "line": 45,
235
+ "character": 51
236
+ },
237
+ "name": "Promise",
238
+ "packageName": "",
239
+ "typeArgs": [
240
+ {
241
+ "__schema": "TypeLiteralSchema",
242
+ "location": {
243
+ "filePath": "aspect.main.runtime.ts",
244
+ "line": 45,
245
+ "character": 59
246
+ },
247
+ "members": [
248
+ {
249
+ "__schema": "IndexSignatureSchema",
250
+ "location": {
251
+ "filePath": "aspect.main.runtime.ts",
252
+ "line": 45,
253
+ "character": 61
254
+ },
255
+ "params": [
256
+ {
257
+ "__schema": "ParameterSchema",
258
+ "location": {
259
+ "filePath": "aspect.main.runtime.ts",
260
+ "line": 45,
261
+ "character": 62
262
+ },
263
+ "name": "component",
264
+ "isOptional": false,
265
+ "type": {
266
+ "__schema": "KeywordTypeSchema",
267
+ "location": {
268
+ "filePath": "aspect.main.runtime.ts",
269
+ "line": 45,
270
+ "character": 73
271
+ },
272
+ "name": "string"
273
+ }
274
+ }
275
+ ],
276
+ "type": {
277
+ "__schema": "TypeArraySchema",
278
+ "location": {
279
+ "filePath": "aspect.main.runtime.ts",
280
+ "line": 45,
281
+ "character": 82
282
+ },
283
+ "type": {
284
+ "__schema": "InferenceTypeSchema",
285
+ "location": {
286
+ "filePath": "aspect.main.runtime.ts",
287
+ "line": 45,
288
+ "character": 82
289
+ },
290
+ "type": "{\n aspectName: string;\n source: string;\n level: string;\n}",
291
+ "name": "AspectSource"
292
+ }
293
+ }
294
+ }
295
+ ]
296
+ }
297
+ ]
298
+ }
299
+ },
300
+ {
301
+ "__schema": "GetAccessorSchema",
302
+ "location": {
303
+ "filePath": "aspect.main.runtime.ts",
304
+ "line": 61,
305
+ "character": 3
306
+ },
307
+ "name": "babelConfig",
308
+ "signature": "(getter) AspectMain.babelConfig: {\n presets: (string | (string | {\n targets: {\n node: number;\n };\n useBuiltIns: string;\n corejs: number;\n })[])[];\n plugins: (string | (string | {\n lazy: () => boolean;\n })[] | (string | {\n legacy: boolean;\n })[])[];\n sourceMaps: boolean;\n}",
309
+ "type": {
310
+ "__schema": "InferenceTypeSchema",
311
+ "location": {
312
+ "filePath": "aspect.main.runtime.ts",
313
+ "line": 61,
314
+ "character": 3
315
+ },
316
+ "type": "boolean;\n}"
317
+ }
318
+ },
319
+ {
320
+ "__schema": "FunctionLikeSchema",
321
+ "location": {
322
+ "filePath": "aspect.main.runtime.ts",
323
+ "line": 91,
324
+ "character": 3
325
+ },
326
+ "name": "setAspectsToComponents",
327
+ "signature": "(method) AspectMain.setAspectsToComponents(pattern: string, aspectId: string, config?: Record<string, any>, options?: SetAspectOptions): Promise<ComponentID[]>",
328
+ "modifiers": [
329
+ "async"
330
+ ],
331
+ "params": [
332
+ {
333
+ "__schema": "ParameterSchema",
334
+ "location": {
335
+ "filePath": "aspect.main.runtime.ts",
336
+ "line": 92,
337
+ "character": 5
338
+ },
339
+ "name": "pattern",
340
+ "isOptional": false,
341
+ "type": {
342
+ "__schema": "KeywordTypeSchema",
343
+ "location": {
344
+ "filePath": "aspect.main.runtime.ts",
345
+ "line": 92,
346
+ "character": 14
347
+ },
348
+ "name": "string"
349
+ }
350
+ },
351
+ {
352
+ "__schema": "ParameterSchema",
353
+ "location": {
354
+ "filePath": "aspect.main.runtime.ts",
355
+ "line": 93,
356
+ "character": 5
357
+ },
358
+ "name": "aspectId",
359
+ "isOptional": false,
360
+ "type": {
361
+ "__schema": "KeywordTypeSchema",
362
+ "location": {
363
+ "filePath": "aspect.main.runtime.ts",
364
+ "line": 93,
365
+ "character": 15
366
+ },
367
+ "name": "string"
368
+ }
369
+ },
370
+ {
371
+ "__schema": "ParameterSchema",
372
+ "location": {
373
+ "filePath": "aspect.main.runtime.ts",
374
+ "line": 94,
375
+ "character": 5
376
+ },
377
+ "name": "config",
378
+ "isOptional": false,
379
+ "defaultValue": "{}",
380
+ "type": {
381
+ "__schema": "TypeRefSchema",
382
+ "location": {
383
+ "filePath": "aspect.main.runtime.ts",
384
+ "line": 94,
385
+ "character": 13
386
+ },
387
+ "name": "Record",
388
+ "packageName": "",
389
+ "typeArgs": [
390
+ {
391
+ "__schema": "KeywordTypeSchema",
392
+ "location": {
393
+ "filePath": "aspect.main.runtime.ts",
394
+ "line": 94,
395
+ "character": 20
396
+ },
397
+ "name": "string"
398
+ },
399
+ {
400
+ "__schema": "KeywordTypeSchema",
401
+ "location": {
402
+ "filePath": "aspect.main.runtime.ts",
403
+ "line": 94,
404
+ "character": 28
405
+ },
406
+ "name": "any"
407
+ }
408
+ ]
409
+ }
410
+ },
411
+ {
412
+ "__schema": "ParameterSchema",
413
+ "location": {
414
+ "filePath": "aspect.main.runtime.ts",
415
+ "line": 95,
416
+ "character": 5
417
+ },
418
+ "name": "options",
419
+ "isOptional": false,
420
+ "defaultValue": "{}",
421
+ "type": {
422
+ "__schema": "InferenceTypeSchema",
423
+ "location": {
424
+ "filePath": "aspect.main.runtime.ts",
425
+ "line": 95,
426
+ "character": 14
427
+ },
428
+ "type": "SetAspectOptions",
429
+ "name": "SetAspectOptions"
430
+ }
431
+ }
432
+ ],
433
+ "returnType": {
434
+ "__schema": "TypeRefSchema",
435
+ "location": {
436
+ "filePath": "aspect.main.runtime.ts",
437
+ "line": 96,
438
+ "character": 6
439
+ },
440
+ "name": "Promise",
441
+ "packageName": "",
442
+ "typeArgs": [
443
+ {
444
+ "__schema": "TypeArraySchema",
445
+ "location": {
446
+ "filePath": "aspect.main.runtime.ts",
447
+ "line": 96,
448
+ "character": 14
449
+ },
450
+ "type": {
451
+ "__schema": "TypeRefSchema",
452
+ "location": {
453
+ "filePath": "aspect.main.runtime.ts",
454
+ "line": 96,
455
+ "character": 14
456
+ },
457
+ "name": "ComponentID",
458
+ "componentId": {
459
+ "scope": "teambit.component",
460
+ "name": "component-id",
461
+ "version": "0.0.419"
462
+ }
463
+ }
464
+ }
465
+ ]
466
+ }
467
+ },
468
+ {
469
+ "__schema": "FunctionLikeSchema",
470
+ "location": {
471
+ "filePath": "aspect.main.runtime.ts",
472
+ "line": 108,
473
+ "character": 3
474
+ },
475
+ "name": "unsetAspectsFromComponents",
476
+ "signature": "(method) AspectMain.unsetAspectsFromComponents(pattern: string, aspectId: string): Promise<ComponentID[]>",
477
+ "modifiers": [
478
+ "async"
479
+ ],
480
+ "params": [
481
+ {
482
+ "__schema": "ParameterSchema",
483
+ "location": {
484
+ "filePath": "aspect.main.runtime.ts",
485
+ "line": 108,
486
+ "character": 36
487
+ },
488
+ "name": "pattern",
489
+ "isOptional": false,
490
+ "type": {
491
+ "__schema": "KeywordTypeSchema",
492
+ "location": {
493
+ "filePath": "aspect.main.runtime.ts",
494
+ "line": 108,
495
+ "character": 45
496
+ },
497
+ "name": "string"
498
+ }
499
+ },
500
+ {
501
+ "__schema": "ParameterSchema",
502
+ "location": {
503
+ "filePath": "aspect.main.runtime.ts",
504
+ "line": 108,
505
+ "character": 53
506
+ },
507
+ "name": "aspectId",
508
+ "isOptional": false,
509
+ "type": {
510
+ "__schema": "KeywordTypeSchema",
511
+ "location": {
512
+ "filePath": "aspect.main.runtime.ts",
513
+ "line": 108,
514
+ "character": 63
515
+ },
516
+ "name": "string"
517
+ }
518
+ }
519
+ ],
520
+ "returnType": {
521
+ "__schema": "TypeRefSchema",
522
+ "location": {
523
+ "filePath": "aspect.main.runtime.ts",
524
+ "line": 108,
525
+ "character": 72
526
+ },
527
+ "name": "Promise",
528
+ "packageName": "",
529
+ "typeArgs": [
530
+ {
531
+ "__schema": "TypeArraySchema",
532
+ "location": {
533
+ "filePath": "aspect.main.runtime.ts",
534
+ "line": 108,
535
+ "character": 80
536
+ },
537
+ "type": {
538
+ "__schema": "TypeRefSchema",
539
+ "location": {
540
+ "filePath": "aspect.main.runtime.ts",
541
+ "line": 108,
542
+ "character": 80
543
+ },
544
+ "name": "ComponentID",
545
+ "componentId": {
546
+ "scope": "teambit.component",
547
+ "name": "component-id",
548
+ "version": "0.0.419"
549
+ }
550
+ }
551
+ }
552
+ ]
553
+ }
554
+ },
555
+ {
556
+ "__schema": "FunctionLikeSchema",
557
+ "location": {
558
+ "filePath": "aspect.main.runtime.ts",
559
+ "line": 123,
560
+ "character": 3
561
+ },
562
+ "name": "getAspectsOfComponent",
563
+ "signature": "(method) AspectMain.getAspectsOfComponent(id: string | ComponentID): Promise<AspectList>",
564
+ "modifiers": [
565
+ "async"
566
+ ],
567
+ "params": [
568
+ {
569
+ "__schema": "ParameterSchema",
570
+ "location": {
571
+ "filePath": "aspect.main.runtime.ts",
572
+ "line": 123,
573
+ "character": 31
574
+ },
575
+ "name": "id",
576
+ "isOptional": false,
577
+ "type": {
578
+ "__schema": "TypeUnionSchema",
579
+ "location": {
580
+ "filePath": "aspect.main.runtime.ts",
581
+ "line": 123,
582
+ "character": 35
583
+ },
584
+ "types": [
585
+ {
586
+ "__schema": "KeywordTypeSchema",
587
+ "location": {
588
+ "filePath": "aspect.main.runtime.ts",
589
+ "line": 123,
590
+ "character": 35
591
+ },
592
+ "name": "string"
593
+ },
594
+ {
595
+ "__schema": "TypeRefSchema",
596
+ "location": {
597
+ "filePath": "aspect.main.runtime.ts",
598
+ "line": 123,
599
+ "character": 44
600
+ },
601
+ "name": "ComponentID",
602
+ "componentId": {
603
+ "scope": "teambit.component",
604
+ "name": "component-id",
605
+ "version": "0.0.419"
606
+ }
607
+ }
608
+ ]
609
+ }
610
+ }
611
+ ],
612
+ "returnType": {
613
+ "__schema": "TypeRefSchema",
614
+ "location": {
615
+ "filePath": "aspect.main.runtime.ts",
616
+ "line": 123,
617
+ "character": 58
618
+ },
619
+ "name": "Promise",
620
+ "packageName": "",
621
+ "typeArgs": [
622
+ {
623
+ "__schema": "TypeRefSchema",
624
+ "location": {
625
+ "filePath": "aspect.main.runtime.ts",
626
+ "line": 123,
627
+ "character": 66
628
+ },
629
+ "name": "AspectList",
630
+ "componentId": {
631
+ "scope": "teambit.component",
632
+ "name": "component",
633
+ "version": "0.0.887"
634
+ }
635
+ }
636
+ ]
637
+ },
638
+ "doc": {
639
+ "__schema": "DocSchema",
640
+ "location": {
641
+ "filePath": "aspect.main.runtime.ts",
642
+ "line": 120,
643
+ "character": 3
644
+ },
645
+ "raw": "/**\n * returns all aspects info of a component, include the config and the data.\n */",
646
+ "comment": "returns all aspects info of a component, include the config and the data."
647
+ }
648
+ },
649
+ {
650
+ "__schema": "FunctionLikeSchema",
651
+ "location": {
652
+ "filePath": "aspect.main.runtime.ts",
653
+ "line": 134,
654
+ "character": 3
655
+ },
656
+ "name": "getAspectsOfComponentForDebugging",
657
+ "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}>",
658
+ "modifiers": [
659
+ "async"
660
+ ],
661
+ "params": [
662
+ {
663
+ "__schema": "ParameterSchema",
664
+ "location": {
665
+ "filePath": "aspect.main.runtime.ts",
666
+ "line": 134,
667
+ "character": 43
668
+ },
669
+ "name": "id",
670
+ "isOptional": false,
671
+ "type": {
672
+ "__schema": "TypeUnionSchema",
673
+ "location": {
674
+ "filePath": "aspect.main.runtime.ts",
675
+ "line": 134,
676
+ "character": 47
677
+ },
678
+ "types": [
679
+ {
680
+ "__schema": "KeywordTypeSchema",
681
+ "location": {
682
+ "filePath": "aspect.main.runtime.ts",
683
+ "line": 134,
684
+ "character": 47
685
+ },
686
+ "name": "string"
687
+ },
688
+ {
689
+ "__schema": "TypeRefSchema",
690
+ "location": {
691
+ "filePath": "aspect.main.runtime.ts",
692
+ "line": 134,
693
+ "character": 56
694
+ },
695
+ "name": "ComponentID",
696
+ "componentId": {
697
+ "scope": "teambit.component",
698
+ "name": "component-id",
699
+ "version": "0.0.419"
700
+ }
701
+ }
702
+ ]
703
+ }
704
+ }
705
+ ],
706
+ "returnType": {
707
+ "__schema": "InferenceTypeSchema",
708
+ "location": {
709
+ "filePath": "aspect.main.runtime.ts",
710
+ "line": 134,
711
+ "character": 3
712
+ },
713
+ "type": "Promise<{\n aspects: AspectList;\n extensions: ExtensionDataList;\n beforeMerge: {\n extensions: ExtensionDataList;\n origin: ExtensionsOrigin;\n extraData: any;\n }[];\n}>"
714
+ },
715
+ "doc": {
716
+ "__schema": "DocSchema",
717
+ "location": {
718
+ "filePath": "aspect.main.runtime.ts",
719
+ "line": 131,
720
+ "character": 3
721
+ },
722
+ "raw": "/**\n * helps debugging why/how an aspect was set to a component\n */",
723
+ "comment": "helps debugging why/how an aspect was set to a component"
724
+ }
725
+ },
726
+ {
727
+ "__schema": "FunctionLikeSchema",
728
+ "location": {
729
+ "filePath": "aspect.main.runtime.ts",
730
+ "line": 148,
731
+ "character": 3
732
+ },
733
+ "name": "updateAspectsToComponents",
734
+ "signature": "(method) AspectMain.updateAspectsToComponents(aspectId: string, pattern?: string): Promise<{\n updated: ComponentID[];\n alreadyUpToDate: ComponentID[];\n}>",
735
+ "modifiers": [
736
+ "async"
737
+ ],
738
+ "params": [
739
+ {
740
+ "__schema": "ParameterSchema",
741
+ "location": {
742
+ "filePath": "aspect.main.runtime.ts",
743
+ "line": 149,
744
+ "character": 5
745
+ },
746
+ "name": "aspectId",
747
+ "isOptional": false,
748
+ "type": {
749
+ "__schema": "KeywordTypeSchema",
750
+ "location": {
751
+ "filePath": "aspect.main.runtime.ts",
752
+ "line": 149,
753
+ "character": 15
754
+ },
755
+ "name": "string"
756
+ }
757
+ },
758
+ {
759
+ "__schema": "ParameterSchema",
760
+ "location": {
761
+ "filePath": "aspect.main.runtime.ts",
762
+ "line": 150,
763
+ "character": 5
764
+ },
765
+ "name": "pattern",
766
+ "isOptional": true,
767
+ "type": {
768
+ "__schema": "KeywordTypeSchema",
769
+ "location": {
770
+ "filePath": "aspect.main.runtime.ts",
771
+ "line": 150,
772
+ "character": 15
773
+ },
774
+ "name": "string"
775
+ }
776
+ }
777
+ ],
778
+ "returnType": {
779
+ "__schema": "TypeRefSchema",
780
+ "location": {
781
+ "filePath": "aspect.main.runtime.ts",
782
+ "line": 151,
783
+ "character": 6
784
+ },
785
+ "name": "Promise",
786
+ "packageName": "",
787
+ "typeArgs": [
788
+ {
789
+ "__schema": "TypeLiteralSchema",
790
+ "location": {
791
+ "filePath": "aspect.main.runtime.ts",
792
+ "line": 151,
793
+ "character": 14
794
+ },
795
+ "members": [
796
+ {
797
+ "__schema": "VariableLikeSchema",
798
+ "location": {
799
+ "filePath": "aspect.main.runtime.ts",
800
+ "line": 151,
801
+ "character": 16
802
+ },
803
+ "name": "updated",
804
+ "signature": "(property) updated: ComponentID[]",
805
+ "isOptional": false,
806
+ "type": {
807
+ "__schema": "TypeArraySchema",
808
+ "location": {
809
+ "filePath": "aspect.main.runtime.ts",
810
+ "line": 151,
811
+ "character": 25
812
+ },
813
+ "type": {
814
+ "__schema": "TypeRefSchema",
815
+ "location": {
816
+ "filePath": "aspect.main.runtime.ts",
817
+ "line": 151,
818
+ "character": 25
819
+ },
820
+ "name": "ComponentID",
821
+ "componentId": {
822
+ "scope": "teambit.component",
823
+ "name": "component-id",
824
+ "version": "0.0.419"
825
+ }
826
+ }
827
+ }
828
+ },
829
+ {
830
+ "__schema": "VariableLikeSchema",
831
+ "location": {
832
+ "filePath": "aspect.main.runtime.ts",
833
+ "line": 151,
834
+ "character": 40
835
+ },
836
+ "name": "alreadyUpToDate",
837
+ "signature": "(property) alreadyUpToDate: ComponentID[]",
838
+ "isOptional": false,
839
+ "type": {
840
+ "__schema": "TypeArraySchema",
841
+ "location": {
842
+ "filePath": "aspect.main.runtime.ts",
843
+ "line": 151,
844
+ "character": 57
845
+ },
846
+ "type": {
847
+ "__schema": "TypeRefSchema",
848
+ "location": {
849
+ "filePath": "aspect.main.runtime.ts",
850
+ "line": 151,
851
+ "character": 57
852
+ },
853
+ "name": "ComponentID",
854
+ "componentId": {
855
+ "scope": "teambit.component",
856
+ "name": "component-id",
857
+ "version": "0.0.419"
858
+ }
859
+ }
860
+ }
861
+ }
862
+ ]
863
+ }
864
+ ]
865
+ }
866
+ },
867
+ {
868
+ "__schema": "FunctionLikeSchema",
869
+ "location": {
870
+ "filePath": "aspect.main.runtime.ts",
871
+ "line": 189,
872
+ "character": 3
873
+ },
874
+ "name": "overrideDependencies",
875
+ "signature": "(method) AspectMain.overrideDependencies(dependencyPolicy: EnvPolicyConfigObject): EnvTransformer",
876
+ "modifiers": [],
877
+ "params": [
878
+ {
879
+ "__schema": "ParameterSchema",
880
+ "location": {
881
+ "filePath": "aspect.main.runtime.ts",
882
+ "line": 189,
883
+ "character": 24
884
+ },
885
+ "name": "dependencyPolicy",
886
+ "isOptional": false,
887
+ "type": {
888
+ "__schema": "TypeRefSchema",
889
+ "location": {
890
+ "filePath": "aspect.main.runtime.ts",
891
+ "line": 189,
892
+ "character": 42
893
+ },
894
+ "name": "EnvPolicyConfigObject",
895
+ "componentId": {
896
+ "scope": "teambit.dependencies",
897
+ "name": "dependency-resolver",
898
+ "version": "0.0.887"
899
+ }
900
+ }
901
+ }
902
+ ],
903
+ "returnType": {
904
+ "__schema": "TypeRefSchema",
905
+ "location": {
906
+ "filePath": "aspect.main.runtime.ts",
907
+ "line": 189,
908
+ "character": 3
909
+ },
910
+ "name": "EnvTransformer",
911
+ "componentId": {
912
+ "scope": "teambit.envs",
913
+ "name": "envs",
914
+ "version": "0.0.887"
915
+ }
916
+ },
917
+ "doc": {
918
+ "__schema": "DocSchema",
919
+ "location": {
920
+ "filePath": "aspect.main.runtime.ts",
921
+ "line": 186,
922
+ "character": 3
923
+ },
924
+ "raw": "/**\n * override the dependency configuration of the component environment.\n */",
925
+ "comment": "override the dependency configuration of the component environment."
926
+ }
927
+ },
928
+ {
929
+ "__schema": "VariableLikeSchema",
930
+ "location": {
931
+ "filePath": "aspect.main.runtime.ts",
932
+ "line": 198,
933
+ "character": 3
934
+ },
935
+ "name": "runtime",
936
+ "signature": "(property) AspectMain.runtime: RuntimeDefinition",
937
+ "isOptional": false,
938
+ "type": {
939
+ "__schema": "InferenceTypeSchema",
940
+ "location": {
941
+ "filePath": "aspect.main.runtime.ts",
942
+ "line": 198,
943
+ "character": 3
944
+ },
945
+ "type": "RuntimeDefinition"
946
+ }
947
+ },
948
+ {
949
+ "__schema": "VariableLikeSchema",
950
+ "location": {
951
+ "filePath": "aspect.main.runtime.ts",
952
+ "line": 199,
953
+ "character": 3
954
+ },
955
+ "name": "dependencies",
956
+ "signature": "(property) AspectMain.dependencies: Aspect[]",
957
+ "isOptional": false,
958
+ "type": {
959
+ "__schema": "InferenceTypeSchema",
960
+ "location": {
961
+ "filePath": "aspect.main.runtime.ts",
962
+ "line": 199,
963
+ "character": 3
964
+ },
965
+ "type": "Aspect[]"
966
+ }
967
+ },
968
+ {
969
+ "__schema": "FunctionLikeSchema",
970
+ "location": {
971
+ "filePath": "aspect.main.runtime.ts",
972
+ "line": 211,
973
+ "character": 3
974
+ },
975
+ "name": "provider",
976
+ "signature": "(method) AspectMain.provider([react, envs, builder, aspectLoader, compiler, babel, generator, workspace, cli]: [\n ReactMain,\n EnvsMain,\n BuilderMain,\n AspectLoaderMain,\n CompilerMain,\n BabelMain,\n GeneratorMain,\n Workspace,\n CLIMain\n]): Promise<AspectMain>",
977
+ "modifiers": [
978
+ "static",
979
+ "async"
980
+ ],
981
+ "params": [
982
+ {
983
+ "__schema": "ParameterSchema",
984
+ "location": {
985
+ "filePath": "aspect.main.runtime.ts",
986
+ "line": 211,
987
+ "character": 25
988
+ },
989
+ "name": "[ react, envs, builder, aspectLoader, compiler, babel, generator, workspace, cli ]",
990
+ "isOptional": false,
991
+ "type": {
992
+ "__schema": "TupleTypeSchema",
993
+ "location": {
994
+ "filePath": "aspect.main.runtime.ts",
995
+ "line": 211,
996
+ "character": 107
997
+ },
998
+ "elements": [
999
+ {
1000
+ "__schema": "TypeRefSchema",
1001
+ "location": {
1002
+ "filePath": "aspect.main.runtime.ts",
1003
+ "line": 212,
1004
+ "character": 5
1005
+ },
1006
+ "name": "ReactMain",
1007
+ "componentId": {
1008
+ "scope": "teambit.react",
1009
+ "name": "react",
1010
+ "version": "0.0.887"
1011
+ }
1012
+ },
1013
+ {
1014
+ "__schema": "TypeRefSchema",
1015
+ "location": {
1016
+ "filePath": "aspect.main.runtime.ts",
1017
+ "line": 213,
1018
+ "character": 5
1019
+ },
1020
+ "name": "EnvsMain",
1021
+ "componentId": {
1022
+ "scope": "teambit.envs",
1023
+ "name": "envs",
1024
+ "version": "0.0.887"
1025
+ }
1026
+ },
1027
+ {
1028
+ "__schema": "TypeRefSchema",
1029
+ "location": {
1030
+ "filePath": "aspect.main.runtime.ts",
1031
+ "line": 214,
1032
+ "character": 5
1033
+ },
1034
+ "name": "BuilderMain",
1035
+ "componentId": {
1036
+ "scope": "teambit.pipelines",
1037
+ "name": "builder",
1038
+ "version": "0.0.887"
1039
+ }
1040
+ },
1041
+ {
1042
+ "__schema": "TypeRefSchema",
1043
+ "location": {
1044
+ "filePath": "aspect.main.runtime.ts",
1045
+ "line": 215,
1046
+ "character": 5
1047
+ },
1048
+ "name": "AspectLoaderMain",
1049
+ "componentId": {
1050
+ "scope": "teambit.harmony",
1051
+ "name": "aspect-loader",
1052
+ "version": "0.0.887"
1053
+ }
1054
+ },
1055
+ {
1056
+ "__schema": "TypeRefSchema",
1057
+ "location": {
1058
+ "filePath": "aspect.main.runtime.ts",
1059
+ "line": 216,
1060
+ "character": 5
1061
+ },
1062
+ "name": "CompilerMain",
1063
+ "componentId": {
1064
+ "scope": "teambit.compilation",
1065
+ "name": "compiler",
1066
+ "version": "0.0.887"
1067
+ }
1068
+ },
1069
+ {
1070
+ "__schema": "TypeRefSchema",
1071
+ "location": {
1072
+ "filePath": "aspect.main.runtime.ts",
1073
+ "line": 217,
1074
+ "character": 5
1075
+ },
1076
+ "name": "BabelMain",
1077
+ "componentId": {
1078
+ "scope": "teambit.compilation",
1079
+ "name": "babel",
1080
+ "version": "0.0.887"
1081
+ }
1082
+ },
1083
+ {
1084
+ "__schema": "TypeRefSchema",
1085
+ "location": {
1086
+ "filePath": "aspect.main.runtime.ts",
1087
+ "line": 218,
1088
+ "character": 5
1089
+ },
1090
+ "name": "GeneratorMain",
1091
+ "componentId": {
1092
+ "scope": "teambit.generator",
1093
+ "name": "generator",
1094
+ "version": "0.0.887"
1095
+ }
1096
+ },
1097
+ {
1098
+ "__schema": "TypeRefSchema",
1099
+ "location": {
1100
+ "filePath": "aspect.main.runtime.ts",
1101
+ "line": 219,
1102
+ "character": 5
1103
+ },
1104
+ "name": "Workspace",
1105
+ "componentId": {
1106
+ "scope": "teambit.workspace",
1107
+ "name": "workspace",
1108
+ "version": "0.0.887"
1109
+ }
1110
+ },
1111
+ {
1112
+ "__schema": "TypeRefSchema",
1113
+ "location": {
1114
+ "filePath": "aspect.main.runtime.ts",
1115
+ "line": 220,
1116
+ "character": 5
1117
+ },
1118
+ "name": "CLIMain",
1119
+ "componentId": {
1120
+ "scope": "teambit.harmony",
1121
+ "name": "cli",
1122
+ "version": "0.0.595"
1123
+ }
1124
+ }
1125
+ ]
1126
+ }
1127
+ }
1128
+ ],
1129
+ "returnType": {
1130
+ "__schema": "InferenceTypeSchema",
1131
+ "location": {
1132
+ "filePath": "aspect.main.runtime.ts",
1133
+ "line": 211,
1134
+ "character": 3
1135
+ },
1136
+ "type": "Promise<AspectMain>"
1137
+ }
1138
+ }
1139
+ ]
1140
+ },
1141
+ {
1142
+ "__schema": "VariableLikeSchema",
1143
+ "location": {
1144
+ "filePath": "aspect.aspect.ts",
1145
+ "line": 3,
1146
+ "character": 14
1147
+ },
1148
+ "name": "AspectAspect",
1149
+ "signature": "const AspectAspect: Aspect",
1150
+ "isOptional": false,
1151
+ "type": {
1152
+ "__schema": "TypeRefSchema",
1153
+ "location": {
1154
+ "filePath": "aspect.aspect.ts",
1155
+ "line": 3,
1156
+ "character": 14
1157
+ },
1158
+ "name": "Aspect",
1159
+ "componentId": {
1160
+ "scope": "teambit.harmony",
1161
+ "name": "harmony",
1162
+ "version": "0.3.3"
1163
+ }
1164
+ }
1165
+ },
1166
+ {
1167
+ "__schema": "VariableLikeSchema",
1168
+ "location": {
1169
+ "filePath": "aspect.aspect.ts",
1170
+ "line": 3,
1171
+ "character": 14
1172
+ },
1173
+ "name": "AspectAspect",
1174
+ "signature": "const AspectAspect: Aspect",
1175
+ "isOptional": false,
1176
+ "type": {
1177
+ "__schema": "TypeRefSchema",
1178
+ "location": {
1179
+ "filePath": "aspect.aspect.ts",
1180
+ "line": 3,
1181
+ "character": 14
1182
+ },
1183
+ "name": "Aspect",
1184
+ "componentId": {
1185
+ "scope": "teambit.harmony",
1186
+ "name": "harmony",
1187
+ "version": "0.3.3"
1188
+ }
1189
+ }
1190
+ },
1191
+ {
1192
+ "__schema": "ClassSchema",
1193
+ "className": "AspectEnv",
1194
+ "location": {
1195
+ "filePath": "aspect.env.ts",
1196
+ "line": 20,
1197
+ "character": 1
1198
+ },
1199
+ "members": [
1200
+ {
1201
+ "__schema": "ConstructorSchema",
1202
+ "location": {
1203
+ "filePath": "aspect.env.ts",
1204
+ "line": 21,
1205
+ "character": 3
1206
+ },
1207
+ "params": [
1208
+ {
1209
+ "__schema": "ParameterSchema",
1210
+ "location": {
1211
+ "filePath": "aspect.env.ts",
1212
+ "line": 21,
1213
+ "character": 15
1214
+ },
1215
+ "name": "reactEnv",
1216
+ "isOptional": false,
1217
+ "type": {
1218
+ "__schema": "TypeRefSchema",
1219
+ "location": {
1220
+ "filePath": "aspect.env.ts",
1221
+ "line": 21,
1222
+ "character": 33
1223
+ },
1224
+ "name": "ReactEnv",
1225
+ "componentId": {
1226
+ "scope": "teambit.react",
1227
+ "name": "react",
1228
+ "version": "0.0.887"
1229
+ }
1230
+ }
1231
+ },
1232
+ {
1233
+ "__schema": "ParameterSchema",
1234
+ "location": {
1235
+ "filePath": "aspect.env.ts",
1236
+ "line": 21,
1237
+ "character": 43
1238
+ },
1239
+ "name": "aspectLoader",
1240
+ "isOptional": false,
1241
+ "type": {
1242
+ "__schema": "TypeRefSchema",
1243
+ "location": {
1244
+ "filePath": "aspect.env.ts",
1245
+ "line": 21,
1246
+ "character": 65
1247
+ },
1248
+ "name": "AspectLoaderMain",
1249
+ "componentId": {
1250
+ "scope": "teambit.harmony",
1251
+ "name": "aspect-loader",
1252
+ "version": "0.0.887"
1253
+ }
1254
+ }
1255
+ }
1256
+ ]
1257
+ },
1258
+ {
1259
+ "__schema": "VariableLikeSchema",
1260
+ "location": {
1261
+ "filePath": "aspect.env.ts",
1262
+ "line": 23,
1263
+ "character": 3
1264
+ },
1265
+ "name": "icon",
1266
+ "signature": "(property) AspectEnv.icon: string",
1267
+ "isOptional": false,
1268
+ "type": {
1269
+ "__schema": "InferenceTypeSchema",
1270
+ "location": {
1271
+ "filePath": "aspect.env.ts",
1272
+ "line": 23,
1273
+ "character": 3
1274
+ },
1275
+ "type": "string"
1276
+ }
1277
+ },
1278
+ {
1279
+ "__schema": "FunctionLikeSchema",
1280
+ "location": {
1281
+ "filePath": "aspect.env.ts",
1282
+ "line": 25,
1283
+ "character": 3
1284
+ },
1285
+ "name": "__getDescriptor",
1286
+ "signature": "(method) AspectEnv.__getDescriptor(): Promise<{\n type: string;\n}>",
1287
+ "modifiers": [
1288
+ "async"
1289
+ ],
1290
+ "params": [],
1291
+ "returnType": {
1292
+ "__schema": "InferenceTypeSchema",
1293
+ "location": {
1294
+ "filePath": "aspect.env.ts",
1295
+ "line": 25,
1296
+ "character": 3
1297
+ },
1298
+ "type": "Promise<{\n type: string;\n}>"
1299
+ }
1300
+ },
1301
+ {
1302
+ "__schema": "FunctionLikeSchema",
1303
+ "location": {
1304
+ "filePath": "aspect.env.ts",
1305
+ "line": 31,
1306
+ "character": 3
1307
+ },
1308
+ "name": "getTsConfig",
1309
+ "signature": "(method) AspectEnv.getTsConfig(tsConfig: TsConfigSourceFile): any",
1310
+ "modifiers": [],
1311
+ "params": [
1312
+ {
1313
+ "__schema": "ParameterSchema",
1314
+ "location": {
1315
+ "filePath": "aspect.env.ts",
1316
+ "line": 31,
1317
+ "character": 15
1318
+ },
1319
+ "name": "tsConfig",
1320
+ "isOptional": false,
1321
+ "type": {
1322
+ "__schema": "TypeRefSchema",
1323
+ "location": {
1324
+ "filePath": "aspect.env.ts",
1325
+ "line": 31,
1326
+ "character": 25
1327
+ },
1328
+ "name": "TsConfigSourceFile",
1329
+ "packageName": ""
1330
+ }
1331
+ }
1332
+ ],
1333
+ "returnType": {
1334
+ "__schema": "InferenceTypeSchema",
1335
+ "location": {
1336
+ "filePath": "aspect.env.ts",
1337
+ "line": 31,
1338
+ "character": 3
1339
+ },
1340
+ "type": "any"
1341
+ }
1342
+ },
1343
+ {
1344
+ "__schema": "FunctionLikeSchema",
1345
+ "location": {
1346
+ "filePath": "aspect.env.ts",
1347
+ "line": 38,
1348
+ "character": 3
1349
+ },
1350
+ "name": "createTsCompiler",
1351
+ "signature": "(method) AspectEnv.createTsCompiler(tsConfig: TsConfigSourceFile): Compiler",
1352
+ "modifiers": [],
1353
+ "params": [
1354
+ {
1355
+ "__schema": "ParameterSchema",
1356
+ "location": {
1357
+ "filePath": "aspect.env.ts",
1358
+ "line": 38,
1359
+ "character": 20
1360
+ },
1361
+ "name": "tsConfig",
1362
+ "isOptional": false,
1363
+ "type": {
1364
+ "__schema": "TypeRefSchema",
1365
+ "location": {
1366
+ "filePath": "aspect.env.ts",
1367
+ "line": 38,
1368
+ "character": 30
1369
+ },
1370
+ "name": "TsConfigSourceFile",
1371
+ "packageName": ""
1372
+ }
1373
+ }
1374
+ ],
1375
+ "returnType": {
1376
+ "__schema": "TypeRefSchema",
1377
+ "location": {
1378
+ "filePath": "aspect.env.ts",
1379
+ "line": 38,
1380
+ "character": 51
1381
+ },
1382
+ "name": "Compiler",
1383
+ "componentId": {
1384
+ "scope": "teambit.compilation",
1385
+ "name": "compiler",
1386
+ "version": "0.0.887"
1387
+ }
1388
+ }
1389
+ },
1390
+ {
1391
+ "__schema": "FunctionLikeSchema",
1392
+ "location": {
1393
+ "filePath": "aspect.env.ts",
1394
+ "line": 45,
1395
+ "character": 3
1396
+ },
1397
+ "name": "getTester",
1398
+ "signature": "(method) AspectEnv.getTester(jestConfigPath: string, jestModulePath?: string): Tester",
1399
+ "modifiers": [],
1400
+ "params": [
1401
+ {
1402
+ "__schema": "ParameterSchema",
1403
+ "location": {
1404
+ "filePath": "aspect.env.ts",
1405
+ "line": 45,
1406
+ "character": 13
1407
+ },
1408
+ "name": "jestConfigPath",
1409
+ "isOptional": false,
1410
+ "type": {
1411
+ "__schema": "KeywordTypeSchema",
1412
+ "location": {
1413
+ "filePath": "aspect.env.ts",
1414
+ "line": 45,
1415
+ "character": 29
1416
+ },
1417
+ "name": "string"
1418
+ }
1419
+ },
1420
+ {
1421
+ "__schema": "ParameterSchema",
1422
+ "location": {
1423
+ "filePath": "aspect.env.ts",
1424
+ "line": 45,
1425
+ "character": 37
1426
+ },
1427
+ "name": "jestModulePath",
1428
+ "isOptional": true,
1429
+ "type": {
1430
+ "__schema": "KeywordTypeSchema",
1431
+ "location": {
1432
+ "filePath": "aspect.env.ts",
1433
+ "line": 45,
1434
+ "character": 54
1435
+ },
1436
+ "name": "string"
1437
+ }
1438
+ }
1439
+ ],
1440
+ "returnType": {
1441
+ "__schema": "TypeRefSchema",
1442
+ "location": {
1443
+ "filePath": "aspect.env.ts",
1444
+ "line": 45,
1445
+ "character": 63
1446
+ },
1447
+ "name": "Tester",
1448
+ "componentId": {
1449
+ "scope": "teambit.defender",
1450
+ "name": "tester",
1451
+ "version": "0.0.887"
1452
+ }
1453
+ },
1454
+ "doc": {
1455
+ "__schema": "DocSchema",
1456
+ "location": {
1457
+ "filePath": "aspect.env.ts",
1458
+ "line": 42,
1459
+ "character": 3
1460
+ },
1461
+ "raw": "/**\n * returns a component tester.\n */",
1462
+ "comment": "returns a component tester."
1463
+ }
1464
+ },
1465
+ {
1466
+ "__schema": "FunctionLikeSchema",
1467
+ "location": {
1468
+ "filePath": "aspect.env.ts",
1469
+ "line": 50,
1470
+ "character": 3
1471
+ },
1472
+ "name": "getTemplateBundler",
1473
+ "signature": "(method) AspectEnv.getTemplateBundler(context: BundlerContext, transformers?: WebpackConfigTransformer[]): Promise<Bundler>",
1474
+ "modifiers": [
1475
+ "async"
1476
+ ],
1477
+ "params": [
1478
+ {
1479
+ "__schema": "ParameterSchema",
1480
+ "location": {
1481
+ "filePath": "aspect.env.ts",
1482
+ "line": 50,
1483
+ "character": 28
1484
+ },
1485
+ "name": "context",
1486
+ "isOptional": false,
1487
+ "type": {
1488
+ "__schema": "TypeRefSchema",
1489
+ "location": {
1490
+ "filePath": "aspect.env.ts",
1491
+ "line": 50,
1492
+ "character": 37
1493
+ },
1494
+ "name": "BundlerContext",
1495
+ "componentId": {
1496
+ "scope": "teambit.compilation",
1497
+ "name": "bundler",
1498
+ "version": "0.0.887"
1499
+ }
1500
+ }
1501
+ },
1502
+ {
1503
+ "__schema": "ParameterSchema",
1504
+ "location": {
1505
+ "filePath": "aspect.env.ts",
1506
+ "line": 50,
1507
+ "character": 53
1508
+ },
1509
+ "name": "transformers",
1510
+ "isOptional": false,
1511
+ "defaultValue": "[]",
1512
+ "type": {
1513
+ "__schema": "TypeArraySchema",
1514
+ "location": {
1515
+ "filePath": "aspect.env.ts",
1516
+ "line": 50,
1517
+ "character": 67
1518
+ },
1519
+ "type": {
1520
+ "__schema": "TypeRefSchema",
1521
+ "location": {
1522
+ "filePath": "aspect.env.ts",
1523
+ "line": 50,
1524
+ "character": 67
1525
+ },
1526
+ "name": "WebpackConfigTransformer",
1527
+ "componentId": {
1528
+ "scope": "teambit.webpack",
1529
+ "name": "webpack",
1530
+ "version": "0.0.887"
1531
+ }
1532
+ }
1533
+ }
1534
+ }
1535
+ ],
1536
+ "returnType": {
1537
+ "__schema": "TypeRefSchema",
1538
+ "location": {
1539
+ "filePath": "aspect.env.ts",
1540
+ "line": 50,
1541
+ "character": 101
1542
+ },
1543
+ "name": "Promise",
1544
+ "packageName": "",
1545
+ "typeArgs": [
1546
+ {
1547
+ "__schema": "TypeRefSchema",
1548
+ "location": {
1549
+ "filePath": "aspect.env.ts",
1550
+ "line": 50,
1551
+ "character": 109
1552
+ },
1553
+ "name": "Bundler",
1554
+ "componentId": {
1555
+ "scope": "teambit.compilation",
1556
+ "name": "bundler",
1557
+ "version": "0.0.887"
1558
+ }
1559
+ }
1560
+ ]
1561
+ }
1562
+ },
1563
+ {
1564
+ "__schema": "FunctionLikeSchema",
1565
+ "location": {
1566
+ "filePath": "aspect.env.ts",
1567
+ "line": 54,
1568
+ "character": 3
1569
+ },
1570
+ "name": "createTemplateWebpackBundler",
1571
+ "signature": "(method) AspectEnv.createTemplateWebpackBundler(context: BundlerContext, transformers?: WebpackConfigTransformer[]): Promise<Bundler>",
1572
+ "modifiers": [
1573
+ "async"
1574
+ ],
1575
+ "params": [
1576
+ {
1577
+ "__schema": "ParameterSchema",
1578
+ "location": {
1579
+ "filePath": "aspect.env.ts",
1580
+ "line": 55,
1581
+ "character": 5
1582
+ },
1583
+ "name": "context",
1584
+ "isOptional": false,
1585
+ "type": {
1586
+ "__schema": "TypeRefSchema",
1587
+ "location": {
1588
+ "filePath": "aspect.env.ts",
1589
+ "line": 55,
1590
+ "character": 14
1591
+ },
1592
+ "name": "BundlerContext",
1593
+ "componentId": {
1594
+ "scope": "teambit.compilation",
1595
+ "name": "bundler",
1596
+ "version": "0.0.887"
1597
+ }
1598
+ }
1599
+ },
1600
+ {
1601
+ "__schema": "ParameterSchema",
1602
+ "location": {
1603
+ "filePath": "aspect.env.ts",
1604
+ "line": 56,
1605
+ "character": 5
1606
+ },
1607
+ "name": "transformers",
1608
+ "isOptional": false,
1609
+ "defaultValue": "[]",
1610
+ "type": {
1611
+ "__schema": "TypeArraySchema",
1612
+ "location": {
1613
+ "filePath": "aspect.env.ts",
1614
+ "line": 56,
1615
+ "character": 19
1616
+ },
1617
+ "type": {
1618
+ "__schema": "TypeRefSchema",
1619
+ "location": {
1620
+ "filePath": "aspect.env.ts",
1621
+ "line": 56,
1622
+ "character": 19
1623
+ },
1624
+ "name": "WebpackConfigTransformer",
1625
+ "componentId": {
1626
+ "scope": "teambit.webpack",
1627
+ "name": "webpack",
1628
+ "version": "0.0.887"
1629
+ }
1630
+ }
1631
+ }
1632
+ }
1633
+ ],
1634
+ "returnType": {
1635
+ "__schema": "TypeRefSchema",
1636
+ "location": {
1637
+ "filePath": "aspect.env.ts",
1638
+ "line": 57,
1639
+ "character": 6
1640
+ },
1641
+ "name": "Promise",
1642
+ "packageName": "",
1643
+ "typeArgs": [
1644
+ {
1645
+ "__schema": "TypeRefSchema",
1646
+ "location": {
1647
+ "filePath": "aspect.env.ts",
1648
+ "line": 57,
1649
+ "character": 14
1650
+ },
1651
+ "name": "Bundler",
1652
+ "componentId": {
1653
+ "scope": "teambit.compilation",
1654
+ "name": "bundler",
1655
+ "version": "0.0.887"
1656
+ }
1657
+ }
1658
+ ]
1659
+ }
1660
+ },
1661
+ {
1662
+ "__schema": "FunctionLikeSchema",
1663
+ "location": {
1664
+ "filePath": "aspect.env.ts",
1665
+ "line": 61,
1666
+ "character": 3
1667
+ },
1668
+ "name": "getPackageJsonProps",
1669
+ "signature": "(method) AspectEnv.getPackageJsonProps(): PackageJsonProps",
1670
+ "modifiers": [],
1671
+ "params": [],
1672
+ "returnType": {
1673
+ "__schema": "TypeRefSchema",
1674
+ "location": {
1675
+ "filePath": "aspect.env.ts",
1676
+ "line": 61,
1677
+ "character": 26
1678
+ },
1679
+ "name": "PackageJsonProps",
1680
+ "componentId": {
1681
+ "scope": "teambit.pkg",
1682
+ "name": "pkg",
1683
+ "version": "0.0.887"
1684
+ }
1685
+ }
1686
+ },
1687
+ {
1688
+ "__schema": "FunctionLikeSchema",
1689
+ "location": {
1690
+ "filePath": "aspect.env.ts",
1691
+ "line": 65,
1692
+ "character": 3
1693
+ },
1694
+ "name": "getNpmIgnore",
1695
+ "signature": "(method) AspectEnv.getNpmIgnore(context?: GetNpmIgnoreContext): string[]",
1696
+ "modifiers": [],
1697
+ "params": [
1698
+ {
1699
+ "__schema": "ParameterSchema",
1700
+ "location": {
1701
+ "filePath": "aspect.env.ts",
1702
+ "line": 65,
1703
+ "character": 16
1704
+ },
1705
+ "name": "context",
1706
+ "isOptional": true,
1707
+ "type": {
1708
+ "__schema": "TypeRefSchema",
1709
+ "location": {
1710
+ "filePath": "aspect.env.ts",
1711
+ "line": 65,
1712
+ "character": 26
1713
+ },
1714
+ "name": "GetNpmIgnoreContext",
1715
+ "componentId": {
1716
+ "scope": "teambit.envs",
1717
+ "name": "envs",
1718
+ "version": "0.0.887"
1719
+ }
1720
+ }
1721
+ }
1722
+ ],
1723
+ "returnType": {
1724
+ "__schema": "TypeRefSchema",
1725
+ "location": {
1726
+ "filePath": "aspect.env.ts",
1727
+ "line": 65,
1728
+ "character": 3
1729
+ },
1730
+ "name": "string[]",
1731
+ "packageName": ""
1732
+ }
1733
+ },
1734
+ {
1735
+ "__schema": "FunctionLikeSchema",
1736
+ "location": {
1737
+ "filePath": "aspect.env.ts",
1738
+ "line": 81,
1739
+ "character": 3
1740
+ },
1741
+ "name": "getPreviewConfig",
1742
+ "signature": "(method) AspectEnv.getPreviewConfig(): {\n strategyName: string;\n splitComponentBundle: boolean;\n}",
1743
+ "modifiers": [],
1744
+ "params": [],
1745
+ "returnType": {
1746
+ "__schema": "InferenceTypeSchema",
1747
+ "location": {
1748
+ "filePath": "aspect.env.ts",
1749
+ "line": 81,
1750
+ "character": 3
1751
+ },
1752
+ "type": "{\n strategyName: string;\n splitComponentBundle: boolean;\n}"
1753
+ }
1754
+ },
1755
+ {
1756
+ "__schema": "FunctionLikeSchema",
1757
+ "location": {
1758
+ "filePath": "aspect.env.ts",
1759
+ "line": 88,
1760
+ "character": 3
1761
+ },
1762
+ "name": "getDependencies",
1763
+ "signature": "(method) AspectEnv.getDependencies(): Promise<{\n dependencies: {\n react: string;\n 'react-dom': string;\n 'core-js': string;\n '@babel/runtime': string;\n };\n devDependencies: {\n react: string;\n 'react-dom': string;\n '@types/mocha': string;\n '@types/node': string;\n '@types/react': string;\n '@types/react-dom': string;\n '@types/jest': string;\n '@types/testing-library__jest-dom': string;\n };\n peerDependencies: {\n ...;\n };\n}>",
1764
+ "modifiers": [
1765
+ "async"
1766
+ ],
1767
+ "params": [],
1768
+ "returnType": {
1769
+ "__schema": "InferenceTypeSchema",
1770
+ "location": {
1771
+ "filePath": "aspect.env.ts",
1772
+ "line": 88,
1773
+ "character": 3
1774
+ },
1775
+ "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}>"
1776
+ }
1777
+ }
1778
+ ],
1779
+ "doc": {
1780
+ "__schema": "DocSchema",
1781
+ "location": {
1782
+ "filePath": "aspect.env.ts",
1783
+ "line": 17,
1784
+ "character": 1
1785
+ },
1786
+ "raw": "/**\n * a component environment built for Aspects .\n */",
1787
+ "comment": "a component environment built for Aspects ."
1788
+ }
1789
+ }
1790
+ ]
1791
+ },
1792
+ "componentId": {
1793
+ "scope": "teambit.harmony",
1794
+ "name": "aspect",
1795
+ "version": "0.0.887"
1796
+ }
1797
+ }