@teambit/forking 1.0.256 → 1.0.258

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,803 +14,22 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "ClassSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "forking.main.runtime.ts",
20
- "line": 51,
21
- "character": 1
19
+ "filePath": "index.ts",
20
+ "line": 3,
21
+ "character": 15
22
22
  },
23
- "signature": "class ForkingMain",
24
23
  "name": "ForkingMain",
25
- "members": [
26
- {
27
- "__schema": "ConstructorSchema",
28
- "location": {
29
- "filePath": "forking.main.runtime.ts",
30
- "line": 52,
31
- "character": 3
32
- },
33
- "signature": "constructor ForkingMain(workspace: Workspace, install: InstallMain, dependencyResolver: DependencyResolverMain, newComponentHelper: NewComponentHelperMain, refactoring: RefactoringMain, pkg: PkgMain): ForkingMain",
34
- "name": "constructor",
35
- "params": [
36
- {
37
- "__schema": "ParameterSchema",
38
- "location": {
39
- "filePath": "forking.main.runtime.ts",
40
- "line": 53,
41
- "character": 5
42
- },
43
- "name": "workspace",
44
- "type": {
45
- "__schema": "TypeRefSchema",
46
- "location": {
47
- "filePath": "forking.main.runtime.ts",
48
- "line": 53,
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": "forking.main.runtime.ts",
64
- "line": 54,
65
- "character": 5
66
- },
67
- "name": "install",
68
- "type": {
69
- "__schema": "TypeRefSchema",
70
- "location": {
71
- "filePath": "forking.main.runtime.ts",
72
- "line": 54,
73
- "character": 22
74
- },
75
- "name": "InstallMain",
76
- "componentId": {
77
- "scope": "teambit.workspace",
78
- "name": "install"
79
- }
80
- },
81
- "isOptional": false,
82
- "isSpread": false
83
- },
84
- {
85
- "__schema": "ParameterSchema",
86
- "location": {
87
- "filePath": "forking.main.runtime.ts",
88
- "line": 55,
89
- "character": 5
90
- },
91
- "name": "dependencyResolver",
92
- "type": {
93
- "__schema": "TypeRefSchema",
94
- "location": {
95
- "filePath": "forking.main.runtime.ts",
96
- "line": 55,
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": "forking.main.runtime.ts",
112
- "line": 56,
113
- "character": 5
114
- },
115
- "name": "newComponentHelper",
116
- "type": {
117
- "__schema": "TypeRefSchema",
118
- "location": {
119
- "filePath": "forking.main.runtime.ts",
120
- "line": 56,
121
- "character": 33
122
- },
123
- "name": "NewComponentHelperMain",
124
- "componentId": {
125
- "scope": "teambit.component",
126
- "name": "new-component-helper"
127
- }
128
- },
129
- "isOptional": false,
130
- "isSpread": false
131
- },
132
- {
133
- "__schema": "ParameterSchema",
134
- "location": {
135
- "filePath": "forking.main.runtime.ts",
136
- "line": 57,
137
- "character": 5
138
- },
139
- "name": "refactoring",
140
- "type": {
141
- "__schema": "TypeRefSchema",
142
- "location": {
143
- "filePath": "forking.main.runtime.ts",
144
- "line": 57,
145
- "character": 26
146
- },
147
- "name": "RefactoringMain",
148
- "componentId": {
149
- "scope": "teambit.component",
150
- "name": "refactoring"
151
- }
152
- },
153
- "isOptional": false,
154
- "isSpread": false
155
- },
156
- {
157
- "__schema": "ParameterSchema",
158
- "location": {
159
- "filePath": "forking.main.runtime.ts",
160
- "line": 58,
161
- "character": 5
162
- },
163
- "name": "pkg",
164
- "type": {
165
- "__schema": "TypeRefSchema",
166
- "location": {
167
- "filePath": "forking.main.runtime.ts",
168
- "line": 58,
169
- "character": 18
170
- },
171
- "name": "PkgMain",
172
- "componentId": {
173
- "scope": "teambit.pkg",
174
- "name": "pkg"
175
- }
176
- },
177
- "isOptional": false,
178
- "isSpread": false
179
- }
180
- ],
181
- "returnType": {
182
- "__schema": "ThisTypeSchema",
183
- "location": {
184
- "filePath": "forking.main.runtime.ts",
185
- "line": 51,
186
- "character": 1
187
- },
188
- "name": "ForkingMain"
189
- },
190
- "modifiers": []
191
- },
192
- {
193
- "__schema": "FunctionLikeSchema",
194
- "location": {
195
- "filePath": "forking.main.runtime.ts",
196
- "line": 66,
197
- "character": 3
198
- },
199
- "doc": {
200
- "__schema": "DocSchema",
201
- "location": {
202
- "filePath": "forking.main.runtime.ts",
203
- "line": 61,
204
- "character": 3
205
- },
206
- "raw": "/**\n * create a new copy of existing/remote component.\n * the new component holds a reference to the old one for future reference.\n * if refactor option is enable, change the source-code to update all dependencies with the new name.\n */",
207
- "comment": "create a new copy of existing/remote component.\nthe new component holds a reference to the old one for future reference.\nif refactor option is enable, change the source-code to update all dependencies with the new name."
208
- },
209
- "signature": "(method) ForkingMain.fork(sourceId: string, targetId?: string, options?: ForkOptions): Promise<ComponentID>",
210
- "name": "fork",
211
- "params": [
212
- {
213
- "__schema": "ParameterSchema",
214
- "location": {
215
- "filePath": "forking.main.runtime.ts",
216
- "line": 66,
217
- "character": 14
218
- },
219
- "name": "sourceId",
220
- "type": {
221
- "__schema": "KeywordTypeSchema",
222
- "location": {
223
- "filePath": "forking.main.runtime.ts",
224
- "line": 66,
225
- "character": 24
226
- },
227
- "name": "string"
228
- },
229
- "isOptional": false,
230
- "isSpread": false
231
- },
232
- {
233
- "__schema": "ParameterSchema",
234
- "location": {
235
- "filePath": "forking.main.runtime.ts",
236
- "line": 66,
237
- "character": 32
238
- },
239
- "name": "targetId",
240
- "type": {
241
- "__schema": "KeywordTypeSchema",
242
- "location": {
243
- "filePath": "forking.main.runtime.ts",
244
- "line": 66,
245
- "character": 43
246
- },
247
- "name": "string"
248
- },
249
- "isOptional": true,
250
- "isSpread": false
251
- },
252
- {
253
- "__schema": "ParameterSchema",
254
- "location": {
255
- "filePath": "forking.main.runtime.ts",
256
- "line": 66,
257
- "character": 51
258
- },
259
- "name": "options",
260
- "type": {
261
- "__schema": "TypeRefSchema",
262
- "location": {
263
- "filePath": "forking.main.runtime.ts",
264
- "line": 66,
265
- "character": 61
266
- },
267
- "name": "ForkOptions",
268
- "internalFilePath": "fork.cmd.ts"
269
- },
270
- "isOptional": true,
271
- "isSpread": false
272
- }
273
- ],
274
- "returnType": {
275
- "__schema": "TypeRefSchema",
276
- "location": {
277
- "filePath": "forking.main.runtime.ts",
278
- "line": 66,
279
- "character": 75
280
- },
281
- "name": "Promise",
282
- "typeArgs": [
283
- {
284
- "__schema": "TypeRefSchema",
285
- "location": {
286
- "filePath": "forking.main.runtime.ts",
287
- "line": 66,
288
- "character": 83
289
- },
290
- "name": "ComponentID",
291
- "componentId": {
292
- "scope": "teambit.component",
293
- "name": "component-id",
294
- "version": "1.2.0"
295
- }
296
- }
297
- ]
298
- },
299
- "modifiers": [
300
- "async"
301
- ]
302
- },
303
- {
304
- "__schema": "FunctionLikeSchema",
305
- "location": {
306
- "filePath": "forking.main.runtime.ts",
307
- "line": 84,
308
- "character": 3
309
- },
310
- "doc": {
311
- "__schema": "DocSchema",
312
- "location": {
313
- "filePath": "forking.main.runtime.ts",
314
- "line": 81,
315
- "character": 3
316
- },
317
- "raw": "/**\n * get the forking data, such as the source where a component was forked from\n */",
318
- "comment": "get the forking data, such as the source where a component was forked from"
319
- },
320
- "signature": "(method) ForkingMain.getForkInfo(component: Component): ForkInfo | null",
321
- "name": "getForkInfo",
322
- "params": [
323
- {
324
- "__schema": "ParameterSchema",
325
- "location": {
326
- "filePath": "forking.main.runtime.ts",
327
- "line": 84,
328
- "character": 15
329
- },
330
- "name": "component",
331
- "type": {
332
- "__schema": "TypeRefSchema",
333
- "location": {
334
- "filePath": "forking.main.runtime.ts",
335
- "line": 84,
336
- "character": 26
337
- },
338
- "name": "Component",
339
- "componentId": {
340
- "scope": "teambit.component",
341
- "name": "component"
342
- }
343
- },
344
- "isOptional": false,
345
- "isSpread": false
346
- }
347
- ],
348
- "returnType": {
349
- "__schema": "TypeUnionSchema",
350
- "location": {
351
- "filePath": "forking.main.runtime.ts",
352
- "line": 84,
353
- "character": 38
354
- },
355
- "types": [
356
- {
357
- "__schema": "TypeRefSchema",
358
- "location": {
359
- "filePath": "forking.main.runtime.ts",
360
- "line": 84,
361
- "character": 38
362
- },
363
- "name": "ForkInfo",
364
- "internalFilePath": "forking.main.runtime.ts"
365
- },
366
- {
367
- "__schema": "LiteralTypeSchema",
368
- "location": {
369
- "filePath": "forking.main.runtime.ts",
370
- "line": 84,
371
- "character": 49
372
- },
373
- "name": "null"
374
- }
375
- ]
376
- },
377
- "modifiers": []
378
- },
379
- {
380
- "__schema": "FunctionLikeSchema",
381
- "location": {
382
- "filePath": "forking.main.runtime.ts",
383
- "line": 92,
384
- "character": 3
385
- },
386
- "signature": "(method) ForkingMain.forkMultipleFromRemote(componentsToFork: MultipleComponentsToFork, options?: MultipleForkOptions): Promise<void>",
387
- "name": "forkMultipleFromRemote",
388
- "params": [
389
- {
390
- "__schema": "ParameterSchema",
391
- "location": {
392
- "filePath": "forking.main.runtime.ts",
393
- "line": 92,
394
- "character": 32
395
- },
396
- "name": "componentsToFork",
397
- "type": {
398
- "__schema": "TypeRefSchema",
399
- "location": {
400
- "filePath": "forking.main.runtime.ts",
401
- "line": 92,
402
- "character": 50
403
- },
404
- "name": "MultipleComponentsToFork",
405
- "internalFilePath": "forking.main.runtime.ts"
406
- },
407
- "isOptional": false,
408
- "isSpread": false
409
- },
410
- {
411
- "__schema": "ParameterSchema",
412
- "location": {
413
- "filePath": "forking.main.runtime.ts",
414
- "line": 92,
415
- "character": 76
416
- },
417
- "name": "options",
418
- "type": {
419
- "__schema": "TypeRefSchema",
420
- "location": {
421
- "filePath": "forking.main.runtime.ts",
422
- "line": 92,
423
- "character": 85
424
- },
425
- "name": "MultipleForkOptions",
426
- "internalFilePath": "forking.main.runtime.ts"
427
- },
428
- "isOptional": true,
429
- "defaultValue": "{}",
430
- "isSpread": false
431
- }
432
- ],
433
- "returnType": {
434
- "__schema": "InferenceTypeSchema",
435
- "location": {
436
- "filePath": "forking.main.runtime.ts",
437
- "line": 92,
438
- "character": 3
439
- },
440
- "type": "Promise<void>"
441
- },
442
- "modifiers": [
443
- "async"
444
- ]
445
- },
446
- {
447
- "__schema": "FunctionLikeSchema",
448
- "location": {
449
- "filePath": "forking.main.runtime.ts",
450
- "line": 187,
451
- "character": 3
452
- },
453
- "doc": {
454
- "__schema": "DocSchema",
455
- "location": {
456
- "filePath": "forking.main.runtime.ts",
457
- "line": 184,
458
- "character": 3
459
- },
460
- "raw": "/**\n * fork all components of the given scope\n */",
461
- "comment": "fork all components of the given scope"
462
- },
463
- "signature": "(method) ForkingMain.forkScope(originalScope: string, newScope: string, pattern?: string, options?: ScopeForkOptions): Promise<ComponentID[]>",
464
- "name": "forkScope",
465
- "params": [
466
- {
467
- "__schema": "ParameterSchema",
468
- "location": {
469
- "filePath": "forking.main.runtime.ts",
470
- "line": 188,
471
- "character": 5
472
- },
473
- "name": "originalScope",
474
- "type": {
475
- "__schema": "KeywordTypeSchema",
476
- "location": {
477
- "filePath": "forking.main.runtime.ts",
478
- "line": 188,
479
- "character": 20
480
- },
481
- "name": "string"
482
- },
483
- "isOptional": false,
484
- "isSpread": false
485
- },
486
- {
487
- "__schema": "ParameterSchema",
488
- "location": {
489
- "filePath": "forking.main.runtime.ts",
490
- "line": 189,
491
- "character": 5
492
- },
493
- "name": "newScope",
494
- "type": {
495
- "__schema": "KeywordTypeSchema",
496
- "location": {
497
- "filePath": "forking.main.runtime.ts",
498
- "line": 189,
499
- "character": 15
500
- },
501
- "name": "string"
502
- },
503
- "isOptional": false,
504
- "isSpread": false
505
- },
506
- {
507
- "__schema": "ParameterSchema",
508
- "location": {
509
- "filePath": "forking.main.runtime.ts",
510
- "line": 190,
511
- "character": 5
512
- },
513
- "name": "pattern",
514
- "type": {
515
- "__schema": "KeywordTypeSchema",
516
- "location": {
517
- "filePath": "forking.main.runtime.ts",
518
- "line": 190,
519
- "character": 15
520
- },
521
- "name": "string"
522
- },
523
- "isOptional": true,
524
- "isSpread": false
525
- },
526
- {
527
- "__schema": "ParameterSchema",
528
- "location": {
529
- "filePath": "forking.main.runtime.ts",
530
- "line": 191,
531
- "character": 5
532
- },
533
- "name": "options",
534
- "type": {
535
- "__schema": "TypeRefSchema",
536
- "location": {
537
- "filePath": "forking.main.runtime.ts",
538
- "line": 191,
539
- "character": 15
540
- },
541
- "name": "ScopeForkOptions",
542
- "internalFilePath": "scope-fork.cmd.ts"
543
- },
544
- "isOptional": true,
545
- "isSpread": false
546
- }
547
- ],
548
- "returnType": {
549
- "__schema": "TypeRefSchema",
550
- "location": {
551
- "filePath": "forking.main.runtime.ts",
552
- "line": 192,
553
- "character": 6
554
- },
555
- "name": "Promise",
556
- "typeArgs": [
557
- {
558
- "__schema": "TypeArraySchema",
559
- "location": {
560
- "filePath": "forking.main.runtime.ts",
561
- "line": 192,
562
- "character": 14
563
- },
564
- "type": {
565
- "__schema": "TypeRefSchema",
566
- "location": {
567
- "filePath": "forking.main.runtime.ts",
568
- "line": 192,
569
- "character": 14
570
- },
571
- "name": "ComponentID",
572
- "componentId": {
573
- "scope": "teambit.component",
574
- "name": "component-id",
575
- "version": "1.2.0"
576
- }
577
- }
578
- }
579
- ]
580
- },
581
- "modifiers": [
582
- "async"
583
- ]
584
- },
585
- {
586
- "__schema": "VariableLikeSchema",
587
- "location": {
588
- "filePath": "forking.main.runtime.ts",
589
- "line": 350,
590
- "character": 3
591
- },
592
- "signature": "(property) ForkingMain.slots: never[]",
593
- "name": "slots",
594
- "type": {
595
- "__schema": "InferenceTypeSchema",
596
- "location": {
597
- "filePath": "forking.main.runtime.ts",
598
- "line": 350,
599
- "character": 3
600
- },
601
- "type": "never[]"
602
- },
603
- "isOptional": true,
604
- "defaultValue": "[]"
605
- },
606
- {
607
- "__schema": "VariableLikeSchema",
608
- "location": {
609
- "filePath": "forking.main.runtime.ts",
610
- "line": 351,
611
- "character": 3
612
- },
613
- "signature": "(property) ForkingMain.dependencies: Aspect[]",
614
- "name": "dependencies",
615
- "type": {
616
- "__schema": "InferenceTypeSchema",
617
- "location": {
618
- "filePath": "forking.main.runtime.ts",
619
- "line": 351,
620
- "character": 3
621
- },
622
- "type": "Aspect[]"
623
- },
624
- "isOptional": true,
625
- "defaultValue": "[\n CLIAspect,\n WorkspaceAspect,\n DependencyResolverAspect,\n ComponentAspect,\n NewComponentHelperAspect,\n GraphqlAspect,\n RefactoringAspect,\n PkgAspect,\n InstallAspect,\n ]"
626
- },
627
- {
628
- "__schema": "VariableLikeSchema",
629
- "location": {
630
- "filePath": "forking.main.runtime.ts",
631
- "line": 362,
632
- "character": 3
633
- },
634
- "signature": "(property) ForkingMain.runtime: RuntimeDefinition",
635
- "name": "runtime",
636
- "type": {
637
- "__schema": "InferenceTypeSchema",
638
- "location": {
639
- "filePath": "forking.main.runtime.ts",
640
- "line": 362,
641
- "character": 3
642
- },
643
- "type": "RuntimeDefinition"
644
- },
645
- "isOptional": true,
646
- "defaultValue": "MainRuntime"
24
+ "exportNode": {
25
+ "__schema": "TypeRefSchema",
26
+ "location": {
27
+ "filePath": "index.ts",
28
+ "line": 3,
29
+ "character": 15
647
30
  },
648
- {
649
- "__schema": "FunctionLikeSchema",
650
- "location": {
651
- "filePath": "forking.main.runtime.ts",
652
- "line": 363,
653
- "character": 3
654
- },
655
- "signature": "(method) ForkingMain.provider([cli, workspace, dependencyResolver, componentMain, newComponentHelper, graphql, refactoring, pkg, install,]: [\n CLIMain,\n Workspace,\n DependencyResolverMain,\n ComponentMain,\n NewComponentHelperMain,\n GraphqlMain,\n RefactoringMain,\n PkgMain,\n InstallMain\n]): Promise<ForkingMain>",
656
- "name": "provider",
657
- "params": [
658
- {
659
- "__schema": "ParameterSchema",
660
- "location": {
661
- "filePath": "forking.main.runtime.ts",
662
- "line": 363,
663
- "character": 25
664
- },
665
- "name": "[ cli, workspace, dependencyResolver, componentMain, newComponentHelper, graphql, refactoring, pkg, install ]",
666
- "type": {
667
- "__schema": "TupleTypeSchema",
668
- "location": {
669
- "filePath": "forking.main.runtime.ts",
670
- "line": 373,
671
- "character": 6
672
- },
673
- "elements": [
674
- {
675
- "__schema": "TypeRefSchema",
676
- "location": {
677
- "filePath": "forking.main.runtime.ts",
678
- "line": 374,
679
- "character": 5
680
- },
681
- "name": "CLIMain",
682
- "componentId": {
683
- "scope": "teambit.harmony",
684
- "name": "cli"
685
- }
686
- },
687
- {
688
- "__schema": "TypeRefSchema",
689
- "location": {
690
- "filePath": "forking.main.runtime.ts",
691
- "line": 375,
692
- "character": 5
693
- },
694
- "name": "Workspace",
695
- "componentId": {
696
- "scope": "teambit.workspace",
697
- "name": "workspace"
698
- }
699
- },
700
- {
701
- "__schema": "TypeRefSchema",
702
- "location": {
703
- "filePath": "forking.main.runtime.ts",
704
- "line": 376,
705
- "character": 5
706
- },
707
- "name": "DependencyResolverMain",
708
- "componentId": {
709
- "scope": "teambit.dependencies",
710
- "name": "dependency-resolver"
711
- }
712
- },
713
- {
714
- "__schema": "TypeRefSchema",
715
- "location": {
716
- "filePath": "forking.main.runtime.ts",
717
- "line": 377,
718
- "character": 5
719
- },
720
- "name": "ComponentMain",
721
- "componentId": {
722
- "scope": "teambit.component",
723
- "name": "component"
724
- }
725
- },
726
- {
727
- "__schema": "TypeRefSchema",
728
- "location": {
729
- "filePath": "forking.main.runtime.ts",
730
- "line": 378,
731
- "character": 5
732
- },
733
- "name": "NewComponentHelperMain",
734
- "componentId": {
735
- "scope": "teambit.component",
736
- "name": "new-component-helper"
737
- }
738
- },
739
- {
740
- "__schema": "TypeRefSchema",
741
- "location": {
742
- "filePath": "forking.main.runtime.ts",
743
- "line": 379,
744
- "character": 5
745
- },
746
- "name": "GraphqlMain",
747
- "componentId": {
748
- "scope": "teambit.harmony",
749
- "name": "graphql"
750
- }
751
- },
752
- {
753
- "__schema": "TypeRefSchema",
754
- "location": {
755
- "filePath": "forking.main.runtime.ts",
756
- "line": 380,
757
- "character": 5
758
- },
759
- "name": "RefactoringMain",
760
- "componentId": {
761
- "scope": "teambit.component",
762
- "name": "refactoring"
763
- }
764
- },
765
- {
766
- "__schema": "TypeRefSchema",
767
- "location": {
768
- "filePath": "forking.main.runtime.ts",
769
- "line": 381,
770
- "character": 5
771
- },
772
- "name": "PkgMain",
773
- "componentId": {
774
- "scope": "teambit.pkg",
775
- "name": "pkg"
776
- }
777
- },
778
- {
779
- "__schema": "TypeRefSchema",
780
- "location": {
781
- "filePath": "forking.main.runtime.ts",
782
- "line": 382,
783
- "character": 5
784
- },
785
- "name": "InstallMain",
786
- "componentId": {
787
- "scope": "teambit.workspace",
788
- "name": "install"
789
- }
790
- }
791
- ]
792
- },
793
- "isOptional": false,
794
- "isSpread": false
795
- }
796
- ],
797
- "returnType": {
798
- "__schema": "InferenceTypeSchema",
799
- "location": {
800
- "filePath": "forking.main.runtime.ts",
801
- "line": 363,
802
- "character": 3
803
- },
804
- "type": "Promise<ForkingMain>"
805
- },
806
- "modifiers": [
807
- "static",
808
- "async"
809
- ]
810
- }
811
- ],
812
- "extendsNodes": [],
813
- "implementNodes": []
31
+ "name": "ForkingMain"
32
+ }
814
33
  },
815
34
  {
816
35
  "__schema": "UnImplementedSchema",
@@ -823,1332 +42,31 @@
823
42
  "type": "Identifier"
824
43
  },
825
44
  {
826
- "__schema": "VariableLikeSchema",
45
+ "__schema": "ExportSchema",
827
46
  "location": {
828
- "filePath": "forking.aspect.ts",
829
- "line": 3,
830
- "character": 14
47
+ "filePath": "index.ts",
48
+ "line": 5,
49
+ "character": 10
831
50
  },
832
- "signature": "const ForkingAspect: Aspect",
833
51
  "name": "ForkingAspect",
834
- "type": {
52
+ "exportNode": {
835
53
  "__schema": "TypeRefSchema",
836
54
  "location": {
837
- "filePath": "forking.aspect.ts",
838
- "line": 3,
839
- "character": 14
55
+ "filePath": "index.ts",
56
+ "line": 5,
57
+ "character": 10
840
58
  },
841
- "name": "Aspect",
842
- "componentId": {
843
- "scope": "teambit.harmony",
844
- "name": "harmony",
845
- "version": "0.4.6"
846
- }
847
- },
848
- "isOptional": false,
849
- "defaultValue": "Aspect.create({\n id: 'teambit.component/forking',\n})"
59
+ "name": "ForkingAspect"
60
+ }
850
61
  }
851
62
  ],
852
63
  "internals": []
853
64
  },
