@teambit/cli 0.0.861 → 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.
@@ -14,1146 +14,1279 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "ClassSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "cli.main.runtime.ts",
20
- "line": 29,
21
- "character": 1
19
+ "filePath": "index.ts",
20
+ "line": 3,
21
+ "character": 15
22
22
  },
23
- "signature": "class CLIMain",
24
23
  "name": "CLIMain",
25
- "members": [
26
- {
27
- "__schema": "VariableLikeSchema",
28
- "location": {
29
- "filePath": "cli.main.runtime.ts",
30
- "line": 30,
31
- "character": 3
32
- },
33
- "signature": "(property) CLIMain.groups: GroupsType",
34
- "name": "groups",
35
- "type": {
36
- "__schema": "TypeRefSchema",
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
- "name": "GroupsType",
43
- "packageName": "@teambit/legacy/dist/cli/command-groups"
44
- },
45
- "isOptional": true,
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": 32,
63
- "character": 5
47
+ "line": 30,
48
+ "character": 3
64
49
  },
65
- "name": "commandsSlot",
66
- "type": {
67
- "__schema": "TypeRefSchema",
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": 27
71
+ "character": 5
72
72
  },
73
- "name": "CommandsSlot"
74
- },
75
- "isOptional": false,
76
- "isSpread": false
77
- },
78
- {
79
- "__schema": "ParameterSchema",
80
- "location": {
81
- "filePath": "cli.main.runtime.ts",
82
- "line": 33,
83
- "character": 5
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
- "name": "onStartSlot",
86
- "type": {
87
- "__schema": "TypeRefSchema",
86
+ {
87
+ "__schema": "ParameterSchema",
88
88
  "location": {
89
89
  "filePath": "cli.main.runtime.ts",
90
90
  "line": 33,
91
- "character": 26
91
+ "character": 5
92
92
  },
93
- "name": "OnStartSlot"
94
- },
95
- "isOptional": false,
96
- "isSpread": false
97
- },
98
- {
99
- "__schema": "ParameterSchema",
100
- "location": {
101
- "filePath": "cli.main.runtime.ts",
102
- "line": 34,
103
- "character": 5
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
104
106
  },
105
- "name": "onCommandStartSlot",
106
- "type": {
107
- "__schema": "TypeRefSchema",
107
+ {
108
+ "__schema": "ParameterSchema",
108
109
  "location": {
109
110
  "filePath": "cli.main.runtime.ts",
110
111
  "line": 34,
111
- "character": 34
112
+ "character": 5
112
113
  },
113
- "name": "OnCommandStartSlot"
114
- },
115
- "isOptional": false,
116
- "isSpread": false
117
- },
118
- {
119
- "__schema": "ParameterSchema",
120
- "location": {
121
- "filePath": "cli.main.runtime.ts",
122
- "line": 35,
123
- "character": 5
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
124
127
  },
125
- "name": "onBeforeExitSlot",
126
- "type": {
127
- "__schema": "TypeRefSchema",
128
+ {
129
+ "__schema": "ParameterSchema",
128
130
  "location": {
129
131
  "filePath": "cli.main.runtime.ts",
130
132
  "line": 35,
131
- "character": 31
133
+ "character": 5
132
134
  },
133
- "name": "OnBeforeExitSlot"
134
- },
135
- "isOptional": false,
136
- "isSpread": false
137
- },
138
- {
139
- "__schema": "ParameterSchema",
140
- "location": {
141
- "filePath": "cli.main.runtime.ts",
142
- "line": 36,
143
- "character": 5
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
144
148
  },
145
- "name": "logger",
146
- "type": {
147
- "__schema": "TypeRefSchema",
149
+ {
150
+ "__schema": "ParameterSchema",
148
151
  "location": {
149
152
  "filePath": "cli.main.runtime.ts",
150
153
  "line": 36,
151
- "character": 21
154
+ "character": 5
155
+ },
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
+ }
152
169
  },
153
- "name": "Logger"
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
154
180
  },
155
- "isOptional": false,
156
- "isSpread": false
157
- }
158
- ],
159
- "returnType": {
160
- "__schema": "ThisTypeSchema",
161
- "location": {
162
- "filePath": "cli.main.runtime.ts",
163
- "line": 29,
164
- "character": 1
181
+ "name": "CLIMain"
165
182
  },
166
- "name": "CLIMain"
167
- },
168
- "modifiers": []
169
- },
170
- {
171
- "__schema": "FunctionLikeSchema",
172
- "location": {
173
- "filePath": "cli.main.runtime.ts",
174
- "line": 42,
175
- "character": 3
183
+ "modifiers": []
176
184
  },
177
- "doc": {
178
- "__schema": "DocSchema",
185
+ {
186
+ "__schema": "FunctionLikeSchema",
179
187
  "location": {
180
188
  "filePath": "cli.main.runtime.ts",
181
- "line": 39,
189
+ "line": 42,
182
190
  "character": 3
183
191
  },
184
- "raw": "/**\n * registers a new command in to the CLI.\n */",
185
- "comment": "registers a new command in to the CLI."
186
- },
187
- "signature": "(method) CLIMain.register(...commands: CommandList): void",
188
- "name": "register",
189
- "params": [
190
- {
191
- "__schema": "ParameterSchema",
192
+ "doc": {
193
+ "__schema": "DocSchema",
192
194
  "location": {
193
195
  "filePath": "cli.main.runtime.ts",
194
- "line": 42,
195
- "character": 12
196
+ "line": 39,
197
+ "character": 3
196
198
  },
197
- "name": "commands",
198
- "type": {
199
- "__schema": "TypeRefSchema",
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",
200
207
  "location": {
201
208
  "filePath": "cli.main.runtime.ts",
202
209
  "line": 42,
203
- "character": 25
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"
204
221
  },
205
- "name": "CommandList"
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
206
232
  },
207
- "isOptional": false,
208
- "isSpread": true
209
- }
210
- ],
211
- "returnType": {
212
- "__schema": "InferenceTypeSchema",
213
- "location": {
214
- "filePath": "cli.main.runtime.ts",
215
- "line": 42,
216
- "character": 3
233
+ "type": "void"
217
234
  },
218
- "type": "void"
219
- },
220
- "modifiers": []
221
- },
222
- {
223
- "__schema": "FunctionLikeSchema",
224
- "location": {
225
- "filePath": "cli.main.runtime.ts",
226
- "line": 55,
227
- "character": 3
235
+ "modifiers": []
228
236
  },
229
- "doc": {
230
- "__schema": "DocSchema",
237
+ {
238
+ "__schema": "FunctionLikeSchema",
231
239
  "location": {
232
240
  "filePath": "cli.main.runtime.ts",
233
- "line": 51,
241
+ "line": 55,
234
242
  "character": 3
235
243
  },
236
- "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 */",
237
- "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."
238
- },
239
- "signature": "(method) CLIMain.unregister(commandName: string): void",
240
- "name": "unregister",
241
- "params": [
242
- {
243
- "__schema": "ParameterSchema",
244
+ "doc": {
245
+ "__schema": "DocSchema",
244
246
  "location": {
245
247
  "filePath": "cli.main.runtime.ts",
246
- "line": 55,
247
- "character": 14
248
+ "line": 51,
249
+ "character": 3
248
250
  },
249
- "name": "commandName",
250
- "type": {
251
- "__schema": "KeywordTypeSchema",
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",
252
259
  "location": {
253
260
  "filePath": "cli.main.runtime.ts",
254
261
  "line": 55,
255
- "character": 27
262
+ "character": 14
256
263
  },
257
- "name": "string"
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
258
284
  },
259
- "isOptional": false,
260
- "isSpread": false
261
- }
262
- ],
263
- "returnType": {
264
- "__schema": "InferenceTypeSchema",
265
- "location": {
266
- "filePath": "cli.main.runtime.ts",
267
- "line": 55,
268
- "character": 3
285
+ "type": "void"
269
286
  },
270
- "type": "void"
271
- },
272
- "modifiers": []
273
- },
274
- {
275
- "__schema": "GetAccessorSchema",
276
- "location": {
277
- "filePath": "cli.main.runtime.ts",
278
- "line": 67,
279
- "character": 3
287
+ "modifiers": []
280
288
  },
281
- "signature": "(getter) CLIMain.commands: CommandList",
282
- "name": "commands",
283
- "type": {
284
- "__schema": "TypeRefSchema",
289
+ {
290
+ "__schema": "GetAccessorSchema",
285
291
  "location": {
286
292
  "filePath": "cli.main.runtime.ts",
287
293
  "line": 67,
288
294
  "character": 3
289
295
  },
290
- "name": "CommandList"
291
- }
292
- },
293
- {
294
- "__schema": "FunctionLikeSchema",
295
- "location": {
296
- "filePath": "cli.main.runtime.ts",
297
- "line": 74,
298
- "character": 3
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
+ }
299
307
  },
300
- "doc": {
301
- "__schema": "DocSchema",
308
+ {
309
+ "__schema": "FunctionLikeSchema",
302
310
  "location": {
303
311
  "filePath": "cli.main.runtime.ts",
304
- "line": 71,
312
+ "line": 74,
305
313
  "character": 3
306
314
  },
307
- "raw": "/**\n * get an instance of a registered command. (useful for aspects to modify and extend existing commands)\n */",
308
- "comment": "get an instance of a registered command. (useful for aspects to modify and extend existing commands)"
309
- },
310
- "signature": "(method) CLIMain.getCommand(name: string): Command | undefined",
311
- "name": "getCommand",
312
- "params": [
313
- {
314
- "__schema": "ParameterSchema",
315
+ "doc": {
316
+ "__schema": "DocSchema",
315
317
  "location": {
316
318
  "filePath": "cli.main.runtime.ts",
317
- "line": 74,
318
- "character": 14
319
- },
320
- "name": "name",
321
- "type": {
322
- "__schema": "KeywordTypeSchema",
323
- "location": {
324
- "filePath": "cli.main.runtime.ts",
325
- "line": 74,
326
- "character": 20
327
- },
328
- "name": "string"
319
+ "line": 71,
320
+ "character": 3
329
321
  },
330
- "isOptional": false,
331
- "isSpread": false
332
- }
333
- ],
334
- "returnType": {
335
- "__schema": "TypeUnionSchema",
336
- "location": {
337
- "filePath": "cli.main.runtime.ts",
338
- "line": 74,
339
- "character": 29
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)"
340
324
  },
341
- "types": [
325
+ "signature": "(method) CLIMain.getCommand(name: string): Command | undefined",
326
+ "name": "getCommand",
327
+ "params": [
342
328
  {
343
- "__schema": "TypeRefSchema",
329
+ "__schema": "ParameterSchema",
344
330
  "location": {
345
331
  "filePath": "cli.main.runtime.ts",
346
332
  "line": 74,
347
- "character": 29
333
+ "character": 14
348
334
  },
349
- "name": "Command"
350
- },
351
- {
352
- "__schema": "KeywordTypeSchema",
353
- "location": {
354
- "filePath": "cli.main.runtime.ts",
355
- "line": 74,
356
- "character": 39
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"
357
344
  },
358
- "name": "undefined"
345
+ "isOptional": false,
346
+ "isSpread": false
359
347
  }
360
- ]
361
- },
362
- "modifiers": []
363
- },
364
- {
365
- "__schema": "FunctionLikeSchema",
366
- "location": {
367
- "filePath": "cli.main.runtime.ts",
368
- "line": 84,
369
- "character": 3
348
+ ],
349
+ "returnType": {
350
+ "__schema": "TypeUnionSchema",
351
+ "location": {
352
+ "filePath": "cli.main.runtime.ts",
353
+ "line": 74,
354
+ "character": 29
355
+ },
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": []
370
379
  },
371
- "doc": {
372
- "__schema": "DocSchema",
380
+ {
381
+ "__schema": "FunctionLikeSchema",
373
382
  "location": {
374
383
  "filePath": "cli.main.runtime.ts",
375
- "line": 78,
384
+ "line": 84,
376
385
  "character": 3
377
386
  },
378
- "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 */",
379
- "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."
380
- },
381
- "signature": "(method) CLIMain.registerGroup(name: string, description: string): void",
382
- "name": "registerGroup",
383
- "params": [
384
- {
385
- "__schema": "ParameterSchema",
387
+ "doc": {
388
+ "__schema": "DocSchema",
386
389
  "location": {
387
390
  "filePath": "cli.main.runtime.ts",
388
- "line": 84,
389
- "character": 17
391
+ "line": 78,
392
+ "character": 3
390
393
  },
391
- "name": "name",
392
- "type": {
393
- "__schema": "KeywordTypeSchema",
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."
396
+ },
397
+ "signature": "(method) CLIMain.registerGroup(name: string, description: string): void",
398
+ "name": "registerGroup",
399
+ "params": [
400
+ {
401
+ "__schema": "ParameterSchema",
394
402
  "location": {
395
403
  "filePath": "cli.main.runtime.ts",
396
404
  "line": 84,
397
- "character": 23
405
+ "character": 17
398
406
  },
399
- "name": "string"
400
- },
401
- "isOptional": false,
402
- "isSpread": false
403
- },
404
- {
405
- "__schema": "ParameterSchema",
406
- "location": {
407
- "filePath": "cli.main.runtime.ts",
408
- "line": 84,
409
- "character": 31
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
410
419
  },
411
- "name": "description",
412
- "type": {
413
- "__schema": "KeywordTypeSchema",
420
+ {
421
+ "__schema": "ParameterSchema",
414
422
  "location": {
415
423
  "filePath": "cli.main.runtime.ts",
416
424
  "line": 84,
417
- "character": 44
425
+ "character": 31
418
426
  },
419
- "name": "string"
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"
436
+ },
437
+ "isOptional": false,
438
+ "isSpread": false
439
+ }
440
+ ],
441
+ "returnType": {
442
+ "__schema": "InferenceTypeSchema",
443
+ "location": {
444
+ "filePath": "cli.main.runtime.ts",
445
+ "line": 84,
446
+ "character": 3
420
447
  },
421
- "isOptional": false,
422
- "isSpread": false
423
- }
424
- ],
425
- "returnType": {
426
- "__schema": "InferenceTypeSchema",
427
- "location": {
428
- "filePath": "cli.main.runtime.ts",
429
- "line": 84,
430
- "character": 3
448
+ "type": "void"
431
449
  },
432
- "type": "void"
433
- },
434
- "modifiers": []
435
- },
436
- {
437
- "__schema": "FunctionLikeSchema",
438
- "location": {
439
- "filePath": "cli.main.runtime.ts",
440
- "line": 95,
441
- "character": 3
450
+ "modifiers": []
442
451
  },
443
- "doc": {
444
- "__schema": "DocSchema",
452
+ {
453
+ "__schema": "FunctionLikeSchema",
445
454
  "location": {
446
455
  "filePath": "cli.main.runtime.ts",
447
- "line": 92,
456
+ "line": 95,
448
457
  "character": 3
449
458
  },
450
- "raw": "/**\n * onStart is when bootstrapping the CLI. (it happens before onCommandStart)\n */",
451
- "comment": "onStart is when bootstrapping the CLI. (it happens before onCommandStart)"
452
- },
453
- "signature": "(method) CLIMain.registerOnStart(onStartFn: OnStart): this",
454
- "name": "registerOnStart",
455
- "params": [
456
- {
457
- "__schema": "ParameterSchema",
459
+ "doc": {
460
+ "__schema": "DocSchema",
458
461
  "location": {
459
462
  "filePath": "cli.main.runtime.ts",
460
- "line": 95,
461
- "character": 19
463
+ "line": 92,
464
+ "character": 3
462
465
  },
463
- "name": "onStartFn",
464
- "type": {
465
- "__schema": "TypeRefSchema",
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",
466
474
  "location": {
467
475
  "filePath": "cli.main.runtime.ts",
468
476
  "line": 95,
469
- "character": 30
477
+ "character": 19
478
+ },
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"
470
489
  },
471
- "name": "OnStart"
490
+ "isOptional": false,
491
+ "isSpread": false
492
+ }
493
+ ],
494
+ "returnType": {
495
+ "__schema": "TypeRefSchema",
496
+ "location": {
497
+ "filePath": "cli.main.runtime.ts",
498
+ "line": 95,
499
+ "character": 3
472
500
  },
473
- "isOptional": false,
474
- "isSpread": false
475
- }
476
- ],
477
- "returnType": {
478
- "__schema": "TypeRefSchema",
479
- "location": {
480
- "filePath": "cli.main.runtime.ts",
481
- "line": 95,
482
- "character": 3
501
+ "name": "CLIMain"
483
502
  },
484
- "name": "CLIMain"
485
- },
486
- "modifiers": []
487
- },
488
- {
489
- "__schema": "FunctionLikeSchema",
490
- "location": {
491
- "filePath": "cli.main.runtime.ts",
492
- "line": 104,
493
- "character": 3
503
+ "modifiers": []
494
504
  },
495
- "doc": {
496
- "__schema": "DocSchema",
505
+ {
506
+ "__schema": "FunctionLikeSchema",
497
507
  "location": {
498
508
  "filePath": "cli.main.runtime.ts",
499
- "line": 100,
509
+ "line": 104,
500
510
  "character": 3
501
511
  },
502
- "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 */",
503
- "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)"
504
- },
505
- "signature": "(method) CLIMain.registerOnCommandStart(onCommandStartFn: OnCommandStart): this",
506
- "name": "registerOnCommandStart",
507
- "params": [
508
- {
509
- "__schema": "ParameterSchema",
512
+ "doc": {
513
+ "__schema": "DocSchema",
510
514
  "location": {
511
515
  "filePath": "cli.main.runtime.ts",
512
- "line": 104,
513
- "character": 26
516
+ "line": 100,
517
+ "character": 3
514
518
  },
515
- "name": "onCommandStartFn",
516
- "type": {
517
- "__schema": "TypeRefSchema",
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",
518
527
  "location": {
519
528
  "filePath": "cli.main.runtime.ts",
520
529
  "line": 104,
521
- "character": 44
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"
522
542
  },
523
- "name": "OnCommandStart"
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
524
553
  },
525
- "isOptional": false,
526
- "isSpread": false
527
- }
528
- ],
529
- "returnType": {
530
- "__schema": "TypeRefSchema",
531
- "location": {
532
- "filePath": "cli.main.runtime.ts",
533
- "line": 104,
534
- "character": 3
554
+ "name": "CLIMain"
535
555
  },
536
- "name": "CLIMain"
537
- },
538
- "modifiers": []
539
- },
540
- {
541
- "__schema": "FunctionLikeSchema",
542
- "location": {
543
- "filePath": "cli.main.runtime.ts",
544
- "line": 124,
545
- "character": 3
556
+ "modifiers": []
546
557
  },
547
- "doc": {
548
- "__schema": "DocSchema",
558
+ {
559
+ "__schema": "FunctionLikeSchema",
549
560
  "location": {
550
561
  "filePath": "cli.main.runtime.ts",
551
- "line": 109,
562
+ "line": 124,
552
563
  "character": 3
553
564
  },
554
- "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 */",
555
- "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",
556
- "tags": [
565
+ "doc": {
566
+ "__schema": "DocSchema",
567
+ "location": {
568
+ "filePath": "cli.main.runtime.ts",
569
+ "line": 109,
570
+ "character": 3
571
+ },
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"
584
+ },
585
+ {
586
+ "__schema": "ReturnTagSchema",
587
+ "location": {
588
+ "filePath": "cli.main.runtime.ts",
589
+ "line": 122,
590
+ "character": 6
591
+ },
592
+ "tagName": "return"
593
+ }
594
+ ]
595
+ },
596
+ "signature": "(method) CLIMain.registerOnBeforeExit(onBeforeExitFn: OnBeforeExitFn): this",
597
+ "name": "registerOnBeforeExit",
598
+ "params": [
557
599
  {
558
- "__schema": "PropertyLikeTagSchema",
600
+ "__schema": "ParameterSchema",
559
601
  "location": {
560
602
  "filePath": "cli.main.runtime.ts",
561
- "line": 121,
562
- "character": 6
603
+ "line": 124,
604
+ "character": 24
563
605
  },
564
606
  "name": "onBeforeExitFn",
565
- "tagName": "parameter"
566
- },
567
- {
568
- "__schema": "ReturnTagSchema",
569
- "location": {
570
- "filePath": "cli.main.runtime.ts",
571
- "line": 122,
572
- "character": 6
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"
573
616
  },
574
- "tagName": "return"
617
+ "isOptional": false,
618
+ "isSpread": false
575
619
  }
576
- ]
577
- },
578
- "signature": "(method) CLIMain.registerOnBeforeExit(onBeforeExitFn: OnBeforeExitFn): this",
579
- "name": "registerOnBeforeExit",
580
- "params": [
581
- {
582
- "__schema": "ParameterSchema",
620
+ ],
621
+ "returnType": {
622
+ "__schema": "TypeRefSchema",
583
623
  "location": {
584
624
  "filePath": "cli.main.runtime.ts",
585
625
  "line": 124,
586
- "character": 24
587
- },
588
- "name": "onBeforeExitFn",
589
- "type": {
590
- "__schema": "TypeRefSchema",
591
- "location": {
592
- "filePath": "cli.main.runtime.ts",
593
- "line": 124,
594
- "character": 40
595
- },
596
- "name": "OnBeforeExitFn"
626
+ "character": 3
597
627
  },
598
- "isOptional": false,
599
- "isSpread": false
600
- }
601
- ],
602
- "returnType": {
603
- "__schema": "TypeRefSchema",
604
- "location": {
605
- "filePath": "cli.main.runtime.ts",
606
- "line": 124,
607
- "character": 3
628
+ "name": "CLIMain"
608
629
  },
609
- "name": "CLIMain"
610
- },
611
- "modifiers": []
612
- },
613
- {
614
- "__schema": "FunctionLikeSchema",
615
- "location": {
616
- "filePath": "cli.main.runtime.ts",
617
- "line": 133,
618
- "character": 3
630
+ "modifiers": []
619
631
  },
620
- "doc": {
621
- "__schema": "DocSchema",
632
+ {
633
+ "__schema": "FunctionLikeSchema",
622
634
  "location": {
623
635
  "filePath": "cli.main.runtime.ts",
624
- "line": 130,
636
+ "line": 133,
625
637
  "character": 3
626
638
  },
627
- "raw": "/**\n * execute commands registered to this aspect.\n */",
628
- "comment": "execute commands registered to this aspect."
629
- },
630
- "signature": "(method) CLIMain.run(hasWorkspace: boolean): Promise<void>",
631
- "name": "run",
632
- "params": [
633
- {
634
- "__schema": "ParameterSchema",
639
+ "doc": {
640
+ "__schema": "DocSchema",
635
641
  "location": {
636
642
  "filePath": "cli.main.runtime.ts",
637
- "line": 133,
638
- "character": 13
643
+ "line": 130,
644
+ "character": 3
639
645
  },
640
- "name": "hasWorkspace",
641
- "type": {
642
- "__schema": "KeywordTypeSchema",
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",
643
654
  "location": {
644
655
  "filePath": "cli.main.runtime.ts",
645
656
  "line": 133,
646
- "character": 27
657
+ "character": 13
647
658
  },
648
- "name": "boolean"
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
649
679
  },
650
- "isOptional": false,
651
- "isSpread": false
652
- }
653
- ],
654
- "returnType": {
655
- "__schema": "InferenceTypeSchema",
656
- "location": {
657
- "filePath": "cli.main.runtime.ts",
658
- "line": 133,
659
- "character": 3
680
+ "type": "Promise<void>"
660
681
  },
661
- "type": "Promise<void>"
662
- },
663
- "modifiers": [
664
- "async"
665
- ]
666
- },
667
- {
668
- "__schema": "VariableLikeSchema",
669
- "location": {
670
- "filePath": "cli.main.runtime.ts",
671
- "line": 162,
672
- "character": 3
682
+ "modifiers": [
683
+ "async"
684
+ ]
673
685
  },
674
- "signature": "(property) CLIMain.dependencies: Aspect[]",
675
- "name": "dependencies",
676
- "type": {
677
- "__schema": "InferenceTypeSchema",
686
+ {
687
+ "__schema": "VariableLikeSchema",
678
688
  "location": {
679
689
  "filePath": "cli.main.runtime.ts",
680
690
  "line": 162,
681
691
  "character": 3
682
692
  },
683
- "type": "Aspect[]"
684
- },
685
- "isOptional": true,
686
- "defaultValue": "[LoggerAspect]"
687
- },
688
- {
689
- "__schema": "VariableLikeSchema",
690
- "location": {
691
- "filePath": "cli.main.runtime.ts",
692
- "line": 163,
693
- "character": 3
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]"
694
706
  },
695
- "signature": "(property) CLIMain.runtime: RuntimeDefinition",
696
- "name": "runtime",
697
- "type": {
698
- "__schema": "InferenceTypeSchema",
707
+ {
708
+ "__schema": "VariableLikeSchema",
699
709
  "location": {
700
710
  "filePath": "cli.main.runtime.ts",
701
711
  "line": 163,
702
712
  "character": 3
703
713
  },
704
- "type": "RuntimeDefinition"
705
- },
706
- "isOptional": true,
707
- "defaultValue": "MainRuntime"
708
- },
709
- {
710
- "__schema": "VariableLikeSchema",
711
- "location": {
712
- "filePath": "cli.main.runtime.ts",
713
- "line": 164,
714
- "character": 3
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"
715
727
  },
716
- "signature": "(property) CLIMain.slots: (((registerFn: () => string) => SlotRegistry<CommandList>) | ((registerFn: () => string) => SlotRegistry<OnStart>) | ((registerFn: () => string) => SlotRegistry<...>))[]",
717
- "name": "slots",
718
- "type": {
719
- "__schema": "InferenceTypeSchema",
728
+ {
729
+ "__schema": "VariableLikeSchema",
720
730
  "location": {
721
731
  "filePath": "cli.main.runtime.ts",
722
732
  "line": 164,
723
733
  "character": 3
724
734
  },
725
- "type": "(((registerFn: () => string) => SlotRegistry<CommandList>) | ((registerFn: () => string) => SlotRegistry<OnStart>) | ((registerFn: () => string) => SlotRegistry<...>))[]"
726
- },
727
- "isOptional": true,
728
- "defaultValue": "[\n Slot.withType<CommandList>(),\n Slot.withType<OnStart>(),\n Slot.withType<OnCommandStart>(),\n Slot.withType<OnBeforeExitFn>(),\n ]"
729
- },
730
- {
731
- "__schema": "FunctionLikeSchema",
732
- "location": {
733
- "filePath": "cli.main.runtime.ts",
734
- "line": 171,
735
- "character": 3
736
- },
737
- "signature": "(method) CLIMain.provider([loggerMain]: [LoggerMain], config: any, [commandsSlot, onStartSlot, onCommandStartSlot, onBeforeExitSlot]: [\n CommandsSlot,\n OnStartSlot,\n OnCommandStartSlot,\n OnBeforeExitSlot\n]): Promise<CLIMain>",
738
- "name": "provider",
739
- "params": [
740
- {
741
- "__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",
742
739
  "location": {
743
740
  "filePath": "cli.main.runtime.ts",
744
- "line": 172,
745
- "character": 5
741
+ "line": 164,
742
+ "character": 3
746
743
  },
747
- "name": "[ loggerMain ]",
748
- "type": {
749
- "__schema": "TupleTypeSchema",
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",
750
761
  "location": {
751
762
  "filePath": "cli.main.runtime.ts",
752
763
  "line": 172,
753
- "character": 19
764
+ "character": 5
754
765
  },
755
- "elements": [
756
- {
757
- "__schema": "TypeRefSchema",
758
- "location": {
759
- "filePath": "cli.main.runtime.ts",
760
- "line": 172,
761
- "character": 20
762
- },
763
- "name": "LoggerMain"
764
- }
765
- ]
766
- },
767
- "isOptional": false,
768
- "isSpread": false
769
- },
770
- {
771
- "__schema": "ParameterSchema",
772
- "location": {
773
- "filePath": "cli.main.runtime.ts",
774
- "line": 173,
775
- "character": 5
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
+ }
787
+ }
788
+ ]
789
+ },
790
+ "isOptional": false,
791
+ "isSpread": false
776
792
  },
777
- "name": "config",
778
- "type": {
779
- "__schema": "InferenceTypeSchema",
793
+ {
794
+ "__schema": "ParameterSchema",
780
795
  "location": {
781
796
  "filePath": "cli.main.runtime.ts",
782
797
  "line": 173,
783
798
  "character": 5
784
799
  },
785
- "type": "any"
786
- },
787
- "isOptional": false,
788
- "isSpread": false
789
- },
790
- {
791
- "__schema": "ParameterSchema",
792
- "location": {
793
- "filePath": "cli.main.runtime.ts",
794
- "line": 174,
795
- "character": 5
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
796
812
  },
797
- "name": "[ commandsSlot, onStartSlot, onCommandStartSlot, onBeforeExitSlot ]",
798
- "type": {
799
- "__schema": "TupleTypeSchema",
813
+ {
814
+ "__schema": "ParameterSchema",
800
815
  "location": {
801
816
  "filePath": "cli.main.runtime.ts",
802
817
  "line": 174,
803
- "character": 72
804
- },
805
- "elements": [
806
- {
807
- "__schema": "TypeRefSchema",
808
- "location": {
809
- "filePath": "cli.main.runtime.ts",
810
- "line": 175,
811
- "character": 7
812
- },
813
- "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
814
827
  },
815
- {
816
- "__schema": "TypeRefSchema",
817
- "location": {
818
- "filePath": "cli.main.runtime.ts",
819
- "line": 176,
820
- "character": 7
828
+ "elements": [
829
+ {
830
+ "__schema": "TypeRefSchema",
831
+ "location": {
832
+ "filePath": "cli.main.runtime.ts",
833
+ "line": 175,
834
+ "character": 7
835
+ },
836
+ "name": "CommandsSlot"
821
837
  },
822
- "name": "OnStartSlot"
823
- },
824
- {
825
- "__schema": "TypeRefSchema",
826
- "location": {
827
- "filePath": "cli.main.runtime.ts",
828
- "line": 177,
829
- "character": 7
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"
830
847
  },
831
- "name": "OnCommandStartSlot"
832
- },
833
- {
834
- "__schema": "TypeRefSchema",
835
- "location": {
836
- "filePath": "cli.main.runtime.ts",
837
- "line": 178,
838
- "character": 7
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"
839
857
  },
840
- "name": "OnBeforeExitSlot"
841
- }
842
- ]
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
843
880
  },
844
- "isOptional": false,
845
- "isSpread": false
846
- }
847
- ],
848
- "returnType": {
849
- "__schema": "InferenceTypeSchema",
850
- "location": {
851
- "filePath": "cli.main.runtime.ts",
852
- "line": 171,
853
- "character": 3
881
+ "type": "Promise<CLIMain>"
854
882
  },
855
- "type": "Promise<CLIMain>"
856
- },
857
- "modifiers": [
858
- "static",
859
- "async"
860
- ]
861
- }
862
- ],
863
- "extendsNodes": [],
864
- "implementNodes": []
883
+ "modifiers": [
884
+ "static",
885
+ "async"
886
+ ]
887
+ }
888
+ ],
889
+ "extendsNodes": [],
890
+ "implementNodes": []
891
+ }
865
892
  },
866
893
  {
867
- "__schema": "TypeSchema",
894
+ "__schema": "ExportSchema",
868
895
  "location": {
869
- "filePath": "cli.main.runtime.ts",
870
- "line": 19,
871
- "character": 1
896
+ "filePath": "index.ts",
897
+ "line": 3,
898
+ "character": 24
872
899
  },
873
- "signature": "type CommandList = Command[]",
874
900
  "name": "CommandList",
875
- "type": {
876
- "__schema": "TypeRefSchema",
901
+ "exportNode": {
902
+ "__schema": "TypeSchema",
877
903
  "location": {
878
904
  "filePath": "cli.main.runtime.ts",
879
905
  "line": 19,
880
- "character": 27
906
+ "character": 1
881
907
  },
882
- "name": "Array",
883
- "typeArgs": [
884
- {
885
- "__schema": "TypeRefSchema",
886
- "location": {
887
- "filePath": "cli.main.runtime.ts",
888
- "line": 19,
889
- "character": 33
890
- },
891
- "name": "Command"
892
- }
893
- ]
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
916
+ },
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
+ }
929
+ ]
930
+ }
894
931
  }
895
932
  },
896
933
  {
897
- "__schema": "TypeSchema",
934
+ "__schema": "ExportSchema",
898
935
  "location": {
899
- "filePath": "cli.main.runtime.ts",
900
- "line": 26,
901
- "character": 1
936
+ "filePath": "index.ts",
937
+ "line": 3,
938
+ "character": 37
902
939
  },
903
- "signature": "type CommandsSlot = SlotRegistry<CommandList>",
904
940
  "name": "CommandsSlot",
905
- "type": {
906
- "__schema": "TypeRefSchema",
941
+ "exportNode": {
942
+ "__schema": "TypeSchema",
907
943
  "location": {
908
944
  "filePath": "cli.main.runtime.ts",
909
945
  "line": 26,
910
- "character": 28
946
+ "character": 1
911
947
  },
912
- "name": "SlotRegistry",
913
- "typeArgs": [
914
- {
915
- "__schema": "TypeRefSchema",
916
- "location": {
917
- "filePath": "cli.main.runtime.ts",
918
- "line": 26,
919
- "character": 41
920
- },
921
- "name": "CommandList"
922
- }
923
- ]
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
+ }
924
975
  }
925
976
  },
926
977
  {
927
- "__schema": "TypeRefSchema",
978
+ "__schema": "ExportSchema",
928
979
  "location": {
929
980
  "filePath": "index.ts",
930
981
  "line": 4,
931
982
  "character": 15
932
983
  },
933
984
  "name": "Command",
934
- "packageName": "@teambit/legacy/dist/cli/command"
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
+ }
935
995
  },
936
996
  {
937
- "__schema": "TypeRefSchema",
997
+ "__schema": "ExportSchema",
938
998
  "location": {
939
999
  "filePath": "index.ts",
940
1000
  "line": 4,
941
1001
  "character": 24
942
1002
  },
943
1003
  "name": "CLIArgs",
944
- "packageName": "@teambit/legacy/dist/cli/command"
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
+ }
945
1014
  },
946
1015
  {
947
- "__schema": "TypeRefSchema",
1016
+ "__schema": "ExportSchema",
948
1017
  "location": {
949
1018
  "filePath": "index.ts",
950
1019
  "line": 4,
951
1020
  "character": 33
952
1021
  },
953
1022
  "name": "Flags",
954
- "packageName": "@teambit/legacy/dist/cli/command"
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
+ }
955
1033
  },
956
1034
  {
957
- "__schema": "TypeRefSchema",
1035
+ "__schema": "ExportSchema",
958
1036
  "location": {
959
1037
  "filePath": "index.ts",
960
1038
  "line": 4,
961
1039
  "character": 40
962
1040
  },
963
1041
  "name": "GenericObject",
964
- "packageName": "@teambit/legacy/dist/cli/command"
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
+ }
965
1052
  },
966
1053
  {
967
- "__schema": "TypeRefSchema",
1054
+ "__schema": "ExportSchema",
968
1055
  "location": {
969
1056
  "filePath": "index.ts",
970
1057
  "line": 5,
971
1058
  "character": 15
972
1059
  },
973
1060
  "name": "CommandOptions",
974
- "packageName": "@teambit/legacy/dist/cli/legacy-command"
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
+ }
975
1071
  },
976
1072
  {
977
- "__schema": "ClassSchema",
1073
+ "__schema": "ExportSchema",
978
1074
  "location": {
979
- "filePath": "exceptions/already-exists.ts",
980
- "line": 3,
981
- "character": 1
1075
+ "filePath": "exceptions/index.ts",
1076
+ "line": 1,
1077
+ "character": 10
982
1078
  },
983
- "signature": "class AlreadyExistsError",
984
1079
  "name": "AlreadyExistsError",
985
- "members": [
986
- {
987
- "__schema": "ConstructorSchema",
988
- "location": {
989
- "filePath": "exceptions/already-exists.ts",
990
- "line": 4,
991
- "character": 3
992
- },
993
- "signature": "constructor AlreadyExistsError(type: string, name: string): AlreadyExistsError",
994
- "name": "constructor",
995
- "params": [
996
- {
997
- "__schema": "ParameterSchema",
998
- "location": {
999
- "filePath": "exceptions/already-exists.ts",
1000
- "line": 4,
1001
- "character": 15
1002
- },
1003
- "name": "type",
1004
- "type": {
1005
- "__schema": "KeywordTypeSchema",
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",
1006
1102
  "location": {
1007
1103
  "filePath": "exceptions/already-exists.ts",
1008
1104
  "line": 4,
1009
- "character": 21
1105
+ "character": 15
1010
1106
  },
1011
- "name": "string"
1012
- },
1013
- "isOptional": false,
1014
- "isSpread": false
1015
- },
1016
- {
1017
- "__schema": "ParameterSchema",
1018
- "location": {
1019
- "filePath": "exceptions/already-exists.ts",
1020
- "line": 4,
1021
- "character": 29
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
1022
1119
  },
1023
- "name": "name",
1024
- "type": {
1025
- "__schema": "KeywordTypeSchema",
1120
+ {
1121
+ "__schema": "ParameterSchema",
1026
1122
  "location": {
1027
1123
  "filePath": "exceptions/already-exists.ts",
1028
1124
  "line": 4,
1029
- "character": 35
1125
+ "character": 29
1030
1126
  },
1031
- "name": "string"
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
1032
1147
  },
1033
- "isOptional": false,
1034
- "isSpread": false
1035
- }
1036
- ],
1037
- "returnType": {
1038
- "__schema": "ThisTypeSchema",
1039
- "location": {
1040
- "filePath": "exceptions/already-exists.ts",
1041
- "line": 3,
1042
- "character": 1
1148
+ "name": "AlreadyExistsError"
1043
1149
  },
1044
- "name": "AlreadyExistsError"
1045
- },
1046
- "modifiers": []
1047
- }
1048
- ],
1049
- "extendsNodes": [
1050
- {
1051
- "__schema": "ExpressionWithTypeArgumentsSchema",
1052
- "location": {
1053
- "filePath": "exceptions/already-exists.ts",
1054
- "line": 3,
1055
- "character": 41
1056
- },
1057
- "name": "extends BitError",
1058
- "typeArgs": [],
1059
- "expression": {
1060
- "__schema": "TypeRefSchema",
1150
+ "modifiers": []
1151
+ }
1152
+ ],
1153
+ "extendsNodes": [
1154
+ {
1155
+ "__schema": "ExpressionWithTypeArgumentsSchema",
1061
1156
  "location": {
1062
1157
  "filePath": "exceptions/already-exists.ts",
1063
1158
  "line": 3,
1064
1159
  "character": 41
1065
1160
  },
1066
- "name": "BitError",
1067
- "componentId": {
1068
- "_legacy": {
1069
- "scope": "teambit.harmony",
1070
- "name": "cli",
1071
- "version": "0.0.861"
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
1072
1169
  },
1073
- "_scope": "teambit.harmony"
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
+ }
1074
1179
  }
1075
1180
  }
1076
- }
1077
- ],
1078
- "implementNodes": []
1181
+ ],
1182
+ "implementNodes": []
1183
+ }
1079
1184
  },
1080
1185
  {
1081
- "__schema": "VariableLikeSchema",
1186
+ "__schema": "ExportSchema",
1082
1187
  "location": {
1083
- "filePath": "cli.aspect.ts",
1084
- "line": 5,
1085
- "character": 14
1188
+ "filePath": "index.ts",
1189
+ "line": 8,
1190
+ "character": 23
1086
1191
  },
1087
- "signature": "const CLIAspect: Aspect",
1088
1192
  "name": "CLIAspect",
1089
- "type": {
1090
- "__schema": "TypeRefSchema",
1193
+ "exportNode": {
1194
+ "__schema": "VariableLikeSchema",
1091
1195
  "location": {
1092
1196
  "filePath": "cli.aspect.ts",
1093
1197
  "line": 5,
1094
1198
  "character": 14
1095
1199
  },
1096
- "name": "Aspect",
1097
- "componentId": {
1098
- "scope": "teambit.harmony",
1099
- "name": "harmony",
1100
- "version": "0.4.6"
1101
- }
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})"
1102
1218
  },
1103
- "isOptional": false,
1104
- "defaultValue": "Aspect.create({\n id: 'teambit.harmony/cli',\n dependencies: [],\n declareRuntime: MainRuntime,\n})"
1219
+ "alias": "default"
1105
1220
  },
1106
1221
  {
1107
- "__schema": "VariableLikeSchema",
1222
+ "__schema": "ExportSchema",
1108
1223
  "location": {
1109
- "filePath": "cli.aspect.ts",
1110
- "line": 3,
1111
- "character": 14
1224
+ "filePath": "index.ts",
1225
+ "line": 8,
1226
+ "character": 32
1112
1227
  },
1113
- "signature": "const MainRuntime: RuntimeDefinition",
1114
1228
  "name": "MainRuntime",
1115
- "type": {
1116
- "__schema": "TypeRefSchema",
1229
+ "exportNode": {
1230
+ "__schema": "VariableLikeSchema",
1117
1231
  "location": {
1118
1232
  "filePath": "cli.aspect.ts",
1119
1233
  "line": 3,
1120
1234
  "character": 14
1121
1235
  },
1122
- "name": "RuntimeDefinition",
1123
- "componentId": {
1124
- "scope": "teambit.harmony",
1125
- "name": "harmony",
1126
- "version": "0.4.6"
1127
- }
1128
- },
1129
- "isOptional": false,
1130
- "defaultValue": "new RuntimeDefinition('main')"
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
+ }
1131
1255
  },
1132
1256
  {
1133
- "__schema": "VariableLikeSchema",
1257
+ "__schema": "ExportSchema",
1134
1258
  "location": {
1135
- "filePath": "cli.aspect.ts",
1136
- "line": 5,
1137
- "character": 14
1259
+ "filePath": "index.ts",
1260
+ "line": 8,
1261
+ "character": 45
1138
1262
  },
1139
- "signature": "const CLIAspect: Aspect",
1140
1263
  "name": "CLIAspect",
1141
- "type": {
1142
- "__schema": "TypeRefSchema",
1264
+ "exportNode": {
1265
+ "__schema": "VariableLikeSchema",
1143
1266
  "location": {
1144
1267
  "filePath": "cli.aspect.ts",
1145
1268
  "line": 5,
1146
1269
  "character": 14
1147
1270
  },
1148
- "name": "Aspect",
1149
- "componentId": {
1150
- "scope": "teambit.harmony",
1151
- "name": "harmony",
1152
- "version": "0.4.6"
1153
- }
1154
- },
1155
- "isOptional": false,
1156
- "defaultValue": "Aspect.create({\n id: 'teambit.harmony/cli',\n dependencies: [],\n declareRuntime: MainRuntime,\n})"
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
+ }
1157
1290
  }
1158
1291
  ],
