@teambit/dependencies 1.0.187 → 1.0.188

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