854
- "internals": [
855
- {
856
- "__schema": "ModuleSchema",
857
- "location": {
858
- "filePath": "forking.main.runtime.ts",
859
- "line": 1,
860
- "character": 1
861
- },
862
- "exports": [
863
- {
864
- "__schema": "TypeSchema",
865
- "location": {
866
- "filePath": "forking.main.runtime.ts",
867
- "line": 25,
868
- "character": 1
869
- },
870
- "signature": "type ForkInfo = {\n forkedFrom: ComponentID;\n}",
871
- "name": "ForkInfo",
872
- "type": {
873
- "__schema": "TypeLiteralSchema",
874
- "location": {
875
- "filePath": "forking.main.runtime.ts",
876
- "line": 25,
877
- "character": 24
878
- },
879
- "members": [
880
- {
881
- "__schema": "VariableLikeSchema",
882
- "location": {
883
- "filePath": "forking.main.runtime.ts",
884
- "line": 26,
885
- "character": 3
886
- },
887
- "signature": "(property) forkedFrom: ComponentID",
888
- "name": "forkedFrom",
889
- "type": {
890
- "__schema": "TypeRefSchema",
891
- "location": {
892
- "filePath": "forking.main.runtime.ts",
893
- "line": 26,
894
- "character": 3
895
- },
896
- "name": "ComponentID",
897
- "componentId": {
898
- "scope": "teambit.component",
899
- "name": "component-id",
900
- "version": "1.2.0"
901
- }
902
- },
903
- "isOptional": false
904
- }
905
- ]
906
- }
907
- },
908
- {
909
- "__schema": "ClassSchema",
910
- "location": {
911
- "filePath": "forking.main.runtime.ts",
912
- "line": 51,
913
- "character": 1
914
- },
915
- "signature": "class ForkingMain",
916
- "name": "ForkingMain",
917
- "members": [
918
- {
919
- "__schema": "ConstructorSchema",
920
- "location": {
921
- "filePath": "forking.main.runtime.ts",
922
- "line": 52,
923
- "character": 3
924
- },
925
- "signature": "constructor ForkingMain(workspace: Workspace, install: InstallMain, dependencyResolver: DependencyResolverMain, newComponentHelper: NewComponentHelperMain, refactoring: RefactoringMain, pkg: PkgMain): ForkingMain",
926
- "name": "constructor",
927
- "params": [
928
- {
929
- "__schema": "ParameterSchema",
930
- "location": {
931
- "filePath": "forking.main.runtime.ts",
932
- "line": 53,
933
- "character": 5
934
- },
935
- "name": "workspace",
936
- "type": {
937
- "__schema": "TypeRefSchema",
938
- "location": {
939
- "filePath": "forking.main.runtime.ts",
940
- "line": 53,
941
- "character": 24
942
- },
943
- "name": "Workspace",
944
- "componentId": {
945
- "scope": "teambit.workspace",
946
- "name": "workspace"
947
- }
948
- },
949
- "isOptional": false,
950
- "isSpread": false
951
- },
952
- {
953
- "__schema": "ParameterSchema",
954
- "location": {
955
- "filePath": "forking.main.runtime.ts",
956
- "line": 54,
957
- "character": 5
958
- },
959
- "name": "install",
960
- "type": {
961
- "__schema": "TypeRefSchema",
962
- "location": {
963
- "filePath": "forking.main.runtime.ts",
964
- "line": 54,
965
- "character": 22
966
- },
967
- "name": "InstallMain",
968
- "componentId": {
969
- "scope": "teambit.workspace",
970
- "name": "install"
971
- }
972
- },
973
- "isOptional": false,
974
- "isSpread": false
975
- },
976
- {
977
- "__schema": "ParameterSchema",
978
- "location": {
979
- "filePath": "forking.main.runtime.ts",
980
- "line": 55,
981
- "character": 5
982
- },
983
- "name": "dependencyResolver",
984
- "type": {
985
- "__schema": "TypeRefSchema",
986
- "location": {
987
- "filePath": "forking.main.runtime.ts",
988
- "line": 55,
989
- "character": 33
990
- },
991
- "name": "DependencyResolverMain",
992
- "componentId": {
993
- "scope": "teambit.dependencies",
994
- "name": "dependency-resolver"
995
- }
996
- },
997
- "isOptional": false,
998
- "isSpread": false
999
- },
1000
- {
1001
- "__schema": "ParameterSchema",
1002
- "location": {
1003
- "filePath": "forking.main.runtime.ts",
1004
- "line": 56,
1005
- "character": 5
1006
- },
1007
- "name": "newComponentHelper",
1008
- "type": {
1009
- "__schema": "TypeRefSchema",
1010
- "location": {
1011
- "filePath": "forking.main.runtime.ts",
1012
- "line": 56,
1013
- "character": 33
1014
- },
1015
- "name": "NewComponentHelperMain",
1016
- "componentId": {
1017
- "scope": "teambit.component",
1018
- "name": "new-component-helper"
1019
- }
1020
- },
1021
- "isOptional": false,
1022
- "isSpread": false
1023
- },
1024
- {
1025
- "__schema": "ParameterSchema",
1026
- "location": {
1027
- "filePath": "forking.main.runtime.ts",
1028
- "line": 57,
1029
- "character": 5
1030
- },
1031
- "name": "refactoring",
1032
- "type": {
1033
- "__schema": "TypeRefSchema",
1034
- "location": {
1035
- "filePath": "forking.main.runtime.ts",
1036
- "line": 57,
1037
- "character": 26
1038
- },
1039
- "name": "RefactoringMain",
1040
- "componentId": {
1041
- "scope": "teambit.component",
1042
- "name": "refactoring"
1043
- }
1044
- },
1045
- "isOptional": false,
1046
- "isSpread": false
1047
- },
1048
- {
1049
- "__schema": "ParameterSchema",
1050
- "location": {
1051
- "filePath": "forking.main.runtime.ts",
1052
- "line": 58,
1053
- "character": 5
1054
- },
1055
- "name": "pkg",
1056
- "type": {
1057
- "__schema": "TypeRefSchema",
1058
- "location": {
1059
- "filePath": "forking.main.runtime.ts",
1060
- "line": 58,
1061
- "character": 18
1062
- },
1063
- "name": "PkgMain",
1064
- "componentId": {
1065
- "scope": "teambit.pkg",
1066
- "name": "pkg"
1067
- }
1068
- },
1069
- "isOptional": false,
1070
- "isSpread": false
1071
- }
1072
- ],
1073
- "returnType": {
1074
- "__schema": "ThisTypeSchema",
1075
- "location": {
1076
- "filePath": "forking.main.runtime.ts",
1077
- "line": 51,
1078
- "character": 1
1079
- },
1080
- "name": "ForkingMain"
1081
- },
1082
- "modifiers": []
1083
- },
1084
- {
1085
- "__schema": "FunctionLikeSchema",
1086
- "location": {
1087
- "filePath": "forking.main.runtime.ts",
1088
- "line": 66,
1089
- "character": 3
1090
- },
1091
- "doc": {
1092
- "__schema": "DocSchema",
1093
- "location": {
1094
- "filePath": "forking.main.runtime.ts",
1095
- "line": 61,
1096
- "character": 3
1097
- },
1098
- "raw": "/**\n * create a new copy of existing/remote component.\n * the new component holds a reference to the old one for future reference.\n * if refactor option is enable, change the source-code to update all dependencies with the new name.\n */",
1099
- "comment": "create a new copy of existing/remote component.\nthe new component holds a reference to the old one for future reference.\nif refactor option is enable, change the source-code to update all dependencies with the new name."
1100
- },
1101
- "signature": "(method) ForkingMain.fork(sourceId: string, targetId?: string, options?: ForkOptions): Promise<ComponentID>",
1102
- "name": "fork",
1103
- "params": [
1104
- {
1105
- "__schema": "ParameterSchema",
1106
- "location": {
1107
- "filePath": "forking.main.runtime.ts",
1108
- "line": 66,
1109
- "character": 14
1110
- },
1111
- "name": "sourceId",
1112
- "type": {
1113
- "__schema": "KeywordTypeSchema",
1114
- "location": {
1115
- "filePath": "forking.main.runtime.ts",
1116
- "line": 66,
1117
- "character": 24
1118
- },
1119
- "name": "string"
1120
- },
1121
- "isOptional": false,
1122
- "isSpread": false
1123
- },
1124
- {
1125
- "__schema": "ParameterSchema",
1126
- "location": {
1127
- "filePath": "forking.main.runtime.ts",
1128
- "line": 66,
1129
- "character": 32
1130
- },
1131
- "name": "targetId",
1132
- "type": {
1133
- "__schema": "KeywordTypeSchema",
1134
- "location": {
1135
- "filePath": "forking.main.runtime.ts",
1136
- "line": 66,
1137
- "character": 43
1138
- },
1139
- "name": "string"
1140
- },
1141
- "isOptional": true,
1142
- "isSpread": false
1143
- },
1144
- {
1145
- "__schema": "ParameterSchema",
1146
- "location": {
1147
- "filePath": "forking.main.runtime.ts",
1148
- "line": 66,
1149
- "character": 51
1150
- },
1151
- "name": "options",
1152
- "type": {
1153
- "__schema": "TypeRefSchema",
1154
- "location": {
1155
- "filePath": "forking.main.runtime.ts",
1156
- "line": 66,
1157
- "character": 61
1158
- },
1159
- "name": "ForkOptions",
1160
- "internalFilePath": "fork.cmd.ts"
1161
- },
1162
- "isOptional": true,
1163
- "isSpread": false
1164
- }
1165
- ],
1166
- "returnType": {
1167
- "__schema": "TypeRefSchema",
1168
- "location": {
1169
- "filePath": "forking.main.runtime.ts",
1170
- "line": 66,
1171
- "character": 75
1172
- },
1173
- "name": "Promise",
1174
- "typeArgs": [
1175
- {
1176
- "__schema": "TypeRefSchema",
1177
- "location": {
1178
- "filePath": "forking.main.runtime.ts",
1179
- "line": 66,
1180
- "character": 83
1181
- },
1182
- "name": "ComponentID",
1183
- "componentId": {
1184
- "scope": "teambit.component",
1185
- "name": "component-id",
1186
- "version": "1.2.0"
1187
- }
1188
- }
1189
- ]
1190
- },
1191
- "modifiers": [
1192
- "async"
1193
- ]
1194
- },
1195
- {
1196
- "__schema": "FunctionLikeSchema",
1197
- "location": {
1198
- "filePath": "forking.main.runtime.ts",
1199
- "line": 84,
1200
- "character": 3
1201
- },
1202
- "doc": {
1203
- "__schema": "DocSchema",
1204
- "location": {
1205
- "filePath": "forking.main.runtime.ts",
1206
- "line": 81,
1207
- "character": 3
1208
- },
1209
- "raw": "/**\n * get the forking data, such as the source where a component was forked from\n */",
1210
- "comment": "get the forking data, such as the source where a component was forked from"
1211
- },
1212
- "signature": "(method) ForkingMain.getForkInfo(component: Component): ForkInfo | null",
1213
- "name": "getForkInfo",
1214
- "params": [
1215
- {
1216
- "__schema": "ParameterSchema",
1217
- "location": {
1218
- "filePath": "forking.main.runtime.ts",
1219
- "line": 84,
1220
- "character": 15
1221
- },
1222
- "name": "component",
1223
- "type": {
1224
- "__schema": "TypeRefSchema",
1225
- "location": {
1226
- "filePath": "forking.main.runtime.ts",
1227
- "line": 84,
1228
- "character": 26
1229
- },
1230
- "name": "Component",
1231
- "componentId": {
1232
- "scope": "teambit.component",
1233
- "name": "component"
1234
- }
1235
- },
1236
- "isOptional": false,
1237
- "isSpread": false
1238
- }
1239
- ],
1240
- "returnType": {
1241
- "__schema": "TypeUnionSchema",
1242
- "location": {
1243
- "filePath": "forking.main.runtime.ts",
1244
- "line": 84,
1245
- "character": 38
1246
- },
1247
- "types": [
1248
- {
1249
- "__schema": "TypeRefSchema",
1250
- "location": {
1251
- "filePath": "forking.main.runtime.ts",
1252
- "line": 84,
1253
- "character": 38
1254
- },
1255
- "name": "ForkInfo",
1256
- "internalFilePath": "forking.main.runtime.ts"
1257
- },
1258
- {
1259
- "__schema": "LiteralTypeSchema",
1260
- "location": {
1261
- "filePath": "forking.main.runtime.ts",
1262
- "line": 84,
1263
- "character": 49
1264
- },
1265
- "name": "null"
1266
- }
1267
- ]
1268
- },
1269
- "modifiers": []
1270
- },
1271
- {
1272
- "__schema": "FunctionLikeSchema",
1273
- "location": {
1274
- "filePath": "forking.main.runtime.ts",
1275
- "line": 92,
1276
- "character": 3
1277
- },
1278
- "signature": "(method) ForkingMain.forkMultipleFromRemote(componentsToFork: MultipleComponentsToFork, options?: MultipleForkOptions): Promise<void>",
1279
- "name": "forkMultipleFromRemote",
1280
- "params": [
1281
- {
1282
- "__schema": "ParameterSchema",
1283
- "location": {
1284
- "filePath": "forking.main.runtime.ts",
1285
- "line": 92,
1286
- "character": 32
1287
- },
1288
- "name": "componentsToFork",
1289
- "type": {
1290
- "__schema": "TypeRefSchema",
1291
- "location": {
1292
- "filePath": "forking.main.runtime.ts",
1293
- "line": 92,
1294
- "character": 50
1295
- },
1296
- "name": "MultipleComponentsToFork",
1297
- "internalFilePath": "forking.main.runtime.ts"
1298
- },
1299
- "isOptional": false,
1300
- "isSpread": false
1301
- },
1302
- {
1303
- "__schema": "ParameterSchema",
1304
- "location": {
1305
- "filePath": "forking.main.runtime.ts",
1306
- "line": 92,
1307
- "character": 76
1308
- },
1309
- "name": "options",
1310
- "type": {
1311
- "__schema": "TypeRefSchema",
1312
- "location": {
1313
- "filePath": "forking.main.runtime.ts",
1314
- "line": 92,
1315
- "character": 85
1316
- },
1317
- "name": "MultipleForkOptions",
1318
- "internalFilePath": "forking.main.runtime.ts"
1319
- },
1320
- "isOptional": true,
1321
- "defaultValue": "{}",
1322
- "isSpread": false
1323
- }
1324
- ],
1325
- "returnType": {
1326
- "__schema": "InferenceTypeSchema",
1327
- "location": {
1328
- "filePath": "forking.main.runtime.ts",
1329
- "line": 92,
1330
- "character": 3
1331
- },
1332
- "type": "Promise<void>"
1333
- },
1334
- "modifiers": [
1335
- "async"
1336
- ]
1337
- },
1338
- {
1339
- "__schema": "FunctionLikeSchema",
1340
- "location": {
1341
- "filePath": "forking.main.runtime.ts",
1342
- "line": 187,
1343
- "character": 3
1344
- },
1345
- "doc": {
1346
- "__schema": "DocSchema",
1347
- "location": {
1348
- "filePath": "forking.main.runtime.ts",
1349
- "line": 184,
1350
- "character": 3
1351
- },
1352
- "raw": "/**\n * fork all components of the given scope\n */",
1353
- "comment": "fork all components of the given scope"
1354
- },
1355
- "signature": "(method) ForkingMain.forkScope(originalScope: string, newScope: string, pattern?: string, options?: ScopeForkOptions): Promise<ComponentID[]>",
1356
- "name": "forkScope",
1357
- "params": [
1358
- {
1359
- "__schema": "ParameterSchema",
1360
- "location": {
1361
- "filePath": "forking.main.runtime.ts",
1362
- "line": 188,
1363
- "character": 5
1364
- },
1365
- "name": "originalScope",
1366
- "type": {
1367
- "__schema": "KeywordTypeSchema",
1368
- "location": {
1369
- "filePath": "forking.main.runtime.ts",
1370
- "line": 188,
1371
- "character": 20
1372
- },
1373
- "name": "string"
1374
- },
1375
- "isOptional": false,
1376
- "isSpread": false
1377
- },
1378
- {
1379
- "__schema": "ParameterSchema",
1380
- "location": {
1381
- "filePath": "forking.main.runtime.ts",
1382
- "line": 189,
1383
- "character": 5
1384
- },
1385
- "name": "newScope",
1386
- "type": {
1387
- "__schema": "KeywordTypeSchema",
1388
- "location": {
1389
- "filePath": "forking.main.runtime.ts",
1390
- "line": 189,
1391
- "character": 15
1392
- },
1393
- "name": "string"
1394
- },
1395
- "isOptional": false,
1396
- "isSpread": false
1397
- },
1398
- {
1399
- "__schema": "ParameterSchema",
1400
- "location": {
1401
- "filePath": "forking.main.runtime.ts",
1402
- "line": 190,
1403
- "character": 5
1404
- },
1405
- "name": "pattern",
1406
- "type": {
1407
- "__schema": "KeywordTypeSchema",
1408
- "location": {
1409
- "filePath": "forking.main.runtime.ts",
1410
- "line": 190,
1411
- "character": 15
1412
- },
1413
- "name": "string"
1414
- },
1415
- "isOptional": true,
1416
- "isSpread": false
1417
- },
1418
- {
1419
- "__schema": "ParameterSchema",
1420
- "location": {
1421
- "filePath": "forking.main.runtime.ts",
1422
- "line": 191,
1423
- "character": 5
1424
- },
1425
- "name": "options",
1426
- "type": {
1427
- "__schema": "TypeRefSchema",
1428
- "location": {
1429
- "filePath": "forking.main.runtime.ts",
1430
- "line": 191,
1431
- "character": 15
1432
- },
1433
- "name": "ScopeForkOptions",
1434
- "internalFilePath": "scope-fork.cmd.ts"
1435
- },
1436
- "isOptional": true,
1437
- "isSpread": false
1438
- }
1439
- ],
1440
- "returnType": {
1441
- "__schema": "TypeRefSchema",
1442
- "location": {
1443
- "filePath": "forking.main.runtime.ts",
1444
- "line": 192,
1445
- "character": 6
1446
- },
1447
- "name": "Promise",
1448
- "typeArgs": [
1449
- {
1450
- "__schema": "TypeArraySchema",
1451
- "location": {
1452
- "filePath": "forking.main.runtime.ts",
1453
- "line": 192,
1454
- "character": 14
1455
- },
1456
- "type": {
1457
- "__schema": "TypeRefSchema",
1458
- "location": {
1459
- "filePath": "forking.main.runtime.ts",
1460
- "line": 192,
1461
- "character": 14
1462
- },
1463
- "name": "ComponentID",
1464
- "componentId": {
1465
- "scope": "teambit.component",
1466
- "name": "component-id",
1467
- "version": "1.2.0"
1468
- }
1469
- }
1470
- }
1471
- ]
1472
- },
1473
- "modifiers": [
1474
- "async"
1475
- ]
1476
- },
1477
- {
1478
- "__schema": "VariableLikeSchema",
1479
- "location": {
1480
- "filePath": "forking.main.runtime.ts",
1481
- "line": 350,
1482
- "character": 3
1483
- },
1484
- "signature": "(property) ForkingMain.slots: never[]",
1485
- "name": "slots",
1486
- "type": {
1487
- "__schema": "InferenceTypeSchema",
1488
- "location": {
1489
- "filePath": "forking.main.runtime.ts",
1490
- "line": 350,
1491
- "character": 3
1492
- },
1493
- "type": "never[]"
1494
- },
1495
- "isOptional": true,
1496
- "defaultValue": "[]"
1497
- },
1498
- {
1499
- "__schema": "VariableLikeSchema",
1500
- "location": {
1501
- "filePath": "forking.main.runtime.ts",
1502
- "line": 351,
1503
- "character": 3
1504
- },
1505
- "signature": "(property) ForkingMain.dependencies: Aspect[]",
1506
- "name": "dependencies",
1507
- "type": {
1508
- "__schema": "InferenceTypeSchema",
1509
- "location": {
1510
- "filePath": "forking.main.runtime.ts",
1511
- "line": 351,
1512
- "character": 3
1513
- },
1514
- "type": "Aspect[]"
1515
- },
1516
- "isOptional": true,
1517
- "defaultValue": "[\n CLIAspect,\n WorkspaceAspect,\n DependencyResolverAspect,\n ComponentAspect,\n NewComponentHelperAspect,\n GraphqlAspect,\n RefactoringAspect,\n PkgAspect,\n InstallAspect,\n ]"
1518
- },
1519
- {
1520
- "__schema": "VariableLikeSchema",
1521
- "location": {
1522
- "filePath": "forking.main.runtime.ts",
1523
- "line": 362,
1524
- "character": 3
1525
- },
1526
- "signature": "(property) ForkingMain.runtime: RuntimeDefinition",
1527
- "name": "runtime",
1528
- "type": {
1529
- "__schema": "InferenceTypeSchema",
1530
- "location": {
1531
- "filePath": "forking.main.runtime.ts",
1532
- "line": 362,
1533
- "character": 3
1534
- },
1535
- "type": "RuntimeDefinition"
1536
- },
1537
- "isOptional": true,
1538
- "defaultValue": "MainRuntime"
1539
- },
1540
- {
1541
- "__schema": "FunctionLikeSchema",
1542
- "location": {
1543
- "filePath": "forking.main.runtime.ts",
1544
- "line": 363,
1545
- "character": 3
1546
- },
1547
- "signature": "(method) ForkingMain.provider([cli, workspace, dependencyResolver, componentMain, newComponentHelper, graphql, refactoring, pkg, install,]: [\n CLIMain,\n Workspace,\n DependencyResolverMain,\n ComponentMain,\n NewComponentHelperMain,\n GraphqlMain,\n RefactoringMain,\n PkgMain,\n InstallMain\n]): Promise<ForkingMain>",
1548
- "name": "provider",
1549
- "params": [
1550
- {
1551
- "__schema": "ParameterSchema",
1552
- "location": {
1553
- "filePath": "forking.main.runtime.ts",
1554
- "line": 363,
1555
- "character": 25
1556
- },
1557
- "name": "[ cli, workspace, dependencyResolver, componentMain, newComponentHelper, graphql, refactoring, pkg, install ]",
1558
- "type": {
1559
- "__schema": "TupleTypeSchema",
1560
- "location": {
1561
- "filePath": "forking.main.runtime.ts",
1562
- "line": 373,
1563
- "character": 6
1564
- },
1565
- "elements": [
1566
- {
1567
- "__schema": "TypeRefSchema",
1568
- "location": {
1569
- "filePath": "forking.main.runtime.ts",
1570
- "line": 374,
1571
- "character": 5
1572
- },
1573
- "name": "CLIMain",
1574
- "componentId": {
1575
- "scope": "teambit.harmony",
1576
- "name": "cli"
1577
- }
1578
- },
1579
- {
1580
- "__schema": "TypeRefSchema",
1581
- "location": {
1582
- "filePath": "forking.main.runtime.ts",
1583
- "line": 375,
1584
- "character": 5
1585
- },
1586
- "name": "Workspace",
1587
- "componentId": {
1588
- "scope": "teambit.workspace",
1589
- "name": "workspace"
1590
- }
1591
- },
1592
- {
1593
- "__schema": "TypeRefSchema",
1594
- "location": {
1595
- "filePath": "forking.main.runtime.ts",
1596
- "line": 376,
1597
- "character": 5
1598
- },
1599
- "name": "DependencyResolverMain",
1600
- "componentId": {
1601
- "scope": "teambit.dependencies",
1602
- "name": "dependency-resolver"
1603
- }
1604
- },
1605
- {
1606
- "__schema": "TypeRefSchema",
1607
- "location": {
1608
- "filePath": "forking.main.runtime.ts",
1609
- "line": 377,
1610
- "character": 5
1611
- },
1612
- "name": "ComponentMain",
1613
- "componentId": {
1614
- "scope": "teambit.component",
1615
- "name": "component"
1616
- }
1617
- },
1618
- {
1619
- "__schema": "TypeRefSchema",
1620
- "location": {
1621
- "filePath": "forking.main.runtime.ts",
1622
- "line": 378,
1623
- "character": 5
1624
- },
1625
- "name": "NewComponentHelperMain",
1626
- "componentId": {
1627
- "scope": "teambit.component",
1628
- "name": "new-component-helper"
1629
- }
1630
- },
1631
- {
1632
- "__schema": "TypeRefSchema",
1633
- "location": {
1634
- "filePath": "forking.main.runtime.ts",
1635
- "line": 379,
1636
- "character": 5
1637
- },
1638
- "name": "GraphqlMain",
1639
- "componentId": {
1640
- "scope": "teambit.harmony",
1641
- "name": "graphql"
1642
- }
1643
- },
1644
- {
1645
- "__schema": "TypeRefSchema",
1646
- "location": {
1647
- "filePath": "forking.main.runtime.ts",
1648
- "line": 380,
1649
- "character": 5
1650
- },
1651
- "name": "RefactoringMain",
1652
- "componentId": {
1653
- "scope": "teambit.component",
1654
- "name": "refactoring"
1655
- }
1656
- },
1657
- {
1658
- "__schema": "TypeRefSchema",
1659
- "location": {
1660
- "filePath": "forking.main.runtime.ts",
1661
- "line": 381,
1662
- "character": 5
1663
- },
1664
- "name": "PkgMain",
1665
- "componentId": {
1666
- "scope": "teambit.pkg",
1667
- "name": "pkg"
1668
- }
1669
- },
1670
- {
1671
- "__schema": "TypeRefSchema",
1672
- "location": {
1673
- "filePath": "forking.main.runtime.ts",
1674
- "line": 382,
1675
- "character": 5
1676
- },
1677
- "name": "InstallMain",
1678
- "componentId": {
1679
- "scope": "teambit.workspace",
1680
- "name": "install"
1681
- }
1682
- }
1683
- ]
1684
- },
1685
- "isOptional": false,
1686
- "isSpread": false
1687
- }
1688
- ],
1689
- "returnType": {
1690
- "__schema": "InferenceTypeSchema",
1691
- "location": {
1692
- "filePath": "forking.main.runtime.ts",
1693
- "line": 363,
1694
- "character": 3
1695
- },
1696
- "type": "Promise<ForkingMain>"
1697
- },
1698
- "modifiers": [
1699
- "static",
1700
- "async"
1701
- ]
1702
- }
1703
- ],
1704
- "extendsNodes": [],
1705
- "implementNodes": []
1706
- },
1707
- {
1708
- "__schema": "TypeSchema",
1709
- "location": {
1710
- "filePath": "forking.main.runtime.ts",
1711
- "line": 398,
1712
- "character": 1
1713
- },
1714
- "signature": "type ForkConfig = {\n forkedFrom: ComponentIdObj;\n}",
1715
- "name": "ForkConfig",
1716
- "type": {
1717
- "__schema": "TypeLiteralSchema",
1718
- "location": {
1719
- "filePath": "forking.main.runtime.ts",
1720
- "line": 398,
1721
- "character": 26
1722
- },
1723
- "members": [
1724
- {
1725
- "__schema": "VariableLikeSchema",
1726
- "location": {
1727
- "filePath": "forking.main.runtime.ts",
1728
- "line": 399,
1729
- "character": 3
1730
- },
1731
- "signature": "(property) forkedFrom: ComponentIdObj",
1732
- "name": "forkedFrom",
1733
- "type": {
1734
- "__schema": "TypeRefSchema",
1735
- "location": {
1736
- "filePath": "forking.main.runtime.ts",
1737
- "line": 399,
1738
- "character": 3
1739
- },
1740
- "name": "ComponentIdObj",
1741
- "componentId": {
1742
- "scope": "teambit.component",
1743
- "name": "component-id",
1744
- "version": "1.2.0"
1745
- }
1746
- },
1747
- "isOptional": false
1748
- }
1749
- ]
1750
- }
1751
- }
1752
- ],
1753
- "internals": [
1754
- {
1755
- "__schema": "TypeSchema",
1756
- "location": {
1757
- "filePath": "forking.main.runtime.ts",
1758
- "line": 29,
1759
- "character": 1
1760
- },
1761
- "signature": "type MultipleForkInfo = {\n targetCompId: ComponentID;\n sourceId: string;\n component: Component;\n}",
1762
- "name": "MultipleForkInfo",
1763
- "type": {
1764
- "__schema": "TypeLiteralSchema",
1765
- "location": {
1766
- "filePath": "forking.main.runtime.ts",
1767
- "line": 29,
1768
- "character": 25
1769
- },
1770
- "members": [
1771
- {
1772
- "__schema": "VariableLikeSchema",
1773
- "location": {
1774
- "filePath": "forking.main.runtime.ts",
1775
- "line": 30,
1776
- "character": 3
1777
- },
1778
- "signature": "(property) targetCompId: ComponentID",
1779
- "name": "targetCompId",
1780
- "type": {
1781
- "__schema": "TypeRefSchema",
1782
- "location": {
1783
- "filePath": "forking.main.runtime.ts",
1784
- "line": 30,
1785
- "character": 3
1786
- },
1787
- "name": "ComponentID",
1788
- "componentId": {
1789
- "scope": "teambit.component",
1790
- "name": "component-id",
1791
- "version": "1.2.0"
1792
- }
1793
- },
1794
- "isOptional": false
1795
- },
1796
- {
1797
- "__schema": "VariableLikeSchema",
1798
- "location": {
1799
- "filePath": "forking.main.runtime.ts",
1800
- "line": 31,
1801
- "character": 3
1802
- },
1803
- "signature": "(property) sourceId: string",
1804
- "name": "sourceId",
1805
- "type": {
1806
- "__schema": "KeywordTypeSchema",
1807
- "location": {
1808
- "filePath": "forking.main.runtime.ts",
1809
- "line": 31,
1810
- "character": 13
1811
- },
1812
- "name": "string"
1813
- },
1814
- "isOptional": false
1815
- },
1816
- {
1817
- "__schema": "VariableLikeSchema",
1818
- "location": {
1819
- "filePath": "forking.main.runtime.ts",
1820
- "line": 32,
1821
- "character": 3
1822
- },
1823
- "signature": "(property) component: Component",
1824
- "name": "component",
1825
- "type": {
1826
- "__schema": "TypeRefSchema",
1827
- "location": {
1828
- "filePath": "forking.main.runtime.ts",
1829
- "line": 32,
1830
- "character": 3
1831
- },
1832
- "name": "Component",
1833
- "componentId": {
1834
- "scope": "teambit.component",
1835
- "name": "component"
1836
- }
1837
- },
1838
- "isOptional": false
1839
- }
1840
- ]
1841
- }
1842
- },
1843
- {
1844
- "__schema": "TypeSchema",
1845
- "location": {
1846
- "filePath": "forking.main.runtime.ts",
1847
- "line": 35,
1848
- "character": 1
1849
- },
1850
- "signature": "type MultipleComponentsToFork = {\n sourceId: string;\n targetId?: string | undefined;\n targetScope?: string | undefined;\n path?: string | undefined;\n env?: string | undefined;\n config?: ComponentConfig | undefined;\n}[]",
1851
- "name": "MultipleComponentsToFork",
1852
- "type": {
1853
- "__schema": "TypeRefSchema",
1854
- "location": {
1855
- "filePath": "forking.main.runtime.ts",
1856
- "line": 35,
1857
- "character": 33
1858
- },
1859
- "name": "Array",
1860
- "typeArgs": [
1861
- {
1862
- "__schema": "TypeLiteralSchema",
1863
- "location": {
1864
- "filePath": "forking.main.runtime.ts",
1865
- "line": 35,
1866
- "character": 39
1867
- },
1868
- "members": [
1869
- {
1870
- "__schema": "VariableLikeSchema",
1871
- "location": {
1872
- "filePath": "forking.main.runtime.ts",
1873
- "line": 36,
1874
- "character": 3
1875
- },
1876
- "signature": "(property) sourceId: string",
1877
- "name": "sourceId",
1878
- "type": {
1879
- "__schema": "KeywordTypeSchema",
1880
- "location": {
1881
- "filePath": "forking.main.runtime.ts",
1882
- "line": 36,
1883
- "character": 13
1884
- },
1885
- "name": "string"
1886
- },
1887
- "isOptional": false
1888
- },
1889
- {
1890
- "__schema": "VariableLikeSchema",
1891
- "location": {
1892
- "filePath": "forking.main.runtime.ts",
1893
- "line": 37,
1894
- "character": 3
1895
- },
1896
- "signature": "(property) targetId?: string | undefined",
1897
- "name": "targetId",
1898
- "type": {
1899
- "__schema": "KeywordTypeSchema",
1900
- "location": {
1901
- "filePath": "forking.main.runtime.ts",
1902
- "line": 37,
1903
- "character": 14
1904
- },
1905
- "name": "string"
1906
- },
1907
- "isOptional": true
1908
- },
1909
- {
1910
- "__schema": "VariableLikeSchema",
1911
- "location": {
1912
- "filePath": "forking.main.runtime.ts",
1913
- "line": 38,
1914
- "character": 3
1915
- },
1916
- "signature": "(property) targetScope?: string | undefined",
1917
- "name": "targetScope",
1918
- "type": {
1919
- "__schema": "KeywordTypeSchema",
1920
- "location": {
1921
- "filePath": "forking.main.runtime.ts",
1922
- "line": 38,
1923
- "character": 17
1924
- },
1925
- "name": "string"
1926
- },
1927
- "isOptional": true
1928
- },
1929
- {
1930
- "__schema": "VariableLikeSchema",
1931
- "location": {
1932
- "filePath": "forking.main.runtime.ts",
1933
- "line": 39,
1934
- "character": 3
1935
- },
1936
- "signature": "(property) path?: string | undefined",
1937
- "name": "path",
1938
- "type": {
1939
- "__schema": "KeywordTypeSchema",
1940
- "location": {
1941
- "filePath": "forking.main.runtime.ts",
1942
- "line": 39,
1943
- "character": 10
1944
- },
1945
- "name": "string"
1946
- },
1947
- "isOptional": true
1948
- },
1949
- {
1950
- "__schema": "VariableLikeSchema",
1951
- "location": {
1952
- "filePath": "forking.main.runtime.ts",
1953
- "line": 40,
1954
- "character": 3
1955
- },
1956
- "signature": "(property) env?: string | undefined",
1957
- "name": "env",
1958
- "type": {
1959
- "__schema": "KeywordTypeSchema",
1960
- "location": {
1961
- "filePath": "forking.main.runtime.ts",
1962
- "line": 40,
1963
- "character": 9
1964
- },
1965
- "name": "string"
1966
- },
1967
- "isOptional": true
1968
- },
1969
- {
1970
- "__schema": "VariableLikeSchema",
1971
- "location": {
1972
- "filePath": "forking.main.runtime.ts",
1973
- "line": 41,
1974
- "character": 3
1975
- },
1976
- "signature": "(property) config?: ComponentConfig | undefined",
1977
- "name": "config",
1978
- "type": {
1979
- "__schema": "TypeRefSchema",
1980
- "location": {
1981
- "filePath": "forking.main.runtime.ts",
1982
- "line": 41,
1983
- "character": 12
1984
- },
1985
- "name": "ComponentConfig",
1986
- "componentId": {
1987
- "scope": "teambit.generator",
1988
- "name": "generator"
1989
- }
1990
- },
1991
- "isOptional": true
1992
- }
1993
- ]
1994
- }
1995
- ]
1996
- }
1997
- },
1998
- {
1999
- "__schema": "TypeSchema",
2000
- "location": {
2001
- "filePath": "forking.main.runtime.ts",
2002
- "line": 44,
2003
- "character": 1
2004
- },
2005
- "signature": "type MultipleForkOptions = {\n refactor?: boolean | undefined;\n scope?: string | undefined;\n install?: boolean | undefined;\n ast?: boolean | undefined;\n}",
2006
- "name": "MultipleForkOptions",
2007
- "type": {
2008
- "__schema": "TypeLiteralSchema",
2009
- "location": {
2010
- "filePath": "forking.main.runtime.ts",
2011
- "line": 44,
2012
- "character": 28
2013
- },
2014
- "members": [
2015
- {
2016
- "__schema": "VariableLikeSchema",
2017
- "location": {
2018
- "filePath": "forking.main.runtime.ts",
2019
- "line": 45,
2020
- "character": 3
2021
- },
2022
- "signature": "(property) refactor?: boolean | undefined",
2023
- "name": "refactor",
2024
- "type": {
2025
- "__schema": "KeywordTypeSchema",
2026
- "location": {
2027
- "filePath": "forking.main.runtime.ts",
2028
- "line": 45,
2029
- "character": 14
2030
- },
2031
- "name": "boolean"
2032
- },
2033
- "isOptional": true
2034
- },
2035
- {
2036
- "__schema": "VariableLikeSchema",
2037
- "location": {
2038
- "filePath": "forking.main.runtime.ts",
2039
- "line": 46,
2040
- "character": 3
2041
- },
2042
- "signature": "(property) scope?: string | undefined",
2043
- "name": "scope",
2044
- "type": {
2045
- "__schema": "KeywordTypeSchema",
2046
- "location": {
2047
- "filePath": "forking.main.runtime.ts",
2048
- "line": 46,
2049
- "character": 11
2050
- },
2051
- "name": "string"
2052
- },
2053
- "isOptional": true
2054
- },
2055
- {
2056
- "__schema": "VariableLikeSchema",
2057
- "location": {
2058
- "filePath": "forking.main.runtime.ts",
2059
- "line": 47,
2060
- "character": 3
2061
- },
2062
- "signature": "(property) install?: boolean | undefined",
2063
- "name": "install",
2064
- "type": {
2065
- "__schema": "KeywordTypeSchema",
2066
- "location": {
2067
- "filePath": "forking.main.runtime.ts",
2068
- "line": 47,
2069
- "character": 13
2070
- },
2071
- "name": "boolean"
2072
- },
2073
- "isOptional": true
2074
- },
2075
- {
2076
- "__schema": "VariableLikeSchema",
2077
- "location": {
2078
- "filePath": "forking.main.runtime.ts",
2079
- "line": 48,
2080
- "character": 3
2081
- },
2082
- "signature": "(property) ast?: boolean | undefined",
2083
- "name": "ast",
2084
- "type": {
2085
- "__schema": "KeywordTypeSchema",
2086
- "location": {
2087
- "filePath": "forking.main.runtime.ts",
2088
- "line": 48,
2089
- "character": 9
2090
- },
2091
- "name": "boolean"
2092
- },
2093
- "isOptional": true
2094
- }
2095
- ]
2096
- }
2097
- },
2098
- {
2099
- "__schema": "UnImplementedSchema",
2100
- "location": {
2101
- "filePath": "forking.main.runtime.ts",
2102
- "line": 396,
2103
- "character": 1
2104
- },
2105
- "name": "ForkingAspect.addRuntime(ForkingMain);",
2106
- "type": "ExpressionStatement"
2107
- }
2108
- ]
2109
- },
2110
- {
2111
- "__schema": "ModuleSchema",
2112
- "location": {
2113
- "filePath": "forking.aspect.ts",
2114
- "line": 1,
2115
- "character": 1
2116
- },
2117
- "exports": [
2118
- {
2119
- "__schema": "VariableLikeSchema",
2120
- "location": {
2121
- "filePath": "forking.aspect.ts",
2122
- "line": 3,
2123
- "character": 14
2124
- },
2125
- "signature": "const ForkingAspect: Aspect",
2126
- "name": "ForkingAspect",
2127
- "type": {
2128
- "__schema": "TypeRefSchema",
2129
- "location": {
2130
- "filePath": "forking.aspect.ts",
2131
- "line": 3,
2132
- "character": 14
2133
- },
2134
- "name": "Aspect",
2135
- "componentId": {
2136
- "scope": "teambit.harmony",
2137
- "name": "harmony",
2138
- "version": "0.4.6"
2139
- }
2140
- },
2141
- "isOptional": false,
2142
- "defaultValue": "Aspect.create({\n id: 'teambit.component/forking',\n})"
2143
- }
2144
- ],
2145
- "internals": []
2146
- }
2147
- ],
65
+ "internals": [],
2148
66
  "componentId": {
2149
67
  "scope": "teambit.component",
2150
68
  "name": "forking",
2151
- "version": "1.0.256"
69
+ "version": "1.0.258"
2152
70
  },
2153
71
  "taggedModuleExports": []
2154
72
  }