1159
1292
  "internals": []
@@ -1192,7 +1325,8 @@
1192
1325
  "line": 19,
1193
1326
  "character": 33
1194
1327
  },
1195
- "name": "Command"
1328
+ "name": "Command",
1329
+ "packageName": "@teambit/legacy/dist/cli/command"
1196
1330
  }
1197
1331
  ]
1198
1332
  }
@@ -1296,7 +1430,7 @@
1296
1430
  "line": 21,
1297
1431
  "character": 30
1298
1432
  },
1299
- "signature": "(commandName: string, args: CLIArgs, flags: Flags): Promise<void>",
1433
+ "signature": "(commandName: string, args: \u001b[2m(package: @teambit/legacy/dist/cli/command)\u001b[22m CLIArgs, flags: \u001b[2m(package: @teambit/legacy/dist/cli/command)\u001b[22m Flags): Promise<void>",
1300
1434
  "name": "",
1301
1435
  "params": [
1302
1436
  {
@@ -1334,7 +1468,8 @@
1334
1468
  "line": 21,
1335
1469
  "character": 58
1336
1470
  },
1337
- "name": "CLIArgs"
1471
+ "name": "CLIArgs",
1472
+ "packageName": "@teambit/legacy/dist/cli/command"
1338
1473
  },
1339
1474
  "isOptional": false,
