@teambit/dependencies 1.0.258 → 1.0.259

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