@teambit/config-merger 0.0.379 → 0.0.380

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