1340
1475
  "isSpread": false
@@ -1354,7 +1489,8 @@
1354
1489
  "line": 21,
1355
1490
  "character": 74
1356
1491
  },
1357
- "name": "Flags"
1492
+ "name": "Flags",
1493
+ "packageName": "@teambit/legacy/dist/cli/command"
1358
1494
  },
1359
1495
  "isOptional": false,
1360
1496
  "isSpread": false
@@ -1442,6 +1578,11 @@
1442
1578
  "character": 27
1443
1579
  },
1444
1580
  "name": "SlotRegistry",
1581
+ "componentId": {
1582
+ "scope": "teambit.harmony",
1583
+ "name": "harmony",
1584
+ "version": "0.4.6"
1585
+ },
1445
1586
  "typeArgs": [
1446
1587
  {
1447
1588
  "__schema": "TypeRefSchema",
@@ -1450,7 +1591,8 @@
1450
1591
  "line": 24,
1451
1592
  "character": 40
1452
1593
  },
1453
- "name": "OnStart"
1594
+ "name": "OnStart",
1595
+ "internalFilePath": "cli.main.runtime.ts"
1454
1596
  }
1455
1597
  ]
1456
1598
  }
@@ -1472,6 +1614,11 @@
1472
1614
  "character": 34
1473
1615
  },
