@teambit/lister 1.0.425 → 1.0.427
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.
@@ -1,4 +1,4 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<testsuites tests="0" failures="0" errors="0" skipped="0">
|
3
|
-
<testsuite name="teambit.component/lister@1.0.
|
3
|
+
<testsuite name="teambit.component/lister@1.0.427" tests="0" failures="0" errors="0" skipped="0"/>
|
4
4
|
</testsuites>
|
package/artifacts/schema.json
CHANGED
@@ -46,16 +46,16 @@
|
|
46
46
|
"__schema": "ParameterSchema",
|
47
47
|
"location": {
|
48
48
|
"filePath": "lister.main.runtime.ts",
|
49
|
-
"line":
|
50
|
-
"character":
|
49
|
+
"line": 26,
|
50
|
+
"character": 5
|
51
51
|
},
|
52
52
|
"name": "logger",
|
53
53
|
"type": {
|
54
54
|
"__schema": "TypeRefSchema",
|
55
55
|
"location": {
|
56
56
|
"filePath": "lister.main.runtime.ts",
|
57
|
-
"line":
|
58
|
-
"character":
|
57
|
+
"line": 26,
|
58
|
+
"character": 21
|
59
59
|
},
|
60
60
|
"name": "Logger",
|
61
61
|
"componentId": {
|
@@ -70,16 +70,16 @@
|
|
70
70
|
"__schema": "ParameterSchema",
|
71
71
|
"location": {
|
72
72
|
"filePath": "lister.main.runtime.ts",
|
73
|
-
"line":
|
74
|
-
"character":
|
73
|
+
"line": 27,
|
74
|
+
"character": 5
|
75
75
|
},
|
76
76
|
"name": "workspace",
|
77
77
|
"type": {
|
78
78
|
"__schema": "TypeRefSchema",
|
79
79
|
"location": {
|
80
80
|
"filePath": "lister.main.runtime.ts",
|
81
|
-
"line":
|
82
|
-
"character":
|
81
|
+
"line": 27,
|
82
|
+
"character": 25
|
83
83
|
},
|
84
84
|
"name": "Workspace",
|
85
85
|
"componentId": {
|
@@ -106,7 +106,7 @@
|
|
106
106
|
"__schema": "FunctionLikeSchema",
|
107
107
|
"location": {
|
108
108
|
"filePath": "lister.main.runtime.ts",
|
109
|
-
"line":
|
109
|
+
"line": 30,
|
110
110
|
"character": 3
|
111
111
|
},
|
112
112
|
"signature": "(method) ListerMain.remoteList(scopeName: string, { namespacesUsingWildcards, includeDeprecated, includeDeleted, }: {\n namespacesUsingWildcards?: string;\n includeDeprecated?: boolean;\n includeDeleted?: boolean;\n}): Promise<ListScopeResult[]>",
|
@@ -116,7 +116,7 @@
|
|
116
116
|
"__schema": "ParameterSchema",
|
117
117
|
"location": {
|
118
118
|
"filePath": "lister.main.runtime.ts",
|
119
|
-
"line":
|
119
|
+
"line": 31,
|
120
120
|
"character": 5
|
121
121
|
},
|
122
122
|
"name": "scopeName",
|
@@ -124,7 +124,7 @@
|
|
124
124
|
"__schema": "KeywordTypeSchema",
|
125
125
|
"location": {
|
126
126
|
"filePath": "lister.main.runtime.ts",
|
127
|
-
"line":
|
127
|
+
"line": 31,
|
128
128
|
"character": 16
|
129
129
|
},
|
130
130
|
"name": "string"
|
@@ -136,7 +136,7 @@
|
|
136
136
|
"__schema": "ParameterSchema",
|
137
137
|
"location": {
|
138
138
|
"filePath": "lister.main.runtime.ts",
|
139
|
-
"line":
|
139
|
+
"line": 32,
|
140
140
|
"character": 5
|
141
141
|
},
|
142
142
|
"name": "{ namespacesUsingWildcards, includeDeprecated = true, includeDeleted = false }",
|
@@ -144,7 +144,7 @@
|
|
144
144
|
"__schema": "TypeLiteralSchema",
|
145
145
|
"location": {
|
146
146
|
"filePath": "lister.main.runtime.ts",
|
147
|
-
"line":
|
147
|
+
"line": 36,
|
148
148
|
"character": 8
|
149
149
|
},
|
150
150
|
"members": [
|
@@ -152,7 +152,7 @@
|
|
152
152
|
"__schema": "VariableLikeSchema",
|
153
153
|
"location": {
|
154
154
|
"filePath": "lister.main.runtime.ts",
|
155
|
-
"line":
|
155
|
+
"line": 37,
|
156
156
|
"character": 7
|
157
157
|
},
|
158
158
|
"signature": "(property) namespacesUsingWildcards?: string | undefined",
|
@@ -161,7 +161,7 @@
|
|
161
161
|
"__schema": "KeywordTypeSchema",
|
162
162
|
"location": {
|
163
163
|
"filePath": "lister.main.runtime.ts",
|
164
|
-
"line":
|
164
|
+
"line": 37,
|
165
165
|
"character": 34
|
166
166
|
},
|
167
167
|
"name": "string"
|
@@ -172,7 +172,7 @@
|
|
172
172
|
"__schema": "VariableLikeSchema",
|
173
173
|
"location": {
|
174
174
|
"filePath": "lister.main.runtime.ts",
|
175
|
-
"line":
|
175
|
+
"line": 38,
|
176
176
|
"character": 7
|
177
177
|
},
|
178
178
|
"signature": "(property) includeDeprecated?: boolean | undefined",
|
@@ -181,7 +181,7 @@
|
|
181
181
|
"__schema": "KeywordTypeSchema",
|
182
182
|
"location": {
|
183
183
|
"filePath": "lister.main.runtime.ts",
|
184
|
-
"line":
|
184
|
+
"line": 38,
|
185
185
|
"character": 27
|
186
186
|
},
|
187
187
|
"name": "boolean"
|
@@ -192,7 +192,7 @@
|
|
192
192
|
"__schema": "VariableLikeSchema",
|
193
193
|
"location": {
|
194
194
|
"filePath": "lister.main.runtime.ts",
|
195
|
-
"line":
|
195
|
+
"line": 39,
|
196
196
|
"character": 7
|
197
197
|
},
|
198
198
|
"signature": "(property) includeDeleted?: boolean | undefined",
|
@@ -201,7 +201,7 @@
|
|
201
201
|
"__schema": "KeywordTypeSchema",
|
202
202
|
"location": {
|
203
203
|
"filePath": "lister.main.runtime.ts",
|
204
|
-
"line":
|
204
|
+
"line": 39,
|
205
205
|
"character": 24
|
206
206
|
},
|
207
207
|
"name": "boolean"
|
@@ -216,7 +216,7 @@
|
|
216
216
|
"__schema": "VariableLikeSchema",
|
217
217
|
"location": {
|
218
218
|
"filePath": "lister.main.runtime.ts",
|
219
|
-
"line":
|
219
|
+
"line": 37,
|
220
220
|
"character": 7
|
221
221
|
},
|
222
222
|
"signature": "(property) namespacesUsingWildcards?: string | undefined",
|
@@ -225,7 +225,7 @@
|
|
225
225
|
"__schema": "KeywordTypeSchema",
|
226
226
|
"location": {
|
227
227
|
"filePath": "lister.main.runtime.ts",
|
228
|
-
"line":
|
228
|
+
"line": 37,
|
229
229
|
"character": 34
|
230
230
|
},
|
231
231
|
"name": "string"
|
@@ -236,7 +236,7 @@
|
|
236
236
|
"__schema": "VariableLikeSchema",
|
237
237
|
"location": {
|
238
238
|
"filePath": "lister.main.runtime.ts",
|
239
|
-
"line":
|
239
|
+
"line": 38,
|
240
240
|
"character": 7
|
241
241
|
},
|
242
242
|
"signature": "(property) includeDeprecated?: boolean | undefined",
|
@@ -245,7 +245,7 @@
|
|
245
245
|
"__schema": "KeywordTypeSchema",
|
246
246
|
"location": {
|
247
247
|
"filePath": "lister.main.runtime.ts",
|
248
|
-
"line":
|
248
|
+
"line": 38,
|
249
249
|
"character": 27
|
250
250
|
},
|
251
251
|
"name": "boolean"
|
@@ -256,7 +256,7 @@
|
|
256
256
|
"__schema": "VariableLikeSchema",
|
257
257
|
"location": {
|
258
258
|
"filePath": "lister.main.runtime.ts",
|
259
|
-
"line":
|
259
|
+
"line": 39,
|
260
260
|
"character": 7
|
261
261
|
},
|
262
262
|
"signature": "(property) includeDeleted?: boolean | undefined",
|
@@ -265,7 +265,7 @@
|
|
265
265
|
"__schema": "KeywordTypeSchema",
|
266
266
|
"location": {
|
267
267
|
"filePath": "lister.main.runtime.ts",
|
268
|
-
"line":
|
268
|
+
"line": 39,
|
269
269
|
"character": 24
|
270
270
|
},
|
271
271
|
"name": "boolean"
|
@@ -280,7 +280,7 @@
|
|
280
280
|
"__schema": "TypeRefSchema",
|
281
281
|
"location": {
|
282
282
|
"filePath": "lister.main.runtime.ts",
|
283
|
-
"line":
|
283
|
+
"line": 41,
|
284
284
|
"character": 6
|
285
285
|
},
|
286
286
|
"name": "Promise",
|
@@ -289,14 +289,14 @@
|
|
289
289
|
"__schema": "TypeArraySchema",
|
290
290
|
"location": {
|
291
291
|
"filePath": "lister.main.runtime.ts",
|
292
|
-
"line":
|
292
|
+
"line": 41,
|
293
293
|
"character": 14
|
294
294
|
},
|
295
295
|
"type": {
|
296
296
|
"__schema": "TypeRefSchema",
|
297
297
|
"location": {
|
298
298
|
"filePath": "lister.main.runtime.ts",
|
299
|
-
"line":
|
299
|
+
"line": 41,
|
300
300
|
"character": 14
|
301
301
|
},
|
302
302
|
"name": "ListScopeResult",
|
@@ -313,7 +313,7 @@
|
|
313
313
|
"__schema": "FunctionLikeSchema",
|
314
314
|
"location": {
|
315
315
|
"filePath": "lister.main.runtime.ts",
|
316
|
-
"line":
|
316
|
+
"line": 49,
|
317
317
|
"character": 3
|
318
318
|
},
|
319
319
|
"signature": "(method) ListerMain.getRemoteCompIdsByWildcards(idStr: string, includeDeprecated?: boolean): Promise<ComponentID[]>",
|
@@ -323,7 +323,7 @@
|
|
323
323
|
"__schema": "ParameterSchema",
|
324
324
|
"location": {
|
325
325
|
"filePath": "lister.main.runtime.ts",
|
326
|
-
"line":
|
326
|
+
"line": 49,
|
327
327
|
"character": 37
|
328
328
|
},
|
329
329
|
"name": "idStr",
|
@@ -331,7 +331,7 @@
|
|
331
331
|
"__schema": "KeywordTypeSchema",
|
332
332
|
"location": {
|
333
333
|
"filePath": "lister.main.runtime.ts",
|
334
|
-
"line":
|
334
|
+
"line": 49,
|
335
335
|
"character": 44
|
336
336
|
},
|
337
337
|
"name": "string"
|
@@ -343,7 +343,7 @@
|
|
343
343
|
"__schema": "ParameterSchema",
|
344
344
|
"location": {
|
345
345
|
"filePath": "lister.main.runtime.ts",
|
346
|
-
"line":
|
346
|
+
"line": 49,
|
347
347
|
"character": 52
|
348
348
|
},
|
349
349
|
"name": "includeDeprecated",
|
@@ -351,7 +351,7 @@
|
|
351
351
|
"__schema": "InferenceTypeSchema",
|
352
352
|
"location": {
|
353
353
|
"filePath": "lister.main.runtime.ts",
|
354
|
-
"line":
|
354
|
+
"line": 49,
|
355
355
|
"character": 52
|
356
356
|
},
|
357
357
|
"type": "boolean"
|
@@ -365,7 +365,7 @@
|
|
365
365
|
"__schema": "TypeRefSchema",
|
366
366
|
"location": {
|
367
367
|
"filePath": "lister.main.runtime.ts",
|
368
|
-
"line":
|
368
|
+
"line": 49,
|
369
369
|
"character": 79
|
370
370
|
},
|
371
371
|
"name": "Promise",
|
@@ -374,14 +374,14 @@
|
|
374
374
|
"__schema": "TypeArraySchema",
|
375
375
|
"location": {
|
376
376
|
"filePath": "lister.main.runtime.ts",
|
377
|
-
"line":
|
377
|
+
"line": 49,
|
378
378
|
"character": 87
|
379
379
|
},
|
380
380
|
"type": {
|
381
381
|
"__schema": "TypeRefSchema",
|
382
382
|
"location": {
|
383
383
|
"filePath": "lister.main.runtime.ts",
|
384
|
-
"line":
|
384
|
+
"line": 49,
|
385
385
|
"character": 87
|
386
386
|
},
|
387
387
|
"name": "ComponentID",
|
@@ -402,7 +402,7 @@
|
|
402
402
|
"__schema": "FunctionLikeSchema",
|
403
403
|
"location": {
|
404
404
|
"filePath": "lister.main.runtime.ts",
|
405
|
-
"line":
|
405
|
+
"line": 63,
|
406
406
|
"character": 3
|
407
407
|
},
|
408
408
|
"signature": "(method) ListerMain.localList(showAll?: boolean, showRemoteVersion?: boolean, namespacesUsingWildcards?: string): Promise<ListScopeResult[]>",
|
@@ -412,7 +412,7 @@
|
|
412
412
|
"__schema": "ParameterSchema",
|
413
413
|
"location": {
|
414
414
|
"filePath": "lister.main.runtime.ts",
|
415
|
-
"line":
|
415
|
+
"line": 64,
|
416
416
|
"character": 5
|
417
417
|
},
|
418
418
|
"name": "showAll",
|
@@ -420,7 +420,7 @@
|
|
420
420
|
"__schema": "InferenceTypeSchema",
|
421
421
|
"location": {
|
422
422
|
"filePath": "lister.main.runtime.ts",
|
423
|
-
"line":
|
423
|
+
"line": 64,
|
424
424
|
"character": 5
|
425
425
|
},
|
426
426
|
"type": "boolean"
|
@@ -433,7 +433,7 @@
|
|
433
433
|
"__schema": "ParameterSchema",
|
434
434
|
"location": {
|
435
435
|
"filePath": "lister.main.runtime.ts",
|
436
|
-
"line":
|
436
|
+
"line": 65,
|
437
437
|
"character": 5
|
438
438
|
},
|
439
439
|
"name": "showRemoteVersion",
|
@@ -441,7 +441,7 @@
|
|
441
441
|
"__schema": "InferenceTypeSchema",
|
442
442
|
"location": {
|
443
443
|
"filePath": "lister.main.runtime.ts",
|
444
|
-
"line":
|
444
|
+
"line": 65,
|
445
445
|
"character": 5
|
446
446
|
},
|
447
447
|
"type": "boolean"
|
@@ -454,7 +454,7 @@
|
|
454
454
|
"__schema": "ParameterSchema",
|
455
455
|
"location": {
|
456
456
|
"filePath": "lister.main.runtime.ts",
|
457
|
-
"line":
|
457
|
+
"line": 66,
|
458
458
|
"character": 5
|
459
459
|
},
|
460
460
|
"name": "namespacesUsingWildcards",
|
@@ -462,7 +462,7 @@
|
|
462
462
|
"__schema": "KeywordTypeSchema",
|
463
463
|
"location": {
|
464
464
|
"filePath": "lister.main.runtime.ts",
|
465
|
-
"line":
|
465
|
+
"line": 66,
|
466
466
|
"character": 32
|
467
467
|
},
|
468
468
|
"name": "string"
|
@@ -475,7 +475,7 @@
|
|
475
475
|
"__schema": "TypeRefSchema",
|
476
476
|
"location": {
|
477
477
|
"filePath": "lister.main.runtime.ts",
|
478
|
-
"line":
|
478
|
+
"line": 67,
|
479
479
|
"character": 6
|
480
480
|
},
|
481
481
|
"name": "Promise",
|
@@ -484,14 +484,14 @@
|
|
484
484
|
"__schema": "TypeArraySchema",
|
485
485
|
"location": {
|
486
486
|
"filePath": "lister.main.runtime.ts",
|
487
|
-
"line":
|
487
|
+
"line": 67,
|
488
488
|
"character": 14
|
489
489
|
},
|
490
490
|
"type": {
|
491
491
|
"__schema": "TypeRefSchema",
|
492
492
|
"location": {
|
493
493
|
"filePath": "lister.main.runtime.ts",
|
494
|
-
"line":
|
494
|
+
"line": 67,
|
495
495
|
"character": 14
|
496
496
|
},
|
497
497
|
"name": "ListScopeResult",
|
@@ -508,7 +508,7 @@
|
|
508
508
|
"__schema": "VariableLikeSchema",
|
509
509
|
"location": {
|
510
510
|
"filePath": "lister.main.runtime.ts",
|
511
|
-
"line":
|
511
|
+
"line": 81,
|
512
512
|
"character": 3
|
513
513
|
},
|
514
514
|
"signature": "(property) ListerMain.slots: never[]",
|
@@ -517,7 +517,7 @@
|
|
517
517
|
"__schema": "InferenceTypeSchema",
|
518
518
|
"location": {
|
519
519
|
"filePath": "lister.main.runtime.ts",
|
520
|
-
"line":
|
520
|
+
"line": 81,
|
521
521
|
"character": 3
|
522
522
|
},
|
523
523
|
"type": "never[]"
|
@@ -529,7 +529,7 @@
|
|
529
529
|
"__schema": "VariableLikeSchema",
|
530
530
|
"location": {
|
531
531
|
"filePath": "lister.main.runtime.ts",
|
532
|
-
"line":
|
532
|
+
"line": 82,
|
533
533
|
"character": 3
|
534
534
|
},
|
535
535
|
"signature": "(property) ListerMain.dependencies: Aspect[]",
|
@@ -538,7 +538,7 @@
|
|
538
538
|
"__schema": "InferenceTypeSchema",
|
539
539
|
"location": {
|
540
540
|
"filePath": "lister.main.runtime.ts",
|
541
|
-
"line":
|
541
|
+
"line": 82,
|
542
542
|
"character": 3
|
543
543
|
},
|
544
544
|
"type": "Aspect[]"
|
@@ -550,7 +550,7 @@
|
|
550
550
|
"__schema": "VariableLikeSchema",
|
551
551
|
"location": {
|
552
552
|
"filePath": "lister.main.runtime.ts",
|
553
|
-
"line":
|
553
|
+
"line": 83,
|
554
554
|
"character": 3
|
555
555
|
},
|
556
556
|
"signature": "(property) ListerMain.runtime: RuntimeDefinition",
|
@@ -559,7 +559,7 @@
|
|
559
559
|
"__schema": "InferenceTypeSchema",
|
560
560
|
"location": {
|
561
561
|
"filePath": "lister.main.runtime.ts",
|
562
|
-
"line":
|
562
|
+
"line": 83,
|
563
563
|
"character": 3
|
564
564
|
},
|
565
565
|
"type": "RuntimeDefinition"
|
@@ -571,7 +571,7 @@
|
|
571
571
|
"__schema": "FunctionLikeSchema",
|
572
572
|
"location": {
|
573
573
|
"filePath": "lister.main.runtime.ts",
|
574
|
-
"line":
|
574
|
+
"line": 84,
|
575
575
|
"character": 3
|
576
576
|
},
|
577
577
|
"signature": "(method) ListerMain.provider([cli, loggerMain, workspace]: [CLIMain, LoggerMain, Workspace]): Promise<ListerMain>",
|
@@ -581,7 +581,7 @@
|
|
581
581
|
"__schema": "ParameterSchema",
|
582
582
|
"location": {
|
583
583
|
"filePath": "lister.main.runtime.ts",
|
584
|
-
"line":
|
584
|
+
"line": 84,
|
585
585
|
"character": 25
|
586
586
|
},
|
587
587
|
"name": "[ cli, loggerMain, workspace ]",
|
@@ -589,7 +589,7 @@
|
|
589
589
|
"__schema": "TupleTypeSchema",
|
590
590
|
"location": {
|
591
591
|
"filePath": "lister.main.runtime.ts",
|
592
|
-
"line":
|
592
|
+
"line": 84,
|
593
593
|
"character": 55
|
594
594
|
},
|
595
595
|
"elements": [
|
@@ -597,7 +597,7 @@
|
|
597
597
|
"__schema": "TypeRefSchema",
|
598
598
|
"location": {
|
599
599
|
"filePath": "lister.main.runtime.ts",
|
600
|
-
"line":
|
600
|
+
"line": 84,
|
601
601
|
"character": 56
|
602
602
|
},
|
603
603
|
"name": "CLIMain",
|
@@ -610,7 +610,7 @@
|
|
610
610
|
"__schema": "TypeRefSchema",
|
611
611
|
"location": {
|
612
612
|
"filePath": "lister.main.runtime.ts",
|
613
|
-
"line":
|
613
|
+
"line": 84,
|
614
614
|
"character": 65
|
615
615
|
},
|
616
616
|
"name": "LoggerMain",
|
@@ -623,7 +623,7 @@
|
|
623
623
|
"__schema": "TypeRefSchema",
|
624
624
|
"location": {
|
625
625
|
"filePath": "lister.main.runtime.ts",
|
626
|
-
"line":
|
626
|
+
"line": 84,
|
627
627
|
"character": 77
|
628
628
|
},
|
629
629
|
"name": "Workspace",
|
@@ -642,7 +642,7 @@
|
|
642
642
|
"__schema": "InferenceTypeSchema",
|
643
643
|
"location": {
|
644
644
|
"filePath": "lister.main.runtime.ts",
|
645
|
-
"line":
|
645
|
+
"line": 84,
|
646
646
|
"character": 3
|
647
647
|
},
|
648
648
|
"type": "Promise<ListerMain>"
|
@@ -749,7 +749,7 @@
|
|
749
749
|
"_legacy": {
|
750
750
|
"scope": "teambit.component",
|
751
751
|
"name": "lister",
|
752
|
-
"version": "1.0.
|
752
|
+
"version": "1.0.427"
|
753
753
|
},
|
754
754
|
"_scope": "teambit.component"
|
755
755
|
}
|
@@ -1022,16 +1022,16 @@
|
|
1022
1022
|
"__schema": "ParameterSchema",
|
1023
1023
|
"location": {
|
1024
1024
|
"filePath": "lister.main.runtime.ts",
|
1025
|
-
"line":
|
1026
|
-
"character":
|
1025
|
+
"line": 26,
|
1026
|
+
"character": 5
|
1027
1027
|
},
|
1028
1028
|
"name": "logger",
|
1029
1029
|
"type": {
|
1030
1030
|
"__schema": "TypeRefSchema",
|
1031
1031
|
"location": {
|
1032
1032
|
"filePath": "lister.main.runtime.ts",
|
1033
|
-
"line":
|
1034
|
-
"character":
|
1033
|
+
"line": 26,
|
1034
|
+
"character": 21
|
1035
1035
|
},
|
1036
1036
|
"name": "Logger",
|
1037
1037
|
"componentId": {
|
@@ -1046,16 +1046,16 @@
|
|
1046
1046
|
"__schema": "ParameterSchema",
|
1047
1047
|
"location": {
|
1048
1048
|
"filePath": "lister.main.runtime.ts",
|
1049
|
-
"line":
|
1050
|
-
"character":
|
1049
|
+
"line": 27,
|
1050
|
+
"character": 5
|
1051
1051
|
},
|
1052
1052
|
"name": "workspace",
|
1053
1053
|
"type": {
|
1054
1054
|
"__schema": "TypeRefSchema",
|
1055
1055
|
"location": {
|
1056
1056
|
"filePath": "lister.main.runtime.ts",
|
1057
|
-
"line":
|
1058
|
-
"character":
|
1057
|
+
"line": 27,
|
1058
|
+
"character": 25
|
1059
1059
|
},
|
1060
1060
|
"name": "Workspace",
|
1061
1061
|
"componentId": {
|
@@ -1082,7 +1082,7 @@
|
|
1082
1082
|
"__schema": "FunctionLikeSchema",
|
1083
1083
|
"location": {
|
1084
1084
|
"filePath": "lister.main.runtime.ts",
|
1085
|
-
"line":
|
1085
|
+
"line": 30,
|
1086
1086
|
"character": 3
|
1087
1087
|
},
|
1088
1088
|
"signature": "(method) ListerMain.remoteList(scopeName: string, { namespacesUsingWildcards, includeDeprecated, includeDeleted, }: {\n namespacesUsingWildcards?: string;\n includeDeprecated?: boolean;\n includeDeleted?: boolean;\n}): Promise<ListScopeResult[]>",
|
@@ -1092,7 +1092,7 @@
|
|
1092
1092
|
"__schema": "ParameterSchema",
|
1093
1093
|
"location": {
|
1094
1094
|
"filePath": "lister.main.runtime.ts",
|
1095
|
-
"line":
|
1095
|
+
"line": 31,
|
1096
1096
|
"character": 5
|
1097
1097
|
},
|
1098
1098
|
"name": "scopeName",
|
@@ -1100,7 +1100,7 @@
|
|
1100
1100
|
"__schema": "KeywordTypeSchema",
|
1101
1101
|
"location": {
|
1102
1102
|
"filePath": "lister.main.runtime.ts",
|
1103
|
-
"line":
|
1103
|
+
"line": 31,
|
1104
1104
|
"character": 16
|
1105
1105
|
},
|
1106
1106
|
"name": "string"
|
@@ -1112,7 +1112,7 @@
|
|
1112
1112
|
"__schema": "ParameterSchema",
|
1113
1113
|
"location": {
|
1114
1114
|
"filePath": "lister.main.runtime.ts",
|
1115
|
-
"line":
|
1115
|
+
"line": 32,
|
1116
1116
|
"character": 5
|
1117
1117
|
},
|
1118
1118
|
"name": "{ namespacesUsingWildcards, includeDeprecated = true, includeDeleted = false }",
|
@@ -1120,7 +1120,7 @@
|
|
1120
1120
|
"__schema": "TypeLiteralSchema",
|
1121
1121
|
"location": {
|
1122
1122
|
"filePath": "lister.main.runtime.ts",
|
1123
|
-
"line":
|
1123
|
+
"line": 36,
|
1124
1124
|
"character": 8
|
1125
1125
|
},
|
1126
1126
|
"members": [
|
@@ -1128,7 +1128,7 @@
|
|
1128
1128
|
"__schema": "VariableLikeSchema",
|
1129
1129
|
"location": {
|
1130
1130
|
"filePath": "lister.main.runtime.ts",
|
1131
|
-
"line":
|
1131
|
+
"line": 37,
|
1132
1132
|
"character": 7
|
1133
1133
|
},
|
1134
1134
|
"signature": "(property) namespacesUsingWildcards?: string | undefined",
|
@@ -1137,7 +1137,7 @@
|
|
1137
1137
|
"__schema": "KeywordTypeSchema",
|
1138
1138
|
"location": {
|
1139
1139
|
"filePath": "lister.main.runtime.ts",
|
1140
|
-
"line":
|
1140
|
+
"line": 37,
|
1141
1141
|
"character": 34
|
1142
1142
|
},
|
1143
1143
|
"name": "string"
|
@@ -1148,7 +1148,7 @@
|
|
1148
1148
|
"__schema": "VariableLikeSchema",
|
1149
1149
|
"location": {
|
1150
1150
|
"filePath": "lister.main.runtime.ts",
|
1151
|
-
"line":
|
1151
|
+
"line": 38,
|
1152
1152
|
"character": 7
|
1153
1153
|
},
|
1154
1154
|
"signature": "(property) includeDeprecated?: boolean | undefined",
|
@@ -1157,7 +1157,7 @@
|
|
1157
1157
|
"__schema": "KeywordTypeSchema",
|
1158
1158
|
"location": {
|
1159
1159
|
"filePath": "lister.main.runtime.ts",
|
1160
|
-
"line":
|
1160
|
+
"line": 38,
|
1161
1161
|
"character": 27
|
1162
1162
|
},
|
1163
1163
|
"name": "boolean"
|
@@ -1168,7 +1168,7 @@
|
|
1168
1168
|
"__schema": "VariableLikeSchema",
|
1169
1169
|
"location": {
|
1170
1170
|
"filePath": "lister.main.runtime.ts",
|
1171
|
-
"line":
|
1171
|
+
"line": 39,
|
1172
1172
|
"character": 7
|
1173
1173
|
},
|
1174
1174
|
"signature": "(property) includeDeleted?: boolean | undefined",
|
@@ -1177,7 +1177,7 @@
|
|
1177
1177
|
"__schema": "KeywordTypeSchema",
|
1178
1178
|
"location": {
|
1179
1179
|
"filePath": "lister.main.runtime.ts",
|
1180
|
-
"line":
|
1180
|
+
"line": 39,
|
1181
1181
|
"character": 24
|
1182
1182
|
},
|
1183
1183
|
"name": "boolean"
|
@@ -1192,7 +1192,7 @@
|
|
1192
1192
|
"__schema": "VariableLikeSchema",
|
1193
1193
|
"location": {
|
1194
1194
|
"filePath": "lister.main.runtime.ts",
|
1195
|
-
"line":
|
1195
|
+
"line": 37,
|
1196
1196
|
"character": 7
|
1197
1197
|
},
|
1198
1198
|
"signature": "(property) namespacesUsingWildcards?: string | undefined",
|
@@ -1201,7 +1201,7 @@
|
|
1201
1201
|
"__schema": "KeywordTypeSchema",
|
1202
1202
|
"location": {
|
1203
1203
|
"filePath": "lister.main.runtime.ts",
|
1204
|
-
"line":
|
1204
|
+
"line": 37,
|
1205
1205
|
"character": 34
|
1206
1206
|
},
|
1207
1207
|
"name": "string"
|
@@ -1212,7 +1212,7 @@
|
|
1212
1212
|
"__schema": "VariableLikeSchema",
|
1213
1213
|
"location": {
|
1214
1214
|
"filePath": "lister.main.runtime.ts",
|
1215
|
-
"line":
|
1215
|
+
"line": 38,
|
1216
1216
|
"character": 7
|
1217
1217
|
},
|
1218
1218
|
"signature": "(property) includeDeprecated?: boolean | undefined",
|
@@ -1221,7 +1221,7 @@
|
|
1221
1221
|
"__schema": "KeywordTypeSchema",
|
1222
1222
|
"location": {
|
1223
1223
|
"filePath": "lister.main.runtime.ts",
|
1224
|
-
"line":
|
1224
|
+
"line": 38,
|
1225
1225
|
"character": 27
|
1226
1226
|
},
|
1227
1227
|
"name": "boolean"
|
@@ -1232,7 +1232,7 @@
|
|
1232
1232
|
"__schema": "VariableLikeSchema",
|
1233
1233
|
"location": {
|
1234
1234
|
"filePath": "lister.main.runtime.ts",
|
1235
|
-
"line":
|
1235
|
+
"line": 39,
|
1236
1236
|
"character": 7
|
1237
1237
|
},
|
1238
1238
|
"signature": "(property) includeDeleted?: boolean | undefined",
|
@@ -1241,7 +1241,7 @@
|
|
1241
1241
|
"__schema": "KeywordTypeSchema",
|
1242
1242
|
"location": {
|
1243
1243
|
"filePath": "lister.main.runtime.ts",
|
1244
|
-
"line":
|
1244
|
+
"line": 39,
|
1245
1245
|
"character": 24
|
1246
1246
|
},
|
1247
1247
|
"name": "boolean"
|
@@ -1256,7 +1256,7 @@
|
|
1256
1256
|
"__schema": "TypeRefSchema",
|
1257
1257
|
"location": {
|
1258
1258
|
"filePath": "lister.main.runtime.ts",
|
1259
|
-
"line":
|
1259
|
+
"line": 41,
|
1260
1260
|
"character": 6
|
1261
1261
|
},
|
1262
1262
|
"name": "Promise",
|
@@ -1265,14 +1265,14 @@
|
|
1265
1265
|
"__schema": "TypeArraySchema",
|
1266
1266
|
"location": {
|
1267
1267
|
"filePath": "lister.main.runtime.ts",
|
1268
|
-
"line":
|
1268
|
+
"line": 41,
|
1269
1269
|
"character": 14
|
1270
1270
|
},
|
1271
1271
|
"type": {
|
1272
1272
|
"__schema": "TypeRefSchema",
|
1273
1273
|
"location": {
|
1274
1274
|
"filePath": "lister.main.runtime.ts",
|
1275
|
-
"line":
|
1275
|
+
"line": 41,
|
1276
1276
|
"character": 14
|
1277
1277
|
},
|
1278
1278
|
"name": "ListScopeResult",
|
@@ -1289,7 +1289,7 @@
|
|
1289
1289
|
"__schema": "FunctionLikeSchema",
|
1290
1290
|
"location": {
|
1291
1291
|
"filePath": "lister.main.runtime.ts",
|
1292
|
-
"line":
|
1292
|
+
"line": 49,
|
1293
1293
|
"character": 3
|
1294
1294
|
},
|
1295
1295
|
"signature": "(method) ListerMain.getRemoteCompIdsByWildcards(idStr: string, includeDeprecated?: boolean): Promise<ComponentID[]>",
|
@@ -1299,7 +1299,7 @@
|
|
1299
1299
|
"__schema": "ParameterSchema",
|
1300
1300
|
"location": {
|
1301
1301
|
"filePath": "lister.main.runtime.ts",
|
1302
|
-
"line":
|
1302
|
+
"line": 49,
|
1303
1303
|
"character": 37
|
1304
1304
|
},
|
1305
1305
|
"name": "idStr",
|
@@ -1307,7 +1307,7 @@
|
|
1307
1307
|
"__schema": "KeywordTypeSchema",
|
1308
1308
|
"location": {
|
1309
1309
|
"filePath": "lister.main.runtime.ts",
|
1310
|
-
"line":
|
1310
|
+
"line": 49,
|
1311
1311
|
"character": 44
|
1312
1312
|
},
|
1313
1313
|
"name": "string"
|
@@ -1319,7 +1319,7 @@
|
|
1319
1319
|
"__schema": "ParameterSchema",
|
1320
1320
|
"location": {
|
1321
1321
|
"filePath": "lister.main.runtime.ts",
|
1322
|
-
"line":
|
1322
|
+
"line": 49,
|
1323
1323
|
"character": 52
|
1324
1324
|
},
|
1325
1325
|
"name": "includeDeprecated",
|
@@ -1327,7 +1327,7 @@
|
|
1327
1327
|
"__schema": "InferenceTypeSchema",
|
1328
1328
|
"location": {
|
1329
1329
|
"filePath": "lister.main.runtime.ts",
|
1330
|
-
"line":
|
1330
|
+
"line": 49,
|
1331
1331
|
"character": 52
|
1332
1332
|
},
|
1333
1333
|
"type": "boolean"
|
@@ -1341,7 +1341,7 @@
|
|
1341
1341
|
"__schema": "TypeRefSchema",
|
1342
1342
|
"location": {
|
1343
1343
|
"filePath": "lister.main.runtime.ts",
|
1344
|
-
"line":
|
1344
|
+
"line": 49,
|
1345
1345
|
"character": 79
|
1346
1346
|
},
|
1347
1347
|
"name": "Promise",
|
@@ -1350,14 +1350,14 @@
|
|
1350
1350
|
"__schema": "TypeArraySchema",
|
1351
1351
|
"location": {
|
1352
1352
|
"filePath": "lister.main.runtime.ts",
|
1353
|
-
"line":
|
1353
|
+
"line": 49,
|
1354
1354
|
"character": 87
|
1355
1355
|
},
|
1356
1356
|
"type": {
|
1357
1357
|
"__schema": "TypeRefSchema",
|
1358
1358
|
"location": {
|
1359
1359
|
"filePath": "lister.main.runtime.ts",
|
1360
|
-
"line":
|
1360
|
+
"line": 49,
|
1361
1361
|
"character": 87
|
1362
1362
|
},
|
1363
1363
|
"name": "ComponentID",
|
@@ -1378,7 +1378,7 @@
|
|
1378
1378
|
"__schema": "FunctionLikeSchema",
|
1379
1379
|
"location": {
|
1380
1380
|
"filePath": "lister.main.runtime.ts",
|
1381
|
-
"line":
|
1381
|
+
"line": 63,
|
1382
1382
|
"character": 3
|
1383
1383
|
},
|
1384
1384
|
"signature": "(method) ListerMain.localList(showAll?: boolean, showRemoteVersion?: boolean, namespacesUsingWildcards?: string): Promise<ListScopeResult[]>",
|
@@ -1388,7 +1388,7 @@
|
|
1388
1388
|
"__schema": "ParameterSchema",
|
1389
1389
|
"location": {
|
1390
1390
|
"filePath": "lister.main.runtime.ts",
|
1391
|
-
"line":
|
1391
|
+
"line": 64,
|
1392
1392
|
"character": 5
|
1393
1393
|
},
|
1394
1394
|
"name": "showAll",
|
@@ -1396,7 +1396,7 @@
|
|
1396
1396
|
"__schema": "InferenceTypeSchema",
|
1397
1397
|
"location": {
|
1398
1398
|
"filePath": "lister.main.runtime.ts",
|
1399
|
-
"line":
|
1399
|
+
"line": 64,
|
1400
1400
|
"character": 5
|
1401
1401
|
},
|
1402
1402
|
"type": "boolean"
|
@@ -1409,7 +1409,7 @@
|
|
1409
1409
|
"__schema": "ParameterSchema",
|
1410
1410
|
"location": {
|
1411
1411
|
"filePath": "lister.main.runtime.ts",
|
1412
|
-
"line":
|
1412
|
+
"line": 65,
|
1413
1413
|
"character": 5
|
1414
1414
|
},
|
1415
1415
|
"name": "showRemoteVersion",
|
@@ -1417,7 +1417,7 @@
|
|
1417
1417
|
"__schema": "InferenceTypeSchema",
|
1418
1418
|
"location": {
|
1419
1419
|
"filePath": "lister.main.runtime.ts",
|
1420
|
-
"line":
|
1420
|
+
"line": 65,
|
1421
1421
|
"character": 5
|
1422
1422
|
},
|
1423
1423
|
"type": "boolean"
|
@@ -1430,7 +1430,7 @@
|
|
1430
1430
|
"__schema": "ParameterSchema",
|
1431
1431
|
"location": {
|
1432
1432
|
"filePath": "lister.main.runtime.ts",
|
1433
|
-
"line":
|
1433
|
+
"line": 66,
|
1434
1434
|
"character": 5
|
1435
1435
|
},
|
1436
1436
|
"name": "namespacesUsingWildcards",
|
@@ -1438,7 +1438,7 @@
|
|
1438
1438
|
"__schema": "KeywordTypeSchema",
|
1439
1439
|
"location": {
|
1440
1440
|
"filePath": "lister.main.runtime.ts",
|
1441
|
-
"line":
|
1441
|
+
"line": 66,
|
1442
1442
|
"character": 32
|
1443
1443
|
},
|
1444
1444
|
"name": "string"
|
@@ -1451,7 +1451,7 @@
|
|
1451
1451
|
"__schema": "TypeRefSchema",
|
1452
1452
|
"location": {
|
1453
1453
|
"filePath": "lister.main.runtime.ts",
|
1454
|
-
"line":
|
1454
|
+
"line": 67,
|
1455
1455
|
"character": 6
|
1456
1456
|
},
|
1457
1457
|
"name": "Promise",
|
@@ -1460,14 +1460,14 @@
|
|
1460
1460
|
"__schema": "TypeArraySchema",
|
1461
1461
|
"location": {
|
1462
1462
|
"filePath": "lister.main.runtime.ts",
|
1463
|
-
"line":
|
1463
|
+
"line": 67,
|
1464
1464
|
"character": 14
|
1465
1465
|
},
|
1466
1466
|
"type": {
|
1467
1467
|
"__schema": "TypeRefSchema",
|
1468
1468
|
"location": {
|
1469
1469
|
"filePath": "lister.main.runtime.ts",
|
1470
|
-
"line":
|
1470
|
+
"line": 67,
|
1471
1471
|
"character": 14
|
1472
1472
|
},
|
1473
1473
|
"name": "ListScopeResult",
|
@@ -1484,7 +1484,7 @@
|
|
1484
1484
|
"__schema": "VariableLikeSchema",
|
1485
1485
|
"location": {
|
1486
1486
|
"filePath": "lister.main.runtime.ts",
|
1487
|
-
"line":
|
1487
|
+
"line": 81,
|
1488
1488
|
"character": 3
|
1489
1489
|
},
|
1490
1490
|
"signature": "(property) ListerMain.slots: never[]",
|
@@ -1493,7 +1493,7 @@
|
|
1493
1493
|
"__schema": "InferenceTypeSchema",
|
1494
1494
|
"location": {
|
1495
1495
|
"filePath": "lister.main.runtime.ts",
|
1496
|
-
"line":
|
1496
|
+
"line": 81,
|
1497
1497
|
"character": 3
|
1498
1498
|
},
|
1499
1499
|
"type": "never[]"
|
@@ -1505,7 +1505,7 @@
|
|
1505
1505
|
"__schema": "VariableLikeSchema",
|
1506
1506
|
"location": {
|
1507
1507
|
"filePath": "lister.main.runtime.ts",
|
1508
|
-
"line":
|
1508
|
+
"line": 82,
|
1509
1509
|
"character": 3
|
1510
1510
|
},
|
1511
1511
|
"signature": "(property) ListerMain.dependencies: Aspect[]",
|
@@ -1514,7 +1514,7 @@
|
|
1514
1514
|
"__schema": "InferenceTypeSchema",
|
1515
1515
|
"location": {
|
1516
1516
|
"filePath": "lister.main.runtime.ts",
|
1517
|
-
"line":
|
1517
|
+
"line": 82,
|
1518
1518
|
"character": 3
|
1519
1519
|
},
|
1520
1520
|
"type": "Aspect[]"
|
@@ -1526,7 +1526,7 @@
|
|
1526
1526
|
"__schema": "VariableLikeSchema",
|
1527
1527
|
"location": {
|
1528
1528
|
"filePath": "lister.main.runtime.ts",
|
1529
|
-
"line":
|
1529
|
+
"line": 83,
|
1530
1530
|
"character": 3
|
1531
1531
|
},
|
1532
1532
|
"signature": "(property) ListerMain.runtime: RuntimeDefinition",
|
@@ -1535,7 +1535,7 @@
|
|
1535
1535
|
"__schema": "InferenceTypeSchema",
|
1536
1536
|
"location": {
|
1537
1537
|
"filePath": "lister.main.runtime.ts",
|
1538
|
-
"line":
|
1538
|
+
"line": 83,
|
1539
1539
|
"character": 3
|
1540
1540
|
},
|
1541
1541
|
"type": "RuntimeDefinition"
|
@@ -1547,7 +1547,7 @@
|
|
1547
1547
|
"__schema": "FunctionLikeSchema",
|
1548
1548
|
"location": {
|
1549
1549
|
"filePath": "lister.main.runtime.ts",
|
1550
|
-
"line":
|
1550
|
+
"line": 84,
|
1551
1551
|
"character": 3
|
1552
1552
|
},
|
1553
1553
|
"signature": "(method) ListerMain.provider([cli, loggerMain, workspace]: [CLIMain, LoggerMain, Workspace]): Promise<ListerMain>",
|
@@ -1557,7 +1557,7 @@
|
|
1557
1557
|
"__schema": "ParameterSchema",
|
1558
1558
|
"location": {
|
1559
1559
|
"filePath": "lister.main.runtime.ts",
|
1560
|
-
"line":
|
1560
|
+
"line": 84,
|
1561
1561
|
"character": 25
|
1562
1562
|
},
|
1563
1563
|
"name": "[ cli, loggerMain, workspace ]",
|
@@ -1565,7 +1565,7 @@
|
|
1565
1565
|
"__schema": "TupleTypeSchema",
|
1566
1566
|
"location": {
|
1567
1567
|
"filePath": "lister.main.runtime.ts",
|
1568
|
-
"line":
|
1568
|
+
"line": 84,
|
1569
1569
|
"character": 55
|
1570
1570
|
},
|
1571
1571
|
"elements": [
|
@@ -1573,7 +1573,7 @@
|
|
1573
1573
|
"__schema": "TypeRefSchema",
|
1574
1574
|
"location": {
|
1575
1575
|
"filePath": "lister.main.runtime.ts",
|
1576
|
-
"line":
|
1576
|
+
"line": 84,
|
1577
1577
|
"character": 56
|
1578
1578
|
},
|
1579
1579
|
"name": "CLIMain",
|
@@ -1586,7 +1586,7 @@
|
|
1586
1586
|
"__schema": "TypeRefSchema",
|
1587
1587
|
"location": {
|
1588
1588
|
"filePath": "lister.main.runtime.ts",
|
1589
|
-
"line":
|
1589
|
+
"line": 84,
|
1590
1590
|
"character": 65
|
1591
1591
|
},
|
1592
1592
|
"name": "LoggerMain",
|
@@ -1599,7 +1599,7 @@
|
|
1599
1599
|
"__schema": "TypeRefSchema",
|
1600
1600
|
"location": {
|
1601
1601
|
"filePath": "lister.main.runtime.ts",
|
1602
|
-
"line":
|
1602
|
+
"line": 84,
|
1603
1603
|
"character": 77
|
1604
1604
|
},
|
1605
1605
|
"name": "Workspace",
|
@@ -1618,7 +1618,7 @@
|
|
1618
1618
|
"__schema": "InferenceTypeSchema",
|
1619
1619
|
"location": {
|
1620
1620
|
"filePath": "lister.main.runtime.ts",
|
1621
|
-
"line":
|
1621
|
+
"line": 84,
|
1622
1622
|
"character": 3
|
1623
1623
|
},
|
1624
1624
|
"type": "Promise<ListerMain>"
|
@@ -1638,7 +1638,7 @@
|
|
1638
1638
|
"__schema": "UnImplementedSchema",
|
1639
1639
|
"location": {
|
1640
1640
|
"filePath": "lister.main.runtime.ts",
|
1641
|
-
"line":
|
1641
|
+
"line": 92,
|
1642
1642
|
"character": 1
|
1643
1643
|
},
|
1644
1644
|
"name": "ListerAspect.addRuntime(ListerMain);",
|
@@ -1687,7 +1687,7 @@
|
|
1687
1687
|
"componentId": {
|
1688
1688
|
"scope": "teambit.component",
|
1689
1689
|
"name": "lister",
|
1690
|
-
"version": "1.0.
|
1690
|
+
"version": "1.0.427"
|
1691
1691
|
},
|
1692
1692
|
"taggedModuleExports": []
|
1693
1693
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_cli","data","require","_logger","_workspace","_loaderMessages","_exceptions","_getRemoteByName","_interopRequireDefault","_legacy","_bitError","_list","_lister","_noIdMatchWildcard","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","ListerMain","constructor","logger","workspace","remoteList","scopeName","namespacesUsingWildcards","includeDeprecated","includeDeleted","remote","getRemoteByName","consumer","setStatusLine","BEFORE_REMOTE_LIST","listResult","list","results","filter","deprecated","sortListScopeResults","getRemoteCompIdsByWildcards","idStr","includes","BitError","idSplit","split","rest","join","length","NoIdMatchWildcard","map","result","id","localList","showAll","showRemoteVersion","ConsumerNotFound","BEFORE_LOCAL_LIST","componentsList","ComponentsList","listAll","listScopeResults","sort","a","b","toString","localeCompare","provider","cli","loggerMain","createLogger","ListerAspect","lister","register","ListCmd","exports","CLIAspect","LoggerAspect","WorkspaceAspect","MainRuntime","addRuntime"],"sources":["lister.main.runtime.ts"],"sourcesContent":["import { CLIAspect, CLIMain, MainRuntime } from '@teambit/cli';\nimport { Logger, LoggerAspect, LoggerMain } from '@teambit/logger';\nimport { WorkspaceAspect, Workspace } from '@teambit/workspace';\nimport { BEFORE_LOCAL_LIST, BEFORE_REMOTE_LIST } from '@teambit/legacy/dist/cli/loader/loader-messages';\nimport { ComponentID } from '@teambit/component-id';\nimport { ConsumerNotFound } from '@teambit/legacy/dist/consumer/exceptions';\nimport { Remote } from '@teambit/legacy/dist/remotes';\nimport getRemoteByName from '@teambit/legacy/dist/remotes/get-remote-by-name';\nimport { ComponentsList } from '@teambit/legacy.component-list';\nimport { BitError } from '@teambit/bit-error';\nimport { ListCmd } from './list.cmd';\nimport { ListerAspect } from './lister.aspect';\nimport { NoIdMatchWildcard } from './no-id-match-wildcard';\n\nexport type ListScopeResult = {\n id: ComponentID;\n currentlyUsedVersion?: string | null | undefined;\n remoteVersion?: string;\n deprecated?: boolean;\n removed?: boolean;\n laneReadmeOf?: string[];\n};\n\nexport class ListerMain {\n constructor(private logger: Logger
|
1
|
+
{"version":3,"names":["_cli","data","require","_logger","_workspace","_loaderMessages","_exceptions","_getRemoteByName","_interopRequireDefault","_legacy","_bitError","_list","_lister","_noIdMatchWildcard","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","ListerMain","constructor","logger","workspace","remoteList","scopeName","namespacesUsingWildcards","includeDeprecated","includeDeleted","remote","getRemoteByName","consumer","setStatusLine","BEFORE_REMOTE_LIST","listResult","list","results","filter","deprecated","sortListScopeResults","getRemoteCompIdsByWildcards","idStr","includes","BitError","idSplit","split","rest","join","length","NoIdMatchWildcard","map","result","id","localList","showAll","showRemoteVersion","ConsumerNotFound","BEFORE_LOCAL_LIST","componentsList","ComponentsList","listAll","listScopeResults","sort","a","b","toString","localeCompare","provider","cli","loggerMain","createLogger","ListerAspect","lister","register","ListCmd","exports","CLIAspect","LoggerAspect","WorkspaceAspect","MainRuntime","addRuntime"],"sources":["lister.main.runtime.ts"],"sourcesContent":["import { CLIAspect, CLIMain, MainRuntime } from '@teambit/cli';\nimport { Logger, LoggerAspect, LoggerMain } from '@teambit/logger';\nimport { WorkspaceAspect, Workspace } from '@teambit/workspace';\nimport { BEFORE_LOCAL_LIST, BEFORE_REMOTE_LIST } from '@teambit/legacy/dist/cli/loader/loader-messages';\nimport { ComponentID } from '@teambit/component-id';\nimport { ConsumerNotFound } from '@teambit/legacy/dist/consumer/exceptions';\nimport { Remote } from '@teambit/legacy/dist/remotes';\nimport getRemoteByName from '@teambit/legacy/dist/remotes/get-remote-by-name';\nimport { ComponentsList } from '@teambit/legacy.component-list';\nimport { BitError } from '@teambit/bit-error';\nimport { ListCmd } from './list.cmd';\nimport { ListerAspect } from './lister.aspect';\nimport { NoIdMatchWildcard } from './no-id-match-wildcard';\n\nexport type ListScopeResult = {\n id: ComponentID;\n currentlyUsedVersion?: string | null | undefined;\n remoteVersion?: string;\n deprecated?: boolean;\n removed?: boolean;\n laneReadmeOf?: string[];\n};\n\nexport class ListerMain {\n constructor(\n private logger: Logger,\n private workspace?: Workspace\n ) {}\n\n async remoteList(\n scopeName: string,\n {\n namespacesUsingWildcards,\n includeDeprecated = true,\n includeDeleted = false,\n }: {\n namespacesUsingWildcards?: string;\n includeDeprecated?: boolean;\n includeDeleted?: boolean;\n }\n ): Promise<ListScopeResult[]> {\n const remote: Remote = await getRemoteByName(scopeName, this.workspace?.consumer);\n this.logger.setStatusLine(BEFORE_REMOTE_LIST);\n const listResult = await remote.list(namespacesUsingWildcards, includeDeleted);\n const results = includeDeprecated ? listResult : listResult.filter((r) => !r.deprecated);\n return this.sortListScopeResults(results);\n }\n\n async getRemoteCompIdsByWildcards(idStr: string, includeDeprecated = true): Promise<ComponentID[]> {\n if (!idStr.includes('/')) {\n throw new BitError(`import with wildcards expects full scope-name before the wildcards, instead, got \"${idStr}\"`);\n }\n const idSplit = idStr.split('/');\n const [scopeName, ...rest] = idSplit;\n const namespacesUsingWildcards = rest.join('/');\n const listResult = await this.remoteList(scopeName, { namespacesUsingWildcards, includeDeprecated });\n if (!listResult.length) {\n throw new NoIdMatchWildcard([idStr]);\n }\n return listResult.map((result) => result.id);\n }\n\n async localList(\n showAll = false,\n showRemoteVersion = false,\n namespacesUsingWildcards?: string\n ): Promise<ListScopeResult[]> {\n if (!this.workspace) {\n throw new ConsumerNotFound();\n }\n this.logger.setStatusLine(BEFORE_LOCAL_LIST);\n const componentsList = new ComponentsList(this.workspace.consumer);\n const results = await componentsList.listAll(showRemoteVersion, showAll, namespacesUsingWildcards);\n return this.sortListScopeResults(results);\n }\n\n private sortListScopeResults(listScopeResults: ListScopeResult[]): ListScopeResult[] {\n return listScopeResults.sort((a, b) => a.id.toString().localeCompare(b.id.toString()));\n }\n\n static slots = [];\n static dependencies = [CLIAspect, LoggerAspect, WorkspaceAspect];\n static runtime = MainRuntime;\n static async provider([cli, loggerMain, workspace]: [CLIMain, LoggerMain, Workspace]) {\n const logger = loggerMain.createLogger(ListerAspect.id);\n const lister = new ListerMain(logger, workspace);\n cli.register(new ListCmd(lister));\n return lister;\n }\n}\n\nListerAspect.addRuntime(ListerMain);\n"],"mappings":";;;;;;AAAA,SAAAA,KAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,IAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,QAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,OAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,WAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,UAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,gBAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,eAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAK,YAAA;EAAA,MAAAL,IAAA,GAAAC,OAAA;EAAAI,WAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAM,iBAAA;EAAA,MAAAN,IAAA,GAAAO,sBAAA,CAAAN,OAAA;EAAAK,gBAAA,YAAAA,CAAA;IAAA,OAAAN,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAQ,QAAA;EAAA,MAAAR,IAAA,GAAAC,OAAA;EAAAO,OAAA,YAAAA,CAAA;IAAA,OAAAR,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAS,UAAA;EAAA,MAAAT,IAAA,GAAAC,OAAA;EAAAQ,SAAA,YAAAA,CAAA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AACG,OAAA,CAAAvD,UAAA,GAAAA,UAAA;AAAAlB,eAAA,CAlEYkB,UAAU,WAyDN,EAAE;AAAAlB,eAAA,CAzDNkB,UAAU,kBA0DC,CAACwD,gBAAS,EAAEC,sBAAY,EAAEC,4BAAe,CAAC;AAAA5E,eAAA,CA1DrDkB,UAAU,aA2DJ2D,kBAAW;AAS9BR,sBAAY,CAACS,UAAU,CAAC5D,UAAU,CAAC","ignoreList":[]}
|
package/package.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/lister",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.427",
|
4
4
|
"homepage": "https://bit.cloud/teambit/component/lister",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"componentId": {
|
7
7
|
"scope": "teambit.component",
|
8
8
|
"name": "lister",
|
9
|
-
"version": "1.0.
|
9
|
+
"version": "1.0.427"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"chalk": "2.4.2",
|
@@ -16,11 +16,11 @@
|
|
16
16
|
"@teambit/harmony": "0.4.6",
|
17
17
|
"@teambit/bit-error": "0.0.404",
|
18
18
|
"@teambit/component-id": "1.2.2",
|
19
|
-
"@teambit/cli": "0.0.
|
19
|
+
"@teambit/cli": "0.0.1004",
|
20
20
|
"@teambit/legacy.utils": "0.0.6",
|
21
|
-
"@teambit/legacy.component-list": "0.0.
|
22
|
-
"@teambit/logger": "0.0.
|
23
|
-
"@teambit/workspace": "1.0.
|
21
|
+
"@teambit/legacy.component-list": "0.0.35",
|
22
|
+
"@teambit/logger": "0.0.1097",
|
23
|
+
"@teambit/workspace": "1.0.427"
|
24
24
|
},
|
25
25
|
"devDependencies": {
|
26
26
|
"@types/cli-table": "^0.3.0",
|
File without changes
|