@teambit/cli 0.0.933 → 0.0.935
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.
- package/artifacts/__bit_junit.xml +1 -1
- package/artifacts/preview/teambit_harmony_cli-preview.js +1 -1
- package/artifacts/schema.json +812 -124
- package/dist/cli-parser.d.ts +4 -1
- package/dist/cli-parser.js +44 -15
- package/dist/cli-parser.js.map +1 -1
- package/dist/cli.cmd.js +2 -1
- package/dist/cli.cmd.js.map +1 -1
- package/dist/cli.main.runtime.d.ts +1 -0
- package/dist/cli.main.runtime.js +7 -1
- package/dist/cli.main.runtime.js.map +1 -1
- package/dist/command-runner.d.ts +6 -1
- package/dist/command-runner.js +17 -8
- package/dist/command-runner.js.map +1 -1
- package/dist/exceptions/index.d.ts +1 -0
- package/dist/exceptions/index.js +13 -0
- package/dist/exceptions/index.js.map +1 -1
- package/dist/exceptions/yargs-exit-workaround.d.ts +6 -0
- package/dist/exceptions/yargs-exit-workaround.js +23 -0
- package/dist/exceptions/yargs-exit-workaround.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -1
- package/dist/{preview-1722396002906.js → preview-1722530524104.js} +2 -2
- package/dist/yargs-adapter.d.ts +3 -1
- package/dist/yargs-adapter.js +2 -1
- package/dist/yargs-adapter.js.map +1 -1
- package/exceptions/index.ts +1 -0
- package/exceptions/yargs-exit-workaround.ts +7 -0
- package/package.json +5 -5
package/artifacts/schema.json
CHANGED
|
@@ -13,6 +13,196 @@
|
|
|
13
13
|
"character": 1
|
|
14
14
|
},
|
|
15
15
|
"exports": [
|
|
16
|
+
{
|
|
17
|
+
"__schema": "ExportSchema",
|
|
18
|
+
"location": {
|
|
19
|
+
"filePath": "index.ts",
|
|
20
|
+
"line": 2,
|
|
21
|
+
"character": 10
|
|
22
|
+
},
|
|
23
|
+
"name": "CLIParser",
|
|
24
|
+
"exportNode": {
|
|
25
|
+
"__schema": "ClassSchema",
|
|
26
|
+
"location": {
|
|
27
|
+
"filePath": "cli-parser.ts",
|
|
28
|
+
"line": 18,
|
|
29
|
+
"character": 1
|
|
30
|
+
},
|
|
31
|
+
"signature": "class CLIParser",
|
|
32
|
+
"name": "CLIParser",
|
|
33
|
+
"members": [
|
|
34
|
+
{
|
|
35
|
+
"__schema": "VariableLikeSchema",
|
|
36
|
+
"location": {
|
|
37
|
+
"filePath": "cli-parser.ts",
|
|
38
|
+
"line": 19,
|
|
39
|
+
"character": 3
|
|
40
|
+
},
|
|
41
|
+
"signature": "(property) CLIParser.parser: yargs.Argv<{}>",
|
|
42
|
+
"name": "parser",
|
|
43
|
+
"type": {
|
|
44
|
+
"__schema": "InferenceTypeSchema",
|
|
45
|
+
"location": {
|
|
46
|
+
"filePath": "cli-parser.ts",
|
|
47
|
+
"line": 19,
|
|
48
|
+
"character": 3
|
|
49
|
+
},
|
|
50
|
+
"type": "yargs.Argv<{}>"
|
|
51
|
+
},
|
|
52
|
+
"isOptional": true,
|
|
53
|
+
"defaultValue": "yargs"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"__schema": "ConstructorSchema",
|
|
57
|
+
"location": {
|
|
58
|
+
"filePath": "cli-parser.ts",
|
|
59
|
+
"line": 21,
|
|
60
|
+
"character": 3
|
|
61
|
+
},
|
|
62
|
+
"signature": "constructor CLIParser(commands: Command[], groups: GroupsType, onCommandStartSlot: OnCommandStartSlot): CLIParser",
|
|
63
|
+
"name": "constructor",
|
|
64
|
+
"params": [
|
|
65
|
+
{
|
|
66
|
+
"__schema": "ParameterSchema",
|
|
67
|
+
"location": {
|
|
68
|
+
"filePath": "cli-parser.ts",
|
|
69
|
+
"line": 22,
|
|
70
|
+
"character": 5
|
|
71
|
+
},
|
|
72
|
+
"name": "commands",
|
|
73
|
+
"type": {
|
|
74
|
+
"__schema": "TypeArraySchema",
|
|
75
|
+
"location": {
|
|
76
|
+
"filePath": "cli-parser.ts",
|
|
77
|
+
"line": 22,
|
|
78
|
+
"character": 23
|
|
79
|
+
},
|
|
80
|
+
"type": {
|
|
81
|
+
"__schema": "TypeRefSchema",
|
|
82
|
+
"location": {
|
|
83
|
+
"filePath": "cli-parser.ts",
|
|
84
|
+
"line": 22,
|
|
85
|
+
"character": 23
|
|
86
|
+
},
|
|
87
|
+
"name": "Command"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"isOptional": false,
|
|
91
|
+
"isSpread": false
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"__schema": "ParameterSchema",
|
|
95
|
+
"location": {
|
|
96
|
+
"filePath": "cli-parser.ts",
|
|
97
|
+
"line": 23,
|
|
98
|
+
"character": 5
|
|
99
|
+
},
|
|
100
|
+
"name": "groups",
|
|
101
|
+
"type": {
|
|
102
|
+
"__schema": "TypeRefSchema",
|
|
103
|
+
"location": {
|
|
104
|
+
"filePath": "cli-parser.ts",
|
|
105
|
+
"line": 23,
|
|
106
|
+
"character": 21
|
|
107
|
+
},
|
|
108
|
+
"name": "GroupsType"
|
|
109
|
+
},
|
|
110
|
+
"isOptional": false,
|
|
111
|
+
"isSpread": false
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"__schema": "ParameterSchema",
|
|
115
|
+
"location": {
|
|
116
|
+
"filePath": "cli-parser.ts",
|
|
117
|
+
"line": 24,
|
|
118
|
+
"character": 5
|
|
119
|
+
},
|
|
120
|
+
"name": "onCommandStartSlot",
|
|
121
|
+
"type": {
|
|
122
|
+
"__schema": "TypeRefSchema",
|
|
123
|
+
"location": {
|
|
124
|
+
"filePath": "cli-parser.ts",
|
|
125
|
+
"line": 24,
|
|
126
|
+
"character": 33
|
|
127
|
+
},
|
|
128
|
+
"name": "OnCommandStartSlot"
|
|
129
|
+
},
|
|
130
|
+
"isOptional": false,
|
|
131
|
+
"isSpread": false
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
"returnType": {
|
|
135
|
+
"__schema": "ThisTypeSchema",
|
|
136
|
+
"location": {
|
|
137
|
+
"filePath": "cli-parser.ts",
|
|
138
|
+
"line": 18,
|
|
139
|
+
"character": 1
|
|
140
|
+
},
|
|
141
|
+
"name": "CLIParser"
|
|
142
|
+
},
|
|
143
|
+
"modifiers": []
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"__schema": "FunctionLikeSchema",
|
|
147
|
+
"location": {
|
|
148
|
+
"filePath": "cli-parser.ts",
|
|
149
|
+
"line": 27,
|
|
150
|
+
"character": 3
|
|
151
|
+
},
|
|
152
|
+
"signature": "(method) CLIParser.parse(args?: string[]): Promise<CommandRunner>",
|
|
153
|
+
"name": "parse",
|
|
154
|
+
"params": [
|
|
155
|
+
{
|
|
156
|
+
"__schema": "ParameterSchema",
|
|
157
|
+
"location": {
|
|
158
|
+
"filePath": "cli-parser.ts",
|
|
159
|
+
"line": 27,
|
|
160
|
+
"character": 15
|
|
161
|
+
},
|
|
162
|
+
"name": "args",
|
|
163
|
+
"type": {
|
|
164
|
+
"__schema": "InferenceTypeSchema",
|
|
165
|
+
"location": {
|
|
166
|
+
"filePath": "cli-parser.ts",
|
|
167
|
+
"line": 27,
|
|
168
|
+
"character": 15
|
|
169
|
+
},
|
|
170
|
+
"type": "string[]"
|
|
171
|
+
},
|
|
172
|
+
"isOptional": true,
|
|
173
|
+
"defaultValue": "process.argv.slice(2)",
|
|
174
|
+
"isSpread": false
|
|
175
|
+
}
|
|
176
|
+
],
|
|
177
|
+
"returnType": {
|
|
178
|
+
"__schema": "TypeRefSchema",
|
|
179
|
+
"location": {
|
|
180
|
+
"filePath": "cli-parser.ts",
|
|
181
|
+
"line": 27,
|
|
182
|
+
"character": 46
|
|
183
|
+
},
|
|
184
|
+
"name": "Promise",
|
|
185
|
+
"typeArgs": [
|
|
186
|
+
{
|
|
187
|
+
"__schema": "TypeRefSchema",
|
|
188
|
+
"location": {
|
|
189
|
+
"filePath": "cli-parser.ts",
|
|
190
|
+
"line": 27,
|
|
191
|
+
"character": 54
|
|
192
|
+
},
|
|
193
|
+
"name": "CommandRunner"
|
|
194
|
+
}
|
|
195
|
+
]
|
|
196
|
+
},
|
|
197
|
+
"modifiers": [
|
|
198
|
+
"async"
|
|
199
|
+
]
|
|
200
|
+
}
|
|
201
|
+
],
|
|
202
|
+
"extendsNodes": [],
|
|
203
|
+
"implementNodes": []
|
|
204
|
+
}
|
|
205
|
+
},
|
|
16
206
|
{
|
|
17
207
|
"__schema": "ExportSchema",
|
|
18
208
|
"location": {
|
|
@@ -376,14 +566,75 @@
|
|
|
376
566
|
"__schema": "FunctionLikeSchema",
|
|
377
567
|
"location": {
|
|
378
568
|
"filePath": "cli.main.runtime.ts",
|
|
379
|
-
"line":
|
|
569
|
+
"line": 77,
|
|
570
|
+
"character": 3
|
|
571
|
+
},
|
|
572
|
+
"signature": "(method) CLIMain.getCommandByNameOrAlias(name: string): Command | undefined",
|
|
573
|
+
"name": "getCommandByNameOrAlias",
|
|
574
|
+
"params": [
|
|
575
|
+
{
|
|
576
|
+
"__schema": "ParameterSchema",
|
|
577
|
+
"location": {
|
|
578
|
+
"filePath": "cli.main.runtime.ts",
|
|
579
|
+
"line": 77,
|
|
580
|
+
"character": 27
|
|
581
|
+
},
|
|
582
|
+
"name": "name",
|
|
583
|
+
"type": {
|
|
584
|
+
"__schema": "KeywordTypeSchema",
|
|
585
|
+
"location": {
|
|
586
|
+
"filePath": "cli.main.runtime.ts",
|
|
587
|
+
"line": 77,
|
|
588
|
+
"character": 33
|
|
589
|
+
},
|
|
590
|
+
"name": "string"
|
|
591
|
+
},
|
|
592
|
+
"isOptional": false,
|
|
593
|
+
"isSpread": false
|
|
594
|
+
}
|
|
595
|
+
],
|
|
596
|
+
"returnType": {
|
|
597
|
+
"__schema": "TypeUnionSchema",
|
|
598
|
+
"location": {
|
|
599
|
+
"filePath": "cli.main.runtime.ts",
|
|
600
|
+
"line": 77,
|
|
601
|
+
"character": 42
|
|
602
|
+
},
|
|
603
|
+
"types": [
|
|
604
|
+
{
|
|
605
|
+
"__schema": "TypeRefSchema",
|
|
606
|
+
"location": {
|
|
607
|
+
"filePath": "cli.main.runtime.ts",
|
|
608
|
+
"line": 77,
|
|
609
|
+
"character": 42
|
|
610
|
+
},
|
|
611
|
+
"name": "Command"
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
"__schema": "KeywordTypeSchema",
|
|
615
|
+
"location": {
|
|
616
|
+
"filePath": "cli.main.runtime.ts",
|
|
617
|
+
"line": 77,
|
|
618
|
+
"character": 52
|
|
619
|
+
},
|
|
620
|
+
"name": "undefined"
|
|
621
|
+
}
|
|
622
|
+
]
|
|
623
|
+
},
|
|
624
|
+
"modifiers": []
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"__schema": "FunctionLikeSchema",
|
|
628
|
+
"location": {
|
|
629
|
+
"filePath": "cli.main.runtime.ts",
|
|
630
|
+
"line": 89,
|
|
380
631
|
"character": 3
|
|
381
632
|
},
|
|
382
633
|
"doc": {
|
|
383
634
|
"__schema": "DocSchema",
|
|
384
635
|
"location": {
|
|
385
636
|
"filePath": "cli.main.runtime.ts",
|
|
386
|
-
"line":
|
|
637
|
+
"line": 83,
|
|
387
638
|
"character": 3
|
|
388
639
|
},
|
|
389
640
|
"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 */",
|
|
@@ -397,7 +648,7 @@
|
|
|
397
648
|
"__schema": "ParameterSchema",
|
|
398
649
|
"location": {
|
|
399
650
|
"filePath": "cli.main.runtime.ts",
|
|
400
|
-
"line":
|
|
651
|
+
"line": 89,
|
|
401
652
|
"character": 17
|
|
402
653
|
},
|
|
403
654
|
"name": "name",
|
|
@@ -405,7 +656,7 @@
|
|
|
405
656
|
"__schema": "KeywordTypeSchema",
|
|
406
657
|
"location": {
|
|
407
658
|
"filePath": "cli.main.runtime.ts",
|
|
408
|
-
"line":
|
|
659
|
+
"line": 89,
|
|
409
660
|
"character": 23
|
|
410
661
|
},
|
|
411
662
|
"name": "string"
|
|
@@ -417,7 +668,7 @@
|
|
|
417
668
|
"__schema": "ParameterSchema",
|
|
418
669
|
"location": {
|
|
419
670
|
"filePath": "cli.main.runtime.ts",
|
|
420
|
-
"line":
|
|
671
|
+
"line": 89,
|
|
421
672
|
"character": 31
|
|
422
673
|
},
|
|
423
674
|
"name": "description",
|
|
@@ -425,7 +676,7 @@
|
|
|
425
676
|
"__schema": "KeywordTypeSchema",
|
|
426
677
|
"location": {
|
|
427
678
|
"filePath": "cli.main.runtime.ts",
|
|
428
|
-
"line":
|
|
679
|
+
"line": 89,
|
|
429
680
|
"character": 44
|
|
430
681
|
},
|
|
431
682
|
"name": "string"
|
|
@@ -438,7 +689,7 @@
|
|
|
438
689
|
"__schema": "InferenceTypeSchema",
|
|
439
690
|
"location": {
|
|
440
691
|
"filePath": "cli.main.runtime.ts",
|
|
441
|
-
"line":
|
|
692
|
+
"line": 89,
|
|
442
693
|
"character": 3
|
|
443
694
|
},
|
|
444
695
|
"type": "void"
|
|
@@ -449,14 +700,14 @@
|
|
|
449
700
|
"__schema": "FunctionLikeSchema",
|
|
450
701
|
"location": {
|
|
451
702
|
"filePath": "cli.main.runtime.ts",
|
|
452
|
-
"line":
|
|
703
|
+
"line": 100,
|
|
453
704
|
"character": 3
|
|
454
705
|
},
|
|
455
706
|
"doc": {
|
|
456
707
|
"__schema": "DocSchema",
|
|
457
708
|
"location": {
|
|
458
709
|
"filePath": "cli.main.runtime.ts",
|
|
459
|
-
"line":
|
|
710
|
+
"line": 97,
|
|
460
711
|
"character": 3
|
|
461
712
|
},
|
|
462
713
|
"raw": "/**\n * onStart is when bootstrapping the CLI. (it happens before onCommandStart)\n */",
|
|
@@ -470,7 +721,7 @@
|
|
|
470
721
|
"__schema": "ParameterSchema",
|
|
471
722
|
"location": {
|
|
472
723
|
"filePath": "cli.main.runtime.ts",
|
|
473
|
-
"line":
|
|
724
|
+
"line": 100,
|
|
474
725
|
"character": 19
|
|
475
726
|
},
|
|
476
727
|
"name": "onStartFn",
|
|
@@ -478,7 +729,7 @@
|
|
|
478
729
|
"__schema": "TypeRefSchema",
|
|
479
730
|
"location": {
|
|
480
731
|
"filePath": "cli.main.runtime.ts",
|
|
481
|
-
"line":
|
|
732
|
+
"line": 100,
|
|
482
733
|
"character": 30
|
|
483
734
|
},
|
|
484
735
|
"name": "OnStart"
|
|
@@ -491,7 +742,7 @@
|
|
|
491
742
|
"__schema": "TypeRefSchema",
|
|
492
743
|
"location": {
|
|
493
744
|
"filePath": "cli.main.runtime.ts",
|
|
494
|
-
"line":
|
|
745
|
+
"line": 100,
|
|
495
746
|
"character": 3
|
|
496
747
|
},
|
|
497
748
|
"name": "CLIMain"
|
|
@@ -502,14 +753,14 @@
|
|
|
502
753
|
"__schema": "FunctionLikeSchema",
|
|
503
754
|
"location": {
|
|
504
755
|
"filePath": "cli.main.runtime.ts",
|
|
505
|
-
"line":
|
|
756
|
+
"line": 109,
|
|
506
757
|
"character": 3
|
|
507
758
|
},
|
|
508
759
|
"doc": {
|
|
509
760
|
"__schema": "DocSchema",
|
|
510
761
|
"location": {
|
|
511
762
|
"filePath": "cli.main.runtime.ts",
|
|
512
|
-
"line":
|
|
763
|
+
"line": 105,
|
|
513
764
|
"character": 3
|
|
514
765
|
},
|
|
515
766
|
"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 */",
|
|
@@ -523,7 +774,7 @@
|
|
|
523
774
|
"__schema": "ParameterSchema",
|
|
524
775
|
"location": {
|
|
525
776
|
"filePath": "cli.main.runtime.ts",
|
|
526
|
-
"line":
|
|
777
|
+
"line": 109,
|
|
527
778
|
"character": 26
|
|
528
779
|
},
|
|
529
780
|
"name": "onCommandStartFn",
|
|
@@ -531,7 +782,7 @@
|
|
|
531
782
|
"__schema": "TypeRefSchema",
|
|
532
783
|
"location": {
|
|
533
784
|
"filePath": "cli.main.runtime.ts",
|
|
534
|
-
"line":
|
|
785
|
+
"line": 109,
|
|
535
786
|
"character": 44
|
|
536
787
|
},
|
|
537
788
|
"name": "OnCommandStart"
|
|
@@ -544,7 +795,7 @@
|
|
|
544
795
|
"__schema": "TypeRefSchema",
|
|
545
796
|
"location": {
|
|
546
797
|
"filePath": "cli.main.runtime.ts",
|
|
547
|
-
"line":
|
|
798
|
+
"line": 109,
|
|
548
799
|
"character": 3
|
|
549
800
|
},
|
|
550
801
|
"name": "CLIMain"
|
|
@@ -555,14 +806,14 @@
|
|
|
555
806
|
"__schema": "FunctionLikeSchema",
|
|
556
807
|
"location": {
|
|
557
808
|
"filePath": "cli.main.runtime.ts",
|
|
558
|
-
"line":
|
|
809
|
+
"line": 129,
|
|
559
810
|
"character": 3
|
|
560
811
|
},
|
|
561
812
|
"doc": {
|
|
562
813
|
"__schema": "DocSchema",
|
|
563
814
|
"location": {
|
|
564
815
|
"filePath": "cli.main.runtime.ts",
|
|
565
|
-
"line":
|
|
816
|
+
"line": 114,
|
|
566
817
|
"character": 3
|
|
567
818
|
},
|
|
568
819
|
"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 */",
|
|
@@ -572,7 +823,7 @@
|
|
|
572
823
|
"__schema": "PropertyLikeTagSchema",
|
|
573
824
|
"location": {
|
|
574
825
|
"filePath": "cli.main.runtime.ts",
|
|
575
|
-
"line":
|
|
826
|
+
"line": 126,
|
|
576
827
|
"character": 6
|
|
577
828
|
},
|
|
578
829
|
"name": "onBeforeExitFn",
|
|
@@ -582,7 +833,7 @@
|
|
|
582
833
|
"__schema": "ReturnTagSchema",
|
|
583
834
|
"location": {
|
|
584
835
|
"filePath": "cli.main.runtime.ts",
|
|
585
|
-
"line":
|
|
836
|
+
"line": 127,
|
|
586
837
|
"character": 6
|
|
587
838
|
},
|
|
588
839
|
"tagName": "return"
|
|
@@ -596,7 +847,7 @@
|
|
|
596
847
|
"__schema": "ParameterSchema",
|
|
597
848
|
"location": {
|
|
598
849
|
"filePath": "cli.main.runtime.ts",
|
|
599
|
-
"line":
|
|
850
|
+
"line": 129,
|
|
600
851
|
"character": 24
|
|
601
852
|
},
|
|
602
853
|
"name": "onBeforeExitFn",
|
|
@@ -604,7 +855,7 @@
|
|
|
604
855
|
"__schema": "TypeRefSchema",
|
|
605
856
|
"location": {
|
|
606
857
|
"filePath": "cli.main.runtime.ts",
|
|
607
|
-
"line":
|
|
858
|
+
"line": 129,
|
|
608
859
|
"character": 40
|
|
609
860
|
},
|
|
610
861
|
"name": "OnBeforeExitFn"
|
|
@@ -617,7 +868,7 @@
|
|
|
617
868
|
"__schema": "TypeRefSchema",
|
|
618
869
|
"location": {
|
|
619
870
|
"filePath": "cli.main.runtime.ts",
|
|
620
|
-
"line":
|
|
871
|
+
"line": 129,
|
|
621
872
|
"character": 3
|
|
622
873
|
},
|
|
623
874
|
"name": "CLIMain"
|
|
@@ -628,14 +879,14 @@
|
|
|
628
879
|
"__schema": "FunctionLikeSchema",
|
|
629
880
|
"location": {
|
|
630
881
|
"filePath": "cli.main.runtime.ts",
|
|
631
|
-
"line":
|
|
882
|
+
"line": 138,
|
|
632
883
|
"character": 3
|
|
633
884
|
},
|
|
634
885
|
"doc": {
|
|
635
886
|
"__schema": "DocSchema",
|
|
636
887
|
"location": {
|
|
637
888
|
"filePath": "cli.main.runtime.ts",
|
|
638
|
-
"line":
|
|
889
|
+
"line": 135,
|
|
639
890
|
"character": 3
|
|
640
891
|
},
|
|
641
892
|
"raw": "/**\n * execute commands registered to this aspect.\n */",
|
|
@@ -649,7 +900,7 @@
|
|
|
649
900
|
"__schema": "ParameterSchema",
|
|
650
901
|
"location": {
|
|
651
902
|
"filePath": "cli.main.runtime.ts",
|
|
652
|
-
"line":
|
|
903
|
+
"line": 138,
|
|
653
904
|
"character": 13
|
|
654
905
|
},
|
|
655
906
|
"name": "hasWorkspace",
|
|
@@ -657,7 +908,7 @@
|
|
|
657
908
|
"__schema": "KeywordTypeSchema",
|
|
658
909
|
"location": {
|
|
659
910
|
"filePath": "cli.main.runtime.ts",
|
|
660
|
-
"line":
|
|
911
|
+
"line": 138,
|
|
661
912
|
"character": 27
|
|
662
913
|
},
|
|
663
914
|
"name": "boolean"
|
|
@@ -670,7 +921,7 @@
|
|
|
670
921
|
"__schema": "InferenceTypeSchema",
|
|
671
922
|
"location": {
|
|
672
923
|
"filePath": "cli.main.runtime.ts",
|
|
673
|
-
"line":
|
|
924
|
+
"line": 138,
|
|
674
925
|
"character": 3
|
|
675
926
|
},
|
|
676
927
|
"type": "Promise<void>"
|
|
@@ -683,7 +934,7 @@
|
|
|
683
934
|
"__schema": "VariableLikeSchema",
|
|
684
935
|
"location": {
|
|
685
936
|
"filePath": "cli.main.runtime.ts",
|
|
686
|
-
"line":
|
|
937
|
+
"line": 172,
|
|
687
938
|
"character": 3
|
|
688
939
|
},
|
|
689
940
|
"signature": "(property) CLIMain.dependencies: Aspect[]",
|
|
@@ -692,7 +943,7 @@
|
|
|
692
943
|
"__schema": "InferenceTypeSchema",
|
|
693
944
|
"location": {
|
|
694
945
|
"filePath": "cli.main.runtime.ts",
|
|
695
|
-
"line":
|
|
946
|
+
"line": 172,
|
|
696
947
|
"character": 3
|
|
697
948
|
},
|
|
698
949
|
"type": "Aspect[]"
|
|
@@ -704,7 +955,7 @@
|
|
|
704
955
|
"__schema": "VariableLikeSchema",
|
|
705
956
|
"location": {
|
|
706
957
|
"filePath": "cli.main.runtime.ts",
|
|
707
|
-
"line":
|
|
958
|
+
"line": 173,
|
|
708
959
|
"character": 3
|
|
709
960
|
},
|
|
710
961
|
"signature": "(property) CLIMain.runtime: RuntimeDefinition",
|
|
@@ -713,7 +964,7 @@
|
|
|
713
964
|
"__schema": "InferenceTypeSchema",
|
|
714
965
|
"location": {
|
|
715
966
|
"filePath": "cli.main.runtime.ts",
|
|
716
|
-
"line":
|
|
967
|
+
"line": 173,
|
|
717
968
|
"character": 3
|
|
718
969
|
},
|
|
719
970
|
"type": "RuntimeDefinition"
|
|
@@ -725,7 +976,7 @@
|
|
|
725
976
|
"__schema": "VariableLikeSchema",
|
|
726
977
|
"location": {
|
|
727
978
|
"filePath": "cli.main.runtime.ts",
|
|
728
|
-
"line":
|
|
979
|
+
"line": 174,
|
|
729
980
|
"character": 3
|
|
730
981
|
},
|
|
731
982
|
"signature": "(property) CLIMain.slots: (((registerFn: () => string) => SlotRegistry<CommandList>) | ((registerFn: () => string) => SlotRegistry<OnStart>) | ((registerFn: () => string) => SlotRegistry<...>))[]",
|
|
@@ -734,7 +985,7 @@
|
|
|
734
985
|
"__schema": "InferenceTypeSchema",
|
|
735
986
|
"location": {
|
|
736
987
|
"filePath": "cli.main.runtime.ts",
|
|
737
|
-
"line":
|
|
988
|
+
"line": 174,
|
|
738
989
|
"character": 3
|
|
739
990
|
},
|
|
740
991
|
"type": "(((registerFn: () => string) => SlotRegistry<CommandList>) | ((registerFn: () => string) => SlotRegistry<OnStart>) | ((registerFn: () => string) => SlotRegistry<...>))[]"
|
|
@@ -746,7 +997,7 @@
|
|
|
746
997
|
"__schema": "FunctionLikeSchema",
|
|
747
998
|
"location": {
|
|
748
999
|
"filePath": "cli.main.runtime.ts",
|
|
749
|
-
"line":
|
|
1000
|
+
"line": 181,
|
|
750
1001
|
"character": 3
|
|
751
1002
|
},
|
|
752
1003
|
"signature": "(method) CLIMain.provider([loggerMain]: [LoggerMain], config: any, [commandsSlot, onStartSlot, onCommandStartSlot, onBeforeExitSlot]: [\n CommandsSlot,\n OnStartSlot,\n OnCommandStartSlot,\n OnBeforeExitSlot\n]): Promise<CLIMain>",
|
|
@@ -756,7 +1007,7 @@
|
|
|
756
1007
|
"__schema": "ParameterSchema",
|
|
757
1008
|
"location": {
|
|
758
1009
|
"filePath": "cli.main.runtime.ts",
|
|
759
|
-
"line":
|
|
1010
|
+
"line": 182,
|
|
760
1011
|
"character": 5
|
|
761
1012
|
},
|
|
762
1013
|
"name": "[ loggerMain ]",
|
|
@@ -764,7 +1015,7 @@
|
|
|
764
1015
|
"__schema": "TupleTypeSchema",
|
|
765
1016
|
"location": {
|
|
766
1017
|
"filePath": "cli.main.runtime.ts",
|
|
767
|
-
"line":
|
|
1018
|
+
"line": 182,
|
|
768
1019
|
"character": 19
|
|
769
1020
|
},
|
|
770
1021
|
"elements": [
|
|
@@ -772,7 +1023,7 @@
|
|
|
772
1023
|
"__schema": "TypeRefSchema",
|
|
773
1024
|
"location": {
|
|
774
1025
|
"filePath": "cli.main.runtime.ts",
|
|
775
|
-
"line":
|
|
1026
|
+
"line": 182,
|
|
776
1027
|
"character": 20
|
|
777
1028
|
},
|
|
778
1029
|
"name": "LoggerMain"
|
|
@@ -786,7 +1037,7 @@
|
|
|
786
1037
|
"__schema": "ParameterSchema",
|
|
787
1038
|
"location": {
|
|
788
1039
|
"filePath": "cli.main.runtime.ts",
|
|
789
|
-
"line":
|
|
1040
|
+
"line": 183,
|
|
790
1041
|
"character": 5
|
|
791
1042
|
},
|
|
792
1043
|
"name": "config",
|
|
@@ -794,7 +1045,7 @@
|
|
|
794
1045
|
"__schema": "InferenceTypeSchema",
|
|
795
1046
|
"location": {
|
|
796
1047
|
"filePath": "cli.main.runtime.ts",
|
|
797
|
-
"line":
|
|
1048
|
+
"line": 183,
|
|
798
1049
|
"character": 5
|
|
799
1050
|
},
|
|
800
1051
|
"type": "any"
|
|
@@ -806,7 +1057,7 @@
|
|
|
806
1057
|
"__schema": "ParameterSchema",
|
|
807
1058
|
"location": {
|
|
808
1059
|
"filePath": "cli.main.runtime.ts",
|
|
809
|
-
"line":
|
|
1060
|
+
"line": 184,
|
|
810
1061
|
"character": 5
|
|
811
1062
|
},
|
|
812
1063
|
"name": "[ commandsSlot, onStartSlot, onCommandStartSlot, onBeforeExitSlot ]",
|
|
@@ -814,7 +1065,7 @@
|
|
|
814
1065
|
"__schema": "TupleTypeSchema",
|
|
815
1066
|
"location": {
|
|
816
1067
|
"filePath": "cli.main.runtime.ts",
|
|
817
|
-
"line":
|
|
1068
|
+
"line": 184,
|
|
818
1069
|
"character": 72
|
|
819
1070
|
},
|
|
820
1071
|
"elements": [
|
|
@@ -822,7 +1073,7 @@
|
|
|
822
1073
|
"__schema": "TypeRefSchema",
|
|
823
1074
|
"location": {
|
|
824
1075
|
"filePath": "cli.main.runtime.ts",
|
|
825
|
-
"line":
|
|
1076
|
+
"line": 185,
|
|
826
1077
|
"character": 7
|
|
827
1078
|
},
|
|
828
1079
|
"name": "CommandsSlot"
|
|
@@ -831,7 +1082,7 @@
|
|
|
831
1082
|
"__schema": "TypeRefSchema",
|
|
832
1083
|
"location": {
|
|
833
1084
|
"filePath": "cli.main.runtime.ts",
|
|
834
|
-
"line":
|
|
1085
|
+
"line": 186,
|
|
835
1086
|
"character": 7
|
|
836
1087
|
},
|
|
837
1088
|
"name": "OnStartSlot"
|
|
@@ -840,7 +1091,7 @@
|
|
|
840
1091
|
"__schema": "TypeRefSchema",
|
|
841
1092
|
"location": {
|
|
842
1093
|
"filePath": "cli.main.runtime.ts",
|
|
843
|
-
"line":
|
|
1094
|
+
"line": 187,
|
|
844
1095
|
"character": 7
|
|
845
1096
|
},
|
|
846
1097
|
"name": "OnCommandStartSlot"
|
|
@@ -849,7 +1100,7 @@
|
|
|
849
1100
|
"__schema": "TypeRefSchema",
|
|
850
1101
|
"location": {
|
|
851
1102
|
"filePath": "cli.main.runtime.ts",
|
|
852
|
-
"line":
|
|
1103
|
+
"line": 188,
|
|
853
1104
|
"character": 7
|
|
854
1105
|
},
|
|
855
1106
|
"name": "OnBeforeExitSlot"
|
|
@@ -864,7 +1115,7 @@
|
|
|
864
1115
|
"__schema": "InferenceTypeSchema",
|
|
865
1116
|
"location": {
|
|
866
1117
|
"filePath": "cli.main.runtime.ts",
|
|
867
|
-
"line":
|
|
1118
|
+
"line": 181,
|
|
868
1119
|
"character": 3
|
|
869
1120
|
},
|
|
870
1121
|
"type": "Promise<CLIMain>"
|
|
@@ -1249,29 +1500,142 @@
|
|
|
1249
1500
|
{
|
|
1250
1501
|
"__schema": "ConstructorSchema",
|
|
1251
1502
|
"location": {
|
|
1252
|
-
"filePath": "exceptions/already-exists.ts",
|
|
1503
|
+
"filePath": "exceptions/already-exists.ts",
|
|
1504
|
+
"line": 4,
|
|
1505
|
+
"character": 3
|
|
1506
|
+
},
|
|
1507
|
+
"signature": "constructor AlreadyExistsError(type: string, name: string): AlreadyExistsError",
|
|
1508
|
+
"name": "constructor",
|
|
1509
|
+
"params": [
|
|
1510
|
+
{
|
|
1511
|
+
"__schema": "ParameterSchema",
|
|
1512
|
+
"location": {
|
|
1513
|
+
"filePath": "exceptions/already-exists.ts",
|
|
1514
|
+
"line": 4,
|
|
1515
|
+
"character": 15
|
|
1516
|
+
},
|
|
1517
|
+
"name": "type",
|
|
1518
|
+
"type": {
|
|
1519
|
+
"__schema": "KeywordTypeSchema",
|
|
1520
|
+
"location": {
|
|
1521
|
+
"filePath": "exceptions/already-exists.ts",
|
|
1522
|
+
"line": 4,
|
|
1523
|
+
"character": 21
|
|
1524
|
+
},
|
|
1525
|
+
"name": "string"
|
|
1526
|
+
},
|
|
1527
|
+
"isOptional": false,
|
|
1528
|
+
"isSpread": false
|
|
1529
|
+
},
|
|
1530
|
+
{
|
|
1531
|
+
"__schema": "ParameterSchema",
|
|
1532
|
+
"location": {
|
|
1533
|
+
"filePath": "exceptions/already-exists.ts",
|
|
1534
|
+
"line": 4,
|
|
1535
|
+
"character": 29
|
|
1536
|
+
},
|
|
1537
|
+
"name": "name",
|
|
1538
|
+
"type": {
|
|
1539
|
+
"__schema": "KeywordTypeSchema",
|
|
1540
|
+
"location": {
|
|
1541
|
+
"filePath": "exceptions/already-exists.ts",
|
|
1542
|
+
"line": 4,
|
|
1543
|
+
"character": 35
|
|
1544
|
+
},
|
|
1545
|
+
"name": "string"
|
|
1546
|
+
},
|
|
1547
|
+
"isOptional": false,
|
|
1548
|
+
"isSpread": false
|
|
1549
|
+
}
|
|
1550
|
+
],
|
|
1551
|
+
"returnType": {
|
|
1552
|
+
"__schema": "ThisTypeSchema",
|
|
1553
|
+
"location": {
|
|
1554
|
+
"filePath": "exceptions/already-exists.ts",
|
|
1555
|
+
"line": 3,
|
|
1556
|
+
"character": 1
|
|
1557
|
+
},
|
|
1558
|
+
"name": "AlreadyExistsError"
|
|
1559
|
+
},
|
|
1560
|
+
"modifiers": []
|
|
1561
|
+
}
|
|
1562
|
+
],
|
|
1563
|
+
"extendsNodes": [
|
|
1564
|
+
{
|
|
1565
|
+
"__schema": "ExpressionWithTypeArgumentsSchema",
|
|
1566
|
+
"location": {
|
|
1567
|
+
"filePath": "exceptions/already-exists.ts",
|
|
1568
|
+
"line": 3,
|
|
1569
|
+
"character": 41
|
|
1570
|
+
},
|
|
1571
|
+
"name": "extends BitError",
|
|
1572
|
+
"typeArgs": [],
|
|
1573
|
+
"expression": {
|
|
1574
|
+
"__schema": "TypeRefSchema",
|
|
1575
|
+
"location": {
|
|
1576
|
+
"filePath": "exceptions/already-exists.ts",
|
|
1577
|
+
"line": 3,
|
|
1578
|
+
"character": 41
|
|
1579
|
+
},
|
|
1580
|
+
"name": "BitError",
|
|
1581
|
+
"componentId": {
|
|
1582
|
+
"_legacy": {
|
|
1583
|
+
"scope": "teambit.harmony",
|
|
1584
|
+
"name": "cli",
|
|
1585
|
+
"version": "0.0.935"
|
|
1586
|
+
},
|
|
1587
|
+
"_scope": "teambit.harmony"
|
|
1588
|
+
}
|
|
1589
|
+
}
|
|
1590
|
+
}
|
|
1591
|
+
],
|
|
1592
|
+
"implementNodes": []
|
|
1593
|
+
}
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
"__schema": "ExportSchema",
|
|
1597
|
+
"location": {
|
|
1598
|
+
"filePath": "exceptions/index.ts",
|
|
1599
|
+
"line": 2,
|
|
1600
|
+
"character": 10
|
|
1601
|
+
},
|
|
1602
|
+
"name": "YargsExitWorkaround",
|
|
1603
|
+
"exportNode": {
|
|
1604
|
+
"__schema": "ClassSchema",
|
|
1605
|
+
"location": {
|
|
1606
|
+
"filePath": "exceptions/yargs-exit-workaround.ts",
|
|
1607
|
+
"line": 3,
|
|
1608
|
+
"character": 1
|
|
1609
|
+
},
|
|
1610
|
+
"signature": "class YargsExitWorkaround",
|
|
1611
|
+
"name": "YargsExitWorkaround",
|
|
1612
|
+
"members": [
|
|
1613
|
+
{
|
|
1614
|
+
"__schema": "ConstructorSchema",
|
|
1615
|
+
"location": {
|
|
1616
|
+
"filePath": "exceptions/yargs-exit-workaround.ts",
|
|
1253
1617
|
"line": 4,
|
|
1254
1618
|
"character": 3
|
|
1255
1619
|
},
|
|
1256
|
-
"signature": "constructor
|
|
1620
|
+
"signature": "constructor YargsExitWorkaround(exitCode: number, helpMsg: string): YargsExitWorkaround",
|
|
1257
1621
|
"name": "constructor",
|
|
1258
1622
|
"params": [
|
|
1259
1623
|
{
|
|
1260
1624
|
"__schema": "ParameterSchema",
|
|
1261
1625
|
"location": {
|
|
1262
|
-
"filePath": "exceptions/
|
|
1626
|
+
"filePath": "exceptions/yargs-exit-workaround.ts",
|
|
1263
1627
|
"line": 4,
|
|
1264
1628
|
"character": 15
|
|
1265
1629
|
},
|
|
1266
|
-
"name": "
|
|
1630
|
+
"name": "exitCode",
|
|
1267
1631
|
"type": {
|
|
1268
1632
|
"__schema": "KeywordTypeSchema",
|
|
1269
1633
|
"location": {
|
|
1270
|
-
"filePath": "exceptions/
|
|
1634
|
+
"filePath": "exceptions/yargs-exit-workaround.ts",
|
|
1271
1635
|
"line": 4,
|
|
1272
|
-
"character":
|
|
1636
|
+
"character": 32
|
|
1273
1637
|
},
|
|
1274
|
-
"name": "
|
|
1638
|
+
"name": "number"
|
|
1275
1639
|
},
|
|
1276
1640
|
"isOptional": false,
|
|
1277
1641
|
"isSpread": false
|
|
@@ -1279,17 +1643,17 @@
|
|
|
1279
1643
|
{
|
|
1280
1644
|
"__schema": "ParameterSchema",
|
|
1281
1645
|
"location": {
|
|
1282
|
-
"filePath": "exceptions/
|
|
1646
|
+
"filePath": "exceptions/yargs-exit-workaround.ts",
|
|
1283
1647
|
"line": 4,
|
|
1284
|
-
"character":
|
|
1648
|
+
"character": 40
|
|
1285
1649
|
},
|
|
1286
|
-
"name": "
|
|
1650
|
+
"name": "helpMsg",
|
|
1287
1651
|
"type": {
|
|
1288
1652
|
"__schema": "KeywordTypeSchema",
|
|
1289
1653
|
"location": {
|
|
1290
|
-
"filePath": "exceptions/
|
|
1654
|
+
"filePath": "exceptions/yargs-exit-workaround.ts",
|
|
1291
1655
|
"line": 4,
|
|
1292
|
-
"character":
|
|
1656
|
+
"character": 56
|
|
1293
1657
|
},
|
|
1294
1658
|
"name": "string"
|
|
1295
1659
|
},
|
|
@@ -1300,11 +1664,11 @@
|
|
|
1300
1664
|
"returnType": {
|
|
1301
1665
|
"__schema": "ThisTypeSchema",
|
|
1302
1666
|
"location": {
|
|
1303
|
-
"filePath": "exceptions/
|
|
1667
|
+
"filePath": "exceptions/yargs-exit-workaround.ts",
|
|
1304
1668
|
"line": 3,
|
|
1305
1669
|
"character": 1
|
|
1306
1670
|
},
|
|
1307
|
-
"name": "
|
|
1671
|
+
"name": "YargsExitWorkaround"
|
|
1308
1672
|
},
|
|
1309
1673
|
"modifiers": []
|
|
1310
1674
|
}
|
|
@@ -1313,25 +1677,25 @@
|
|
|
1313
1677
|
{
|
|
1314
1678
|
"__schema": "ExpressionWithTypeArgumentsSchema",
|
|
1315
1679
|
"location": {
|
|
1316
|
-
"filePath": "exceptions/
|
|
1680
|
+
"filePath": "exceptions/yargs-exit-workaround.ts",
|
|
1317
1681
|
"line": 3,
|
|
1318
|
-
"character":
|
|
1682
|
+
"character": 42
|
|
1319
1683
|
},
|
|
1320
1684
|
"name": "extends BitError",
|
|
1321
1685
|
"typeArgs": [],
|
|
1322
1686
|
"expression": {
|
|
1323
1687
|
"__schema": "TypeRefSchema",
|
|
1324
1688
|
"location": {
|
|
1325
|
-
"filePath": "exceptions/
|
|
1689
|
+
"filePath": "exceptions/yargs-exit-workaround.ts",
|
|
1326
1690
|
"line": 3,
|
|
1327
|
-
"character":
|
|
1691
|
+
"character": 42
|
|
1328
1692
|
},
|
|
1329
1693
|
"name": "BitError",
|
|
1330
1694
|
"componentId": {
|
|
1331
1695
|
"_legacy": {
|
|
1332
1696
|
"scope": "teambit.harmony",
|
|
1333
1697
|
"name": "cli",
|
|
1334
|
-
"version": "0.0.
|
|
1698
|
+
"version": "0.0.935"
|
|
1335
1699
|
},
|
|
1336
1700
|
"_scope": "teambit.harmony"
|
|
1337
1701
|
}
|
|
@@ -1451,6 +1815,269 @@
|
|
|
1451
1815
|
"internals": []
|
|
1452
1816
|
},
|
|
1453
1817
|
"internals": [
|
|
1818
|
+
{
|
|
1819
|
+
"__schema": "ModuleSchema",
|
|
1820
|
+
"location": {
|
|
1821
|
+
"filePath": "cli-parser.ts",
|
|
1822
|
+
"line": 1,
|
|
1823
|
+
"character": 1
|
|
1824
|
+
},
|
|
1825
|
+
"exports": [
|
|
1826
|
+
{
|
|
1827
|
+
"__schema": "ClassSchema",
|
|
1828
|
+
"location": {
|
|
1829
|
+
"filePath": "cli-parser.ts",
|
|
1830
|
+
"line": 18,
|
|
1831
|
+
"character": 1
|
|
1832
|
+
},
|
|
1833
|
+
"signature": "class CLIParser",
|
|
1834
|
+
"name": "CLIParser",
|
|
1835
|
+
"members": [
|
|
1836
|
+
{
|
|
1837
|
+
"__schema": "VariableLikeSchema",
|
|
1838
|
+
"location": {
|
|
1839
|
+
"filePath": "cli-parser.ts",
|
|
1840
|
+
"line": 19,
|
|
1841
|
+
"character": 3
|
|
1842
|
+
},
|
|
1843
|
+
"signature": "(property) CLIParser.parser: yargs.Argv<{}>",
|
|
1844
|
+
"name": "parser",
|
|
1845
|
+
"type": {
|
|
1846
|
+
"__schema": "InferenceTypeSchema",
|
|
1847
|
+
"location": {
|
|
1848
|
+
"filePath": "cli-parser.ts",
|
|
1849
|
+
"line": 19,
|
|
1850
|
+
"character": 3
|
|
1851
|
+
},
|
|
1852
|
+
"type": "yargs.Argv<{}>"
|
|
1853
|
+
},
|
|
1854
|
+
"isOptional": true,
|
|
1855
|
+
"defaultValue": "yargs"
|
|
1856
|
+
},
|
|
1857
|
+
{
|
|
1858
|
+
"__schema": "ConstructorSchema",
|
|
1859
|
+
"location": {
|
|
1860
|
+
"filePath": "cli-parser.ts",
|
|
1861
|
+
"line": 21,
|
|
1862
|
+
"character": 3
|
|
1863
|
+
},
|
|
1864
|
+
"signature": "constructor CLIParser(commands: Command[], groups: GroupsType, onCommandStartSlot: OnCommandStartSlot): CLIParser",
|
|
1865
|
+
"name": "constructor",
|
|
1866
|
+
"params": [
|
|
1867
|
+
{
|
|
1868
|
+
"__schema": "ParameterSchema",
|
|
1869
|
+
"location": {
|
|
1870
|
+
"filePath": "cli-parser.ts",
|
|
1871
|
+
"line": 22,
|
|
1872
|
+
"character": 5
|
|
1873
|
+
},
|
|
1874
|
+
"name": "commands",
|
|
1875
|
+
"type": {
|
|
1876
|
+
"__schema": "TypeArraySchema",
|
|
1877
|
+
"location": {
|
|
1878
|
+
"filePath": "cli-parser.ts",
|
|
1879
|
+
"line": 22,
|
|
1880
|
+
"character": 23
|
|
1881
|
+
},
|
|
1882
|
+
"type": {
|
|
1883
|
+
"__schema": "TypeRefSchema",
|
|
1884
|
+
"location": {
|
|
1885
|
+
"filePath": "cli-parser.ts",
|
|
1886
|
+
"line": 22,
|
|
1887
|
+
"character": 23
|
|
1888
|
+
},
|
|
1889
|
+
"name": "Command"
|
|
1890
|
+
}
|
|
1891
|
+
},
|
|
1892
|
+
"isOptional": false,
|
|
1893
|
+
"isSpread": false
|
|
1894
|
+
},
|
|
1895
|
+
{
|
|
1896
|
+
"__schema": "ParameterSchema",
|
|
1897
|
+
"location": {
|
|
1898
|
+
"filePath": "cli-parser.ts",
|
|
1899
|
+
"line": 23,
|
|
1900
|
+
"character": 5
|
|
1901
|
+
},
|
|
1902
|
+
"name": "groups",
|
|
1903
|
+
"type": {
|
|
1904
|
+
"__schema": "TypeRefSchema",
|
|
1905
|
+
"location": {
|
|
1906
|
+
"filePath": "cli-parser.ts",
|
|
1907
|
+
"line": 23,
|
|
1908
|
+
"character": 21
|
|
1909
|
+
},
|
|
1910
|
+
"name": "GroupsType"
|
|
1911
|
+
},
|
|
1912
|
+
"isOptional": false,
|
|
1913
|
+
"isSpread": false
|
|
1914
|
+
},
|
|
1915
|
+
{
|
|
1916
|
+
"__schema": "ParameterSchema",
|
|
1917
|
+
"location": {
|
|
1918
|
+
"filePath": "cli-parser.ts",
|
|
1919
|
+
"line": 24,
|
|
1920
|
+
"character": 5
|
|
1921
|
+
},
|
|
1922
|
+
"name": "onCommandStartSlot",
|
|
1923
|
+
"type": {
|
|
1924
|
+
"__schema": "TypeRefSchema",
|
|
1925
|
+
"location": {
|
|
1926
|
+
"filePath": "cli-parser.ts",
|
|
1927
|
+
"line": 24,
|
|
1928
|
+
"character": 33
|
|
1929
|
+
},
|
|
1930
|
+
"name": "OnCommandStartSlot"
|
|
1931
|
+
},
|
|
1932
|
+
"isOptional": false,
|
|
1933
|
+
"isSpread": false
|
|
1934
|
+
}
|
|
1935
|
+
],
|
|
1936
|
+
"returnType": {
|
|
1937
|
+
"__schema": "ThisTypeSchema",
|
|
1938
|
+
"location": {
|
|
1939
|
+
"filePath": "cli-parser.ts",
|
|
1940
|
+
"line": 18,
|
|
1941
|
+
"character": 1
|
|
1942
|
+
},
|
|
1943
|
+
"name": "CLIParser"
|
|
1944
|
+
},
|
|
1945
|
+
"modifiers": []
|
|
1946
|
+
},
|
|
1947
|
+
{
|
|
1948
|
+
"__schema": "FunctionLikeSchema",
|
|
1949
|
+
"location": {
|
|
1950
|
+
"filePath": "cli-parser.ts",
|
|
1951
|
+
"line": 27,
|
|
1952
|
+
"character": 3
|
|
1953
|
+
},
|
|
1954
|
+
"signature": "(method) CLIParser.parse(args?: string[]): Promise<CommandRunner>",
|
|
1955
|
+
"name": "parse",
|
|
1956
|
+
"params": [
|
|
1957
|
+
{
|
|
1958
|
+
"__schema": "ParameterSchema",
|
|
1959
|
+
"location": {
|
|
1960
|
+
"filePath": "cli-parser.ts",
|
|
1961
|
+
"line": 27,
|
|
1962
|
+
"character": 15
|
|
1963
|
+
},
|
|
1964
|
+
"name": "args",
|
|
1965
|
+
"type": {
|
|
1966
|
+
"__schema": "InferenceTypeSchema",
|
|
1967
|
+
"location": {
|
|
1968
|
+
"filePath": "cli-parser.ts",
|
|
1969
|
+
"line": 27,
|
|
1970
|
+
"character": 15
|
|
1971
|
+
},
|
|
1972
|
+
"type": "string[]"
|
|
1973
|
+
},
|
|
1974
|
+
"isOptional": true,
|
|
1975
|
+
"defaultValue": "process.argv.slice(2)",
|
|
1976
|
+
"isSpread": false
|
|
1977
|
+
}
|
|
1978
|
+
],
|
|
1979
|
+
"returnType": {
|
|
1980
|
+
"__schema": "TypeRefSchema",
|
|
1981
|
+
"location": {
|
|
1982
|
+
"filePath": "cli-parser.ts",
|
|
1983
|
+
"line": 27,
|
|
1984
|
+
"character": 46
|
|
1985
|
+
},
|
|
1986
|
+
"name": "Promise",
|
|
1987
|
+
"typeArgs": [
|
|
1988
|
+
{
|
|
1989
|
+
"__schema": "TypeRefSchema",
|
|
1990
|
+
"location": {
|
|
1991
|
+
"filePath": "cli-parser.ts",
|
|
1992
|
+
"line": 27,
|
|
1993
|
+
"character": 54
|
|
1994
|
+
},
|
|
1995
|
+
"name": "CommandRunner"
|
|
1996
|
+
}
|
|
1997
|
+
]
|
|
1998
|
+
},
|
|
1999
|
+
"modifiers": [
|
|
2000
|
+
"async"
|
|
2001
|
+
]
|
|
2002
|
+
}
|
|
2003
|
+
],
|
|
2004
|
+
"extendsNodes": [],
|
|
2005
|
+
"implementNodes": []
|
|
2006
|
+
},
|
|
2007
|
+
{
|
|
2008
|
+
"__schema": "FunctionLikeSchema",
|
|
2009
|
+
"location": {
|
|
2010
|
+
"filePath": "cli-parser.ts",
|
|
2011
|
+
"line": 307,
|
|
2012
|
+
"character": 1
|
|
2013
|
+
},
|
|
2014
|
+
"signature": "function findCommandByArgv(commands: Command[]): Command | undefined",
|
|
2015
|
+
"name": "findCommandByArgv",
|
|
2016
|
+
"params": [
|
|
2017
|
+
{
|
|
2018
|
+
"__schema": "ParameterSchema",
|
|
2019
|
+
"location": {
|
|
2020
|
+
"filePath": "cli-parser.ts",
|
|
2021
|
+
"line": 307,
|
|
2022
|
+
"character": 35
|
|
2023
|
+
},
|
|
2024
|
+
"name": "commands",
|
|
2025
|
+
"type": {
|
|
2026
|
+
"__schema": "TypeArraySchema",
|
|
2027
|
+
"location": {
|
|
2028
|
+
"filePath": "cli-parser.ts",
|
|
2029
|
+
"line": 307,
|
|
2030
|
+
"character": 45
|
|
2031
|
+
},
|
|
2032
|
+
"type": {
|
|
2033
|
+
"__schema": "TypeRefSchema",
|
|
2034
|
+
"location": {
|
|
2035
|
+
"filePath": "cli-parser.ts",
|
|
2036
|
+
"line": 307,
|
|
2037
|
+
"character": 45
|
|
2038
|
+
},
|
|
2039
|
+
"name": "Command"
|
|
2040
|
+
}
|
|
2041
|
+
},
|
|
2042
|
+
"isOptional": false,
|
|
2043
|
+
"isSpread": false
|
|
2044
|
+
}
|
|
2045
|
+
],
|
|
2046
|
+
"returnType": {
|
|
2047
|
+
"__schema": "TypeUnionSchema",
|
|
2048
|
+
"location": {
|
|
2049
|
+
"filePath": "cli-parser.ts",
|
|
2050
|
+
"line": 307,
|
|
2051
|
+
"character": 57
|
|
2052
|
+
},
|
|
2053
|
+
"types": [
|
|
2054
|
+
{
|
|
2055
|
+
"__schema": "TypeRefSchema",
|
|
2056
|
+
"location": {
|
|
2057
|
+
"filePath": "cli-parser.ts",
|
|
2058
|
+
"line": 307,
|
|
2059
|
+
"character": 57
|
|
2060
|
+
},
|
|
2061
|
+
"name": "Command"
|
|
2062
|
+
},
|
|
2063
|
+
{
|
|
2064
|
+
"__schema": "KeywordTypeSchema",
|
|
2065
|
+
"location": {
|
|
2066
|
+
"filePath": "cli-parser.ts",
|
|
2067
|
+
"line": 307,
|
|
2068
|
+
"character": 67
|
|
2069
|
+
},
|
|
2070
|
+
"name": "undefined"
|
|
2071
|
+
}
|
|
2072
|
+
]
|
|
2073
|
+
},
|
|
2074
|
+
"modifiers": [
|
|
2075
|
+
"export"
|
|
2076
|
+
]
|
|
2077
|
+
}
|
|
2078
|
+
],
|
|
2079
|
+
"internals": []
|
|
2080
|
+
},
|
|
1454
2081
|
{
|
|
1455
2082
|
"__schema": "ModuleSchema",
|
|
1456
2083
|
"location": {
|
|
@@ -2212,14 +2839,75 @@
|
|
|
2212
2839
|
"__schema": "FunctionLikeSchema",
|
|
2213
2840
|
"location": {
|
|
2214
2841
|
"filePath": "cli.main.runtime.ts",
|
|
2215
|
-
"line":
|
|
2842
|
+
"line": 77,
|
|
2843
|
+
"character": 3
|
|
2844
|
+
},
|
|
2845
|
+
"signature": "(method) CLIMain.getCommandByNameOrAlias(name: string): Command | undefined",
|
|
2846
|
+
"name": "getCommandByNameOrAlias",
|
|
2847
|
+
"params": [
|
|
2848
|
+
{
|
|
2849
|
+
"__schema": "ParameterSchema",
|
|
2850
|
+
"location": {
|
|
2851
|
+
"filePath": "cli.main.runtime.ts",
|
|
2852
|
+
"line": 77,
|
|
2853
|
+
"character": 27
|
|
2854
|
+
},
|
|
2855
|
+
"name": "name",
|
|
2856
|
+
"type": {
|
|
2857
|
+
"__schema": "KeywordTypeSchema",
|
|
2858
|
+
"location": {
|
|
2859
|
+
"filePath": "cli.main.runtime.ts",
|
|
2860
|
+
"line": 77,
|
|
2861
|
+
"character": 33
|
|
2862
|
+
},
|
|
2863
|
+
"name": "string"
|
|
2864
|
+
},
|
|
2865
|
+
"isOptional": false,
|
|
2866
|
+
"isSpread": false
|
|
2867
|
+
}
|
|
2868
|
+
],
|
|
2869
|
+
"returnType": {
|
|
2870
|
+
"__schema": "TypeUnionSchema",
|
|
2871
|
+
"location": {
|
|
2872
|
+
"filePath": "cli.main.runtime.ts",
|
|
2873
|
+
"line": 77,
|
|
2874
|
+
"character": 42
|
|
2875
|
+
},
|
|
2876
|
+
"types": [
|
|
2877
|
+
{
|
|
2878
|
+
"__schema": "TypeRefSchema",
|
|
2879
|
+
"location": {
|
|
2880
|
+
"filePath": "cli.main.runtime.ts",
|
|
2881
|
+
"line": 77,
|
|
2882
|
+
"character": 42
|
|
2883
|
+
},
|
|
2884
|
+
"name": "Command"
|
|
2885
|
+
},
|
|
2886
|
+
{
|
|
2887
|
+
"__schema": "KeywordTypeSchema",
|
|
2888
|
+
"location": {
|
|
2889
|
+
"filePath": "cli.main.runtime.ts",
|
|
2890
|
+
"line": 77,
|
|
2891
|
+
"character": 52
|
|
2892
|
+
},
|
|
2893
|
+
"name": "undefined"
|
|
2894
|
+
}
|
|
2895
|
+
]
|
|
2896
|
+
},
|
|
2897
|
+
"modifiers": []
|
|
2898
|
+
},
|
|
2899
|
+
{
|
|
2900
|
+
"__schema": "FunctionLikeSchema",
|
|
2901
|
+
"location": {
|
|
2902
|
+
"filePath": "cli.main.runtime.ts",
|
|
2903
|
+
"line": 89,
|
|
2216
2904
|
"character": 3
|
|
2217
2905
|
},
|
|
2218
2906
|
"doc": {
|
|
2219
2907
|
"__schema": "DocSchema",
|
|
2220
2908
|
"location": {
|
|
2221
2909
|
"filePath": "cli.main.runtime.ts",
|
|
2222
|
-
"line":
|
|
2910
|
+
"line": 83,
|
|
2223
2911
|
"character": 3
|
|
2224
2912
|
},
|
|
2225
2913
|
"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 */",
|
|
@@ -2233,7 +2921,7 @@
|
|
|
2233
2921
|
"__schema": "ParameterSchema",
|
|
2234
2922
|
"location": {
|
|
2235
2923
|
"filePath": "cli.main.runtime.ts",
|
|
2236
|
-
"line":
|
|
2924
|
+
"line": 89,
|
|
2237
2925
|
"character": 17
|
|
2238
2926
|
},
|
|
2239
2927
|
"name": "name",
|
|
@@ -2241,7 +2929,7 @@
|
|
|
2241
2929
|
"__schema": "KeywordTypeSchema",
|
|
2242
2930
|
"location": {
|
|
2243
2931
|
"filePath": "cli.main.runtime.ts",
|
|
2244
|
-
"line":
|
|
2932
|
+
"line": 89,
|
|
2245
2933
|
"character": 23
|
|
2246
2934
|
},
|
|
2247
2935
|
"name": "string"
|
|
@@ -2253,7 +2941,7 @@
|
|
|
2253
2941
|
"__schema": "ParameterSchema",
|
|
2254
2942
|
"location": {
|
|
2255
2943
|
"filePath": "cli.main.runtime.ts",
|
|
2256
|
-
"line":
|
|
2944
|
+
"line": 89,
|
|
2257
2945
|
"character": 31
|
|
2258
2946
|
},
|
|
2259
2947
|
"name": "description",
|
|
@@ -2261,7 +2949,7 @@
|
|
|
2261
2949
|
"__schema": "KeywordTypeSchema",
|
|
2262
2950
|
"location": {
|
|
2263
2951
|
"filePath": "cli.main.runtime.ts",
|
|
2264
|
-
"line":
|
|
2952
|
+
"line": 89,
|
|
2265
2953
|
"character": 44
|
|
2266
2954
|
},
|
|
2267
2955
|
"name": "string"
|
|
@@ -2274,7 +2962,7 @@
|
|
|
2274
2962
|
"__schema": "InferenceTypeSchema",
|
|
2275
2963
|
"location": {
|
|
2276
2964
|
"filePath": "cli.main.runtime.ts",
|
|
2277
|
-
"line":
|
|
2965
|
+
"line": 89,
|
|
2278
2966
|
"character": 3
|
|
2279
2967
|
},
|
|
2280
2968
|
"type": "void"
|
|
@@ -2285,14 +2973,14 @@
|
|
|
2285
2973
|
"__schema": "FunctionLikeSchema",
|
|
2286
2974
|
"location": {
|
|
2287
2975
|
"filePath": "cli.main.runtime.ts",
|
|
2288
|
-
"line":
|
|
2976
|
+
"line": 100,
|
|
2289
2977
|
"character": 3
|
|
2290
2978
|
},
|
|
2291
2979
|
"doc": {
|
|
2292
2980
|
"__schema": "DocSchema",
|
|
2293
2981
|
"location": {
|
|
2294
2982
|
"filePath": "cli.main.runtime.ts",
|
|
2295
|
-
"line":
|
|
2983
|
+
"line": 97,
|
|
2296
2984
|
"character": 3
|
|
2297
2985
|
},
|
|
2298
2986
|
"raw": "/**\n * onStart is when bootstrapping the CLI. (it happens before onCommandStart)\n */",
|
|
@@ -2306,7 +2994,7 @@
|
|
|
2306
2994
|
"__schema": "ParameterSchema",
|
|
2307
2995
|
"location": {
|
|
2308
2996
|
"filePath": "cli.main.runtime.ts",
|
|
2309
|
-
"line":
|
|
2997
|
+
"line": 100,
|
|
2310
2998
|
"character": 19
|
|
2311
2999
|
},
|
|
2312
3000
|
"name": "onStartFn",
|
|
@@ -2314,7 +3002,7 @@
|
|
|
2314
3002
|
"__schema": "TypeRefSchema",
|
|
2315
3003
|
"location": {
|
|
2316
3004
|
"filePath": "cli.main.runtime.ts",
|
|
2317
|
-
"line":
|
|
3005
|
+
"line": 100,
|
|
2318
3006
|
"character": 30
|
|
2319
3007
|
},
|
|
2320
3008
|
"name": "OnStart"
|
|
@@ -2327,7 +3015,7 @@
|
|
|
2327
3015
|
"__schema": "TypeRefSchema",
|
|
2328
3016
|
"location": {
|
|
2329
3017
|
"filePath": "cli.main.runtime.ts",
|
|
2330
|
-
"line":
|
|
3018
|
+
"line": 100,
|
|
2331
3019
|
"character": 3
|
|
2332
3020
|
},
|
|
2333
3021
|
"name": "CLIMain"
|
|
@@ -2338,14 +3026,14 @@
|
|
|
2338
3026
|
"__schema": "FunctionLikeSchema",
|
|
2339
3027
|
"location": {
|
|
2340
3028
|
"filePath": "cli.main.runtime.ts",
|
|
2341
|
-
"line":
|
|
3029
|
+
"line": 109,
|
|
2342
3030
|
"character": 3
|
|
2343
3031
|
},
|
|
2344
3032
|
"doc": {
|
|
2345
3033
|
"__schema": "DocSchema",
|
|
2346
3034
|
"location": {
|
|
2347
3035
|
"filePath": "cli.main.runtime.ts",
|
|
2348
|
-
"line":
|
|
3036
|
+
"line": 105,
|
|
2349
3037
|
"character": 3
|
|
2350
3038
|
},
|
|
2351
3039
|
"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 */",
|
|
@@ -2359,7 +3047,7 @@
|
|
|
2359
3047
|
"__schema": "ParameterSchema",
|
|
2360
3048
|
"location": {
|
|
2361
3049
|
"filePath": "cli.main.runtime.ts",
|
|
2362
|
-
"line":
|
|
3050
|
+
"line": 109,
|
|
2363
3051
|
"character": 26
|
|
2364
3052
|
},
|
|
2365
3053
|
"name": "onCommandStartFn",
|
|
@@ -2367,7 +3055,7 @@
|
|
|
2367
3055
|
"__schema": "TypeRefSchema",
|
|
2368
3056
|
"location": {
|
|
2369
3057
|
"filePath": "cli.main.runtime.ts",
|
|
2370
|
-
"line":
|
|
3058
|
+
"line": 109,
|
|
2371
3059
|
"character": 44
|
|
2372
3060
|
},
|
|
2373
3061
|
"name": "OnCommandStart"
|
|
@@ -2380,7 +3068,7 @@
|
|
|
2380
3068
|
"__schema": "TypeRefSchema",
|
|
2381
3069
|
"location": {
|
|
2382
3070
|
"filePath": "cli.main.runtime.ts",
|
|
2383
|
-
"line":
|
|
3071
|
+
"line": 109,
|
|
2384
3072
|
"character": 3
|
|
2385
3073
|
},
|
|
2386
3074
|
"name": "CLIMain"
|
|
@@ -2391,14 +3079,14 @@
|
|
|
2391
3079
|
"__schema": "FunctionLikeSchema",
|
|
2392
3080
|
"location": {
|
|
2393
3081
|
"filePath": "cli.main.runtime.ts",
|
|
2394
|
-
"line":
|
|
3082
|
+
"line": 129,
|
|
2395
3083
|
"character": 3
|
|
2396
3084
|
},
|
|
2397
3085
|
"doc": {
|
|
2398
3086
|
"__schema": "DocSchema",
|
|
2399
3087
|
"location": {
|
|
2400
3088
|
"filePath": "cli.main.runtime.ts",
|
|
2401
|
-
"line":
|
|
3089
|
+
"line": 114,
|
|
2402
3090
|
"character": 3
|
|
2403
3091
|
},
|
|
2404
3092
|
"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 */",
|
|
@@ -2408,7 +3096,7 @@
|
|
|
2408
3096
|
"__schema": "PropertyLikeTagSchema",
|
|
2409
3097
|
"location": {
|
|
2410
3098
|
"filePath": "cli.main.runtime.ts",
|
|
2411
|
-
"line":
|
|
3099
|
+
"line": 126,
|
|
2412
3100
|
"character": 6
|
|
2413
3101
|
},
|
|
2414
3102
|
"name": "onBeforeExitFn",
|
|
@@ -2418,7 +3106,7 @@
|
|
|
2418
3106
|
"__schema": "ReturnTagSchema",
|
|
2419
3107
|
"location": {
|
|
2420
3108
|
"filePath": "cli.main.runtime.ts",
|
|
2421
|
-
"line":
|
|
3109
|
+
"line": 127,
|
|
2422
3110
|
"character": 6
|
|
2423
3111
|
},
|
|
2424
3112
|
"tagName": "return"
|
|
@@ -2432,7 +3120,7 @@
|
|
|
2432
3120
|
"__schema": "ParameterSchema",
|
|
2433
3121
|
"location": {
|
|
2434
3122
|
"filePath": "cli.main.runtime.ts",
|
|
2435
|
-
"line":
|
|
3123
|
+
"line": 129,
|
|
2436
3124
|
"character": 24
|
|
2437
3125
|
},
|
|
2438
3126
|
"name": "onBeforeExitFn",
|
|
@@ -2440,7 +3128,7 @@
|
|
|
2440
3128
|
"__schema": "TypeRefSchema",
|
|
2441
3129
|
"location": {
|
|
2442
3130
|
"filePath": "cli.main.runtime.ts",
|
|
2443
|
-
"line":
|
|
3131
|
+
"line": 129,
|
|
2444
3132
|
"character": 40
|
|
2445
3133
|
},
|
|
2446
3134
|
"name": "OnBeforeExitFn"
|
|
@@ -2453,7 +3141,7 @@
|
|
|
2453
3141
|
"__schema": "TypeRefSchema",
|
|
2454
3142
|
"location": {
|
|
2455
3143
|
"filePath": "cli.main.runtime.ts",
|
|
2456
|
-
"line":
|
|
3144
|
+
"line": 129,
|
|
2457
3145
|
"character": 3
|
|
2458
3146
|
},
|
|
2459
3147
|
"name": "CLIMain"
|
|
@@ -2464,14 +3152,14 @@
|
|
|
2464
3152
|
"__schema": "FunctionLikeSchema",
|
|
2465
3153
|
"location": {
|
|
2466
3154
|
"filePath": "cli.main.runtime.ts",
|
|
2467
|
-
"line":
|
|
3155
|
+
"line": 138,
|
|
2468
3156
|
"character": 3
|
|
2469
3157
|
},
|
|
2470
3158
|
"doc": {
|
|
2471
3159
|
"__schema": "DocSchema",
|
|
2472
3160
|
"location": {
|
|
2473
3161
|
"filePath": "cli.main.runtime.ts",
|
|
2474
|
-
"line":
|
|
3162
|
+
"line": 135,
|
|
2475
3163
|
"character": 3
|
|
2476
3164
|
},
|
|
2477
3165
|
"raw": "/**\n * execute commands registered to this aspect.\n */",
|
|
@@ -2485,7 +3173,7 @@
|
|
|
2485
3173
|
"__schema": "ParameterSchema",
|
|
2486
3174
|
"location": {
|
|
2487
3175
|
"filePath": "cli.main.runtime.ts",
|
|
2488
|
-
"line":
|
|
3176
|
+
"line": 138,
|
|
2489
3177
|
"character": 13
|
|
2490
3178
|
},
|
|
2491
3179
|
"name": "hasWorkspace",
|
|
@@ -2493,7 +3181,7 @@
|
|
|
2493
3181
|
"__schema": "KeywordTypeSchema",
|
|
2494
3182
|
"location": {
|
|
2495
3183
|
"filePath": "cli.main.runtime.ts",
|
|
2496
|
-
"line":
|
|
3184
|
+
"line": 138,
|
|
2497
3185
|
"character": 27
|
|
2498
3186
|
},
|
|
2499
3187
|
"name": "boolean"
|
|
@@ -2506,7 +3194,7 @@
|
|
|
2506
3194
|
"__schema": "InferenceTypeSchema",
|
|
2507
3195
|
"location": {
|
|
2508
3196
|
"filePath": "cli.main.runtime.ts",
|
|
2509
|
-
"line":
|
|
3197
|
+
"line": 138,
|
|
2510
3198
|
"character": 3
|
|
2511
3199
|
},
|
|
2512
3200
|
"type": "Promise<void>"
|
|
@@ -2519,7 +3207,7 @@
|
|
|
2519
3207
|
"__schema": "VariableLikeSchema",
|
|
2520
3208
|
"location": {
|
|
2521
3209
|
"filePath": "cli.main.runtime.ts",
|
|
2522
|
-
"line":
|
|
3210
|
+
"line": 172,
|
|
2523
3211
|
"character": 3
|
|
2524
3212
|
},
|
|
2525
3213
|
"signature": "(property) CLIMain.dependencies: Aspect[]",
|
|
@@ -2528,7 +3216,7 @@
|
|
|
2528
3216
|
"__schema": "InferenceTypeSchema",
|
|
2529
3217
|
"location": {
|
|
2530
3218
|
"filePath": "cli.main.runtime.ts",
|
|
2531
|
-
"line":
|
|
3219
|
+
"line": 172,
|
|
2532
3220
|
"character": 3
|
|
2533
3221
|
},
|
|
2534
3222
|
"type": "Aspect[]"
|
|
@@ -2540,7 +3228,7 @@
|
|
|
2540
3228
|
"__schema": "VariableLikeSchema",
|
|
2541
3229
|
"location": {
|
|
2542
3230
|
"filePath": "cli.main.runtime.ts",
|
|
2543
|
-
"line":
|
|
3231
|
+
"line": 173,
|
|
2544
3232
|
"character": 3
|
|
2545
3233
|
},
|
|
2546
3234
|
"signature": "(property) CLIMain.runtime: RuntimeDefinition",
|
|
@@ -2549,7 +3237,7 @@
|
|
|
2549
3237
|
"__schema": "InferenceTypeSchema",
|
|
2550
3238
|
"location": {
|
|
2551
3239
|
"filePath": "cli.main.runtime.ts",
|
|
2552
|
-
"line":
|
|
3240
|
+
"line": 173,
|
|
2553
3241
|
"character": 3
|
|
2554
3242
|
},
|
|
2555
3243
|
"type": "RuntimeDefinition"
|
|
@@ -2561,7 +3249,7 @@
|
|
|
2561
3249
|
"__schema": "VariableLikeSchema",
|
|
2562
3250
|
"location": {
|
|
2563
3251
|
"filePath": "cli.main.runtime.ts",
|
|
2564
|
-
"line":
|
|
3252
|
+
"line": 174,
|
|
2565
3253
|
"character": 3
|
|
2566
3254
|
},
|
|
2567
3255
|
"signature": "(property) CLIMain.slots: (((registerFn: () => string) => SlotRegistry<CommandList>) | ((registerFn: () => string) => SlotRegistry<OnStart>) | ((registerFn: () => string) => SlotRegistry<...>))[]",
|
|
@@ -2570,7 +3258,7 @@
|
|
|
2570
3258
|
"__schema": "InferenceTypeSchema",
|
|
2571
3259
|
"location": {
|
|
2572
3260
|
"filePath": "cli.main.runtime.ts",
|
|
2573
|
-
"line":
|
|
3261
|
+
"line": 174,
|
|
2574
3262
|
"character": 3
|
|
2575
3263
|
},
|
|
2576
3264
|
"type": "(((registerFn: () => string) => SlotRegistry<CommandList>) | ((registerFn: () => string) => SlotRegistry<OnStart>) | ((registerFn: () => string) => SlotRegistry<...>))[]"
|
|
@@ -2582,7 +3270,7 @@
|
|
|
2582
3270
|
"__schema": "FunctionLikeSchema",
|
|
2583
3271
|
"location": {
|
|
2584
3272
|
"filePath": "cli.main.runtime.ts",
|
|
2585
|
-
"line":
|
|
3273
|
+
"line": 181,
|
|
2586
3274
|
"character": 3
|
|
2587
3275
|
},
|
|
2588
3276
|
"signature": "(method) CLIMain.provider([loggerMain]: [LoggerMain], config: any, [commandsSlot, onStartSlot, onCommandStartSlot, onBeforeExitSlot]: [\n CommandsSlot,\n OnStartSlot,\n OnCommandStartSlot,\n OnBeforeExitSlot\n]): Promise<CLIMain>",
|
|
@@ -2592,7 +3280,7 @@
|
|
|
2592
3280
|
"__schema": "ParameterSchema",
|
|
2593
3281
|
"location": {
|
|
2594
3282
|
"filePath": "cli.main.runtime.ts",
|
|
2595
|
-
"line":
|
|
3283
|
+
"line": 182,
|
|
2596
3284
|
"character": 5
|
|
2597
3285
|
},
|
|
2598
3286
|
"name": "[ loggerMain ]",
|
|
@@ -2600,7 +3288,7 @@
|
|
|
2600
3288
|
"__schema": "TupleTypeSchema",
|
|
2601
3289
|
"location": {
|
|
2602
3290
|
"filePath": "cli.main.runtime.ts",
|
|
2603
|
-
"line":
|
|
3291
|
+
"line": 182,
|
|
2604
3292
|
"character": 19
|
|
2605
3293
|
},
|
|
2606
3294
|
"elements": [
|
|
@@ -2608,7 +3296,7 @@
|
|
|
2608
3296
|
"__schema": "TypeRefSchema",
|
|
2609
3297
|
"location": {
|
|
2610
3298
|
"filePath": "cli.main.runtime.ts",
|
|
2611
|
-
"line":
|
|
3299
|
+
"line": 182,
|
|
2612
3300
|
"character": 20
|
|
2613
3301
|
},
|
|
2614
3302
|
"name": "LoggerMain"
|
|
@@ -2622,7 +3310,7 @@
|
|
|
2622
3310
|
"__schema": "ParameterSchema",
|
|
2623
3311
|
"location": {
|
|
2624
3312
|
"filePath": "cli.main.runtime.ts",
|
|
2625
|
-
"line":
|
|
3313
|
+
"line": 183,
|
|
2626
3314
|
"character": 5
|
|
2627
3315
|
},
|
|
2628
3316
|
"name": "config",
|
|
@@ -2630,7 +3318,7 @@
|
|
|
2630
3318
|
"__schema": "InferenceTypeSchema",
|
|
2631
3319
|
"location": {
|
|
2632
3320
|
"filePath": "cli.main.runtime.ts",
|
|
2633
|
-
"line":
|
|
3321
|
+
"line": 183,
|
|
2634
3322
|
"character": 5
|
|
2635
3323
|
},
|
|
2636
3324
|
"type": "any"
|
|
@@ -2642,7 +3330,7 @@
|
|
|
2642
3330
|
"__schema": "ParameterSchema",
|
|
2643
3331
|
"location": {
|
|
2644
3332
|
"filePath": "cli.main.runtime.ts",
|
|
2645
|
-
"line":
|
|
3333
|
+
"line": 184,
|
|
2646
3334
|
"character": 5
|
|
2647
3335
|
},
|
|
2648
3336
|
"name": "[ commandsSlot, onStartSlot, onCommandStartSlot, onBeforeExitSlot ]",
|
|
@@ -2650,7 +3338,7 @@
|
|
|
2650
3338
|
"__schema": "TupleTypeSchema",
|
|
2651
3339
|
"location": {
|
|
2652
3340
|
"filePath": "cli.main.runtime.ts",
|
|
2653
|
-
"line":
|
|
3341
|
+
"line": 184,
|
|
2654
3342
|
"character": 72
|
|
2655
3343
|
},
|
|
2656
3344
|
"elements": [
|
|
@@ -2658,7 +3346,7 @@
|
|
|
2658
3346
|
"__schema": "TypeRefSchema",
|
|
2659
3347
|
"location": {
|
|
2660
3348
|
"filePath": "cli.main.runtime.ts",
|
|
2661
|
-
"line":
|
|
3349
|
+
"line": 185,
|
|
2662
3350
|
"character": 7
|
|
2663
3351
|
},
|
|
2664
3352
|
"name": "CommandsSlot"
|
|
@@ -2667,7 +3355,7 @@
|
|
|
2667
3355
|
"__schema": "TypeRefSchema",
|
|
2668
3356
|
"location": {
|
|
2669
3357
|
"filePath": "cli.main.runtime.ts",
|
|
2670
|
-
"line":
|
|
3358
|
+
"line": 186,
|
|
2671
3359
|
"character": 7
|
|
2672
3360
|
},
|
|
2673
3361
|
"name": "OnStartSlot"
|
|
@@ -2676,7 +3364,7 @@
|
|
|
2676
3364
|
"__schema": "TypeRefSchema",
|
|
2677
3365
|
"location": {
|
|
2678
3366
|
"filePath": "cli.main.runtime.ts",
|
|
2679
|
-
"line":
|
|
3367
|
+
"line": 187,
|
|
2680
3368
|
"character": 7
|
|
2681
3369
|
},
|
|
2682
3370
|
"name": "OnCommandStartSlot"
|
|
@@ -2685,7 +3373,7 @@
|
|
|
2685
3373
|
"__schema": "TypeRefSchema",
|
|
2686
3374
|
"location": {
|
|
2687
3375
|
"filePath": "cli.main.runtime.ts",
|
|
2688
|
-
"line":
|
|
3376
|
+
"line": 188,
|
|
2689
3377
|
"character": 7
|
|
2690
3378
|
},
|
|
2691
3379
|
"name": "OnBeforeExitSlot"
|
|
@@ -2700,7 +3388,7 @@
|
|
|
2700
3388
|
"__schema": "InferenceTypeSchema",
|
|
2701
3389
|
"location": {
|
|
2702
3390
|
"filePath": "cli.main.runtime.ts",
|
|
2703
|
-
"line":
|
|
3391
|
+
"line": 181,
|
|
2704
3392
|
"character": 3
|
|
2705
3393
|
},
|
|
2706
3394
|
"type": "Promise<CLIMain>"
|
|
@@ -2720,7 +3408,7 @@
|
|
|
2720
3408
|
"__schema": "UnImplementedSchema",
|
|
2721
3409
|
"location": {
|
|
2722
3410
|
"filePath": "cli.main.runtime.ts",
|
|
2723
|
-
"line":
|
|
3411
|
+
"line": 203,
|
|
2724
3412
|
"character": 1
|
|
2725
3413
|
},
|
|
2726
3414
|
"name": "CLIAspect.addRuntime(CLIMain);",
|
|
@@ -2730,14 +3418,14 @@
|
|
|
2730
3418
|
"__schema": "FunctionLikeSchema",
|
|
2731
3419
|
"location": {
|
|
2732
3420
|
"filePath": "cli.main.runtime.ts",
|
|
2733
|
-
"line":
|
|
3421
|
+
"line": 211,
|
|
2734
3422
|
"character": 1
|
|
2735
3423
|
},
|
|
2736
3424
|
"doc": {
|
|
2737
3425
|
"__schema": "DocSchema",
|
|
2738
3426
|
"location": {
|
|
2739
3427
|
"filePath": "cli.main.runtime.ts",
|
|
2740
|
-
"line":
|
|
3428
|
+
"line": 205,
|
|
2741
3429
|
"character": 1
|
|
2742
3430
|
},
|
|
2743
3431
|
"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 */",
|
|
@@ -2751,7 +3439,7 @@
|
|
|
2751
3439
|
"__schema": "InferenceTypeSchema",
|
|
2752
3440
|
"location": {
|
|
2753
3441
|
"filePath": "cli.main.runtime.ts",
|
|
2754
|
-
"line":
|
|
3442
|
+
"line": 211,
|
|
2755
3443
|
"character": 1
|
|
2756
3444
|
},
|
|
2757
3445
|
"type": "Promise<void>"
|
|
@@ -2764,7 +3452,7 @@
|
|
|
2764
3452
|
"__schema": "FunctionLikeSchema",
|
|
2765
3453
|
"location": {
|
|
2766
3454
|
"filePath": "cli.main.runtime.ts",
|
|
2767
|
-
"line":
|
|
3455
|
+
"line": 224,
|
|
2768
3456
|
"character": 1
|
|
2769
3457
|
},
|
|
2770
3458
|
"signature": "function isFullUrl(url: string): boolean",
|
|
@@ -2774,7 +3462,7 @@
|
|
|
2774
3462
|
"__schema": "ParameterSchema",
|
|
2775
3463
|
"location": {
|
|
2776
3464
|
"filePath": "cli.main.runtime.ts",
|
|
2777
|
-
"line":
|
|
3465
|
+
"line": 224,
|
|
2778
3466
|
"character": 20
|
|
2779
3467
|
},
|
|
2780
3468
|
"name": "url",
|
|
@@ -2782,7 +3470,7 @@
|
|
|
2782
3470
|
"__schema": "KeywordTypeSchema",
|
|
2783
3471
|
"location": {
|
|
2784
3472
|
"filePath": "cli.main.runtime.ts",
|
|
2785
|
-
"line":
|
|
3473
|
+
"line": 224,
|
|
2786
3474
|
"character": 25
|
|
2787
3475
|
},
|
|
2788
3476
|
"name": "string"
|
|
@@ -2795,7 +3483,7 @@
|
|
|
2795
3483
|
"__schema": "TypeRefSchema",
|
|
2796
3484
|
"location": {
|
|
2797
3485
|
"filePath": "cli.main.runtime.ts",
|
|
2798
|
-
"line":
|
|
3486
|
+
"line": 224,
|
|
2799
3487
|
"character": 1
|
|
2800
3488
|
},
|
|
2801
3489
|
"name": "isFullUrl",
|
|
@@ -2882,7 +3570,7 @@
|
|
|
2882
3570
|
"componentId": {
|
|
2883
3571
|
"scope": "teambit.harmony",
|
|
2884
3572
|
"name": "cli",
|
|
2885
|
-
"version": "0.0.
|
|
3573
|
+
"version": "0.0.935"
|
|
2886
3574
|
},
|
|
2887
3575
|
"taggedModuleExports": []
|
|
2888
3576
|
}
|