1474
1616
  "name": "SlotRegistry",
1617
+ "componentId": {
1618
+ "scope": "teambit.harmony",
1619
+ "name": "harmony",
1620
+ "version": "0.4.6"
1621
+ },
1475
1622
  "typeArgs": [
1476
1623
  {
1477
1624
  "__schema": "TypeRefSchema",
@@ -1480,7 +1627,8 @@
1480
1627
  "line": 25,
1481
1628
  "character": 47
1482
1629
  },
1483
- "name": "OnCommandStart"
1630
+ "name": "OnCommandStart",
1631
+ "internalFilePath": "cli.main.runtime.ts"
1484
1632
  }
1485
1633
  ]
1486
1634
  }
@@ -1502,6 +1650,11 @@
1502
1650
  "character": 28
1503
1651
  },
1504
1652
  "name": "SlotRegistry",
1653
+ "componentId": {
1654
+ "scope": "teambit.harmony",
1655
+ "name": "harmony",
1656
+ "version": "0.4.6"
1657
+ },
1505
1658
  "typeArgs": [
1506
1659
  {
1507
1660
  "__schema": "TypeRefSchema",
@@ -1532,6 +1685,11 @@
1532
1685
  "character": 32
1533
1686
  },
1534
1687
  "name": "SlotRegistry",
1688
+ "componentId": {
1689
+ "scope": "teambit.harmony",
1690
+ "name": "harmony",
1691
+ "version": "0.4.6"
1692
+ },
1535
1693
  "typeArgs": [
1536
1694
  {
1537
1695
  "__schema": "TypeRefSchema",
@@ -1540,7 +1698,8 @@
1540
1698
  "line": 27,
1541
1699
  "character": 45
1542
1700
  },
1543
- "name": "OnBeforeExitFn"
1701
+ "name": "OnBeforeExitFn",
1702
+ "internalFilePath": "cli.main.runtime.ts"
1544
1703
  }
1545
1704
  ]
