@teambit/cli 0.0.1046 → 0.0.1048

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.
@@ -85,8 +85,7 @@
85
85
  "line": 22,
86
86
  "character": 23
87
87
  },
88
- "name": "Command",
89
- "packageName": "@teambit/legacy/dist/cli/command"
88
+ "name": "Command"
90
89
  }
91
90
  },
92
91
  "isOptional": false,
@@ -107,8 +106,7 @@
107
106
  "line": 23,
108
107
  "character": 21
109
108
  },
110
- "name": "GroupsType",
111
- "packageName": "@teambit/legacy/dist/cli/command-groups"
109
+ "name": "GroupsType"
112
110
  },
113
111
  "isOptional": false,
114
112
  "isSpread": false
@@ -128,8 +126,7 @@
128
126
  "line": 24,
129
127
  "character": 33
130
128
  },
131
- "name": "OnCommandStartSlot",
132
- "internalFilePath": "cli.main.runtime.ts"
129
+ "name": "OnCommandStartSlot"
133
130
  },
134
131
  "isOptional": false,
135
132
  "isSpread": false
@@ -194,8 +191,7 @@
194
191
  "line": 27,
195
192
  "character": 54
196
193
  },
197
- "name": "CommandRunner",
198
- "internalFilePath": "command-runner.ts"
194
+ "name": "CommandRunner"
199
195
  }
200
196
  ]
201
197
  },
@@ -221,7 +217,7 @@
221
217
  "__schema": "ClassSchema",
222
218
  "location": {
223
219
  "filePath": "cli.main.runtime.ts",
224
- "line": 28,
220
+ "line": 29,
225
221
  "character": 1
226
222
  },
227
223
  "signature": "class CLIMain",
@@ -231,7 +227,7 @@
231
227
  "__schema": "VariableLikeSchema",
232
228
  "location": {
233
229
  "filePath": "cli.main.runtime.ts",
234
- "line": 29,
230
+ "line": 30,
235
231
  "character": 3
236
232
  },
237
233
  "signature": "(property) CLIMain.groups: GroupsType",
@@ -240,7 +236,7 @@
240
236
  "__schema": "TypeRefSchema",
241
237
  "location": {
242
238
  "filePath": "cli.main.runtime.ts",
243
- "line": 29,
239
+ "line": 30,
244
240
  "character": 3
245
241
  },
246
242
  "name": "GroupsType",
@@ -253,7 +249,7 @@
253
249
  "__schema": "ConstructorSchema",
254
250
  "location": {
255
251
  "filePath": "cli.main.runtime.ts",
256
- "line": 30,
252
+ "line": 31,
257
253
  "character": 3
258
254
  },
259
255
  "signature": "constructor CLIMain(commandsSlot: CommandsSlot, onStartSlot: OnStartSlot, onCommandStartSlot: OnCommandStartSlot, onBeforeExitSlot: OnBeforeExitSlot, logger: Logger): CLIMain",
@@ -263,7 +259,7 @@
263
259
  "__schema": "ParameterSchema",
264
260
  "location": {
265
261
  "filePath": "cli.main.runtime.ts",
266
- "line": 31,
262
+ "line": 32,
267
263
  "character": 5
268
264
  },
269
265
  "name": "commandsSlot",
@@ -271,7 +267,7 @@
271
267
  "__schema": "TypeRefSchema",
272
268
  "location": {
273
269
  "filePath": "cli.main.runtime.ts",
274
- "line": 31,
270
+ "line": 32,
275
271
  "character": 27
276
272
  },
277
273
  "name": "CommandsSlot"
@@ -283,7 +279,7 @@
283
279
  "__schema": "ParameterSchema",
284
280
  "location": {
285
281
  "filePath": "cli.main.runtime.ts",
286
- "line": 32,
282
+ "line": 33,
287
283
  "character": 5
288
284
  },
289
285
  "name": "onStartSlot",
@@ -291,11 +287,10 @@
291
287
  "__schema": "TypeRefSchema",
292
288
  "location": {
293
289
  "filePath": "cli.main.runtime.ts",
294
- "line": 32,
290
+ "line": 33,
295
291
  "character": 26
296
292
  },
297
- "name": "OnStartSlot",
298
- "internalFilePath": "cli.main.runtime.ts"
293
+ "name": "OnStartSlot"
299
294
  },
300
295
  "isOptional": false,
301
296
  "isSpread": false
@@ -304,7 +299,7 @@
304
299
  "__schema": "ParameterSchema",
305
300
  "location": {
306
301
  "filePath": "cli.main.runtime.ts",
307
- "line": 33,
302
+ "line": 34,
308
303
  "character": 5
309
304
  },
310
305
  "name": "onCommandStartSlot",
@@ -312,11 +307,10 @@
312
307
  "__schema": "TypeRefSchema",
313
308
  "location": {
314
309
  "filePath": "cli.main.runtime.ts",
315
- "line": 33,
310
+ "line": 34,
316
311
  "character": 34
317
312
  },
318
- "name": "OnCommandStartSlot",
319
- "internalFilePath": "cli.main.runtime.ts"
313
+ "name": "OnCommandStartSlot"
320
314
  },
321
315
  "isOptional": false,
322
316
  "isSpread": false
@@ -325,7 +319,7 @@
325
319
  "__schema": "ParameterSchema",
326
320
  "location": {
327
321
  "filePath": "cli.main.runtime.ts",
328
- "line": 34,
322
+ "line": 35,
329
323
  "character": 5
330
324
  },
331
325
  "name": "onBeforeExitSlot",
@@ -333,11 +327,10 @@
333
327
  "__schema": "TypeRefSchema",
334
328
  "location": {
335
329
  "filePath": "cli.main.runtime.ts",
336
- "line": 34,
330
+ "line": 35,
337
331
  "character": 31
338
332
  },
339
- "name": "OnBeforeExitSlot",
340
- "internalFilePath": "cli.main.runtime.ts"
333
+ "name": "OnBeforeExitSlot"
341
334
  },
342
335
  "isOptional": false,
343
336
  "isSpread": false
@@ -346,7 +339,7 @@
346
339
  "__schema": "ParameterSchema",
347
340
  "location": {
348
341
  "filePath": "cli.main.runtime.ts",
349
- "line": 35,
342
+ "line": 36,
350
343
  "character": 5
351
344
  },
352
345
  "name": "logger",
@@ -354,14 +347,10 @@
354
347
  "__schema": "TypeRefSchema",
355
348
  "location": {
356
349
  "filePath": "cli.main.runtime.ts",
357
- "line": 35,
350
+ "line": 36,
358
351
  "character": 21
359
352
  },
360
- "name": "Logger",
361
- "componentId": {
362
- "scope": "teambit.harmony",
363
- "name": "logger"
364
- }
353
+ "name": "Logger"
365
354
  },
366
355
  "isOptional": false,
367
356
  "isSpread": false
@@ -371,7 +360,7 @@
371
360
  "__schema": "ThisTypeSchema",
372
361
  "location": {
373
362
  "filePath": "cli.main.runtime.ts",
374
- "line": 28,
363
+ "line": 29,
375
364
  "character": 1
376
365
  },
377
366
  "name": "CLIMain"
@@ -382,14 +371,14 @@
382
371
  "__schema": "FunctionLikeSchema",
383
372
  "location": {
384
373
  "filePath": "cli.main.runtime.ts",
385
- "line": 41,
374
+ "line": 42,
386
375
  "character": 3
387
376
  },
