@teambit/dependencies 1.0.256 → 1.0.258

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