1546
1705
  }
@@ -1622,7 +1781,8 @@
1622
1781
  "line": 33,
1623
1782
  "character": 26
1624
1783
  },
1625
- "name": "OnStartSlot"
1784
+ "name": "OnStartSlot",
1785
+ "internalFilePath": "cli.main.runtime.ts"
1626
1786
  },
1627
1787
  "isOptional": false,
1628
1788
  "isSpread": false
@@ -1642,7 +1802,8 @@
1642
1802
  "line": 34,
1643
1803
  "character": 34
1644
1804
  },
1645
- "name": "OnCommandStartSlot"
1805
+ "name": "OnCommandStartSlot",
1806
+ "internalFilePath": "cli.main.runtime.ts"
1646
1807
  },
1647
1808
  "isOptional": false,
1648
1809
  "isSpread": false
@@ -1662,7 +1823,8 @@
1662
1823
  "line": 35,
1663
1824
  "character": 31
1664
1825
  },
1665
- "name": "OnBeforeExitSlot"
1826
+ "name": "OnBeforeExitSlot",
1827
+ "internalFilePath": "cli.main.runtime.ts"
1666
1828
  },
1667
1829
  "isOptional": false,
1668
1830
  "isSpread": false
@@ -1682,7 +1844,11 @@
1682
1844
  "line": 36,