388
377
  "doc": {
389
378
  "__schema": "DocSchema",
390
379
  "location": {
391
380
  "filePath": "cli.main.runtime.ts",
392
- "line": 38,
381
+ "line": 39,
393
382
  "character": 3
394
383
  },
395
384
  "raw": "/**\n * registers a new command in to the CLI.\n */",
@@ -403,7 +392,7 @@
403
392
  "__schema": "ParameterSchema",
404
393
  "location": {
405
394
  "filePath": "cli.main.runtime.ts",
406
- "line": 41,
395
+ "line": 42,
407
396
  "character": 12
408
397
  },
409
398
  "name": "commands",
@@ -411,7 +400,7 @@
411
400
  "__schema": "TypeRefSchema",
412
401
  "location": {
413
402
  "filePath": "cli.main.runtime.ts",
414
- "line": 41,
403
+ "line": 42,
415
404
  "character": 25
416
405
  },
417
406
  "name": "CommandList"
@@ -424,7 +413,7 @@
424
413
  "__schema": "InferenceTypeSchema",
425
414
  "location": {
426
415
  "filePath": "cli.main.runtime.ts",
427
- "line": 41,
416
+ "line": 42,
428
417
  "character": 3
429
418
  },
430
419
  "type": "void"
@@ -435,14 +424,14 @@
435
424
  "__schema": "FunctionLikeSchema",
436
425
  "location": {
437
426
  "filePath": "cli.main.runtime.ts",
438
- "line": 54,
427
+ "line": 55,
439
428
  "character": 3
440
429
  },
441
430
  "doc": {
442
431
  "__schema": "DocSchema",
443
432
  "location": {
444
433
  "filePath": "cli.main.runtime.ts",
445
- "line": 50,
434
+ "line": 51,
446
435
  "character": 3
447
436
  },
448
437
  "raw": "/**\n * helpful for having the same command name in different environments (e.g. legacy and non-legacy).\n * for example `cli.unregister('tag');` removes the \"bit tag\" command.\n */",
@@ -456,7 +445,7 @@
456
445
  "__schema": "ParameterSchema",
457
446
  "location": {
458
447
  "filePath": "cli.main.runtime.ts",
459
- "line": 54,
448
+ "line": 55,
460
449
  "character": 14
461
450
  },
462
451
  "name": "commandName",
@@ -464,7 +453,7 @@
464
453
  "__schema": "KeywordTypeSchema",
465
454
  "location": {
466
455
  "filePath": "cli.main.runtime.ts",
467
- "line": 54,
456
+ "line": 55,
468
457
  "character": 27
469
458
  },
470
459
  "name": "string"
@@ -477,7 +466,7 @@
477
466
  "__schema": "InferenceTypeSchema",
478
467
  "location": {
479
468
  "filePath": "cli.main.runtime.ts",
480
- "line": 54,
469
+ "line": 55,
481
470
  "character": 3
482
471
  },
483
472
  "type": "void"
@@ -488,7 +477,7 @@
488
477
  "__schema": "GetAccessorSchema",
489
478
  "location": {
490
479
  "filePath": "cli.main.runtime.ts",
491
- "line": 66,
480
+ "line": 67,
492
481
  "character": 3
493
482
  },
494
483
  "signature": "(getter) CLIMain.commands: CommandList",
@@ -497,7 +486,7 @@
497
486
  "__schema": "TypeRefSchema",
498
487
  "location": {
499
488
  "filePath": "cli.main.runtime.ts",
500
- "line": 66,
489
+ "line": 67,
501
490
  "character": 3
502
491
  },
503
492
  "name": "CommandList"
@@ -507,14 +496,14 @@
507
496
  "__schema": "FunctionLikeSchema",
508
497
  "location": {
509
498
  "filePath": "cli.main.runtime.ts",
510
- "line": 73,
499
+ "line": 74,
511
500
  "character": 3
512
501
  },
513
502
  "doc": {
514
503
  "__schema": "DocSchema",
515
504
  "location": {
516
505
  "filePath": "cli.main.runtime.ts",
517
- "line": 70,
506
+ "line": 71,
518
507
  "character": 3
519
508
  },
520
509
  "raw": "/**\n * get an instance of a registered command. (useful for aspects to modify and extend existing commands)\n */",
@@ -528,7 +517,7 @@
528
517
  "__schema": "ParameterSchema",
529
518
  "location": {
530
519
  "filePath": "cli.main.runtime.ts",
531
- "line": 73,
520
+ "line": 74,
532
521
  "character": 14
533
522
  },
534
523
  "name": "name",
@@ -536,7 +525,7 @@
536
525
  "__schema": "KeywordTypeSchema",
537
526
  "location": {
538
527
  "filePath": "cli.main.runtime.ts",
539
- "line": 73,
528
+ "line": 74,
540
529
  "character": 20
541
530
  },
542
531
  "name": "string"
@@ -549,7 +538,7 @@
549
538
  "__schema": "TypeUnionSchema",
550
539
  "location": {
551
540
  "filePath": "cli.main.runtime.ts",
552
- "line": 73,
541
+ "line": 74,
553
542
  "character": 29
554
543
  },
555
544
  "types": [
@@ -557,17 +546,16 @@
557
546
  "__schema": "TypeRefSchema",
558
547
  "location": {
559
548
  "filePath": "cli.main.runtime.ts",
560
- "line": 73,
549
+ "line": 74,
561
550
  "character": 29
562
551
  },
563
- "name": "Command",
564
- "packageName": "@teambit/legacy/dist/cli/command"
552
+ "name": "Command"
565
553
  },
566
554
  {
567
555
  "__schema": "KeywordTypeSchema",
568
556
  "location": {
569
557
  "filePath": "cli.main.runtime.ts",
570
- "line": 73,
558
+ "line": 74,
571
559
  "character": 39
572
560
  },
573
561
  "name": "undefined"
@@ -580,7 +568,7 @@
580
568
  "__schema": "FunctionLikeSchema",
581
569
  "location": {
582
570
  "filePath": "cli.main.runtime.ts",
583
- "line": 77,
571
+ "line": 78,
584
572
  "character": 3
585
573
  },
586
574
  "signature": "(method) CLIMain.getCommandByNameOrAlias(name: string): Command | undefined",
@@ -590,7 +578,7 @@
590
578
  "__schema": "ParameterSchema",
591
579
  "location": {
592
580
  "filePath": "cli.main.runtime.ts",
593
- "line": 77,
581
+ "line": 78,
594
582
  "character": 27
595
583
  },
596
584
  "name": "name",
@@ -598,7 +586,7 @@
598
586
  "__schema": "KeywordTypeSchema",
599
587
  "location": {
600
588
  "filePath": "cli.main.runtime.ts",
601
- "line": 77,
589
+ "line": 78,
602
590
  "character": 33
603
591
  },
604
592
  "name": "string"
@@ -611,7 +599,7 @@
611
599
  "__schema": "TypeUnionSchema",
612
600
  "location": {
613
601
  "filePath": "cli.main.runtime.ts",
614
- "line": 77,
602
+ "line": 78,
615
603
  "character": 42
616
604
  },
617
605
  "types": [
@@ -619,17 +607,16 @@
619
607
  "__schema": "TypeRefSchema",
620
608
  "location": {
621
609
  "filePath": "cli.main.runtime.ts",
622
- "line": 77,
610
+ "line": 78,
623
611
  "character": 42
624
612
  },
625
- "name": "Command",
626
- "packageName": "@teambit/legacy/dist/cli/command"
613
+ "name": "Command"
627
614
  },
628
615
  {
629
616
  "__schema": "KeywordTypeSchema",
630
617
  "location": {
631
618
  "filePath": "cli.main.runtime.ts",
632
- "line": 77,
619
+ "line": 78,
633
620
  "character": 52
634
621
  },
635
622
  "name": "undefined"
@@ -642,14 +629,14 @@
642
629
  "__schema": "FunctionLikeSchema",
643
630
  "location": {
644
631
  "filePath": "cli.main.runtime.ts",
645
- "line": 89,
632
+ "line": 90,
646
633
  "character": 3
647
634
  },
648
635
  "doc": {
649
636
  "__schema": "DocSchema",
650
637
  "location": {
651
638
  "filePath": "cli.main.runtime.ts",
652
- "line": 83,
639
+ "line": 84,
653
640
  "character": 3
654
641
  },
655
642
  "raw": "/**\n * when running `bit help`, commands are grouped by categories.\n * this method helps registering a new group by providing its name and a description.\n * the name is what needs to be assigned to the `group` property of the Command interface.\n * the description is what shown in the `bit help` output.\n */",
@@ -663,7 +650,7 @@
663
650
  "__schema": "ParameterSchema",
664
651
  "location": {
665
652
  "filePath": "cli.main.runtime.ts",
666
- "line": 89,
653
+ "line": 90,
667
654
  "character": 17
668
655
  },
669
656
  "name": "name",
@@ -671,7 +658,7 @@
671
658
  "__schema": "KeywordTypeSchema",
672
659
  "location": {
673
660
  "filePath": "cli.main.runtime.ts",
674
- "line": 89,
661
+ "line": 90,
675
662
  "character": 23
676
663
  },
677
664
  "name": "string"
@@ -683,7 +670,7 @@
683
670
  "__schema": "ParameterSchema",
684
671
  "location": {
685
672
  "filePath": "cli.main.runtime.ts",
686
- "line": 89,
673
+ "line": 90,
687
674
  "character": 31
688
675
  },
689
676
  "name": "description",
@@ -691,7 +678,7 @@
691
678
  "__schema": "KeywordTypeSchema",
692
679
  "location": {
693
680
  "filePath": "cli.main.runtime.ts",
694
- "line": 89,
681
+ "line": 90,
695
682
  "character": 44
696
683
  },
697
684
  "name": "string"
@@ -704,7 +691,7 @@
704
691
  "__schema": "InferenceTypeSchema",
705
692
  "location": {
706
693
  "filePath": "cli.main.runtime.ts",
707
- "line": 89,
694
+ "line": 90,
708
695
  "character": 3
709
696
  },
710
697
  "type": "void"
@@ -715,14 +702,14 @@
715
702
  "__schema": "FunctionLikeSchema",
716
703
  "location": {
717
704
  "filePath": "cli.main.runtime.ts",
718
- "line": 100,
705
+ "line": 101,
719
706
  "character": 3
720
707
  },
721
708
  "doc": {
722
709
  "__schema": "DocSchema",
723
710
  "location": {
724
711
  "filePath": "cli.main.runtime.ts",
725
- "line": 97,
712
+ "line": 98,
726
713
  "character": 3
727
714
  },
728
715
  "raw": "/**\n * onStart is when bootstrapping the CLI. (it happens before onCommandStart)\n */",
@@ -736,7 +723,7 @@
736
723
  "__schema": "ParameterSchema",
737
724
  "location": {
738
725
  "filePath": "cli.main.runtime.ts",
739
- "line": 100,
726
+ "line": 101,
740
727
  "character": 19
741
728
  },
742
729
  "name": "onStartFn",
@@ -744,11 +731,10 @@
744
731
  "__schema": "TypeRefSchema",
745
732
  "location": {
746
733
  "filePath": "cli.main.runtime.ts",
747
- "line": 100,
734
+ "line": 101,
748
735
  "character": 30
749
736
  },
750
- "name": "OnStart",
751
- "internalFilePath": "cli.main.runtime.ts"
737
+ "name": "OnStart"
752
738
  },
753
739
  "isOptional": false,
754
740
  "isSpread": false
@@ -758,7 +744,7 @@
758
744
  "__schema": "TypeRefSchema",
759
745
  "location": {
760
746
  "filePath": "cli.main.runtime.ts",
761
- "line": 100,
747
+ "line": 101,
762
748
  "character": 3
763
749
  },
764
750
  "name": "CLIMain"
@@ -769,14 +755,14 @@
769
755
  "__schema": "FunctionLikeSchema",
770
756
  "location": {
771
757
  "filePath": "cli.main.runtime.ts",
772
- "line": 109,
758
+ "line": 110,
773
759
  "character": 3
774
760
  },
775
761
  "doc": {
776
762
  "__schema": "DocSchema",
777
763
  "location": {
778
764
  "filePath": "cli.main.runtime.ts",
779
- "line": 105,
765
+ "line": 106,
780
766
  "character": 3
781
767
  },
782
768
  "raw": "/**\n * onCommandStart is when a command is about to start and we have the command object and the parsed args and flags\n * already. (it happens after onStart)\n */",
@@ -790,7 +776,7 @@
790
776
  "__schema": "ParameterSchema",
791
777
  "location": {
792
778
  "filePath": "cli.main.runtime.ts",
793
- "line": 109,
779
+ "line": 110,
794
780
  "character": 26
795
781
  },
796
782
  "name": "onCommandStartFn",
@@ -798,11 +784,10 @@
798
784
  "__schema": "TypeRefSchema",
799
785
  "location": {
800
786
  "filePath": "cli.main.runtime.ts",
801
- "line": 109,
787
+ "line": 110,
802
788
  "character": 44
803
789
  },
804
- "name": "OnCommandStart",
805
- "internalFilePath": "cli.main.runtime.ts"
790
+ "name": "OnCommandStart"
806
791
  },
807
792
  "isOptional": false,
808
793
  "isSpread": false
@@ -812,7 +797,7 @@
812
797
  "__schema": "TypeRefSchema",
813
798
  "location": {
814
799
  "filePath": "cli.main.runtime.ts",
815
- "line": 109,
800
+ "line": 110,
816
801
  "character": 3
817
802
  },
818
803
  "name": "CLIMain"
@@ -823,14 +808,14 @@
823
808
  "__schema": "FunctionLikeSchema",
824
809
  "location": {
825
810
  "filePath": "cli.main.runtime.ts",
826
- "line": 129,
811
+ "line": 130,
827
812
  "character": 3
828
813
  },
829
814
  "doc": {
830
815
  "__schema": "DocSchema",
831
816
  "location": {
832
817
  "filePath": "cli.main.runtime.ts",
833
- "line": 114,
818
+ "line": 115,
834
819
  "character": 3
835
820
  },
836
821
  "raw": "/**\n * This will register a function to be called before the process exits.\n * This will run only for \"regular\" exits\n * e.g.\n * yes - command run and finished successfully\n * yes - command run and failed gracefully (code 1)\n * not SIGKILL (kill -9)\n * not SIGINT (Ctrl+C)\n * not SIGTERM (kill)\n * not uncaughtException\n * not unhandledRejection\n *\n * @param onBeforeExitFn\n * @returns\n */",
@@ -840,7 +825,7 @@
840
825
  "__schema": "PropertyLikeTagSchema",
841
826
  "location": {
842
827
  "filePath": "cli.main.runtime.ts",
843
- "line": 126,
828
+ "line": 127,
844
829
  "character": 6
845
830
  },
846
831
  "name": "onBeforeExitFn",
@@ -850,7 +835,7 @@
850
835
  "__schema": "ReturnTagSchema",
851
836
  "location": {
852
837
  "filePath": "cli.main.runtime.ts",
853
- "line": 127,
838
+ "line": 128,
854
839
  "character": 6
855
840
  },
856
841
  "tagName": "return"
@@ -864,7 +849,7 @@
864
849
  "__schema": "ParameterSchema",
865
850
  "location": {
866
851
  "filePath": "cli.main.runtime.ts",
867
- "line": 129,
852
+ "line": 130,
868
853
  "character": 24
869
854
  },
870
855
  "name": "onBeforeExitFn",
@@ -872,11 +857,10 @@
872
857
  "__schema": "TypeRefSchema",
873
858
  "location": {
874
859
  "filePath": "cli.main.runtime.ts",
875
- "line": 129,
860
+ "line": 130,
876
861
  "character": 40
877
862
  },
878
- "name": "OnBeforeExitFn",
879
- "internalFilePath": "cli.main.runtime.ts"
863
+ "name": "OnBeforeExitFn"
880
864
  },
881
865
  "isOptional": false,
882
866
  "isSpread": false
@@ -886,7 +870,7 @@
886
870
  "__schema": "TypeRefSchema",
887
871
  "location": {
888
872
  "filePath": "cli.main.runtime.ts",
889
- "line": 129,
873
+ "line": 130,
890
874
  "character": 3
891
875
  },
892
876
  "name": "CLIMain"
@@ -897,14 +881,14 @@
897
881
  "__schema": "FunctionLikeSchema",
898
882
  "location": {
899
883
  "filePath": "cli.main.runtime.ts",
900
- "line": 138,
884
+ "line": 139,
901
885
  "character": 3
902
886
  },
903
887
  "doc": {
904
888
  "__schema": "DocSchema",
905
889
  "location": {
906
890
  "filePath": "cli.main.runtime.ts",
907
- "line": 135,
891
+ "line": 136,
908
892
  "character": 3
909
893
  },
910
894
  "raw": "/**\n * execute commands registered to this aspect.\n */",
@@ -918,7 +902,7 @@
918
902
  "__schema": "ParameterSchema",
919
903
  "location": {
920
904
  "filePath": "cli.main.runtime.ts",
921
- "line": 138,
905
+ "line": 139,
922
906
  "character": 13
923
907
  },
924
908
  "name": "hasWorkspace",
@@ -926,7 +910,7 @@
926
910
  "__schema": "KeywordTypeSchema",
927
911
  "location": {
928
912
  "filePath": "cli.main.runtime.ts",
929
- "line": 138,
913
+ "line": 139,
930
914
  "character": 27
931
915
  },
932
916
  "name": "boolean"
@@ -939,7 +923,7 @@
939
923
  "__schema": "InferenceTypeSchema",
940
924
  "location": {
941
925
  "filePath": "cli.main.runtime.ts",
942
- "line": 138,
926
+ "line": 139,
943
927
  "character": 3
944
928
  },
945
929
  "type": "Promise<void>"
@@ -952,7 +936,7 @@
952
936
  "__schema": "VariableLikeSchema",
953
937
  "location": {
954
938
  "filePath": "cli.main.runtime.ts",
955
- "line": 172,
939
+ "line": 173,
956
940
  "character": 3
957
941
  },
958
942
  "signature": "(property) CLIMain.dependencies: Aspect[]",
@@ -961,7 +945,7 @@
961
945
  "__schema": "InferenceTypeSchema",
962
946
  "location": {
963
947
  "filePath": "cli.main.runtime.ts",
964
- "line": 172,
948
+ "line": 173,
965
949
  "character": 3
966
950
  },
967
951
  "type": "Aspect[]"
@@ -973,7 +957,7 @@
973
957
  "__schema": "VariableLikeSchema",
974
958
  "location": {
975
959
  "filePath": "cli.main.runtime.ts",
976
- "line": 173,
960
+ "line": 174,
977
961
  "character": 3
978
962
  },
979
963
  "signature": "(property) CLIMain.runtime: RuntimeDefinition",
@@ -982,7 +966,7 @@
982
966
  "__schema": "InferenceTypeSchema",
983
967
  "location": {
984
968
  "filePath": "cli.main.runtime.ts",
985
- "line": 173,
969
+ "line": 174,
986
970
  "character": 3
987
971
  },
988
972
  "type": "RuntimeDefinition"
@@ -994,7 +978,7 @@
994
978
  "__schema": "VariableLikeSchema",
995
979
  "location": {
996
980
  "filePath": "cli.main.runtime.ts",
997
- "line": 174,
981
+ "line": 175,
998
982
  "character": 3
999
983
  },
1000
984
  "signature": "(property) CLIMain.slots: (((registerFn: () => string) => SlotRegistry<CommandList>) | ((registerFn: () => string) => SlotRegistry<OnStart>) | ((registerFn: () => string) => SlotRegistry<...>))[]",
@@ -1003,7 +987,7 @@
1003
987
  "__schema": "InferenceTypeSchema",
1004
988
  "location": {
1005
989
  "filePath": "cli.main.runtime.ts",
1006
- "line": 174,
990
+ "line": 175,
1007
991
  "character": 3
1008
992
  },
1009
993
  "type": "(((registerFn: () => string) => SlotRegistry<CommandList>) | ((registerFn: () => string) => SlotRegistry<OnStart>) | ((registerFn: () => string) => SlotRegistry<...>))[]"
@@ -1015,7 +999,7 @@
1015
999
  "__schema": "FunctionLikeSchema",
1016
1000
  "location": {
1017
1001
  "filePath": "cli.main.runtime.ts",
1018
- "line": 181,
1002
+ "line": 182,
1019
1003
  "character": 3
1020
1004
  },
1021
1005
  "signature": "(method) CLIMain.provider([loggerMain]: [LoggerMain], config: any, [commandsSlot, onStartSlot, onCommandStartSlot, onBeforeExitSlot]: [\n CommandsSlot,\n OnStartSlot,\n OnCommandStartSlot,\n OnBeforeExitSlot\n]): Promise<CLIMain>",
@@ -1025,7 +1009,7 @@
1025
1009
  "__schema": "ParameterSchema",
1026
1010
  "location": {
1027
1011
  "filePath": "cli.main.runtime.ts",
1028
- "line": 182,
1012
+ "line": 183,
1029
1013
  "character": 5
1030
1014
  },
1031
1015
  "name": "[ loggerMain ]",
@@ -1033,7 +1017,7 @@
1033
1017
  "__schema": "TupleTypeSchema",
1034
1018
  "location": {
1035
1019
  "filePath": "cli.main.runtime.ts",
1036
- "line": 182,
1020
+ "line": 183,
1037
1021
  "character": 19
1038
1022
  },
1039
1023
  "elements": [
@@ -1041,14 +1025,10 @@
1041
1025
  "__schema": "TypeRefSchema",
1042
1026
  "location": {
1043
1027
  "filePath": "cli.main.runtime.ts",
1044
- "line": 182,
1028
+ "line": 183,
1045
1029
  "character": 20
1046
1030
  },
1047
- "name": "LoggerMain",
1048
- "componentId": {
1049
- "scope": "teambit.harmony",
1050
- "name": "logger"
1051
- }
1031
+ "name": "LoggerMain"
1052
1032
  }
1053
1033
  ]
1054
1034
  },
@@ -1059,7 +1039,7 @@
1059
1039
  "__schema": "ParameterSchema",
1060
1040
  "location": {
1061
1041
  "filePath": "cli.main.runtime.ts",
1062
- "line": 183,
1042
+ "line": 184,
1063
1043
  "character": 5
1064
1044
  },
1065
1045
  "name": "config",
@@ -1067,7 +1047,7 @@
1067
1047
  "__schema": "InferenceTypeSchema",
1068
1048
  "location": {
1069
1049
  "filePath": "cli.main.runtime.ts",
1070
- "line": 183,
1050
+ "line": 184,
1071
1051
  "character": 5
1072
1052
  },
1073
1053
  "type": "any"
@@ -1079,7 +1059,7 @@
1079
1059
  "__schema": "ParameterSchema",
1080
1060
  "location": {
1081
1061
  "filePath": "cli.main.runtime.ts",
1082
- "line": 184,
1062
+ "line": 185,
1083
1063
  "character": 5
1084
1064
  },
1085
1065
  "name": "[ commandsSlot, onStartSlot, onCommandStartSlot, onBeforeExitSlot ]",
@@ -1087,7 +1067,7 @@
1087
1067
  "__schema": "TupleTypeSchema",
1088
1068
  "location": {
1089
1069
  "filePath": "cli.main.runtime.ts",
1090
- "line": 184,
1070
+ "line": 185,
1091
1071
  "character": 72
1092
1072
  },
1093
1073
  "elements": [
@@ -1095,7 +1075,7 @@
1095
1075
  "__schema": "TypeRefSchema",
1096
1076
  "location": {
1097
1077
  "filePath": "cli.main.runtime.ts",
1098
- "line": 185,
1078
+ "line": 186,
1099
1079
  "character": 7
1100
1080
  },
1101
1081
  "name": "CommandsSlot"
@@ -1104,31 +1084,28 @@
1104
1084
  "__schema": "TypeRefSchema",
1105
1085
  "location": {
1106
1086
  "filePath": "cli.main.runtime.ts",
1107
- "line": 186,
1087
+ "line": 187,
1108
1088
  "character": 7
1109
1089
  },
1110
- "name": "OnStartSlot",
1111
- "internalFilePath": "cli.main.runtime.ts"
1090
+ "name": "OnStartSlot"
1112
1091
  },
1113
1092
  {
1114
1093
  "__schema": "TypeRefSchema",
1115
1094
  "location": {
1116
1095
  "filePath": "cli.main.runtime.ts",
1117
- "line": 187,
1096
+ "line": 188,
1118
1097
  "character": 7
1119
1098
  },
1120
- "name": "OnCommandStartSlot",
1121
- "internalFilePath": "cli.main.runtime.ts"
1099
+ "name": "OnCommandStartSlot"
1122
1100
  },
1123
1101
  {
1124
1102
  "__schema": "TypeRefSchema",
1125
1103
  "location": {
1126
1104
  "filePath": "cli.main.runtime.ts",
1127
- "line": 188,
1105
+ "line": 189,
1128
1106
  "character": 7
1129
1107
  },
1130
- "name": "OnBeforeExitSlot",
1131
- "internalFilePath": "cli.main.runtime.ts"
1108
+ "name": "OnBeforeExitSlot"
1132
1109
  }
1133
1110
  ]
1134
1111
  },
@@ -1140,7 +1117,7 @@
1140
1117
  "__schema": "InferenceTypeSchema",
1141
1118
  "location": {
1142
1119
  "filePath": "cli.main.runtime.ts",
1143
- "line": 181,
1120
+ "line": 182,
1144
1121
  "character": 3
1145
1122
  },
1146
1123
  "type": "Promise<CLIMain>"
@@ -1168,7 +1145,7 @@
1168
1145
  "__schema": "TypeSchema",
1169
1146
  "location": {
1170
1147
  "filePath": "cli.main.runtime.ts",
1171
- "line": 18,
1148
+ "line": 19,
1172
1149
  "character": 1
1173
1150
  },
1174
1151
  "signature": "type CommandList = Command[]",
@@ -1177,7 +1154,7 @@
1177
1154
  "__schema": "TypeRefSchema",
1178
1155
  "location": {
1179
1156
  "filePath": "cli.main.runtime.ts",
1180
- "line": 18,
1157
+ "line": 19,
1181
1158
  "character": 27
1182
1159
  },
1183
1160
  "name": "Array",
@@ -1186,11 +1163,10 @@
1186
1163
  "__schema": "TypeRefSchema",
1187
1164
  "location": {
1188
1165
  "filePath": "cli.main.runtime.ts",
1189
- "line": 18,
1166
+ "line": 19,
1190
1167
  "character": 33
1191
1168
  },
1192
- "name": "Command",
1193
- "packageName": "@teambit/legacy/dist/cli/command"
1169
+ "name": "Command"
1194
1170
  }
1195
1171
  ]
1196
1172
  }
