@teambit/config-merger 0.0.123 → 0.0.125

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