1683
1845
  "character": 21
1684
1846
  },
1685
- "name": "Logger"
1847
+ "name": "Logger",
1848
+ "componentId": {
1849
+ "scope": "teambit.harmony",
1850
+ "name": "logger"
1851
+ }
1686
1852
  },
1687
1853
  "isOptional": false,
1688
1854
  "isSpread": false
@@ -1878,7 +2044,8 @@
1878
2044
  "line": 74,
1879
2045
  "character": 29
1880
2046
  },
1881
- "name": "Command"
2047
+ "name": "Command",
2048
+ "packageName": "@teambit/legacy/dist/cli/command"
1882
2049
  },
1883
2050
  {
1884
2051
  "__schema": "KeywordTypeSchema",
@@ -2000,7 +2167,8 @@
2000
2167
  "line": 95,
2001
2168
  "character": 30
2002
2169
  },
2003
- "name": "OnStart"
2170
+ "name": "OnStart",
2171
+ "internalFilePath": "cli.main.runtime.ts"
2004
2172
  },
2005
2173
  "isOptional": false,
2006
2174
  "isSpread": false
@@ -2052,7 +2220,8 @@
2052
2220
  "line": 104,
2053
2221
  "character": 44
2054
2222
  },
2055
- "name": "OnCommandStart"
2223
+ "name": "OnCommandStart",
2224
+ "internalFilePath": "cli.main.runtime.ts"
2056
2225
  },