@@ -1209,7 +1185,7 @@
1209
1185
  "__schema": "TypeSchema",
1210
1186
  "location": {
1211
1187
  "filePath": "cli.main.runtime.ts",
1212
- "line": 25,
1188
+ "line": 26,
1213
1189
  "character": 1
1214
1190
  },
1215
1191
  "signature": "type CommandsSlot = SlotRegistry<CommandList>",
@@ -1218,21 +1194,16 @@
1218
1194
  "__schema": "TypeRefSchema",
1219
1195
  "location": {
1220
1196
  "filePath": "cli.main.runtime.ts",
1221
- "line": 25,
1197
+ "line": 26,
1222
1198
  "character": 28
1223
1199
  },
1224
1200
  "name": "SlotRegistry",
1225
- "componentId": {
1226
- "scope": "teambit.harmony",
1227
- "name": "harmony",
1228
- "version": "0.4.6"
1229
- },
1230
1201
  "typeArgs": [
1231
1202
  {
1232
1203
  "__schema": "TypeRefSchema",
1233
1204
  "location": {
1234
1205
  "filePath": "cli.main.runtime.ts",
1235
- "line": 25,
1206
+ "line": 26,
1236
1207
  "character": 41
1237
1208
  },
1238
1209
  "name": "CommandList"
@@ -1677,7 +1648,7 @@
1677
1648
  "_legacy": {
1678
1649
  "scope": "teambit.harmony",
1679
1650
  "name": "cli",
1680
- "version": "0.0.1046"
1651
+ "version": "0.0.1048"
1681
1652
  },
1682
1653
  "_scope": "teambit.harmony"
1683
1654
  }
@@ -1791,7 +1762,7 @@
1791
1762
  "_legacy": {
1792
1763
  "scope": "teambit.harmony",
1793
1764
  "name": "cli",
1794
- "version": "0.0.1046"
1765
+ "version": "0.0.1048"
1795
1766
  },
1796
1767
  "_scope": "teambit.harmony"
1797
1768
  }
