@teambit/cli 0.0.862 → 0.0.863
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 +968 -859
- package/dist/legacy-command-adapter.d.ts +2 -2
- package/dist/legacy-command-adapter.js.map +1 -1
- package/dist/{preview-1712822929999.js → preview-1714533890836.js} +2 -2
- package/package.json +3 -3
package/artifacts/schema.json
CHANGED
|
@@ -14,1170 +14,1279 @@
|
|
|
14
14
|
},
|
|
15
15
|
"exports": [
|
|
16
16
|
{
|
|
17
|
-
"__schema": "
|
|
17
|
+
"__schema": "ExportSchema",
|
|
18
18
|
"location": {
|
|
19
|
-
"filePath": "
|
|
20
|
-
"line":
|
|
21
|
-
"character":
|
|
19
|
+
"filePath": "index.ts",
|
|
20
|
+
"line": 3,
|
|
21
|
+
"character": 15
|
|
22
22
|
},
|
|
23
|
-
"signature": "class CLIMain",
|
|
24
23
|
"name": "CLIMain",
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"__schema": "
|
|
24
|
+
"exportNode": {
|
|
25
|
+
"__schema": "ClassSchema",
|
|
26
|
+
"location": {
|
|
27
|
+
"filePath": "cli.main.runtime.ts",
|
|
28
|
+
"line": 29,
|
|
29
|
+
"character": 1
|
|
30
|
+
},
|
|
31
|
+
"signature": "class CLIMain",
|
|
32
|
+
"name": "CLIMain",
|
|
33
|
+
"members": [
|
|
34
|
+
{
|
|
35
|
+
"__schema": "VariableLikeSchema",
|
|
37
36
|
"location": {
|
|
38
37
|
"filePath": "cli.main.runtime.ts",
|
|
39
38
|
"line": 30,
|
|
40
39
|
"character": 3
|
|
41
40
|
},
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"defaultValue": "clone(groups)"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"__schema": "ConstructorSchema",
|
|
50
|
-
"location": {
|
|
51
|
-
"filePath": "cli.main.runtime.ts",
|
|
52
|
-
"line": 31,
|
|
53
|
-
"character": 3
|
|
54
|
-
},
|
|
55
|
-
"signature": "constructor CLIMain(commandsSlot: CommandsSlot, onStartSlot: OnStartSlot, onCommandStartSlot: OnCommandStartSlot, onBeforeExitSlot: OnBeforeExitSlot, logger: Logger): CLIMain",
|
|
56
|
-
"name": "constructor",
|
|
57
|
-
"params": [
|
|
58
|
-
{
|
|
59
|
-
"__schema": "ParameterSchema",
|
|
41
|
+
"signature": "(property) CLIMain.groups: GroupsType",
|
|
42
|
+
"name": "groups",
|
|
43
|
+
"type": {
|
|
44
|
+
"__schema": "TypeRefSchema",
|
|
60
45
|
"location": {
|
|
61
46
|
"filePath": "cli.main.runtime.ts",
|
|
62
|
-
"line":
|
|
63
|
-
"character":
|
|
47
|
+
"line": 30,
|
|
48
|
+
"character": 3
|
|
64
49
|
},
|
|
65
|
-
"name": "
|
|
66
|
-
"
|
|
67
|
-
|
|
50
|
+
"name": "GroupsType",
|
|
51
|
+
"packageName": "@teambit/legacy/dist/cli/command-groups"
|
|
52
|
+
},
|
|
53
|
+
"isOptional": true,
|
|
54
|
+
"defaultValue": "clone(groups)"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"__schema": "ConstructorSchema",
|
|
58
|
+
"location": {
|
|
59
|
+
"filePath": "cli.main.runtime.ts",
|
|
60
|
+
"line": 31,
|
|
61
|
+
"character": 3
|
|
62
|
+
},
|
|
63
|
+
"signature": "constructor CLIMain(commandsSlot: CommandsSlot, onStartSlot: OnStartSlot, onCommandStartSlot: OnCommandStartSlot, onBeforeExitSlot: OnBeforeExitSlot, logger: Logger): CLIMain",
|
|
64
|
+
"name": "constructor",
|
|
65
|
+
"params": [
|
|
66
|
+
{
|
|
67
|
+
"__schema": "ParameterSchema",
|
|
68
68
|
"location": {
|
|
69
69
|
"filePath": "cli.main.runtime.ts",
|
|
70
70
|
"line": 32,
|
|
71
|
-
"character":
|
|
71
|
+
"character": 5
|
|
72
72
|
},
|
|
73
|
-
"name": "
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
"
|
|
73
|
+
"name": "commandsSlot",
|
|
74
|
+
"type": {
|
|
75
|
+
"__schema": "TypeRefSchema",
|
|
76
|
+
"location": {
|
|
77
|
+
"filePath": "cli.main.runtime.ts",
|
|
78
|
+
"line": 32,
|
|
79
|
+
"character": 27
|
|
80
|
+
},
|
|
81
|
+
"name": "CommandsSlot"
|
|
82
|
+
},
|
|
83
|
+
"isOptional": false,
|
|
84
|
+
"isSpread": false
|
|
84
85
|
},
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"__schema": "TypeRefSchema",
|
|
86
|
+
{
|
|
87
|
+
"__schema": "ParameterSchema",
|
|
88
88
|
"location": {
|
|
89
89
|
"filePath": "cli.main.runtime.ts",
|
|
90
90
|
"line": 33,
|
|
91
|
-
"character":
|
|
91
|
+
"character": 5
|
|
92
92
|
},
|
|
93
|
-
"name": "
|
|
94
|
-
"
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
"
|
|
93
|
+
"name": "onStartSlot",
|
|
94
|
+
"type": {
|
|
95
|
+
"__schema": "TypeRefSchema",
|
|
96
|
+
"location": {
|
|
97
|
+
"filePath": "cli.main.runtime.ts",
|
|
98
|
+
"line": 33,
|
|
99
|
+
"character": 26
|
|
100
|
+
},
|
|
101
|
+
"name": "OnStartSlot",
|
|
102
|
+
"internalFilePath": "cli.main.runtime.ts"
|
|
103
|
+
},
|
|
104
|
+
"isOptional": false,
|
|
105
|
+
"isSpread": false
|
|
105
106
|
},
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
"__schema": "TypeRefSchema",
|
|
107
|
+
{
|
|
108
|
+
"__schema": "ParameterSchema",
|
|
109
109
|
"location": {
|
|
110
110
|
"filePath": "cli.main.runtime.ts",
|
|
111
111
|
"line": 34,
|
|
112
|
-
"character":
|
|
112
|
+
"character": 5
|
|
113
113
|
},
|
|
114
|
-
"name": "
|
|
115
|
-
"
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
"
|
|
114
|
+
"name": "onCommandStartSlot",
|
|
115
|
+
"type": {
|
|
116
|
+
"__schema": "TypeRefSchema",
|
|
117
|
+
"location": {
|
|
118
|
+
"filePath": "cli.main.runtime.ts",
|
|
119
|
+
"line": 34,
|
|
120
|
+
"character": 34
|
|
121
|
+
},
|
|
122
|
+
"name": "OnCommandStartSlot",
|
|
123
|
+
"internalFilePath": "cli.main.runtime.ts"
|
|
124
|
+
},
|
|
125
|
+
"isOptional": false,
|
|
126
|
+
"isSpread": false
|
|
126
127
|
},
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
"__schema": "TypeRefSchema",
|
|
128
|
+
{
|
|
129
|
+
"__schema": "ParameterSchema",
|
|
130
130
|
"location": {
|
|
131
131
|
"filePath": "cli.main.runtime.ts",
|
|
132
132
|
"line": 35,
|
|
133
|
-
"character":
|
|
133
|
+
"character": 5
|
|
134
134
|
},
|
|
135
|
-
"name": "
|
|
136
|
-
"
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
"
|
|
135
|
+
"name": "onBeforeExitSlot",
|
|
136
|
+
"type": {
|
|
137
|
+
"__schema": "TypeRefSchema",
|
|
138
|
+
"location": {
|
|
139
|
+
"filePath": "cli.main.runtime.ts",
|
|
140
|
+
"line": 35,
|
|
141
|
+
"character": 31
|
|
142
|
+
},
|
|
143
|
+
"name": "OnBeforeExitSlot",
|
|
144
|
+
"internalFilePath": "cli.main.runtime.ts"
|
|
145
|
+
},
|
|
146
|
+
"isOptional": false,
|
|
147
|
+
"isSpread": false
|
|
147
148
|
},
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
"__schema": "TypeRefSchema",
|
|
149
|
+
{
|
|
150
|
+
"__schema": "ParameterSchema",
|
|
151
151
|
"location": {
|
|
152
152
|
"filePath": "cli.main.runtime.ts",
|
|
153
153
|
"line": 36,
|
|
154
|
-
"character":
|
|
154
|
+
"character": 5
|
|
155
155
|
},
|
|
156
|
-
"name": "
|
|
157
|
-
"
|
|
158
|
-
"
|
|
159
|
-
"
|
|
160
|
-
|
|
156
|
+
"name": "logger",
|
|
157
|
+
"type": {
|
|
158
|
+
"__schema": "TypeRefSchema",
|
|
159
|
+
"location": {
|
|
160
|
+
"filePath": "cli.main.runtime.ts",
|
|
161
|
+
"line": 36,
|
|
162
|
+
"character": 21
|
|
163
|
+
},
|
|
164
|
+
"name": "Logger",
|
|
165
|
+
"componentId": {
|
|
166
|
+
"scope": "teambit.harmony",
|
|
167
|
+
"name": "logger"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"isOptional": false,
|
|
171
|
+
"isSpread": false
|
|
172
|
+
}
|
|
173
|
+
],
|
|
174
|
+
"returnType": {
|
|
175
|
+
"__schema": "ThisTypeSchema",
|
|
176
|
+
"location": {
|
|
177
|
+
"filePath": "cli.main.runtime.ts",
|
|
178
|
+
"line": 29,
|
|
179
|
+
"character": 1
|
|
161
180
|
},
|
|
162
|
-
"
|
|
163
|
-
"isSpread": false
|
|
164
|
-
}
|
|
165
|
-
],
|
|
166
|
-
"returnType": {
|
|
167
|
-
"__schema": "ThisTypeSchema",
|
|
168
|
-
"location": {
|
|
169
|
-
"filePath": "cli.main.runtime.ts",
|
|
170
|
-
"line": 29,
|
|
171
|
-
"character": 1
|
|
181
|
+
"name": "CLIMain"
|
|
172
182
|
},
|
|
173
|
-
"
|
|
174
|
-
},
|
|
175
|
-
"modifiers": []
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
"__schema": "FunctionLikeSchema",
|
|
179
|
-
"location": {
|
|
180
|
-
"filePath": "cli.main.runtime.ts",
|
|
181
|
-
"line": 42,
|
|
182
|
-
"character": 3
|
|
183
|
+
"modifiers": []
|
|
183
184
|
},
|
|
184
|
-
|
|
185
|
-
"__schema": "
|
|
185
|
+
{
|
|
186
|
+
"__schema": "FunctionLikeSchema",
|
|
186
187
|
"location": {
|
|
187
188
|
"filePath": "cli.main.runtime.ts",
|
|
188
|
-
"line":
|
|
189
|
+
"line": 42,
|
|
189
190
|
"character": 3
|
|
190
191
|
},
|
|
191
|
-
"
|
|
192
|
-
|
|
193
|
-
},
|
|
194
|
-
"signature": "(method) CLIMain.register(...commands: CommandList): void",
|
|
195
|
-
"name": "register",
|
|
196
|
-
"params": [
|
|
197
|
-
{
|
|
198
|
-
"__schema": "ParameterSchema",
|
|
192
|
+
"doc": {
|
|
193
|
+
"__schema": "DocSchema",
|
|
199
194
|
"location": {
|
|
200
195
|
"filePath": "cli.main.runtime.ts",
|
|
201
|
-
"line":
|
|
202
|
-
"character":
|
|
196
|
+
"line": 39,
|
|
197
|
+
"character": 3
|
|
203
198
|
},
|
|
204
|
-
"
|
|
205
|
-
"
|
|
206
|
-
|
|
199
|
+
"raw": "/**\n * registers a new command in to the CLI.\n */",
|
|
200
|
+
"comment": "registers a new command in to the CLI."
|
|
201
|
+
},
|
|
202
|
+
"signature": "(method) CLIMain.register(...commands: CommandList): void",
|
|
203
|
+
"name": "register",
|
|
204
|
+
"params": [
|
|
205
|
+
{
|
|
206
|
+
"__schema": "ParameterSchema",
|
|
207
207
|
"location": {
|
|
208
208
|
"filePath": "cli.main.runtime.ts",
|
|
209
209
|
"line": 42,
|
|
210
|
-
"character":
|
|
210
|
+
"character": 12
|
|
211
|
+
},
|
|
212
|
+
"name": "commands",
|
|
213
|
+
"type": {
|
|
214
|
+
"__schema": "TypeRefSchema",
|
|
215
|
+
"location": {
|
|
216
|
+
"filePath": "cli.main.runtime.ts",
|
|
217
|
+
"line": 42,
|
|
218
|
+
"character": 25
|
|
219
|
+
},
|
|
220
|
+
"name": "CommandList"
|
|
211
221
|
},
|
|
212
|
-
"
|
|
222
|
+
"isOptional": false,
|
|
223
|
+
"isSpread": true
|
|
224
|
+
}
|
|
225
|
+
],
|
|
226
|
+
"returnType": {
|
|
227
|
+
"__schema": "InferenceTypeSchema",
|
|
228
|
+
"location": {
|
|
229
|
+
"filePath": "cli.main.runtime.ts",
|
|
230
|
+
"line": 42,
|
|
231
|
+
"character": 3
|
|
213
232
|
},
|
|
214
|
-
"
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
"__schema": "
|
|
233
|
+
"type": "void"
|
|
234
|
+
},
|
|
235
|
+
"modifiers": []
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"__schema": "FunctionLikeSchema",
|
|
220
239
|
"location": {
|
|
221
240
|
"filePath": "cli.main.runtime.ts",
|
|
222
|
-
"line":
|
|
241
|
+
"line": 55,
|
|
223
242
|
"character": 3
|
|
224
243
|
},
|
|
225
|
-
"
|
|
226
|
-
|
|
227
|
-
"modifiers": []
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
"__schema": "FunctionLikeSchema",
|
|
231
|
-
"location": {
|
|
232
|
-
"filePath": "cli.main.runtime.ts",
|
|
233
|
-
"line": 55,
|
|
234
|
-
"character": 3
|
|
235
|
-
},
|
|
236
|
-
"doc": {
|
|
237
|
-
"__schema": "DocSchema",
|
|
238
|
-
"location": {
|
|
239
|
-
"filePath": "cli.main.runtime.ts",
|
|
240
|
-
"line": 51,
|
|
241
|
-
"character": 3
|
|
242
|
-
},
|
|
243
|
-
"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 */",
|
|
244
|
-
"comment": "helpful for having the same command name in different environments (e.g. legacy and non-legacy).\nfor example `cli.unregister('tag');` removes the \"bit tag\" command."
|
|
245
|
-
},
|
|
246
|
-
"signature": "(method) CLIMain.unregister(commandName: string): void",
|
|
247
|
-
"name": "unregister",
|
|
248
|
-
"params": [
|
|
249
|
-
{
|
|
250
|
-
"__schema": "ParameterSchema",
|
|
244
|
+
"doc": {
|
|
245
|
+
"__schema": "DocSchema",
|
|
251
246
|
"location": {
|
|
252
247
|
"filePath": "cli.main.runtime.ts",
|
|
253
|
-
"line":
|
|
254
|
-
"character":
|
|
248
|
+
"line": 51,
|
|
249
|
+
"character": 3
|
|
255
250
|
},
|
|
256
|
-
"
|
|
257
|
-
"
|
|
258
|
-
|
|
251
|
+
"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 */",
|
|
252
|
+
"comment": "helpful for having the same command name in different environments (e.g. legacy and non-legacy).\nfor example `cli.unregister('tag');` removes the \"bit tag\" command."
|
|
253
|
+
},
|
|
254
|
+
"signature": "(method) CLIMain.unregister(commandName: string): void",
|
|
255
|
+
"name": "unregister",
|
|
256
|
+
"params": [
|
|
257
|
+
{
|
|
258
|
+
"__schema": "ParameterSchema",
|
|
259
259
|
"location": {
|
|
260
260
|
"filePath": "cli.main.runtime.ts",
|
|
261
261
|
"line": 55,
|
|
262
|
-
"character":
|
|
262
|
+
"character": 14
|
|
263
263
|
},
|
|
264
|
-
"name": "
|
|
264
|
+
"name": "commandName",
|
|
265
|
+
"type": {
|
|
266
|
+
"__schema": "KeywordTypeSchema",
|
|
267
|
+
"location": {
|
|
268
|
+
"filePath": "cli.main.runtime.ts",
|
|
269
|
+
"line": 55,
|
|
270
|
+
"character": 27
|
|
271
|
+
},
|
|
272
|
+
"name": "string"
|
|
273
|
+
},
|
|
274
|
+
"isOptional": false,
|
|
275
|
+
"isSpread": false
|
|
276
|
+
}
|
|
277
|
+
],
|
|
278
|
+
"returnType": {
|
|
279
|
+
"__schema": "InferenceTypeSchema",
|
|
280
|
+
"location": {
|
|
281
|
+
"filePath": "cli.main.runtime.ts",
|
|
282
|
+
"line": 55,
|
|
283
|
+
"character": 3
|
|
265
284
|
},
|
|
266
|
-
"
|
|
267
|
-
"isSpread": false
|
|
268
|
-
}
|
|
269
|
-
],
|
|
270
|
-
"returnType": {
|
|
271
|
-
"__schema": "InferenceTypeSchema",
|
|
272
|
-
"location": {
|
|
273
|
-
"filePath": "cli.main.runtime.ts",
|
|
274
|
-
"line": 55,
|
|
275
|
-
"character": 3
|
|
285
|
+
"type": "void"
|
|
276
286
|
},
|
|
277
|
-
"
|
|
278
|
-
},
|
|
279
|
-
"modifiers": []
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
"__schema": "GetAccessorSchema",
|
|
283
|
-
"location": {
|
|
284
|
-
"filePath": "cli.main.runtime.ts",
|
|
285
|
-
"line": 67,
|
|
286
|
-
"character": 3
|
|
287
|
+
"modifiers": []
|
|
287
288
|
},
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
"type": {
|
|
291
|
-
"__schema": "TypeRefSchema",
|
|
289
|
+
{
|
|
290
|
+
"__schema": "GetAccessorSchema",
|
|
292
291
|
"location": {
|
|
293
292
|
"filePath": "cli.main.runtime.ts",
|
|
294
293
|
"line": 67,
|
|
295
294
|
"character": 3
|
|
296
295
|
},
|
|
297
|
-
"
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
296
|
+
"signature": "(getter) CLIMain.commands: CommandList",
|
|
297
|
+
"name": "commands",
|
|
298
|
+
"type": {
|
|
299
|
+
"__schema": "TypeRefSchema",
|
|
300
|
+
"location": {
|
|
301
|
+
"filePath": "cli.main.runtime.ts",
|
|
302
|
+
"line": 67,
|
|
303
|
+
"character": 3
|
|
304
|
+
},
|
|
305
|
+
"name": "CommandList"
|
|
306
|
+
}
|
|
306
307
|
},
|
|
307
|
-
|
|
308
|
-
"__schema": "
|
|
308
|
+
{
|
|
309
|
+
"__schema": "FunctionLikeSchema",
|
|
309
310
|
"location": {
|
|
310
311
|
"filePath": "cli.main.runtime.ts",
|
|
311
|
-
"line":
|
|
312
|
+
"line": 74,
|
|
312
313
|
"character": 3
|
|
313
314
|
},
|
|
314
|
-
"
|
|
315
|
-
|
|
316
|
-
},
|
|
317
|
-
"signature": "(method) CLIMain.getCommand(name: string): Command | undefined",
|
|
318
|
-
"name": "getCommand",
|
|
319
|
-
"params": [
|
|
320
|
-
{
|
|
321
|
-
"__schema": "ParameterSchema",
|
|
315
|
+
"doc": {
|
|
316
|
+
"__schema": "DocSchema",
|
|
322
317
|
"location": {
|
|
323
318
|
"filePath": "cli.main.runtime.ts",
|
|
324
|
-
"line":
|
|
325
|
-
"character":
|
|
319
|
+
"line": 71,
|
|
320
|
+
"character": 3
|
|
326
321
|
},
|
|
327
|
-
"
|
|
328
|
-
"
|
|
329
|
-
|
|
322
|
+
"raw": "/**\n * get an instance of a registered command. (useful for aspects to modify and extend existing commands)\n */",
|
|
323
|
+
"comment": "get an instance of a registered command. (useful for aspects to modify and extend existing commands)"
|
|
324
|
+
},
|
|
325
|
+
"signature": "(method) CLIMain.getCommand(name: string): Command | undefined",
|
|
326
|
+
"name": "getCommand",
|
|
327
|
+
"params": [
|
|
328
|
+
{
|
|
329
|
+
"__schema": "ParameterSchema",
|
|
330
330
|
"location": {
|
|
331
331
|
"filePath": "cli.main.runtime.ts",
|
|
332
332
|
"line": 74,
|
|
333
|
-
"character":
|
|
333
|
+
"character": 14
|
|
334
334
|
},
|
|
335
|
-
"name": "
|
|
335
|
+
"name": "name",
|
|
336
|
+
"type": {
|
|
337
|
+
"__schema": "KeywordTypeSchema",
|
|
338
|
+
"location": {
|
|
339
|
+
"filePath": "cli.main.runtime.ts",
|
|
340
|
+
"line": 74,
|
|
341
|
+
"character": 20
|
|
342
|
+
},
|
|
343
|
+
"name": "string"
|
|
344
|
+
},
|
|
345
|
+
"isOptional": false,
|
|
346
|
+
"isSpread": false
|
|
347
|
+
}
|
|
348
|
+
],
|
|
349
|
+
"returnType": {
|
|
350
|
+
"__schema": "TypeUnionSchema",
|
|
351
|
+
"location": {
|
|
352
|
+
"filePath": "cli.main.runtime.ts",
|
|
353
|
+
"line": 74,
|
|
354
|
+
"character": 29
|
|
336
355
|
},
|
|
337
|
-
"
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
356
|
+
"types": [
|
|
357
|
+
{
|
|
358
|
+
"__schema": "TypeRefSchema",
|
|
359
|
+
"location": {
|
|
360
|
+
"filePath": "cli.main.runtime.ts",
|
|
361
|
+
"line": 74,
|
|
362
|
+
"character": 29
|
|
363
|
+
},
|
|
364
|
+
"name": "Command",
|
|
365
|
+
"packageName": "@teambit/legacy/dist/cli/command"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"__schema": "KeywordTypeSchema",
|
|
369
|
+
"location": {
|
|
370
|
+
"filePath": "cli.main.runtime.ts",
|
|
371
|
+
"line": 74,
|
|
372
|
+
"character": 39
|
|
373
|
+
},
|
|
374
|
+
"name": "undefined"
|
|
375
|
+
}
|
|
376
|
+
]
|
|
377
|
+
},
|
|
378
|
+
"modifiers": []
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"__schema": "FunctionLikeSchema",
|
|
343
382
|
"location": {
|
|
344
383
|
"filePath": "cli.main.runtime.ts",
|
|
345
|
-
"line":
|
|
346
|
-
"character":
|
|
384
|
+
"line": 84,
|
|
385
|
+
"character": 3
|
|
386
|
+
},
|
|
387
|
+
"doc": {
|
|
388
|
+
"__schema": "DocSchema",
|
|
389
|
+
"location": {
|
|
390
|
+
"filePath": "cli.main.runtime.ts",
|
|
391
|
+
"line": 78,
|
|
392
|
+
"character": 3
|
|
393
|
+
},
|
|
394
|
+
"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 */",
|
|
395
|
+
"comment": "when running `bit help`, commands are grouped by categories.\nthis method helps registering a new group by providing its name and a description.\nthe name is what needs to be assigned to the `group` property of the Command interface.\nthe description is what shown in the `bit help` output."
|
|
347
396
|
},
|
|
348
|
-
"
|
|
397
|
+
"signature": "(method) CLIMain.registerGroup(name: string, description: string): void",
|
|
398
|
+
"name": "registerGroup",
|
|
399
|
+
"params": [
|
|
349
400
|
{
|
|
350
|
-
"__schema": "
|
|
401
|
+
"__schema": "ParameterSchema",
|
|
351
402
|
"location": {
|
|
352
403
|
"filePath": "cli.main.runtime.ts",
|
|
353
|
-
"line":
|
|
354
|
-
"character":
|
|
404
|
+
"line": 84,
|
|
405
|
+
"character": 17
|
|
355
406
|
},
|
|
356
|
-
"name": "
|
|
357
|
-
"
|
|
407
|
+
"name": "name",
|
|
408
|
+
"type": {
|
|
409
|
+
"__schema": "KeywordTypeSchema",
|
|
410
|
+
"location": {
|
|
411
|
+
"filePath": "cli.main.runtime.ts",
|
|
412
|
+
"line": 84,
|
|
413
|
+
"character": 23
|
|
414
|
+
},
|
|
415
|
+
"name": "string"
|
|
416
|
+
},
|
|
417
|
+
"isOptional": false,
|
|
418
|
+
"isSpread": false
|
|
358
419
|
},
|
|
359
420
|
{
|
|
360
|
-
"__schema": "
|
|
421
|
+
"__schema": "ParameterSchema",
|
|
361
422
|
"location": {
|
|
362
423
|
"filePath": "cli.main.runtime.ts",
|
|
363
|
-
"line":
|
|
364
|
-
"character":
|
|
424
|
+
"line": 84,
|
|
425
|
+
"character": 31
|
|
426
|
+
},
|
|
427
|
+
"name": "description",
|
|
428
|
+
"type": {
|
|
429
|
+
"__schema": "KeywordTypeSchema",
|
|
430
|
+
"location": {
|
|
431
|
+
"filePath": "cli.main.runtime.ts",
|
|
432
|
+
"line": 84,
|
|
433
|
+
"character": 44
|
|
434
|
+
},
|
|
435
|
+
"name": "string"
|
|
365
436
|
},
|
|
366
|
-
"
|
|
437
|
+
"isOptional": false,
|
|
438
|
+
"isSpread": false
|
|
367
439
|
}
|
|
368
|
-
]
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
440
|
+
],
|
|
441
|
+
"returnType": {
|
|
442
|
+
"__schema": "InferenceTypeSchema",
|
|
443
|
+
"location": {
|
|
444
|
+
"filePath": "cli.main.runtime.ts",
|
|
445
|
+
"line": 84,
|
|
446
|
+
"character": 3
|
|
447
|
+
},
|
|
448
|
+
"type": "void"
|
|
449
|
+
},
|
|
450
|
+
"modifiers": []
|
|
378
451
|
},
|
|
379
|
-
|
|
380
|
-
"__schema": "
|
|
452
|
+
{
|
|
453
|
+
"__schema": "FunctionLikeSchema",
|
|
381
454
|
"location": {
|
|
382
455
|
"filePath": "cli.main.runtime.ts",
|
|
383
|
-
"line":
|
|
456
|
+
"line": 95,
|
|
384
457
|
"character": 3
|
|
385
458
|
},
|
|
386
|
-
"
|
|
387
|
-
|
|
388
|
-
},
|
|
389
|
-
"signature": "(method) CLIMain.registerGroup(name: string, description: string): void",
|
|
390
|
-
"name": "registerGroup",
|
|
391
|
-
"params": [
|
|
392
|
-
{
|
|
393
|
-
"__schema": "ParameterSchema",
|
|
459
|
+
"doc": {
|
|
460
|
+
"__schema": "DocSchema",
|
|
394
461
|
"location": {
|
|
395
462
|
"filePath": "cli.main.runtime.ts",
|
|
396
|
-
"line":
|
|
397
|
-
"character":
|
|
463
|
+
"line": 92,
|
|
464
|
+
"character": 3
|
|
398
465
|
},
|
|
399
|
-
"
|
|
400
|
-
"
|
|
401
|
-
|
|
466
|
+
"raw": "/**\n * onStart is when bootstrapping the CLI. (it happens before onCommandStart)\n */",
|
|
467
|
+
"comment": "onStart is when bootstrapping the CLI. (it happens before onCommandStart)"
|
|
468
|
+
},
|
|
469
|
+
"signature": "(method) CLIMain.registerOnStart(onStartFn: OnStart): this",
|
|
470
|
+
"name": "registerOnStart",
|
|
471
|
+
"params": [
|
|
472
|
+
{
|
|
473
|
+
"__schema": "ParameterSchema",
|
|
402
474
|
"location": {
|
|
403
475
|
"filePath": "cli.main.runtime.ts",
|
|
404
|
-
"line":
|
|
405
|
-
"character":
|
|
476
|
+
"line": 95,
|
|
477
|
+
"character": 19
|
|
406
478
|
},
|
|
407
|
-
"name": "
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
479
|
+
"name": "onStartFn",
|
|
480
|
+
"type": {
|
|
481
|
+
"__schema": "TypeRefSchema",
|
|
482
|
+
"location": {
|
|
483
|
+
"filePath": "cli.main.runtime.ts",
|
|
484
|
+
"line": 95,
|
|
485
|
+
"character": 30
|
|
486
|
+
},
|
|
487
|
+
"name": "OnStart",
|
|
488
|
+
"internalFilePath": "cli.main.runtime.ts"
|
|
489
|
+
},
|
|
490
|
+
"isOptional": false,
|
|
491
|
+
"isSpread": false
|
|
492
|
+
}
|
|
493
|
+
],
|
|
494
|
+
"returnType": {
|
|
495
|
+
"__schema": "TypeRefSchema",
|
|
414
496
|
"location": {
|
|
415
497
|
"filePath": "cli.main.runtime.ts",
|
|
416
|
-
"line":
|
|
417
|
-
"character":
|
|
418
|
-
},
|
|
419
|
-
"name": "description",
|
|
420
|
-
"type": {
|
|
421
|
-
"__schema": "KeywordTypeSchema",
|
|
422
|
-
"location": {
|
|
423
|
-
"filePath": "cli.main.runtime.ts",
|
|
424
|
-
"line": 84,
|
|
425
|
-
"character": 44
|
|
426
|
-
},
|
|
427
|
-
"name": "string"
|
|
498
|
+
"line": 95,
|
|
499
|
+
"character": 3
|
|
428
500
|
},
|
|
429
|
-
"
|
|
430
|
-
"isSpread": false
|
|
431
|
-
}
|
|
432
|
-
],
|
|
433
|
-
"returnType": {
|
|
434
|
-
"__schema": "InferenceTypeSchema",
|
|
435
|
-
"location": {
|
|
436
|
-
"filePath": "cli.main.runtime.ts",
|
|
437
|
-
"line": 84,
|
|
438
|
-
"character": 3
|
|
501
|
+
"name": "CLIMain"
|
|
439
502
|
},
|
|
440
|
-
"
|
|
441
|
-
},
|
|
442
|
-
"modifiers": []
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
"__schema": "FunctionLikeSchema",
|
|
446
|
-
"location": {
|
|
447
|
-
"filePath": "cli.main.runtime.ts",
|
|
448
|
-
"line": 95,
|
|
449
|
-
"character": 3
|
|
503
|
+
"modifiers": []
|
|
450
504
|
},
|
|
451
|
-
|
|
452
|
-
"__schema": "
|
|
505
|
+
{
|
|
506
|
+
"__schema": "FunctionLikeSchema",
|
|
453
507
|
"location": {
|
|
454
508
|
"filePath": "cli.main.runtime.ts",
|
|
455
|
-
"line":
|
|
509
|
+
"line": 104,
|
|
456
510
|
"character": 3
|
|
457
511
|
},
|
|
458
|
-
"
|
|
459
|
-
|
|
460
|
-
},
|
|
461
|
-
"signature": "(method) CLIMain.registerOnStart(onStartFn: OnStart): this",
|
|
462
|
-
"name": "registerOnStart",
|
|
463
|
-
"params": [
|
|
464
|
-
{
|
|
465
|
-
"__schema": "ParameterSchema",
|
|
512
|
+
"doc": {
|
|
513
|
+
"__schema": "DocSchema",
|
|
466
514
|
"location": {
|
|
467
515
|
"filePath": "cli.main.runtime.ts",
|
|
468
|
-
"line":
|
|
469
|
-
"character":
|
|
516
|
+
"line": 100,
|
|
517
|
+
"character": 3
|
|
470
518
|
},
|
|
471
|
-
"
|
|
472
|
-
"
|
|
473
|
-
|
|
519
|
+
"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 */",
|
|
520
|
+
"comment": "onCommandStart is when a command is about to start and we have the command object and the parsed args and flags\nalready. (it happens after onStart)"
|
|
521
|
+
},
|
|
522
|
+
"signature": "(method) CLIMain.registerOnCommandStart(onCommandStartFn: OnCommandStart): this",
|
|
523
|
+
"name": "registerOnCommandStart",
|
|
524
|
+
"params": [
|
|
525
|
+
{
|
|
526
|
+
"__schema": "ParameterSchema",
|
|
474
527
|
"location": {
|
|
475
528
|
"filePath": "cli.main.runtime.ts",
|
|
476
|
-
"line":
|
|
477
|
-
"character":
|
|
529
|
+
"line": 104,
|
|
530
|
+
"character": 26
|
|
531
|
+
},
|
|
532
|
+
"name": "onCommandStartFn",
|
|
533
|
+
"type": {
|
|
534
|
+
"__schema": "TypeRefSchema",
|
|
535
|
+
"location": {
|
|
536
|
+
"filePath": "cli.main.runtime.ts",
|
|
537
|
+
"line": 104,
|
|
538
|
+
"character": 44
|
|
539
|
+
},
|
|
540
|
+
"name": "OnCommandStart",
|
|
541
|
+
"internalFilePath": "cli.main.runtime.ts"
|
|
478
542
|
},
|
|
479
|
-
"
|
|
480
|
-
"
|
|
543
|
+
"isOptional": false,
|
|
544
|
+
"isSpread": false
|
|
545
|
+
}
|
|
546
|
+
],
|
|
547
|
+
"returnType": {
|
|
548
|
+
"__schema": "TypeRefSchema",
|
|
549
|
+
"location": {
|
|
550
|
+
"filePath": "cli.main.runtime.ts",
|
|
551
|
+
"line": 104,
|
|
552
|
+
"character": 3
|
|
481
553
|
},
|
|
482
|
-
"
|
|
483
|
-
"isSpread": false
|
|
484
|
-
}
|
|
485
|
-
],
|
|
486
|
-
"returnType": {
|
|
487
|
-
"__schema": "TypeRefSchema",
|
|
488
|
-
"location": {
|
|
489
|
-
"filePath": "cli.main.runtime.ts",
|
|
490
|
-
"line": 95,
|
|
491
|
-
"character": 3
|
|
554
|
+
"name": "CLIMain"
|
|
492
555
|
},
|
|
493
|
-
"
|
|
494
|
-
},
|
|
495
|
-
"modifiers": []
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
"__schema": "FunctionLikeSchema",
|
|
499
|
-
"location": {
|
|
500
|
-
"filePath": "cli.main.runtime.ts",
|
|
501
|
-
"line": 104,
|
|
502
|
-
"character": 3
|
|
556
|
+
"modifiers": []
|
|
503
557
|
},
|
|
504
|
-
|
|
505
|
-
"__schema": "
|
|
558
|
+
{
|
|
559
|
+
"__schema": "FunctionLikeSchema",
|
|
506
560
|
"location": {
|
|
507
561
|
"filePath": "cli.main.runtime.ts",
|
|
508
|
-
"line":
|
|
562
|
+
"line": 124,
|
|
509
563
|
"character": 3
|
|
510
564
|
},
|
|
511
|
-
"
|
|
512
|
-
|
|
513
|
-
},
|
|
514
|
-
"signature": "(method) CLIMain.registerOnCommandStart(onCommandStartFn: OnCommandStart): this",
|
|
515
|
-
"name": "registerOnCommandStart",
|
|
516
|
-
"params": [
|
|
517
|
-
{
|
|
518
|
-
"__schema": "ParameterSchema",
|
|
565
|
+
"doc": {
|
|
566
|
+
"__schema": "DocSchema",
|
|
519
567
|
"location": {
|
|
520
568
|
"filePath": "cli.main.runtime.ts",
|
|
521
|
-
"line":
|
|
522
|
-
"character":
|
|
569
|
+
"line": 109,
|
|
570
|
+
"character": 3
|
|
523
571
|
},
|
|
524
|
-
"
|
|
525
|
-
"
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
"
|
|
529
|
-
"
|
|
530
|
-
|
|
572
|
+
"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 */",
|
|
573
|
+
"comment": "This will register a function to be called before the process exits.\nThis will run only for \"regular\" exits\ne.g.\nyes - command run and finished successfully\nyes - command run and failed gracefully (code 1)\nnot SIGKILL (kill -9)\nnot SIGINT (Ctrl+C)\nnot SIGTERM (kill)\nnot uncaughtException\nnot unhandledRejection",
|
|
574
|
+
"tags": [
|
|
575
|
+
{
|
|
576
|
+
"__schema": "PropertyLikeTagSchema",
|
|
577
|
+
"location": {
|
|
578
|
+
"filePath": "cli.main.runtime.ts",
|
|
579
|
+
"line": 121,
|
|
580
|
+
"character": 6
|
|
581
|
+
},
|
|
582
|
+
"name": "onBeforeExitFn",
|
|
583
|
+
"tagName": "parameter"
|
|
531
584
|
},
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
"filePath": "cli.main.runtime.ts",
|
|
543
|
-
"line": 104,
|
|
544
|
-
"character": 3
|
|
545
|
-
},
|
|
546
|
-
"name": "CLIMain"
|
|
547
|
-
},
|
|
548
|
-
"modifiers": []
|
|
549
|
-
},
|
|
550
|
-
{
|
|
551
|
-
"__schema": "FunctionLikeSchema",
|
|
552
|
-
"location": {
|
|
553
|
-
"filePath": "cli.main.runtime.ts",
|
|
554
|
-
"line": 124,
|
|
555
|
-
"character": 3
|
|
556
|
-
},
|
|
557
|
-
"doc": {
|
|
558
|
-
"__schema": "DocSchema",
|
|
559
|
-
"location": {
|
|
560
|
-
"filePath": "cli.main.runtime.ts",
|
|
561
|
-
"line": 109,
|
|
562
|
-
"character": 3
|
|
585
|
+
{
|
|
586
|
+
"__schema": "ReturnTagSchema",
|
|
587
|
+
"location": {
|
|
588
|
+
"filePath": "cli.main.runtime.ts",
|
|
589
|
+
"line": 122,
|
|
590
|
+
"character": 6
|
|
591
|
+
},
|
|
592
|
+
"tagName": "return"
|
|
593
|
+
}
|
|
594
|
+
]
|
|
563
595
|
},
|
|
564
|
-
"
|
|
565
|
-
"
|
|
566
|
-
"
|
|
596
|
+
"signature": "(method) CLIMain.registerOnBeforeExit(onBeforeExitFn: OnBeforeExitFn): this",
|
|
597
|
+
"name": "registerOnBeforeExit",
|
|
598
|
+
"params": [
|
|
567
599
|
{
|
|
568
|
-
"__schema": "
|
|
600
|
+
"__schema": "ParameterSchema",
|
|
569
601
|
"location": {
|
|
570
602
|
"filePath": "cli.main.runtime.ts",
|
|
571
|
-
"line":
|
|
572
|
-
"character":
|
|
603
|
+
"line": 124,
|
|
604
|
+
"character": 24
|
|
573
605
|
},
|
|
574
606
|
"name": "onBeforeExitFn",
|
|
575
|
-
"
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
"
|
|
607
|
+
"type": {
|
|
608
|
+
"__schema": "TypeRefSchema",
|
|
609
|
+
"location": {
|
|
610
|
+
"filePath": "cli.main.runtime.ts",
|
|
611
|
+
"line": 124,
|
|
612
|
+
"character": 40
|
|
613
|
+
},
|
|
614
|
+
"name": "OnBeforeExitFn",
|
|
615
|
+
"internalFilePath": "cli.main.runtime.ts"
|
|
583
616
|
},
|
|
584
|
-
"
|
|
617
|
+
"isOptional": false,
|
|
618
|
+
"isSpread": false
|
|
585
619
|
}
|
|
586
|
-
]
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
"name": "registerOnBeforeExit",
|
|
590
|
-
"params": [
|
|
591
|
-
{
|
|
592
|
-
"__schema": "ParameterSchema",
|
|
620
|
+
],
|
|
621
|
+
"returnType": {
|
|
622
|
+
"__schema": "TypeRefSchema",
|
|
593
623
|
"location": {
|
|
594
624
|
"filePath": "cli.main.runtime.ts",
|
|
595
625
|
"line": 124,
|
|
596
|
-
"character":
|
|
597
|
-
},
|
|
598
|
-
"name": "onBeforeExitFn",
|
|
599
|
-
"type": {
|
|
600
|
-
"__schema": "TypeRefSchema",
|
|
601
|
-
"location": {
|
|
602
|
-
"filePath": "cli.main.runtime.ts",
|
|
603
|
-
"line": 124,
|
|
604
|
-
"character": 40
|
|
605
|
-
},
|
|
606
|
-
"name": "OnBeforeExitFn",
|
|
607
|
-
"internalFilePath": "cli.main.runtime.ts"
|
|
626
|
+
"character": 3
|
|
608
627
|
},
|
|
609
|
-
"
|
|
610
|
-
"isSpread": false
|
|
611
|
-
}
|
|
612
|
-
],
|
|
613
|
-
"returnType": {
|
|
614
|
-
"__schema": "TypeRefSchema",
|
|
615
|
-
"location": {
|
|
616
|
-
"filePath": "cli.main.runtime.ts",
|
|
617
|
-
"line": 124,
|
|
618
|
-
"character": 3
|
|
628
|
+
"name": "CLIMain"
|
|
619
629
|
},
|
|
620
|
-
"
|
|
621
|
-
},
|
|
622
|
-
"modifiers": []
|
|
623
|
-
},
|
|
624
|
-
{
|
|
625
|
-
"__schema": "FunctionLikeSchema",
|
|
626
|
-
"location": {
|
|
627
|
-
"filePath": "cli.main.runtime.ts",
|
|
628
|
-
"line": 133,
|
|
629
|
-
"character": 3
|
|
630
|
+
"modifiers": []
|
|
630
631
|
},
|
|
631
|
-
|
|
632
|
-
"__schema": "
|
|
632
|
+
{
|
|
633
|
+
"__schema": "FunctionLikeSchema",
|
|
633
634
|
"location": {
|
|
634
635
|
"filePath": "cli.main.runtime.ts",
|
|
635
|
-
"line":
|
|
636
|
+
"line": 133,
|
|
636
637
|
"character": 3
|
|
637
638
|
},
|
|
638
|
-
"
|
|
639
|
-
|
|
640
|
-
},
|
|
641
|
-
"signature": "(method) CLIMain.run(hasWorkspace: boolean): Promise<void>",
|
|
642
|
-
"name": "run",
|
|
643
|
-
"params": [
|
|
644
|
-
{
|
|
645
|
-
"__schema": "ParameterSchema",
|
|
639
|
+
"doc": {
|
|
640
|
+
"__schema": "DocSchema",
|
|
646
641
|
"location": {
|
|
647
642
|
"filePath": "cli.main.runtime.ts",
|
|
648
|
-
"line":
|
|
649
|
-
"character":
|
|
643
|
+
"line": 130,
|
|
644
|
+
"character": 3
|
|
650
645
|
},
|
|
651
|
-
"
|
|
652
|
-
"
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
"
|
|
646
|
+
"raw": "/**\n * execute commands registered to this aspect.\n */",
|
|
647
|
+
"comment": "execute commands registered to this aspect."
|
|
648
|
+
},
|
|
649
|
+
"signature": "(method) CLIMain.run(hasWorkspace: boolean): Promise<void>",
|
|
650
|
+
"name": "run",
|
|
651
|
+
"params": [
|
|
652
|
+
{
|
|
653
|
+
"__schema": "ParameterSchema",
|
|
654
|
+
"location": {
|
|
655
|
+
"filePath": "cli.main.runtime.ts",
|
|
656
|
+
"line": 133,
|
|
657
|
+
"character": 13
|
|
658
|
+
},
|
|
659
|
+
"name": "hasWorkspace",
|
|
660
|
+
"type": {
|
|
661
|
+
"__schema": "KeywordTypeSchema",
|
|
662
|
+
"location": {
|
|
663
|
+
"filePath": "cli.main.runtime.ts",
|
|
664
|
+
"line": 133,
|
|
665
|
+
"character": 27
|
|
666
|
+
},
|
|
667
|
+
"name": "boolean"
|
|
668
|
+
},
|
|
669
|
+
"isOptional": false,
|
|
670
|
+
"isSpread": false
|
|
671
|
+
}
|
|
672
|
+
],
|
|
673
|
+
"returnType": {
|
|
674
|
+
"__schema": "InferenceTypeSchema",
|
|
675
|
+
"location": {
|
|
676
|
+
"filePath": "cli.main.runtime.ts",
|
|
677
|
+
"line": 133,
|
|
678
|
+
"character": 3
|
|
660
679
|
},
|
|
661
|
-
"
|
|
662
|
-
"isSpread": false
|
|
663
|
-
}
|
|
664
|
-
],
|
|
665
|
-
"returnType": {
|
|
666
|
-
"__schema": "InferenceTypeSchema",
|
|
667
|
-
"location": {
|
|
668
|
-
"filePath": "cli.main.runtime.ts",
|
|
669
|
-
"line": 133,
|
|
670
|
-
"character": 3
|
|
680
|
+
"type": "Promise<void>"
|
|
671
681
|
},
|
|
672
|
-
"
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
"async"
|
|
676
|
-
]
|
|
677
|
-
},
|
|
678
|
-
{
|
|
679
|
-
"__schema": "VariableLikeSchema",
|
|
680
|
-
"location": {
|
|
681
|
-
"filePath": "cli.main.runtime.ts",
|
|
682
|
-
"line": 162,
|
|
683
|
-
"character": 3
|
|
682
|
+
"modifiers": [
|
|
683
|
+
"async"
|
|
684
|
+
]
|
|
684
685
|
},
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
"type": {
|
|
688
|
-
"__schema": "InferenceTypeSchema",
|
|
686
|
+
{
|
|
687
|
+
"__schema": "VariableLikeSchema",
|
|
689
688
|
"location": {
|
|
690
689
|
"filePath": "cli.main.runtime.ts",
|
|
691
690
|
"line": 162,
|
|
692
691
|
"character": 3
|
|
693
692
|
},
|
|
694
|
-
"
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
693
|
+
"signature": "(property) CLIMain.dependencies: Aspect[]",
|
|
694
|
+
"name": "dependencies",
|
|
695
|
+
"type": {
|
|
696
|
+
"__schema": "InferenceTypeSchema",
|
|
697
|
+
"location": {
|
|
698
|
+
"filePath": "cli.main.runtime.ts",
|
|
699
|
+
"line": 162,
|
|
700
|
+
"character": 3
|
|
701
|
+
},
|
|
702
|
+
"type": "Aspect[]"
|
|
703
|
+
},
|
|
704
|
+
"isOptional": true,
|
|
705
|
+
"defaultValue": "[LoggerAspect]"
|
|
705
706
|
},
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
"type": {
|
|
709
|
-
"__schema": "InferenceTypeSchema",
|
|
707
|
+
{
|
|
708
|
+
"__schema": "VariableLikeSchema",
|
|
710
709
|
"location": {
|
|
711
710
|
"filePath": "cli.main.runtime.ts",
|
|
712
711
|
"line": 163,
|
|
713
712
|
"character": 3
|
|
714
713
|
},
|
|
715
|
-
"
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
714
|
+
"signature": "(property) CLIMain.runtime: RuntimeDefinition",
|
|
715
|
+
"name": "runtime",
|
|
716
|
+
"type": {
|
|
717
|
+
"__schema": "InferenceTypeSchema",
|
|
718
|
+
"location": {
|
|
719
|
+
"filePath": "cli.main.runtime.ts",
|
|
720
|
+
"line": 163,
|
|
721
|
+
"character": 3
|
|
722
|
+
},
|
|
723
|
+
"type": "RuntimeDefinition"
|
|
724
|
+
},
|
|
725
|
+
"isOptional": true,
|
|
726
|
+
"defaultValue": "MainRuntime"
|
|
726
727
|
},
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
"type": {
|
|
730
|
-
"__schema": "InferenceTypeSchema",
|
|
728
|
+
{
|
|
729
|
+
"__schema": "VariableLikeSchema",
|
|
731
730
|
"location": {
|
|
732
731
|
"filePath": "cli.main.runtime.ts",
|
|
733
732
|
"line": 164,
|
|
734
733
|
"character": 3
|
|
735
734
|
},
|
|
736
|
-
"
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
},
|
|
741
|
-
{
|
|
742
|
-
"__schema": "FunctionLikeSchema",
|
|
743
|
-
"location": {
|
|
744
|
-
"filePath": "cli.main.runtime.ts",
|
|
745
|
-
"line": 171,
|
|
746
|
-
"character": 3
|
|
747
|
-
},
|
|
748
|
-
"signature": "(method) CLIMain.provider([loggerMain]: [LoggerMain], config: any, [commandsSlot, onStartSlot, onCommandStartSlot, onBeforeExitSlot]: [\n CommandsSlot,\n OnStartSlot,\n OnCommandStartSlot,\n OnBeforeExitSlot\n]): Promise<CLIMain>",
|
|
749
|
-
"name": "provider",
|
|
750
|
-
"params": [
|
|
751
|
-
{
|
|
752
|
-
"__schema": "ParameterSchema",
|
|
735
|
+
"signature": "(property) CLIMain.slots: (((registerFn: () => string) => SlotRegistry<CommandList>) | ((registerFn: () => string) => SlotRegistry<OnStart>) | ((registerFn: () => string) => SlotRegistry<...>))[]",
|
|
736
|
+
"name": "slots",
|
|
737
|
+
"type": {
|
|
738
|
+
"__schema": "InferenceTypeSchema",
|
|
753
739
|
"location": {
|
|
754
740
|
"filePath": "cli.main.runtime.ts",
|
|
755
|
-
"line":
|
|
756
|
-
"character":
|
|
741
|
+
"line": 164,
|
|
742
|
+
"character": 3
|
|
757
743
|
},
|
|
758
|
-
"
|
|
759
|
-
|
|
760
|
-
|
|
744
|
+
"type": "(((registerFn: () => string) => SlotRegistry<CommandList>) | ((registerFn: () => string) => SlotRegistry<OnStart>) | ((registerFn: () => string) => SlotRegistry<...>))[]"
|
|
745
|
+
},
|
|
746
|
+
"isOptional": true,
|
|
747
|
+
"defaultValue": "[\n Slot.withType<CommandList>(),\n Slot.withType<OnStart>(),\n Slot.withType<OnCommandStart>(),\n Slot.withType<OnBeforeExitFn>(),\n ]"
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
"__schema": "FunctionLikeSchema",
|
|
751
|
+
"location": {
|
|
752
|
+
"filePath": "cli.main.runtime.ts",
|
|
753
|
+
"line": 171,
|
|
754
|
+
"character": 3
|
|
755
|
+
},
|
|
756
|
+
"signature": "(method) CLIMain.provider([loggerMain]: [LoggerMain], config: any, [commandsSlot, onStartSlot, onCommandStartSlot, onBeforeExitSlot]: [\n CommandsSlot,\n OnStartSlot,\n OnCommandStartSlot,\n OnBeforeExitSlot\n]): Promise<CLIMain>",
|
|
757
|
+
"name": "provider",
|
|
758
|
+
"params": [
|
|
759
|
+
{
|
|
760
|
+
"__schema": "ParameterSchema",
|
|
761
761
|
"location": {
|
|
762
762
|
"filePath": "cli.main.runtime.ts",
|
|
763
763
|
"line": 172,
|
|
764
|
-
"character":
|
|
764
|
+
"character": 5
|
|
765
765
|
},
|
|
766
|
-
"
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
"
|
|
777
|
-
"
|
|
766
|
+
"name": "[ loggerMain ]",
|
|
767
|
+
"type": {
|
|
768
|
+
"__schema": "TupleTypeSchema",
|
|
769
|
+
"location": {
|
|
770
|
+
"filePath": "cli.main.runtime.ts",
|
|
771
|
+
"line": 172,
|
|
772
|
+
"character": 19
|
|
773
|
+
},
|
|
774
|
+
"elements": [
|
|
775
|
+
{
|
|
776
|
+
"__schema": "TypeRefSchema",
|
|
777
|
+
"location": {
|
|
778
|
+
"filePath": "cli.main.runtime.ts",
|
|
779
|
+
"line": 172,
|
|
780
|
+
"character": 20
|
|
781
|
+
},
|
|
782
|
+
"name": "LoggerMain",
|
|
783
|
+
"componentId": {
|
|
784
|
+
"scope": "teambit.harmony",
|
|
785
|
+
"name": "logger"
|
|
786
|
+
}
|
|
778
787
|
}
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
"isSpread": false
|
|
784
|
-
},
|
|
785
|
-
{
|
|
786
|
-
"__schema": "ParameterSchema",
|
|
787
|
-
"location": {
|
|
788
|
-
"filePath": "cli.main.runtime.ts",
|
|
789
|
-
"line": 173,
|
|
790
|
-
"character": 5
|
|
788
|
+
]
|
|
789
|
+
},
|
|
790
|
+
"isOptional": false,
|
|
791
|
+
"isSpread": false
|
|
791
792
|
},
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
"__schema": "InferenceTypeSchema",
|
|
793
|
+
{
|
|
794
|
+
"__schema": "ParameterSchema",
|
|
795
795
|
"location": {
|
|
796
796
|
"filePath": "cli.main.runtime.ts",
|
|
797
797
|
"line": 173,
|
|
798
798
|
"character": 5
|
|
799
799
|
},
|
|
800
|
-
"
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
"
|
|
800
|
+
"name": "config",
|
|
801
|
+
"type": {
|
|
802
|
+
"__schema": "InferenceTypeSchema",
|
|
803
|
+
"location": {
|
|
804
|
+
"filePath": "cli.main.runtime.ts",
|
|
805
|
+
"line": 173,
|
|
806
|
+
"character": 5
|
|
807
|
+
},
|
|
808
|
+
"type": "any"
|
|
809
|
+
},
|
|
810
|
+
"isOptional": false,
|
|
811
|
+
"isSpread": false
|
|
811
812
|
},
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
"__schema": "TupleTypeSchema",
|
|
813
|
+
{
|
|
814
|
+
"__schema": "ParameterSchema",
|
|
815
815
|
"location": {
|
|
816
816
|
"filePath": "cli.main.runtime.ts",
|
|
817
817
|
"line": 174,
|
|
818
|
-
"character":
|
|
819
|
-
},
|
|
820
|
-
"
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
},
|
|
828
|
-
"name": "CommandsSlot"
|
|
818
|
+
"character": 5
|
|
819
|
+
},
|
|
820
|
+
"name": "[ commandsSlot, onStartSlot, onCommandStartSlot, onBeforeExitSlot ]",
|
|
821
|
+
"type": {
|
|
822
|
+
"__schema": "TupleTypeSchema",
|
|
823
|
+
"location": {
|
|
824
|
+
"filePath": "cli.main.runtime.ts",
|
|
825
|
+
"line": 174,
|
|
826
|
+
"character": 72
|
|
829
827
|
},
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
"
|
|
834
|
-
|
|
835
|
-
|
|
828
|
+
"elements": [
|
|
829
|
+
{
|
|
830
|
+
"__schema": "TypeRefSchema",
|
|
831
|
+
"location": {
|
|
832
|
+
"filePath": "cli.main.runtime.ts",
|
|
833
|
+
"line": 175,
|
|
834
|
+
"character": 7
|
|
835
|
+
},
|
|
836
|
+
"name": "CommandsSlot"
|
|
836
837
|
},
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
"
|
|
845
|
-
"
|
|
838
|
+
{
|
|
839
|
+
"__schema": "TypeRefSchema",
|
|
840
|
+
"location": {
|
|
841
|
+
"filePath": "cli.main.runtime.ts",
|
|
842
|
+
"line": 176,
|
|
843
|
+
"character": 7
|
|
844
|
+
},
|
|
845
|
+
"name": "OnStartSlot",
|
|
846
|
+
"internalFilePath": "cli.main.runtime.ts"
|
|
846
847
|
},
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
"
|
|
855
|
-
"
|
|
848
|
+
{
|
|
849
|
+
"__schema": "TypeRefSchema",
|
|
850
|
+
"location": {
|
|
851
|
+
"filePath": "cli.main.runtime.ts",
|
|
852
|
+
"line": 177,
|
|
853
|
+
"character": 7
|
|
854
|
+
},
|
|
855
|
+
"name": "OnCommandStartSlot",
|
|
856
|
+
"internalFilePath": "cli.main.runtime.ts"
|
|
856
857
|
},
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
858
|
+
{
|
|
859
|
+
"__schema": "TypeRefSchema",
|
|
860
|
+
"location": {
|
|
861
|
+
"filePath": "cli.main.runtime.ts",
|
|
862
|
+
"line": 178,
|
|
863
|
+
"character": 7
|
|
864
|
+
},
|
|
865
|
+
"name": "OnBeforeExitSlot",
|
|
866
|
+
"internalFilePath": "cli.main.runtime.ts"
|
|
867
|
+
}
|
|
868
|
+
]
|
|
869
|
+
},
|
|
870
|
+
"isOptional": false,
|
|
871
|
+
"isSpread": false
|
|
872
|
+
}
|
|
873
|
+
],
|
|
874
|
+
"returnType": {
|
|
875
|
+
"__schema": "InferenceTypeSchema",
|
|
876
|
+
"location": {
|
|
877
|
+
"filePath": "cli.main.runtime.ts",
|
|
878
|
+
"line": 171,
|
|
879
|
+
"character": 3
|
|
861
880
|
},
|
|
862
|
-
"
|
|
863
|
-
"isSpread": false
|
|
864
|
-
}
|
|
865
|
-
],
|
|
866
|
-
"returnType": {
|
|
867
|
-
"__schema": "InferenceTypeSchema",
|
|
868
|
-
"location": {
|
|
869
|
-
"filePath": "cli.main.runtime.ts",
|
|
870
|
-
"line": 171,
|
|
871
|
-
"character": 3
|
|
881
|
+
"type": "Promise<CLIMain>"
|
|
872
882
|
},
|
|
873
|
-
"
|
|
883
|
+
"modifiers": [
|
|
884
|
+
"static",
|
|
885
|
+
"async"
|
|
886
|
+
]
|
|
887
|
+
}
|
|
888
|
+
],
|
|
889
|
+
"extendsNodes": [],
|
|
890
|
+
"implementNodes": []
|
|
891
|
+
}
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
"__schema": "ExportSchema",
|
|
895
|
+
"location": {
|
|
896
|
+
"filePath": "index.ts",
|
|
897
|
+
"line": 3,
|
|
898
|
+
"character": 24
|
|
899
|
+
},
|
|
900
|
+
"name": "CommandList",
|
|
901
|
+
"exportNode": {
|
|
902
|
+
"__schema": "TypeSchema",
|
|
903
|
+
"location": {
|
|
904
|
+
"filePath": "cli.main.runtime.ts",
|
|
905
|
+
"line": 19,
|
|
906
|
+
"character": 1
|
|
907
|
+
},
|
|
908
|
+
"signature": "type CommandList = Command[]",
|
|
909
|
+
"name": "CommandList",
|
|
910
|
+
"type": {
|
|
911
|
+
"__schema": "TypeRefSchema",
|
|
912
|
+
"location": {
|
|
913
|
+
"filePath": "cli.main.runtime.ts",
|
|
914
|
+
"line": 19,
|
|
915
|
+
"character": 27
|
|
874
916
|
},
|
|
875
|
-
"
|
|
876
|
-
|
|
877
|
-
|
|
917
|
+
"name": "Array",
|
|
918
|
+
"typeArgs": [
|
|
919
|
+
{
|
|
920
|
+
"__schema": "TypeRefSchema",
|
|
921
|
+
"location": {
|
|
922
|
+
"filePath": "cli.main.runtime.ts",
|
|
923
|
+
"line": 19,
|
|
924
|
+
"character": 33
|
|
925
|
+
},
|
|
926
|
+
"name": "Command",
|
|
927
|
+
"packageName": "@teambit/legacy/dist/cli/command"
|
|
928
|
+
}
|
|
878
929
|
]
|
|
879
930
|
}
|
|
880
|
-
],
|
|
881
|
-
"extendsNodes": [],
|
|
882
|
-
"implementNodes": []
|
|
883
|
-
},
|
|
884
|
-
{
|
|
885
|
-
"__schema": "TypeSchema",
|
|
886
|
-
"location": {
|
|
887
|
-
"filePath": "cli.main.runtime.ts",
|
|
888
|
-
"line": 19,
|
|
889
|
-
"character": 1
|
|
890
|
-
},
|
|
891
|
-
"signature": "type CommandList = Command[]",
|
|
892
|
-
"name": "CommandList",
|
|
893
|
-
"type": {
|
|
894
|
-
"__schema": "TypeRefSchema",
|
|
895
|
-
"location": {
|
|
896
|
-
"filePath": "cli.main.runtime.ts",
|
|
897
|
-
"line": 19,
|
|
898
|
-
"character": 27
|
|
899
|
-
},
|
|
900
|
-
"name": "Array",
|
|
901
|
-
"typeArgs": [
|
|
902
|
-
{
|
|
903
|
-
"__schema": "TypeRefSchema",
|
|
904
|
-
"location": {
|
|
905
|
-
"filePath": "cli.main.runtime.ts",
|
|
906
|
-
"line": 19,
|
|
907
|
-
"character": 33
|
|
908
|
-
},
|
|
909
|
-
"name": "Command",
|
|
910
|
-
"packageName": "@teambit/legacy/dist/cli/command"
|
|
911
|
-
}
|
|
912
|
-
]
|
|
913
931
|
}
|
|
914
932
|
},
|
|
915
933
|
{
|
|
916
|
-
"__schema": "
|
|
934
|
+
"__schema": "ExportSchema",
|
|
917
935
|
"location": {
|
|
918
|
-
"filePath": "
|
|
919
|
-
"line":
|
|
920
|
-
"character":
|
|
936
|
+
"filePath": "index.ts",
|
|
937
|
+
"line": 3,
|
|
938
|
+
"character": 37
|
|
921
939
|
},
|
|
922
|
-
"signature": "type CommandsSlot = SlotRegistry<CommandList>",
|
|
923
940
|
"name": "CommandsSlot",
|
|
924
|
-
"
|
|
925
|
-
"__schema": "
|
|
941
|
+
"exportNode": {
|
|
942
|
+
"__schema": "TypeSchema",
|
|
926
943
|
"location": {
|
|
927
944
|
"filePath": "cli.main.runtime.ts",
|
|
928
945
|
"line": 26,
|
|
929
|
-
"character":
|
|
930
|
-
},
|
|
931
|
-
"name": "SlotRegistry",
|
|
932
|
-
"componentId": {
|
|
933
|
-
"scope": "teambit.harmony",
|
|
934
|
-
"name": "harmony",
|
|
935
|
-
"version": "0.4.6"
|
|
946
|
+
"character": 1
|
|
936
947
|
},
|
|
937
|
-
"
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
+
"signature": "type CommandsSlot = SlotRegistry<CommandList>",
|
|
949
|
+
"name": "CommandsSlot",
|
|
950
|
+
"type": {
|
|
951
|
+
"__schema": "TypeRefSchema",
|
|
952
|
+
"location": {
|
|
953
|
+
"filePath": "cli.main.runtime.ts",
|
|
954
|
+
"line": 26,
|
|
955
|
+
"character": 28
|
|
956
|
+
},
|
|
957
|
+
"name": "SlotRegistry",
|
|
958
|
+
"componentId": {
|
|
959
|
+
"scope": "teambit.harmony",
|
|
960
|
+
"name": "harmony",
|
|
961
|
+
"version": "0.4.6"
|
|
962
|
+
},
|
|
963
|
+
"typeArgs": [
|
|
964
|
+
{
|
|
965
|
+
"__schema": "TypeRefSchema",
|
|
966
|
+
"location": {
|
|
967
|
+
"filePath": "cli.main.runtime.ts",
|
|
968
|
+
"line": 26,
|
|
969
|
+
"character": 41
|
|
970
|
+
},
|
|
971
|
+
"name": "CommandList"
|
|
972
|
+
}
|
|
973
|
+
]
|
|
974
|
+
}
|
|
948
975
|
}
|
|
949
976
|
},
|
|
950
977
|
{
|
|
951
|
-
"__schema": "
|
|
978
|
+
"__schema": "ExportSchema",
|
|
952
979
|
"location": {
|
|
953
980
|
"filePath": "index.ts",
|
|
954
981
|
"line": 4,
|
|
955
982
|
"character": 15
|
|
956
983
|
},
|
|
957
984
|
"name": "Command",
|
|
958
|
-
"
|
|
985
|
+
"exportNode": {
|
|
986
|
+
"__schema": "TypeRefSchema",
|
|
987
|
+
"location": {
|
|
988
|
+
"filePath": "index.ts",
|
|
989
|
+
"line": 4,
|
|
990
|
+
"character": 15
|
|
991
|
+
},
|
|
992
|
+
"name": "Command",
|
|
993
|
+
"packageName": "@teambit/legacy/dist/cli/command"
|
|
994
|
+
}
|
|
959
995
|
},
|
|
960
996
|
{
|
|
961
|
-
"__schema": "
|
|
997
|
+
"__schema": "ExportSchema",
|
|
962
998
|
"location": {
|
|
963
999
|
"filePath": "index.ts",
|
|
964
1000
|
"line": 4,
|
|
965
1001
|
"character": 24
|
|
966
1002
|
},
|
|
967
1003
|
"name": "CLIArgs",
|
|
968
|
-
"
|
|
1004
|
+
"exportNode": {
|
|
1005
|
+
"__schema": "TypeRefSchema",
|
|
1006
|
+
"location": {
|
|
1007
|
+
"filePath": "index.ts",
|
|
1008
|
+
"line": 4,
|
|
1009
|
+
"character": 24
|
|
1010
|
+
},
|
|
1011
|
+
"name": "CLIArgs",
|
|
1012
|
+
"packageName": "@teambit/legacy/dist/cli/command"
|
|
1013
|
+
}
|
|
969
1014
|
},
|
|
970
1015
|
{
|
|
971
|
-
"__schema": "
|
|
1016
|
+
"__schema": "ExportSchema",
|
|
972
1017
|
"location": {
|
|
973
1018
|
"filePath": "index.ts",
|
|
974
1019
|
"line": 4,
|
|
975
1020
|
"character": 33
|
|
976
1021
|
},
|
|
977
1022
|
"name": "Flags",
|
|
978
|
-
"
|
|
1023
|
+
"exportNode": {
|
|
1024
|
+
"__schema": "TypeRefSchema",
|
|
1025
|
+
"location": {
|
|
1026
|
+
"filePath": "index.ts",
|
|
1027
|
+
"line": 4,
|
|
1028
|
+
"character": 33
|
|
1029
|
+
},
|
|
1030
|
+
"name": "Flags",
|
|
1031
|
+
"packageName": "@teambit/legacy/dist/cli/command"
|
|
1032
|
+
}
|
|
979
1033
|
},
|
|
980
1034
|
{
|
|
981
|
-
"__schema": "
|
|
1035
|
+
"__schema": "ExportSchema",
|
|
982
1036
|
"location": {
|
|
983
1037
|
"filePath": "index.ts",
|
|
984
1038
|
"line": 4,
|
|
985
1039
|
"character": 40
|
|
986
1040
|
},
|
|
987
1041
|
"name": "GenericObject",
|
|
988
|
-
"
|
|
1042
|
+
"exportNode": {
|
|
1043
|
+
"__schema": "TypeRefSchema",
|
|
1044
|
+
"location": {
|
|
1045
|
+
"filePath": "index.ts",
|
|
1046
|
+
"line": 4,
|
|
1047
|
+
"character": 40
|
|
1048
|
+
},
|
|
1049
|
+
"name": "GenericObject",
|
|
1050
|
+
"packageName": "@teambit/legacy/dist/cli/command"
|
|
1051
|
+
}
|
|
989
1052
|
},
|
|
990
1053
|
{
|
|
991
|
-
"__schema": "
|
|
1054
|
+
"__schema": "ExportSchema",
|
|
992
1055
|
"location": {
|
|
993
1056
|
"filePath": "index.ts",
|
|
994
1057
|
"line": 5,
|
|
995
1058
|
"character": 15
|
|
996
1059
|
},
|
|
997
1060
|
"name": "CommandOptions",
|
|
998
|
-
"
|
|
1061
|
+
"exportNode": {
|
|
1062
|
+
"__schema": "TypeRefSchema",
|
|
1063
|
+
"location": {
|
|
1064
|
+
"filePath": "index.ts",
|
|
1065
|
+
"line": 5,
|
|
1066
|
+
"character": 15
|
|
1067
|
+
},
|
|
1068
|
+
"name": "CommandOptions",
|
|
1069
|
+
"packageName": "@teambit/legacy/dist/cli/legacy-command"
|
|
1070
|
+
}
|
|
999
1071
|
},
|
|
1000
1072
|
{
|
|
1001
|
-
"__schema": "
|
|
1073
|
+
"__schema": "ExportSchema",
|
|
1002
1074
|
"location": {
|
|
1003
|
-
"filePath": "exceptions/
|
|
1004
|
-
"line":
|
|
1005
|
-
"character":
|
|
1075
|
+
"filePath": "exceptions/index.ts",
|
|
1076
|
+
"line": 1,
|
|
1077
|
+
"character": 10
|
|
1006
1078
|
},
|
|
1007
|
-
"signature": "class AlreadyExistsError",
|
|
1008
1079
|
"name": "AlreadyExistsError",
|
|
1009
|
-
"
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
"
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
"
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1080
|
+
"exportNode": {
|
|
1081
|
+
"__schema": "ClassSchema",
|
|
1082
|
+
"location": {
|
|
1083
|
+
"filePath": "exceptions/already-exists.ts",
|
|
1084
|
+
"line": 3,
|
|
1085
|
+
"character": 1
|
|
1086
|
+
},
|
|
1087
|
+
"signature": "class AlreadyExistsError",
|
|
1088
|
+
"name": "AlreadyExistsError",
|
|
1089
|
+
"members": [
|
|
1090
|
+
{
|
|
1091
|
+
"__schema": "ConstructorSchema",
|
|
1092
|
+
"location": {
|
|
1093
|
+
"filePath": "exceptions/already-exists.ts",
|
|
1094
|
+
"line": 4,
|
|
1095
|
+
"character": 3
|
|
1096
|
+
},
|
|
1097
|
+
"signature": "constructor AlreadyExistsError(type: string, name: string): AlreadyExistsError",
|
|
1098
|
+
"name": "constructor",
|
|
1099
|
+
"params": [
|
|
1100
|
+
{
|
|
1101
|
+
"__schema": "ParameterSchema",
|
|
1030
1102
|
"location": {
|
|
1031
1103
|
"filePath": "exceptions/already-exists.ts",
|
|
1032
1104
|
"line": 4,
|
|
1033
|
-
"character":
|
|
1105
|
+
"character": 15
|
|
1034
1106
|
},
|
|
1035
|
-
"name": "
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
"
|
|
1107
|
+
"name": "type",
|
|
1108
|
+
"type": {
|
|
1109
|
+
"__schema": "KeywordTypeSchema",
|
|
1110
|
+
"location": {
|
|
1111
|
+
"filePath": "exceptions/already-exists.ts",
|
|
1112
|
+
"line": 4,
|
|
1113
|
+
"character": 21
|
|
1114
|
+
},
|
|
1115
|
+
"name": "string"
|
|
1116
|
+
},
|
|
1117
|
+
"isOptional": false,
|
|
1118
|
+
"isSpread": false
|
|
1046
1119
|
},
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
"__schema": "KeywordTypeSchema",
|
|
1120
|
+
{
|
|
1121
|
+
"__schema": "ParameterSchema",
|
|
1050
1122
|
"location": {
|
|
1051
1123
|
"filePath": "exceptions/already-exists.ts",
|
|
1052
1124
|
"line": 4,
|
|
1053
|
-
"character":
|
|
1125
|
+
"character": 29
|
|
1054
1126
|
},
|
|
1055
|
-
"name": "
|
|
1127
|
+
"name": "name",
|
|
1128
|
+
"type": {
|
|
1129
|
+
"__schema": "KeywordTypeSchema",
|
|
1130
|
+
"location": {
|
|
1131
|
+
"filePath": "exceptions/already-exists.ts",
|
|
1132
|
+
"line": 4,
|
|
1133
|
+
"character": 35
|
|
1134
|
+
},
|
|
1135
|
+
"name": "string"
|
|
1136
|
+
},
|
|
1137
|
+
"isOptional": false,
|
|
1138
|
+
"isSpread": false
|
|
1139
|
+
}
|
|
1140
|
+
],
|
|
1141
|
+
"returnType": {
|
|
1142
|
+
"__schema": "ThisTypeSchema",
|
|
1143
|
+
"location": {
|
|
1144
|
+
"filePath": "exceptions/already-exists.ts",
|
|
1145
|
+
"line": 3,
|
|
1146
|
+
"character": 1
|
|
1056
1147
|
},
|
|
1057
|
-
"
|
|
1058
|
-
"isSpread": false
|
|
1059
|
-
}
|
|
1060
|
-
],
|
|
1061
|
-
"returnType": {
|
|
1062
|
-
"__schema": "ThisTypeSchema",
|
|
1063
|
-
"location": {
|
|
1064
|
-
"filePath": "exceptions/already-exists.ts",
|
|
1065
|
-
"line": 3,
|
|
1066
|
-
"character": 1
|
|
1148
|
+
"name": "AlreadyExistsError"
|
|
1067
1149
|
},
|
|
1068
|
-
"
|
|
1069
|
-
}
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
{
|
|
1075
|
-
"__schema": "ExpressionWithTypeArgumentsSchema",
|
|
1076
|
-
"location": {
|
|
1077
|
-
"filePath": "exceptions/already-exists.ts",
|
|
1078
|
-
"line": 3,
|
|
1079
|
-
"character": 41
|
|
1080
|
-
},
|
|
1081
|
-
"name": "extends BitError",
|
|
1082
|
-
"typeArgs": [],
|
|
1083
|
-
"expression": {
|
|
1084
|
-
"__schema": "TypeRefSchema",
|
|
1150
|
+
"modifiers": []
|
|
1151
|
+
}
|
|
1152
|
+
],
|
|
1153
|
+
"extendsNodes": [
|
|
1154
|
+
{
|
|
1155
|
+
"__schema": "ExpressionWithTypeArgumentsSchema",
|
|
1085
1156
|
"location": {
|
|
1086
1157
|
"filePath": "exceptions/already-exists.ts",
|
|
1087
1158
|
"line": 3,
|
|
1088
1159
|
"character": 41
|
|
1089
1160
|
},
|
|
1090
|
-
"name": "BitError",
|
|
1091
|
-
"
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
"
|
|
1161
|
+
"name": "extends BitError",
|
|
1162
|
+
"typeArgs": [],
|
|
1163
|
+
"expression": {
|
|
1164
|
+
"__schema": "TypeRefSchema",
|
|
1165
|
+
"location": {
|
|
1166
|
+
"filePath": "exceptions/already-exists.ts",
|
|
1167
|
+
"line": 3,
|
|
1168
|
+
"character": 41
|
|
1096
1169
|
},
|
|
1097
|
-
"
|
|
1170
|
+
"name": "BitError",
|
|
1171
|
+
"componentId": {
|
|
1172
|
+
"_legacy": {
|
|
1173
|
+
"scope": "teambit.harmony",
|
|
1174
|
+
"name": "cli",
|
|
1175
|
+
"version": "0.0.863"
|
|
1176
|
+
},
|
|
1177
|
+
"_scope": "teambit.harmony"
|
|
1178
|
+
}
|
|
1098
1179
|
}
|
|
1099
1180
|
}
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1181
|
+
],
|
|
1182
|
+
"implementNodes": []
|
|
1183
|
+
}
|
|
1103
1184
|
},
|
|
1104
1185
|
{
|
|
1105
|
-
"__schema": "
|
|
1186
|
+
"__schema": "ExportSchema",
|
|
1106
1187
|
"location": {
|
|
1107
|
-
"filePath": "
|
|
1108
|
-
"line":
|
|
1109
|
-
"character":
|
|
1188
|
+
"filePath": "index.ts",
|
|
1189
|
+
"line": 8,
|
|
1190
|
+
"character": 23
|
|
1110
1191
|
},
|
|
1111
|
-
"signature": "const CLIAspect: Aspect",
|
|
1112
1192
|
"name": "CLIAspect",
|
|
1113
|
-
"
|
|
1114
|
-
"__schema": "
|
|
1193
|
+
"exportNode": {
|
|
1194
|
+
"__schema": "VariableLikeSchema",
|
|
1115
1195
|
"location": {
|
|
1116
1196
|
"filePath": "cli.aspect.ts",
|
|
1117
1197
|
"line": 5,
|
|
1118
1198
|
"character": 14
|
|
1119
1199
|
},
|
|
1120
|
-
"
|
|
1121
|
-
"
|
|
1122
|
-
|
|
1123
|
-
"
|
|
1124
|
-
"
|
|
1125
|
-
|
|
1200
|
+
"signature": "const CLIAspect: Aspect",
|
|
1201
|
+
"name": "CLIAspect",
|
|
1202
|
+
"type": {
|
|
1203
|
+
"__schema": "TypeRefSchema",
|
|
1204
|
+
"location": {
|
|
1205
|
+
"filePath": "cli.aspect.ts",
|
|
1206
|
+
"line": 5,
|
|
1207
|
+
"character": 14
|
|
1208
|
+
},
|
|
1209
|
+
"name": "Aspect",
|
|
1210
|
+
"componentId": {
|
|
1211
|
+
"scope": "teambit.harmony",
|
|
1212
|
+
"name": "harmony",
|
|
1213
|
+
"version": "0.4.6"
|
|
1214
|
+
}
|
|
1215
|
+
},
|
|
1216
|
+
"isOptional": false,
|
|
1217
|
+
"defaultValue": "Aspect.create({\n id: 'teambit.harmony/cli',\n dependencies: [],\n declareRuntime: MainRuntime,\n})"
|
|
1126
1218
|
},
|
|
1127
|
-
"
|
|
1128
|
-
"defaultValue": "Aspect.create({\n id: 'teambit.harmony/cli',\n dependencies: [],\n declareRuntime: MainRuntime,\n})"
|
|
1219
|
+
"alias": "default"
|
|
1129
1220
|
},
|
|
1130
1221
|
{
|
|
1131
|
-
"__schema": "
|
|
1222
|
+
"__schema": "ExportSchema",
|
|
1132
1223
|
"location": {
|
|
1133
|
-
"filePath": "
|
|
1134
|
-
"line":
|
|
1135
|
-
"character":
|
|
1224
|
+
"filePath": "index.ts",
|
|
1225
|
+
"line": 8,
|
|
1226
|
+
"character": 32
|
|
1136
1227
|
},
|
|
1137
|
-
"signature": "const MainRuntime: RuntimeDefinition",
|
|
1138
1228
|
"name": "MainRuntime",
|
|
1139
|
-
"
|
|
1140
|
-
"__schema": "
|
|
1229
|
+
"exportNode": {
|
|
1230
|
+
"__schema": "VariableLikeSchema",
|
|
1141
1231
|
"location": {
|
|
1142
1232
|
"filePath": "cli.aspect.ts",
|
|
1143
1233
|
"line": 3,
|
|
1144
1234
|
"character": 14
|
|
1145
1235
|
},
|
|
1146
|
-
"
|
|
1147
|
-
"
|
|
1148
|
-
|
|
1149
|
-
"
|
|
1150
|
-
"
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1236
|
+
"signature": "const MainRuntime: RuntimeDefinition",
|
|
1237
|
+
"name": "MainRuntime",
|
|
1238
|
+
"type": {
|
|
1239
|
+
"__schema": "TypeRefSchema",
|
|
1240
|
+
"location": {
|
|
1241
|
+
"filePath": "cli.aspect.ts",
|
|
1242
|
+
"line": 3,
|
|
1243
|
+
"character": 14
|
|
1244
|
+
},
|
|
1245
|
+
"name": "RuntimeDefinition",
|
|
1246
|
+
"componentId": {
|
|
1247
|
+
"scope": "teambit.harmony",
|
|
1248
|
+
"name": "harmony",
|
|
1249
|
+
"version": "0.4.6"
|
|
1250
|
+
}
|
|
1251
|
+
},
|
|
1252
|
+
"isOptional": false,
|
|
1253
|
+
"defaultValue": "new RuntimeDefinition('main')"
|
|
1254
|
+
}
|
|
1155
1255
|
},
|
|
1156
1256
|
{
|
|
1157
|
-
"__schema": "
|
|
1257
|
+
"__schema": "ExportSchema",
|
|
1158
1258
|
"location": {
|
|
1159
|
-
"filePath": "
|
|
1160
|
-
"line":
|
|
1161
|
-
"character":
|
|
1259
|
+
"filePath": "index.ts",
|
|
1260
|
+
"line": 8,
|
|
1261
|
+
"character": 45
|
|
1162
1262
|
},
|
|
1163
|
-
"signature": "const CLIAspect: Aspect",
|
|
1164
1263
|
"name": "CLIAspect",
|
|
1165
|
-
"
|
|
1166
|
-
"__schema": "
|
|
1264
|
+
"exportNode": {
|
|
1265
|
+
"__schema": "VariableLikeSchema",
|
|
1167
1266
|
"location": {
|
|
1168
1267
|
"filePath": "cli.aspect.ts",
|
|
1169
1268
|
"line": 5,
|
|
1170
1269
|
"character": 14
|
|
1171
1270
|
},
|
|
1172
|
-
"
|
|
1173
|
-
"
|
|
1174
|
-
|
|
1175
|
-
"
|
|
1176
|
-
"
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1271
|
+
"signature": "const CLIAspect: Aspect",
|
|
1272
|
+
"name": "CLIAspect",
|
|
1273
|
+
"type": {
|
|
1274
|
+
"__schema": "TypeRefSchema",
|
|
1275
|
+
"location": {
|
|
1276
|
+
"filePath": "cli.aspect.ts",
|
|
1277
|
+
"line": 5,
|
|
1278
|
+
"character": 14
|
|
1279
|
+
},
|
|
1280
|
+
"name": "Aspect",
|
|
1281
|
+
"componentId": {
|
|
1282
|
+
"scope": "teambit.harmony",
|
|
1283
|
+
"name": "harmony",
|
|
1284
|
+
"version": "0.4.6"
|
|
1285
|
+
}
|
|
1286
|
+
},
|
|
1287
|
+
"isOptional": false,
|
|
1288
|
+
"defaultValue": "Aspect.create({\n id: 'teambit.harmony/cli',\n dependencies: [],\n declareRuntime: MainRuntime,\n})"
|
|
1289
|
+
}
|
|
1181
1290
|
}
|
|
1182
1291
|
],
|
|
1183
1292
|
"internals": []
|
|
@@ -2630,7 +2739,7 @@
|
|
|
2630
2739
|
"componentId": {
|
|
2631
2740
|
"scope": "teambit.harmony",
|
|
2632
2741
|
"name": "cli",
|
|
2633
|
-
"version": "0.0.
|
|
2742
|
+
"version": "0.0.863"
|
|
2634
2743
|
},
|
|
2635
2744
|
"taggedModuleExports": []
|
|
2636
2745
|
}
|