2057
2226
  "isOptional": false,
2058
2227
  "isSpread": false
@@ -2125,7 +2294,8 @@
2125
2294
  "line": 124,
2126
2295
  "character": 40
2127
2296
  },
2128
- "name": "OnBeforeExitFn"
2297
+ "name": "OnBeforeExitFn",
2298
+ "internalFilePath": "cli.main.runtime.ts"
2129
2299
  },
2130
2300
  "isOptional": false,
2131
2301
  "isSpread": false
@@ -2292,7 +2462,11 @@
2292
2462
  "line": 172,
2293
2463
  "character": 20
2294
2464
  },
2295
- "name": "LoggerMain"
2465
+ "name": "LoggerMain",
2466
+ "componentId": {
2467
+ "scope": "teambit.harmony",
2468
+ "name": "logger"
2469
+ }
2296
2470
  }
2297
2471
  ]
2298
2472
  },
@@ -2351,7 +2525,8 @@
2351
2525
  "line": 176,
2352
2526
  "character": 7
2353
2527
  },
2354
- "name": "OnStartSlot"
2528
+ "name": "OnStartSlot",
2529
+ "internalFilePath": "cli.main.runtime.ts"
2355
2530
  },
2356
2531
  {
2357
2532
  "__schema": "TypeRefSchema",
@@ -2360,7 +2535,8 @@
2360
2535
  "line": 177,
2361
2536
  "character": 7
2362
2537
  },
2363
- "name": "OnCommandStartSlot"
2538
+ "name": "OnCommandStartSlot",
2539
+ "internalFilePath": "cli.main.runtime.ts"
2364
2540
  },
2365
2541
  {
2366
2542
  "__schema": "TypeRefSchema",
@@ -2369,7 +2545,8 @@
2369
2545
  "line": 178,
2370
2546
  "character": 7
2371
2547
  },
2372
- "name": "OnBeforeExitSlot"
2548
+ "name": "OnBeforeExitSlot",
2549
+ "internalFilePath": "cli.main.runtime.ts"
2373
2550
  }
2374
2551
  ]
2375
2552
  },
@@ -2562,7 +2739,7 @@
2562
2739
  "componentId": {
2563
2740
  "scope": "teambit.harmony",
2564
2741
  "name": "cli",
2565
- "version": "0.0.861"
2742
+ "version": "0.0.863"
2566
2743
  },
2567
2744
  "taggedModuleExports": []
2568
2745
  }