@@ -1985,8 +1956,7 @@
1985
1956
  "line": 22,
1986
1957
  "character": 23
1987
1958
  },
1988
- "name": "Command",
1989
- "packageName": "@teambit/legacy/dist/cli/command"
1959
+ "name": "Command"
1990
1960
  }
1991
1961
  },
1992
1962
  "isOptional": false,
@@ -2007,8 +1977,7 @@
2007
1977
  "line": 23,
2008
1978
  "character": 21
2009
1979
  },
2010
- "name": "GroupsType",
2011
- "packageName": "@teambit/legacy/dist/cli/command-groups"
1980
+ "name": "GroupsType"
2012
1981
  },
2013
1982
  "isOptional": false,
2014
1983
  "isSpread": false
@@ -2028,8 +1997,7 @@
2028
1997
  "line": 24,
2029
1998
  "character": 33
2030
1999
  },
2031
- "name": "OnCommandStartSlot",
2032
- "internalFilePath": "cli.main.runtime.ts"
2000
+ "name": "OnCommandStartSlot"
2033
2001
  },
2034
2002
  "isOptional": false,
2035
2003
  "isSpread": false
@@ -2094,8 +2062,7 @@
2094
2062
  "line": 27,
2095
2063
  "character": 54
2096
2064
  },
2097
- "name": "CommandRunner",
2098
- "internalFilePath": "command-runner.ts"
2065
+ "name": "CommandRunner"
2099
2066
  }
2100
2067
  ]
2101
2068
  },
@@ -2139,8 +2106,7 @@
2139
2106
  "line": 320,
2140
2107
  "character": 45
2141
2108
  },
2142
- "name": "Command",
2143
- "packageName": "@teambit/legacy/dist/cli/command"
2109
+ "name": "Command"
2144
2110
  }
2145
2111
  },
2146
2112
  "isOptional": false,
@@ -2162,8 +2128,7 @@
2162
2128
  "line": 320,
2163
2129
  "character": 57
2164
2130
  },
2165
- "name": "Command",
2166
- "packageName": "@teambit/legacy/dist/cli/command"
2131
+ "name": "Command"
2167
2132
  },
2168
2133
  {
2169
2134
  "__schema": "KeywordTypeSchema",
@@ -2195,7 +2160,7 @@
2195
2160
  "__schema": "TypeSchema",
2196
2161
  "location": {
2197
2162
  "filePath": "cli.main.runtime.ts",
2198
- "line": 18,
2163
+ "line": 19,
2199
2164
  "character": 1
2200
2165
  },
2201
2166
  "signature": "type CommandList = Command[]",
@@ -2204,7 +2169,7 @@
2204
2169
  "__schema": "TypeRefSchema",
2205
2170
  "location": {
2206
2171
  "filePath": "cli.main.runtime.ts",
2207
- "line": 18,
2172
+ "line": 19,
2208
2173
  "character": 27
2209
2174
  },
2210
2175
  "name": "Array",
@@ -2213,11 +2178,10 @@
2213
2178
  "__schema": "TypeRefSchema",
2214
2179
  "location": {
2215
2180
  "filePath": "cli.main.runtime.ts",
2216
- "line": 18,
2181
+ "line": 19,
2217
2182
  "character": 33
2218
2183
  },
2219
- "name": "Command",
2220
- "packageName": "@teambit/legacy/dist/cli/command"
2184
+ "name": "Command"
2221
2185
  }
2222
2186
  ]
2223
2187
  }
@@ -2226,7 +2190,7 @@
2226
2190
  "__schema": "TypeSchema",
2227
2191
  "location": {
2228
2192
  "filePath": "cli.main.runtime.ts",
2229
- "line": 19,
2193
+ "line": 20,
2230
2194
  "character": 1
2231
2195
  },
2232
2196
  "signature": "type OnStart = (hasWorkspace: boolean, currentCommand: string, commandObject?: Command) => Promise<void>",
@@ -2235,17 +2199,17 @@
2235
2199
  "__schema": "FunctionLikeSchema",
2236
2200
  "location": {
2237
2201
  "filePath": "cli.main.runtime.ts",
2238
- "line": 19,
2202
+ "line": 20,
2239
2203
  "character": 23
2240
2204
  },
2241
- "signature": "(hasWorkspace: boolean, currentCommand: string, commandObject?: (package: @teambit/legacy/dist/cli/command) Command): Promise<void>",
2205
+ "signature": "(hasWorkspace: boolean, currentCommand: string, commandObject?: Command): Promise<void>",
2242
2206
  "name": "",
2243
2207
  "params": [
2244
2208
  {
2245
2209
  "__schema": "ParameterSchema",
2246
2210
  "location": {
2247
2211
  "filePath": "cli.main.runtime.ts",
2248
- "line": 19,
2212
+ "line": 20,
2249
2213
  "character": 24
2250
2214
  },
2251
2215
  "name": "hasWorkspace",
@@ -2253,7 +2217,7 @@
2253
2217
  "__schema": "KeywordTypeSchema",
2254
2218
  "location": {
2255
2219
  "filePath": "cli.main.runtime.ts",
2256
- "line": 19,
2220
+ "line": 20,
2257
2221
  "character": 38
2258
2222
  },
2259
2223
  "name": "boolean"
@@ -2265,7 +2229,7 @@
2265
2229
  "__schema": "ParameterSchema",
2266
2230
  "location": {
2267
2231
  "filePath": "cli.main.runtime.ts",
2268
- "line": 19,
2232
+ "line": 20,
2269
2233
  "character": 47
2270
2234
  },
2271
2235
  "name": "currentCommand",
@@ -2273,7 +2237,7 @@
2273
2237
  "__schema": "KeywordTypeSchema",
2274
2238
  "location": {
2275
2239
  "filePath": "cli.main.runtime.ts",
2276
- "line": 19,
2240
+ "line": 20,
2277
2241
  "character": 63
2278
2242
  },
2279
2243
  "name": "string"
@@ -2285,7 +2249,7 @@
2285
2249
  "__schema": "ParameterSchema",
2286
2250
  "location": {
2287
2251
  "filePath": "cli.main.runtime.ts",
2288
- "line": 19,
2252
+ "line": 20,
2289
2253
  "character": 71
2290
2254
  },
2291
2255
  "name": "commandObject",
@@ -2293,11 +2257,10 @@
2293
2257
  "__schema": "TypeRefSchema",
2294
2258
  "location": {
2295
2259
  "filePath": "cli.main.runtime.ts",
2296
- "line": 19,
2260
+ "line": 20,
2297
2261
  "character": 87
2298
2262
  },
2299
- "name": "Command",
2300
- "packageName": "@teambit/legacy/dist/cli/command"
2263
+ "name": "Command"
2301
2264
  },
2302
2265
  "isOptional": true,
2303
2266
  "isSpread": false
@@ -2307,7 +2270,7 @@
2307
2270
  "__schema": "TypeRefSchema",
2308
2271
  "location": {
2309
2272
  "filePath": "cli.main.runtime.ts",
2310
- "line": 19,
2273
+ "line": 20,
2311
2274
  "character": 99
2312
2275
  },
2313
2276
  "name": "Promise",
@@ -2316,7 +2279,7 @@
2316
2279
  "__schema": "KeywordTypeSchema",
2317
2280
  "location": {
2318
2281
  "filePath": "cli.main.runtime.ts",
2319
- "line": 19,
2282
+ "line": 20,
2320
2283
  "character": 107
2321
2284
  },
2322
2285
  "name": "void"
@@ -2330,7 +2293,7 @@
2330
2293
  "__schema": "TypeSchema",
2331
2294
  "location": {
2332
2295
  "filePath": "cli.main.runtime.ts",
2333
- "line": 20,
2296
+ "line": 21,
2334
2297
  "character": 1
2335
2298
  },
2336
2299
  "signature": "type OnCommandStart = (commandName: string, args: CLIArgs, flags: Flags) => Promise<void>",
@@ -2339,17 +2302,17 @@
2339
2302
  "__schema": "FunctionLikeSchema",
2340
2303
  "location": {
2341
2304
  "filePath": "cli.main.runtime.ts",
2342
- "line": 20,
2305
+ "line": 21,
2343
2306
  "character": 30
2344
2307
  },
2345
- "signature": "(commandName: string, args: (package: @teambit/legacy/dist/cli/command) CLIArgs, flags: (package: @teambit/legacy/dist/cli/command) Flags): Promise<void>",
2308
+ "signature": "(commandName: string, args: CLIArgs, flags: Flags): Promise<void>",
2346
2309
  "name": "",
2347
2310
  "params": [
2348
2311
  {
2349
2312
  "__schema": "ParameterSchema",
2350
2313
  "location": {
2351
2314
  "filePath": "cli.main.runtime.ts",
2352
- "line": 20,
2315
+ "line": 21,
2353
2316
  "character": 31
2354
2317
  },
2355
2318
  "name": "commandName",
@@ -2357,7 +2320,7 @@
2357
2320
  "__schema": "KeywordTypeSchema",
2358
2321
  "location": {
2359
2322
  "filePath": "cli.main.runtime.ts",
2360
- "line": 20,
2323
+ "line": 21,
2361
2324
  "character": 44
2362
2325
  },
2363
2326
  "name": "string"
@@ -2369,7 +2332,7 @@
2369
2332
  "__schema": "ParameterSchema",
2370
2333
  "location": {
2371
2334
  "filePath": "cli.main.runtime.ts",
2372
- "line": 20,
2335
+ "line": 21,
2373
2336
  "character": 52
2374
2337
  },
2375
2338
  "name": "args",
@@ -2377,11 +2340,10 @@
2377
2340
  "__schema": "TypeRefSchema",
2378
2341
  "location": {
2379
2342
  "filePath": "cli.main.runtime.ts",
2380
- "line": 20,
2343
+ "line": 21,
2381
2344
  "character": 58
2382
2345
  },
2383
- "name": "CLIArgs",
2384
- "packageName": "@teambit/legacy/dist/cli/command"
2346
+ "name": "CLIArgs"
2385
2347
  },
2386
2348
  "isOptional": false,
2387
2349
  "isSpread": false
@@ -2390,7 +2352,7 @@
2390
2352
  "__schema": "ParameterSchema",
2391
2353
  "location": {
2392
2354
  "filePath": "cli.main.runtime.ts",
2393
- "line": 20,
2355
+ "line": 21,
2394
2356
  "character": 67
2395
2357
  },
2396
2358
  "name": "flags",
@@ -2398,11 +2360,10 @@
2398
2360
  "__schema": "TypeRefSchema",
2399
2361
  "location": {
2400
2362
  "filePath": "cli.main.runtime.ts",
2401
- "line": 20,
2363
+ "line": 21,
2402
2364
  "character": 74
2403
2365
  },
2404
- "name": "Flags",
2405
- "packageName": "@teambit/legacy/dist/cli/command"
2366
+ "name": "Flags"
2406
2367
  },
2407
2368
  "isOptional": false,
2408
2369
  "isSpread": false
@@ -2412,7 +2373,7 @@
2412
2373
  "__schema": "TypeRefSchema",
2413
2374
  "location": {
2414
2375
  "filePath": "cli.main.runtime.ts",
2415
- "line": 20,
2376
+ "line": 21,
2416
2377
  "character": 84
2417
2378
  },
2418
2379
  "name": "Promise",
@@ -2421,7 +2382,7 @@
2421
2382
  "__schema": "KeywordTypeSchema",
2422
2383
  "location": {
2423
2384
  "filePath": "cli.main.runtime.ts",
2424
- "line": 20,
2385
+ "line": 21,
2425
2386
  "character": 92
2426
2387
  },
2427
2388
  "name": "void"
@@ -2435,7 +2396,7 @@
2435
2396
  "__schema": "TypeSchema",
2436
2397
  "location": {
2437
2398
  "filePath": "cli.main.runtime.ts",
2438
- "line": 21,
2399
+ "line": 22,
2439
2400
  "character": 1
2440
2401
  },
2441
2402
  "signature": "type OnBeforeExitFn = () => Promise<void>",
@@ -2444,7 +2405,7 @@
2444
2405
  "__schema": "FunctionLikeSchema",
2445
2406
  "location": {
2446
2407
  "filePath": "cli.main.runtime.ts",
2447
- "line": 21,
2408
+ "line": 22,
2448
2409
  "character": 30
2449
2410
  },
2450
2411
  "signature": "(): Promise<void>",
@@ -2454,7 +2415,7 @@
2454
2415
  "__schema": "TypeRefSchema",
2455
2416
  "location": {
2456
2417
  "filePath": "cli.main.runtime.ts",
2457
- "line": 21,
2418
+ "line": 22,
2458
2419
  "character": 36
2459
2420
  },
2460
2421
  "name": "Promise",
@@ -2463,7 +2424,7 @@
2463
2424
  "__schema": "KeywordTypeSchema",
2464
2425
  "location": {
2465
2426
  "filePath": "cli.main.runtime.ts",
2466
- "line": 21,
2427
+ "line": 22,
2467
2428
  "character": 44
2468
2429
  },
2469
2430
  "name": "void"
@@ -2477,7 +2438,7 @@
2477
2438
  "__schema": "TypeSchema",
2478
2439
  "location": {
2479
2440
  "filePath": "cli.main.runtime.ts",
2480
- "line": 23,
2441
+ "line": 24,
2481
2442
  "character": 1
2482
2443
  },
2483
2444
  "signature": "type OnStartSlot = SlotRegistry<OnStart>",
@@ -2486,25 +2447,19 @@
2486
2447
  "__schema": "TypeRefSchema",
2487
2448
  "location": {
2488
2449
  "filePath": "cli.main.runtime.ts",
2489
- "line": 23,
2450
+ "line": 24,
2490
2451
  "character": 27
2491
2452
  },
2492
2453
  "name": "SlotRegistry",
2493
- "componentId": {
2494
- "scope": "teambit.harmony",
2495
- "name": "harmony",
2496
- "version": "0.4.6"
2497
- },
2498
2454
  "typeArgs": [
2499
2455
  {
2500
2456
  "__schema": "TypeRefSchema",
2501
2457
  "location": {
2502
2458
  "filePath": "cli.main.runtime.ts",
2503
- "line": 23,
2459
+ "line": 24,
2504
2460
  "character": 40
2505
2461
  },
2506
- "name": "OnStart",
2507
- "internalFilePath": "cli.main.runtime.ts"
2462
+ "name": "OnStart"
2508
2463
  }
2509
2464
  ]
2510
2465
  }
@@ -2513,7 +2468,7 @@
2513
2468
  "__schema": "TypeSchema",
2514
2469
  "location": {
2515
2470
  "filePath": "cli.main.runtime.ts",
2516
- "line": 24,
2471
+ "line": 25,
2517
2472
  "character": 1
2518
2473
  },
2519
2474
  "signature": "type OnCommandStartSlot = SlotRegistry<OnCommandStart>",
@@ -2522,25 +2477,19 @@
2522
2477
  "__schema": "TypeRefSchema",
2523
2478
  "location": {
2524
2479
  "filePath": "cli.main.runtime.ts",
2525
- "line": 24,
2480
+ "line": 25,
2526
2481
  "character": 34
2527
2482
  },
2528
2483
  "name": "SlotRegistry",
2529
- "componentId": {
2530
- "scope": "teambit.harmony",
2531
- "name": "harmony",
2532
- "version": "0.4.6"
2533
- },
2534
2484
  "typeArgs": [
2535
2485
  {
2536
2486
  "__schema": "TypeRefSchema",
2537
2487
  "location": {
2538
2488
  "filePath": "cli.main.runtime.ts",
2539
- "line": 24,
2489
+ "line": 25,
2540
2490
  "character": 47
2541
2491
  },
2542
- "name": "OnCommandStart",
2543
- "internalFilePath": "cli.main.runtime.ts"
2492
+ "name": "OnCommandStart"
2544
2493
  }
2545
2494
  ]
2546
2495
  }
@@ -2549,7 +2498,7 @@
2549
2498
  "__schema": "TypeSchema",
2550
2499
  "location": {
2551
2500
  "filePath": "cli.main.runtime.ts",
2552
- "line": 25,
2501
+ "line": 26,
2553
2502
  "character": 1
2554
2503
  },
2555
2504
  "signature": "type CommandsSlot = SlotRegistry<CommandList>",
@@ -2558,21 +2507,16 @@
2558
2507
  "__schema": "TypeRefSchema",
2559
2508
  "location": {
2560
2509
  "filePath": "cli.main.runtime.ts",
2561
- "line": 25,
2510
+ "line": 26,
2562
2511
  "character": 28
2563
2512
  },
2564
2513
  "name": "SlotRegistry",
2565
- "componentId": {
2566
- "scope": "teambit.harmony",
2567
- "name": "harmony",
2568
- "version": "0.4.6"
2569
- },
2570
2514
  "typeArgs": [
2571
2515
  {
2572
2516
  "__schema": "TypeRefSchema",
2573
2517
  "location": {
2574
2518
  "filePath": "cli.main.runtime.ts",
2575
- "line": 25,
2519
+ "line": 26,
2576
2520
  "character": 41
2577
2521
  },
2578
2522
  "name": "CommandList"
@@ -2584,7 +2528,7 @@
2584
2528
  "__schema": "TypeSchema",
2585
2529
  "location": {
2586
2530
  "filePath": "cli.main.runtime.ts",
2587
- "line": 26,
2531
+ "line": 27,
2588
2532
  "character": 1
2589
2533
  },
2590
2534
  "signature": "type OnBeforeExitSlot = SlotRegistry<OnBeforeExitFn>",
@@ -2593,25 +2537,19 @@
2593
2537
  "__schema": "TypeRefSchema",
2594
2538
  "location": {
2595
2539
  "filePath": "cli.main.runtime.ts",
2596
- "line": 26,
2540
+ "line": 27,
2597
2541
  "character": 32
2598
2542
  },
2599
2543
  "name": "SlotRegistry",
2600
- "componentId": {
2601
- "scope": "teambit.harmony",
2602
- "name": "harmony",
2603
- "version": "0.4.6"
2604
- },
2605
2544
  "typeArgs": [
2606
2545
  {
2607
2546
  "__schema": "TypeRefSchema",
2608
2547
  "location": {
2609
2548
  "filePath": "cli.main.runtime.ts",
2610
- "line": 26,
2549
+ "line": 27,
2611
2550
  "character": 45
2612
2551
  },
2613
- "name": "OnBeforeExitFn",
2614
- "internalFilePath": "cli.main.runtime.ts"
2552
+ "name": "OnBeforeExitFn"
2615
2553
  }
2616
2554
  ]
2617
2555
  }
@@ -2620,7 +2558,7 @@
2620
2558
  "__schema": "ClassSchema",
2621
2559
  "location": {
2622
2560
  "filePath": "cli.main.runtime.ts",
2623
- "line": 28,
2561
+ "line": 29,
2624
2562
  "character": 1
2625
2563
  },
2626
2564
  "signature": "class CLIMain",
@@ -2630,7 +2568,7 @@
2630
2568
  "__schema": "VariableLikeSchema",
2631
2569
  "location": {
2632
2570
  "filePath": "cli.main.runtime.ts",
2633
- "line": 29,
2571
+ "line": 30,
2634
2572
  "character": 3
2635
2573
  },
2636
2574
  "signature": "(property) CLIMain.groups: GroupsType",
@@ -2639,7 +2577,7 @@
2639
2577
  "__schema": "TypeRefSchema",
2640
2578
  "location": {
2641
2579
  "filePath": "cli.main.runtime.ts",
2642
- "line": 29,
2580
+ "line": 30,
2643
2581
  "character": 3
2644
2582
  },
2645
2583
  "name": "GroupsType",
@@ -2652,7 +2590,7 @@
2652
2590
  "__schema": "ConstructorSchema",
2653
2591
  "location": {
2654
2592
  "filePath": "cli.main.runtime.ts",
2655
- "line": 30,
2593
+ "line": 31,
2656
2594
  "character": 3
2657
2595
  },
2658
2596
  "signature": "constructor CLIMain(commandsSlot: CommandsSlot, onStartSlot: OnStartSlot, onCommandStartSlot: OnCommandStartSlot, onBeforeExitSlot: OnBeforeExitSlot, logger: Logger): CLIMain",
@@ -2662,7 +2600,7 @@
2662
2600
  "__schema": "ParameterSchema",
2663
2601
  "location": {
2664
2602
  "filePath": "cli.main.runtime.ts",
2665
- "line": 31,
2603
+ "line": 32,
2666
2604
  "character": 5
2667
2605
  },
2668
2606
  "name": "commandsSlot",
@@ -2670,7 +2608,7 @@
2670
2608
  "__schema": "TypeRefSchema",
2671
2609
  "location": {
2672
2610
  "filePath": "cli.main.runtime.ts",
2673
- "line": 31,
2611
+ "line": 32,
2674
2612
  "character": 27
2675
2613
  },
2676
2614
  "name": "CommandsSlot"
@@ -2682,7 +2620,7 @@
2682
2620
  "__schema": "ParameterSchema",
2683
2621
  "location": {
2684
2622
  "filePath": "cli.main.runtime.ts",
2685
- "line": 32,
2623
+ "line": 33,
2686
2624
  "character": 5
2687
2625
  },
2688
2626
  "name": "onStartSlot",
@@ -2690,11 +2628,10 @@
2690
2628
  "__schema": "TypeRefSchema",
2691
2629
  "location": {
2692
2630
  "filePath": "cli.main.runtime.ts",
2693
- "line": 32,
2631
+ "line": 33,
2694
2632
  "character": 26
2695
2633
  },
2696
- "name": "OnStartSlot",
2697
- "internalFilePath": "cli.main.runtime.ts"
2634
+ "name": "OnStartSlot"
2698
2635
  },
2699
2636
  "isOptional": false,
2700
2637
  "isSpread": false
@@ -2703,7 +2640,7 @@
2703
2640
  "__schema": "ParameterSchema",
2704
2641
  "location": {
2705
2642
  "filePath": "cli.main.runtime.ts",
2706
- "line": 33,
2643
+ "line": 34,
2707
2644
  "character": 5
2708
2645
  },
2709
2646
  "name": "onCommandStartSlot",
@@ -2711,11 +2648,10 @@
2711
2648
  "__schema": "TypeRefSchema",
2712
2649
  "location": {
2713
2650
  "filePath": "cli.main.runtime.ts",
2714
- "line": 33,
2651
+ "line": 34,
2715
2652
  "character": 34
2716
2653
  },
2717
- "name": "OnCommandStartSlot",
2718
- "internalFilePath": "cli.main.runtime.ts"
2654
+ "name": "OnCommandStartSlot"
2719
2655
  },
2720
2656
  "isOptional": false,
2721
2657
  "isSpread": false
@@ -2724,7 +2660,7 @@
2724
2660
  "__schema": "ParameterSchema",
2725
2661
  "location": {
2726
2662
  "filePath": "cli.main.runtime.ts",
2727
- "line": 34,
2663
+ "line": 35,
2728
2664
  "character": 5
2729
2665
  },
2730
2666
  "name": "onBeforeExitSlot",
@@ -2732,11 +2668,10 @@
2732
2668
  "__schema": "TypeRefSchema",
2733
2669
  "location": {
2734
2670
  "filePath": "cli.main.runtime.ts",
2735
- "line": 34,
2671
+ "line": 35,
2736
2672
  "character": 31
2737
2673
  },
2738
- "name": "OnBeforeExitSlot",
2739
- "internalFilePath": "cli.main.runtime.ts"
2674
+ "name": "OnBeforeExitSlot"
2740
2675
  },
2741
2676
  "isOptional": false,
2742
2677
  "isSpread": false
@@ -2745,7 +2680,7 @@
2745
2680
  "__schema": "ParameterSchema",
2746
2681
  "location": {
2747
2682
  "filePath": "cli.main.runtime.ts",
2748
- "line": 35,
2683
+ "line": 36,
2749
2684
  "character": 5
2750
2685
  },
2751
2686
  "name": "logger",
@@ -2753,14 +2688,10 @@
2753
2688
  "__schema": "TypeRefSchema",
2754
2689
  "location": {
2755
2690
  "filePath": "cli.main.runtime.ts",
2756
- "line": 35,
2691
+ "line": 36,
2757
2692
  "character": 21
2758
2693
  },
2759
- "name": "Logger",
2760
- "componentId": {
2761
- "scope": "teambit.harmony",
2762
- "name": "logger"
2763
- }
2694
+ "name": "Logger"
2764
2695
  },
2765
2696
  "isOptional": false,
2766
2697
  "isSpread": false
@@ -2770,7 +2701,7 @@
2770
2701
  "__schema": "ThisTypeSchema",
2771
2702
  "location": {
2772
2703
  "filePath": "cli.main.runtime.ts",
2773
- "line": 28,
2704
+ "line": 29,
2774
2705
  "character": 1
2775
2706
  },
2776
2707
  "name": "CLIMain"
@@ -2781,14 +2712,14 @@
2781
2712
  "__schema": "FunctionLikeSchema",
2782
2713
  "location": {
2783
2714
  "filePath": "cli.main.runtime.ts",
2784
- "line": 41,
2715
+ "line": 42,
2785
2716
  "character": 3
2786
2717
  },
2787
2718
  "doc": {
2788
2719
  "__schema": "DocSchema",
2789
2720
  "location": {
2790
2721
  "filePath": "cli.main.runtime.ts",
2791
- "line": 38,
2722
+ "line": 39,
2792
2723
  "character": 3
2793
2724
  },
2794
2725
  "raw": "/**\n * registers a new command in to the CLI.\n */",
@@ -2802,7 +2733,7 @@
2802
2733
  "__schema": "ParameterSchema",
2803
2734
  "location": {
2804
2735
  "filePath": "cli.main.runtime.ts",
2805
- "line": 41,
2736
+ "line": 42,
2806
2737
  "character": 12
2807
2738
  },
2808
2739
  "name": "commands",
@@ -2810,7 +2741,7 @@
2810
2741
  "__schema": "TypeRefSchema",
2811
2742
  "location": {
2812
2743
  "filePath": "cli.main.runtime.ts",
2813
- "line": 41,
2744
+ "line": 42,
2814
2745
  "character": 25
2815
2746
  },
2816
2747
  "name": "CommandList"
@@ -2823,7 +2754,7 @@
2823
2754
  "__schema": "InferenceTypeSchema",
2824
2755
  "location": {
2825
2756
  "filePath": "cli.main.runtime.ts",
2826
- "line": 41,
2757
+ "line": 42,
2827
2758
  "character": 3
2828
2759
  },
2829
2760
  "type": "void"
@@ -2834,14 +2765,14 @@
2834
2765
  "__schema": "FunctionLikeSchema",
2835
2766
  "location": {
2836
2767
  "filePath": "cli.main.runtime.ts",
2837
- "line": 54,
2768
+ "line": 55,
2838
2769
  "character": 3
2839
2770
  },
2840
2771
  "doc": {
2841
2772
  "__schema": "DocSchema",
2842
2773
  "location": {
2843
2774
  "filePath": "cli.main.runtime.ts",
2844
- "line": 50,
2775
+ "line": 51,
2845
2776
  "character": 3
2846
2777
  },
2847
2778
  "raw": "/**\n * helpful for having the same command name in different environments (e.g. legacy and non-legacy).\n * for example `cli.unregister('tag');` removes the \"bit tag\" command.\n */",
@@ -2855,7 +2786,7 @@
2855
2786
  "__schema": "ParameterSchema",
2856
2787
  "location": {
2857
2788
  "filePath": "cli.main.runtime.ts",
2858
- "line": 54,
2789
+ "line": 55,
2859
2790
  "character": 14
2860
2791
  },
2861
2792
  "name": "commandName",
@@ -2863,7 +2794,7 @@
2863
2794
  "__schema": "KeywordTypeSchema",
2864
2795
  "location": {
2865
2796
  "filePath": "cli.main.runtime.ts",
2866
- "line": 54,
2797
+ "line": 55,
2867
2798
  "character": 27
2868
2799
  },
2869
2800
  "name": "string"
@@ -2876,7 +2807,7 @@
2876
2807
  "__schema": "InferenceTypeSchema",
2877
2808
  "location": {
2878
2809
  "filePath": "cli.main.runtime.ts",
2879
- "line": 54,
2810
+ "line": 55,
2880
2811
  "character": 3
2881
2812
  },
2882
2813
  "type": "void"
@@ -2887,7 +2818,7 @@
2887
2818
  "__schema": "GetAccessorSchema",
2888
2819
  "location": {
2889
2820
  "filePath": "cli.main.runtime.ts",
2890
- "line": 66,
2821
+ "line": 67,
2891
2822
  "character": 3
2892
2823
  },
2893
2824
  "signature": "(getter) CLIMain.commands: CommandList",
@@ -2896,7 +2827,7 @@
2896
2827
  "__schema": "TypeRefSchema",
2897
2828
  "location": {
2898
2829
  "filePath": "cli.main.runtime.ts",
2899
- "line": 66,
2830
+ "line": 67,
2900
2831
  "character": 3
2901
2832
  },
2902
2833
  "name": "CommandList"
@@ -2906,14 +2837,14 @@
2906
2837
  "__schema": "FunctionLikeSchema",
2907
2838
  "location": {
2908
2839
  "filePath": "cli.main.runtime.ts",
2909
- "line": 73,
2840
+ "line": 74,
2910
2841
  "character": 3
2911
2842
  },
2912
2843
  "doc": {
2913
2844
  "__schema": "DocSchema",
2914
2845
  "location": {
2915
2846
  "filePath": "cli.main.runtime.ts",
2916
- "line": 70,
2847
+ "line": 71,
2917
2848
  "character": 3
2918
2849
  },
2919
2850
  "raw": "/**\n * get an instance of a registered command. (useful for aspects to modify and extend existing commands)\n */",
@@ -2927,7 +2858,7 @@
2927
2858
  "__schema": "ParameterSchema",
2928
2859
  "location": {
2929
2860
  "filePath": "cli.main.runtime.ts",
2930
- "line": 73,
2861
+ "line": 74,
2931
2862
  "character": 14
2932
2863
  },
2933
2864
  "name": "name",
@@ -2935,7 +2866,7 @@
2935
2866
  "__schema": "KeywordTypeSchema",
2936
2867
  "location": {
2937
2868
  "filePath": "cli.main.runtime.ts",
2938
- "line": 73,
2869
+ "line": 74,
2939
2870
  "character": 20
2940
2871
  },
2941
2872
  "name": "string"
@@ -2948,7 +2879,7 @@
2948
2879
  "__schema": "TypeUnionSchema",
2949
2880
  "location": {
2950
2881
  "filePath": "cli.main.runtime.ts",
2951
- "line": 73,
2882
+ "line": 74,
2952
2883
  "character": 29
2953
2884
  },
2954
2885
  "types": [
@@ -2956,17 +2887,16 @@
2956
2887
  "__schema": "TypeRefSchema",
2957
2888
  "location": {
2958
2889
  "filePath": "cli.main.runtime.ts",
2959
- "line": 73,
2890
+ "line": 74,
2960
2891
  "character": 29
2961
2892
  },
2962
- "name": "Command",
2963
- "packageName": "@teambit/legacy/dist/cli/command"
2893
+ "name": "Command"
2964
2894
  },
2965
2895
  {
2966
2896
  "__schema": "KeywordTypeSchema",
2967
2897
  "location": {
2968
2898
  "filePath": "cli.main.runtime.ts",
2969
- "line": 73,
2899
+ "line": 74,
2970
2900
  "character": 39
2971
2901
  },
2972
2902
  "name": "undefined"
@@ -2979,7 +2909,7 @@
2979
2909
  "__schema": "FunctionLikeSchema",
2980
2910
  "location": {
2981
2911
  "filePath": "cli.main.runtime.ts",
2982
- "line": 77,
2912
+ "line": 78,
2983
2913
  "character": 3
2984
2914
  },
2985
2915
  "signature": "(method) CLIMain.getCommandByNameOrAlias(name: string): Command | undefined",
@@ -2989,7 +2919,7 @@
2989
2919
  "__schema": "ParameterSchema",
2990
2920
  "location": {
2991
2921
  "filePath": "cli.main.runtime.ts",
2992
- "line": 77,
2922
+ "line": 78,
2993
2923
  "character": 27
2994
2924
  },
2995
2925
  "name": "name",
@@ -2997,7 +2927,7 @@
2997
2927
  "__schema": "KeywordTypeSchema",
2998
2928
  "location": {
2999
2929
  "filePath": "cli.main.runtime.ts",
3000
- "line": 77,
2930
+ "line": 78,
3001
2931
  "character": 33
3002
2932
  },
3003
2933
  "name": "string"
@@ -3010,7 +2940,7 @@
3010
2940
  "__schema": "TypeUnionSchema",
3011
2941
  "location": {
3012
2942
  "filePath": "cli.main.runtime.ts",
3013
- "line": 77,
2943
+ "line": 78,
3014
2944
  "character": 42
3015
2945
  },
3016
2946
  "types": [
@@ -3018,17 +2948,16 @@
3018
2948
  "__schema": "TypeRefSchema",
3019
2949
  "location": {
3020
2950
  "filePath": "cli.main.runtime.ts",
3021
- "line": 77,
2951
+ "line": 78,
3022
2952
  "character": 42
3023
2953
  },
3024
- "name": "Command",
3025
- "packageName": "@teambit/legacy/dist/cli/command"
2954
+ "name": "Command"
3026
2955
  },
3027
2956
  {
3028
2957
  "__schema": "KeywordTypeSchema",
3029
2958
  "location": {
3030
2959
  "filePath": "cli.main.runtime.ts",
3031
- "line": 77,
2960
+ "line": 78,
3032
2961
  "character": 52
3033
2962
  },
3034
2963
  "name": "undefined"
@@ -3041,14 +2970,14 @@
3041
2970
  "__schema": "FunctionLikeSchema",
3042
2971
  "location": {
3043
2972
  "filePath": "cli.main.runtime.ts",
3044
- "line": 89,
2973
+ "line": 90,
3045
2974
  "character": 3
3046
2975
  },
3047
2976
  "doc": {
3048
2977
  "__schema": "DocSchema",
3049
2978
  "location": {
3050
2979
  "filePath": "cli.main.runtime.ts",
3051
- "line": 83,
2980
+ "line": 84,
3052
2981
  "character": 3
3053
2982
  },
3054
2983
  "raw": "/**\n * when running `bit help`, commands are grouped by categories.\n * this method helps registering a new group by providing its name and a description.\n * the name is what needs to be assigned to the `group` property of the Command interface.\n * the description is what shown in the `bit help` output.\n */",
@@ -3062,7 +2991,7 @@
3062
2991
  "__schema": "ParameterSchema",
3063
2992
  "location": {
3064
2993
  "filePath": "cli.main.runtime.ts",
3065
- "line": 89,
2994
+ "line": 90,
3066
2995
  "character": 17
3067
2996
  },
3068
2997
  "name": "name",
@@ -3070,7 +2999,7 @@
3070
2999
  "__schema": "KeywordTypeSchema",
3071
3000
  "location": {
3072
3001
  "filePath": "cli.main.runtime.ts",
3073
- "line": 89,
3002
+ "line": 90,
3074
3003
  "character": 23
3075
3004
  },
3076
3005
  "name": "string"
@@ -3082,7 +3011,7 @@
3082
3011
  "__schema": "ParameterSchema",
3083
3012
  "location": {
3084
3013
  "filePath": "cli.main.runtime.ts",
3085
- "line": 89,
3014
+ "line": 90,
3086
3015
  "character": 31
3087
3016
  },
3088
3017
  "name": "description",
@@ -3090,7 +3019,7 @@
3090
3019
  "__schema": "KeywordTypeSchema",
3091
3020
  "location": {
3092
3021
  "filePath": "cli.main.runtime.ts",
3093
- "line": 89,
3022
+ "line": 90,
3094
3023
  "character": 44
3095
3024
  },
3096
3025
  "name": "string"
@@ -3103,7 +3032,7 @@
3103
3032
  "__schema": "InferenceTypeSchema",
3104
3033
  "location": {
3105
3034
  "filePath": "cli.main.runtime.ts",
3106
- "line": 89,
3035
+ "line": 90,
3107
3036
  "character": 3
3108
3037
  },
3109
3038
  "type": "void"
@@ -3114,14 +3043,14 @@
3114
3043
  "__schema": "FunctionLikeSchema",
3115
3044
  "location": {
3116
3045
  "filePath": "cli.main.runtime.ts",
3117
- "line": 100,
3046
+ "line": 101,
3118
3047
  "character": 3
3119
3048
  },
3120
3049
  "doc": {
3121
3050
  "__schema": "DocSchema",
3122
3051
  "location": {
3123
3052
  "filePath": "cli.main.runtime.ts",
3124
- "line": 97,
3053
+ "line": 98,
3125
3054
  "character": 3
3126
3055
  },
3127
3056
  "raw": "/**\n * onStart is when bootstrapping the CLI. (it happens before onCommandStart)\n */",
@@ -3135,7 +3064,7 @@
3135
3064
  "__schema": "ParameterSchema",
3136
3065
  "location": {
3137
3066
  "filePath": "cli.main.runtime.ts",
3138
- "line": 100,
3067
+ "line": 101,
3139
3068
  "character": 19
3140
3069
  },
3141
3070
  "name": "onStartFn",
@@ -3143,11 +3072,10 @@
3143
3072
  "__schema": "TypeRefSchema",
3144
3073
  "location": {
3145
3074
  "filePath": "cli.main.runtime.ts",
3146
- "line": 100,
3075
+ "line": 101,
3147
3076
  "character": 30
3148
3077
  },
3149
- "name": "OnStart",
3150
- "internalFilePath": "cli.main.runtime.ts"
3078
+ "name": "OnStart"
3151
3079
  },
3152
3080
  "isOptional": false,
3153
3081
  "isSpread": false
@@ -3157,7 +3085,7 @@
3157
3085
  "__schema": "TypeRefSchema",
3158
3086
  "location": {
3159
3087
  "filePath": "cli.main.runtime.ts",
3160
- "line": 100,
3088
+ "line": 101,
3161
3089
  "character": 3
3162
3090
  },
3163
3091
  "name": "CLIMain"
@@ -3168,14 +3096,14 @@
3168
3096
  "__schema": "FunctionLikeSchema",
3169
3097
  "location": {
3170
3098
  "filePath": "cli.main.runtime.ts",
3171
- "line": 109,
3099
+ "line": 110,
3172
3100
  "character": 3
3173
3101
  },
3174
3102
  "doc": {
3175
3103
  "__schema": "DocSchema",
3176
3104
  "location": {
3177
3105
  "filePath": "cli.main.runtime.ts",
3178
- "line": 105,
3106
+ "line": 106,
3179
3107
  "character": 3
3180
3108
  },
3181
3109
  "raw": "/**\n * onCommandStart is when a command is about to start and we have the command object and the parsed args and flags\n * already. (it happens after onStart)\n */",
@@ -3189,7 +3117,7 @@
3189
3117
  "__schema": "ParameterSchema",
3190
3118
  "location": {
3191
3119
  "filePath": "cli.main.runtime.ts",
3192
- "line": 109,
3120
+ "line": 110,
3193
3121
  "character": 26
3194
3122
  },
3195
3123
  "name": "onCommandStartFn",
@@ -3197,11 +3125,10 @@
3197
3125
  "__schema": "TypeRefSchema",
3198
3126
  "location": {
3199
3127
  "filePath": "cli.main.runtime.ts",
3200
- "line": 109,
3128
+ "line": 110,
3201
3129
  "character": 44
3202
3130
  },
3203
- "name": "OnCommandStart",
3204
- "internalFilePath": "cli.main.runtime.ts"
3131
+ "name": "OnCommandStart"
3205
3132
  },
3206
3133
  "isOptional": false,
3207
3134
  "isSpread": false
@@ -3211,7 +3138,7 @@
3211
3138
  "__schema": "TypeRefSchema",
3212
3139
  "location": {
3213
3140
  "filePath": "cli.main.runtime.ts",
3214
- "line": 109,
3141
+ "line": 110,
3215
3142
  "character": 3
3216
3143
  },
3217
3144
  "name": "CLIMain"
@@ -3222,14 +3149,14 @@
3222
3149
  "__schema": "FunctionLikeSchema",
3223
3150
  "location": {
3224
3151
  "filePath": "cli.main.runtime.ts",
3225
- "line": 129,
3152
+ "line": 130,
3226
3153
  "character": 3
3227
3154
  },
3228
3155
  "doc": {
3229
3156
  "__schema": "DocSchema",
3230
3157
  "location": {
3231
3158
  "filePath": "cli.main.runtime.ts",
3232
- "line": 114,
3159
+ "line": 115,
3233
3160
  "character": 3
3234
3161
  },
3235
3162
  "raw": "/**\n * This will register a function to be called before the process exits.\n * This will run only for \"regular\" exits\n * e.g.\n * yes - command run and finished successfully\n * yes - command run and failed gracefully (code 1)\n * not SIGKILL (kill -9)\n * not SIGINT (Ctrl+C)\n * not SIGTERM (kill)\n * not uncaughtException\n * not unhandledRejection\n *\n * @param onBeforeExitFn\n * @returns\n */",
@@ -3239,7 +3166,7 @@
3239
3166
  "__schema": "PropertyLikeTagSchema",
3240
3167
  "location": {
3241
3168
  "filePath": "cli.main.runtime.ts",
3242
- "line": 126,
3169
+ "line": 127,
3243
3170
  "character": 6
3244
3171
  },
3245
3172
  "name": "onBeforeExitFn",
@@ -3249,7 +3176,7 @@
3249
3176
  "__schema": "ReturnTagSchema",
3250
3177
  "location": {
3251
3178
  "filePath": "cli.main.runtime.ts",
3252
- "line": 127,
3179
+ "line": 128,
3253
3180
  "character": 6
3254
3181
  },
3255
3182
  "tagName": "return"
@@ -3263,7 +3190,7 @@
3263
3190
  "__schema": "ParameterSchema",
3264
3191
  "location": {
3265
3192
  "filePath": "cli.main.runtime.ts",
3266
- "line": 129,
3193
+ "line": 130,
3267
3194
  "character": 24
3268
3195
  },
3269
3196
  "name": "onBeforeExitFn",
@@ -3271,11 +3198,10 @@
3271
3198
  "__schema": "TypeRefSchema",
3272
3199
  "location": {
3273
3200
  "filePath": "cli.main.runtime.ts",
3274
- "line": 129,
3201
+ "line": 130,
3275
3202
  "character": 40
3276
3203
  },
3277
- "name": "OnBeforeExitFn",
3278
- "internalFilePath": "cli.main.runtime.ts"
3204
+ "name": "OnBeforeExitFn"
3279
3205
  },
3280
3206
  "isOptional": false,
3281
3207
  "isSpread": false
@@ -3285,7 +3211,7 @@
3285
3211
  "__schema": "TypeRefSchema",
3286
3212
  "location": {
3287
3213
  "filePath": "cli.main.runtime.ts",
3288
- "line": 129,
3214
+ "line": 130,
3289
3215
  "character": 3
3290
3216
  },
3291
3217
  "name": "CLIMain"
@@ -3296,14 +3222,14 @@
3296
3222
  "__schema": "FunctionLikeSchema",
3297
3223
  "location": {
3298
3224
  "filePath": "cli.main.runtime.ts",
3299
- "line": 138,
3225
+ "line": 139,
3300
3226
  "character": 3
3301
3227
  },
3302
3228
  "doc": {
3303
3229
  "__schema": "DocSchema",
3304
3230
  "location": {
3305
3231
  "filePath": "cli.main.runtime.ts",
3306
- "line": 135,
3232
+ "line": 136,
3307
3233
  "character": 3
3308
3234
  },
3309
3235
  "raw": "/**\n * execute commands registered to this aspect.\n */",
@@ -3317,7 +3243,7 @@
3317
3243
  "__schema": "ParameterSchema",
3318
3244
  "location": {
3319
3245
  "filePath": "cli.main.runtime.ts",
3320
- "line": 138,
3246
+ "line": 139,
3321
3247
  "character": 13
3322
3248
  },
3323
3249
  "name": "hasWorkspace",
@@ -3325,7 +3251,7 @@
3325
3251
  "__schema": "KeywordTypeSchema",
3326
3252
  "location": {
3327
3253
  "filePath": "cli.main.runtime.ts",
3328
- "line": 138,
3254
+ "line": 139,
3329
3255
  "character": 27
3330
3256
  },
3331
3257
  "name": "boolean"
@@ -3338,7 +3264,7 @@
3338
3264
  "__schema": "InferenceTypeSchema",
3339
3265
  "location": {
3340
3266
  "filePath": "cli.main.runtime.ts",
3341
- "line": 138,
3267
+ "line": 139,
3342
3268
  "character": 3
3343
3269
  },
3344
3270
  "type": "Promise<void>"
@@ -3351,7 +3277,7 @@
3351
3277
  "__schema": "VariableLikeSchema",
3352
3278
  "location": {
3353
3279
  "filePath": "cli.main.runtime.ts",
3354
- "line": 172,
3280
+ "line": 173,
3355
3281
  "character": 3
3356
3282
  },
3357
3283
  "signature": "(property) CLIMain.dependencies: Aspect[]",
@@ -3360,7 +3286,7 @@
3360
3286
  "__schema": "InferenceTypeSchema",
3361
3287
  "location": {
3362
3288
  "filePath": "cli.main.runtime.ts",
3363
- "line": 172,
3289
+ "line": 173,
3364
3290
  "character": 3
3365
3291
  },
3366
3292
  "type": "Aspect[]"
@@ -3372,7 +3298,7 @@
3372
3298
  "__schema": "VariableLikeSchema",
3373
3299
  "location": {
3374
3300
  "filePath": "cli.main.runtime.ts",
3375
- "line": 173,
3301
+ "line": 174,
3376
3302
  "character": 3
3377
3303
  },
3378
3304
  "signature": "(property) CLIMain.runtime: RuntimeDefinition",
@@ -3381,7 +3307,7 @@
3381
3307
  "__schema": "InferenceTypeSchema",
3382
3308
  "location": {
3383
3309
  "filePath": "cli.main.runtime.ts",
3384
- "line": 173,
3310
+ "line": 174,
3385
3311
  "character": 3
3386
3312
  },
3387
3313
  "type": "RuntimeDefinition"
@@ -3393,7 +3319,7 @@
3393
3319
  "__schema": "VariableLikeSchema",
3394
3320
  "location": {
3395
3321
  "filePath": "cli.main.runtime.ts",
3396
- "line": 174,
3322
+ "line": 175,
3397
3323
  "character": 3
3398
3324
  },
3399
3325
  "signature": "(property) CLIMain.slots: (((registerFn: () => string) => SlotRegistry<CommandList>) | ((registerFn: () => string) => SlotRegistry<OnStart>) | ((registerFn: () => string) => SlotRegistry<...>))[]",
@@ -3402,7 +3328,7 @@
3402
3328
  "__schema": "InferenceTypeSchema",
3403
3329
  "location": {
3404
3330
  "filePath": "cli.main.runtime.ts",
3405
- "line": 174,
3331
+ "line": 175,
3406
3332
  "character": 3
3407
3333
  },
3408
3334
  "type": "(((registerFn: () => string) => SlotRegistry<CommandList>) | ((registerFn: () => string) => SlotRegistry<OnStart>) | ((registerFn: () => string) => SlotRegistry<...>))[]"
@@ -3414,7 +3340,7 @@
3414
3340
  "__schema": "FunctionLikeSchema",
3415
3341
  "location": {
3416
3342
  "filePath": "cli.main.runtime.ts",
3417
- "line": 181,
3343
+ "line": 182,
3418
3344
  "character": 3
3419
3345
  },
3420
3346
  "signature": "(method) CLIMain.provider([loggerMain]: [LoggerMain], config: any, [commandsSlot, onStartSlot, onCommandStartSlot, onBeforeExitSlot]: [\n CommandsSlot,\n OnStartSlot,\n OnCommandStartSlot,\n OnBeforeExitSlot\n]): Promise<CLIMain>",
@@ -3424,7 +3350,7 @@
3424
3350
  "__schema": "ParameterSchema",
3425
3351
  "location": {
3426
3352
  "filePath": "cli.main.runtime.ts",
3427
- "line": 182,
3353
+ "line": 183,
3428
3354
  "character": 5
3429
3355
  },
3430
3356
  "name": "[ loggerMain ]",
@@ -3432,7 +3358,7 @@
3432
3358
  "__schema": "TupleTypeSchema",
3433
3359
  "location": {
3434
3360
  "filePath": "cli.main.runtime.ts",
3435
- "line": 182,
3361
+ "line": 183,
3436
3362
  "character": 19
3437
3363
  },
3438
3364
  "elements": [
@@ -3440,14 +3366,10 @@
3440
3366
  "__schema": "TypeRefSchema",
3441
3367
  "location": {
3442
3368
  "filePath": "cli.main.runtime.ts",
3443
- "line": 182,
3369
+ "line": 183,
3444
3370
  "character": 20
3445
3371
  },
3446
- "name": "LoggerMain",
3447
- "componentId": {
3448
- "scope": "teambit.harmony",
3449
- "name": "logger"
3450
- }
3372
+ "name": "LoggerMain"
3451
3373
  }
3452
3374
  ]
3453
3375
  },
@@ -3458,7 +3380,7 @@
3458
3380
  "__schema": "ParameterSchema",
3459
3381
  "location": {
3460
3382
  "filePath": "cli.main.runtime.ts",
3461
- "line": 183,
3383
+ "line": 184,
3462
3384
  "character": 5
3463
3385
  },
3464
3386
  "name": "config",
@@ -3466,7 +3388,7 @@
3466
3388
  "__schema": "InferenceTypeSchema",
3467
3389
  "location": {
3468
3390
  "filePath": "cli.main.runtime.ts",
3469
- "line": 183,
3391
+ "line": 184,
3470
3392
  "character": 5
3471
3393
  },
3472
3394
  "type": "any"
@@ -3478,7 +3400,7 @@
3478
3400
  "__schema": "ParameterSchema",
3479
3401
  "location": {
3480
3402
  "filePath": "cli.main.runtime.ts",
3481
- "line": 184,
3403
+ "line": 185,
3482
3404
  "character": 5
3483
3405
  },
3484
3406
  "name": "[ commandsSlot, onStartSlot, onCommandStartSlot, onBeforeExitSlot ]",
@@ -3486,7 +3408,7 @@
3486
3408
  "__schema": "TupleTypeSchema",
3487
3409
  "location": {
3488
3410
  "filePath": "cli.main.runtime.ts",
3489
- "line": 184,
3411
+ "line": 185,
3490
3412
  "character": 72
3491
3413
  },
3492
3414
  "elements": [
@@ -3494,7 +3416,7 @@
3494
3416
  "__schema": "TypeRefSchema",
3495
3417
  "location": {
3496
3418
  "filePath": "cli.main.runtime.ts",
3497
- "line": 185,
3419
+ "line": 186,
3498
3420
  "character": 7
3499
3421
  },
3500
3422
  "name": "CommandsSlot"
@@ -3503,31 +3425,28 @@
3503
3425
  "__schema": "TypeRefSchema",
3504
3426
  "location": {
3505
3427
  "filePath": "cli.main.runtime.ts",
3506
- "line": 186,
3428
+ "line": 187,
3507
3429
  "character": 7
3508
3430
  },
3509
- "name": "OnStartSlot",
3510
- "internalFilePath": "cli.main.runtime.ts"
3431
+ "name": "OnStartSlot"
3511
3432
  },
3512
3433
  {
3513
3434
  "__schema": "TypeRefSchema",
3514
3435
  "location": {
3515
3436
  "filePath": "cli.main.runtime.ts",
3516
- "line": 187,
3437
+ "line": 188,
3517
3438
  "character": 7
3518
3439
  },
3519
- "name": "OnCommandStartSlot",
3520
- "internalFilePath": "cli.main.runtime.ts"
3440
+ "name": "OnCommandStartSlot"
3521
3441
  },
3522
3442
  {
3523
3443
  "__schema": "TypeRefSchema",
3524
3444
  "location": {
3525
3445
  "filePath": "cli.main.runtime.ts",
3526
- "line": 188,
3446
+ "line": 189,
3527
3447
  "character": 7
3528
3448
  },
3529
- "name": "OnBeforeExitSlot",
3530
- "internalFilePath": "cli.main.runtime.ts"
3449
+ "name": "OnBeforeExitSlot"
3531
3450
  }
3532
3451
  ]
3533
3452
  },
@@ -3539,7 +3458,7 @@
3539
3458
  "__schema": "InferenceTypeSchema",
3540
3459
  "location": {
3541
3460
  "filePath": "cli.main.runtime.ts",
3542
- "line": 181,
3461
+ "line": 182,
3543
3462
  "character": 3
3544
3463
  },
3545
3464
  "type": "Promise<CLIMain>"
@@ -3559,7 +3478,7 @@
3559
3478
  "__schema": "UnImplementedSchema",
3560
3479
  "location": {
3561
3480
  "filePath": "cli.main.runtime.ts",
3562
- "line": 203,
3481
+ "line": 204,
3563
3482
  "character": 1
3564
3483
  },
3565
3484
  "name": "CLIAspect.addRuntime(CLIMain);",
@@ -3569,14 +3488,14 @@
3569
3488
  "__schema": "FunctionLikeSchema",
3570
3489
  "location": {
3571
3490
  "filePath": "cli.main.runtime.ts",
3572
- "line": 211,
3491
+ "line": 212,
3573
3492
  "character": 1
3574
3493
  },
3575
3494
  "doc": {
3576
3495
  "__schema": "DocSchema",
3577
3496
  "location": {
3578
3497
  "filePath": "cli.main.runtime.ts",
3579
- "line": 205,
3498
+ "line": 206,
3580
3499
  "character": 1
3581
3500
  },
3582
3501
  "raw": "/**\n * kind of a hack.\n * in the legacy, this is running at the beginning and it take care of issues when Bit files are missing,\n * such as \".bit\".\n * (to make this process better, you can easily remove it and run the e2e-tests. you'll see some failing)\n */",
@@ -3590,7 +3509,7 @@
3590
3509
  "__schema": "InferenceTypeSchema",
3591
3510
  "location": {
3592
3511
  "filePath": "cli.main.runtime.ts",
3593
- "line": 211,
3512
+ "line": 212,
3594
3513
  "character": 1
3595
3514
  },
3596
3515
  "type": "Promise<void>"
@@ -3603,7 +3522,7 @@
3603
3522
  "__schema": "FunctionLikeSchema",
3604
3523
  "location": {
3605
3524
  "filePath": "cli.main.runtime.ts",
3606
- "line": 224,
3525
+ "line": 225,
3607
3526
  "character": 1
3608
3527
  },
3609
3528
  "signature": "function isFullUrl(url: string): boolean",
@@ -3613,7 +3532,7 @@
3613
3532
  "__schema": "ParameterSchema",
3614
3533
  "location": {
3615
3534
  "filePath": "cli.main.runtime.ts",
3616
- "line": 224,
3535
+ "line": 225,
3617
3536
  "character": 20
3618
3537
  },
3619
3538
  "name": "url",
@@ -3621,7 +3540,7 @@
3621
3540
  "__schema": "KeywordTypeSchema",
3622
3541
  "location": {
3623
3542
  "filePath": "cli.main.runtime.ts",
3624
- "line": 224,
3543
+ "line": 225,
3625
3544
  "character": 25
3626
3545
  },
3627
3546
  "name": "string"
@@ -3634,7 +3553,7 @@
3634
3553
  "__schema": "TypeRefSchema",
3635
3554
  "location": {
3636
3555
  "filePath": "cli.main.runtime.ts",
3637
- "line": 224,
3556
+ "line": 225,
3638
3557
  "character": 1
3639
3558
  },
3640
3559
  "name": "isFullUrl",
@@ -3721,7 +3640,7 @@
3721
3640
  "componentId": {
3722
3641
  "scope": "teambit.harmony",
3723
3642
  "name": "cli",
3724
- "version": "0.0.1046"
3643
+ "version": "0.0.1048"
3725
3644
  },
3726
3645
  "taggedModuleExports": []
3727
3646
  }