@teambit/status 1.0.470 → 1.0.471
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/artifacts/__bit_junit.xml +1 -1
- package/artifacts/schema.json +180 -90
- package/dist/status.main.runtime.d.ts +6 -3
- package/dist/status.main.runtime.js +15 -19
- package/dist/status.main.runtime.js.map +1 -1
- package/package.json +11 -10
- /package/dist/{preview-1732245631025.js → preview-1732332052659.js} +0 -0
|
@@ -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/status@1.0.
|
|
3
|
+
<testsuite name="teambit.component/status@1.0.471" tests="0" failures="0" errors="0" skipped="0"/>
|
|
4
4
|
</testsuites>
|
package/artifacts/schema.json
CHANGED
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"line": 56,
|
|
40
40
|
"character": 3
|
|
41
41
|
},
|
|
42
|
-
"signature": "constructor StatusMain(workspace: Workspace, issues: IssuesMain, insights: InsightsMain, remove: RemoveMain, lanes: LanesMain): StatusMain",
|
|
42
|
+
"signature": "constructor StatusMain(workspace: Workspace, issues: IssuesMain, insights: InsightsMain, remove: RemoveMain, lanes: LanesMain, logger: Logger): StatusMain",
|
|
43
43
|
"name": "constructor",
|
|
44
44
|
"params": [
|
|
45
45
|
{
|
|
@@ -141,6 +141,26 @@
|
|
|
141
141
|
},
|
|
142
142
|
"isOptional": false,
|
|
143
143
|
"isSpread": false
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"__schema": "ParameterSchema",
|
|
147
|
+
"location": {
|
|
148
|
+
"filePath": "status.main.runtime.ts",
|
|
149
|
+
"line": 62,
|
|
150
|
+
"character": 5
|
|
151
|
+
},
|
|
152
|
+
"name": "logger",
|
|
153
|
+
"type": {
|
|
154
|
+
"__schema": "TypeRefSchema",
|
|
155
|
+
"location": {
|
|
156
|
+
"filePath": "status.main.runtime.ts",
|
|
157
|
+
"line": 62,
|
|
158
|
+
"character": 21
|
|
159
|
+
},
|
|
160
|
+
"name": "Logger"
|
|
161
|
+
},
|
|
162
|
+
"isOptional": false,
|
|
163
|
+
"isSpread": false
|
|
144
164
|
}
|
|
145
165
|
],
|
|
146
166
|
"returnType": {
|
|
@@ -158,7 +178,7 @@
|
|
|
158
178
|
"__schema": "FunctionLikeSchema",
|
|
159
179
|
"location": {
|
|
160
180
|
"filePath": "status.main.runtime.ts",
|
|
161
|
-
"line":
|
|
181
|
+
"line": 65,
|
|
162
182
|
"character": 3
|
|
163
183
|
},
|
|
164
184
|
"signature": "(method) StatusMain.status({ lanes, ignoreCircularDependencies, }: {\n lanes?: boolean;\n ignoreCircularDependencies?: boolean;\n}): Promise<StatusResult>",
|
|
@@ -168,7 +188,7 @@
|
|
|
168
188
|
"__schema": "ParameterSchema",
|
|
169
189
|
"location": {
|
|
170
190
|
"filePath": "status.main.runtime.ts",
|
|
171
|
-
"line":
|
|
191
|
+
"line": 65,
|
|
172
192
|
"character": 16
|
|
173
193
|
},
|
|
174
194
|
"name": "{ lanes, ignoreCircularDependencies }",
|
|
@@ -176,7 +196,7 @@
|
|
|
176
196
|
"__schema": "TypeLiteralSchema",
|
|
177
197
|
"location": {
|
|
178
198
|
"filePath": "status.main.runtime.ts",
|
|
179
|
-
"line":
|
|
199
|
+
"line": 68,
|
|
180
200
|
"character": 6
|
|
181
201
|
},
|
|
182
202
|
"members": [
|
|
@@ -184,7 +204,7 @@
|
|
|
184
204
|
"__schema": "VariableLikeSchema",
|
|
185
205
|
"location": {
|
|
186
206
|
"filePath": "status.main.runtime.ts",
|
|
187
|
-
"line":
|
|
207
|
+
"line": 69,
|
|
188
208
|
"character": 5
|
|
189
209
|
},
|
|
190
210
|
"signature": "(property) lanes?: boolean | undefined",
|
|
@@ -193,7 +213,7 @@
|
|
|
193
213
|
"__schema": "KeywordTypeSchema",
|
|
194
214
|
"location": {
|
|
195
215
|
"filePath": "status.main.runtime.ts",
|
|
196
|
-
"line":
|
|
216
|
+
"line": 69,
|
|
197
217
|
"character": 13
|
|
198
218
|
},
|
|
199
219
|
"name": "boolean"
|
|
@@ -204,7 +224,7 @@
|
|
|
204
224
|
"__schema": "VariableLikeSchema",
|
|
205
225
|
"location": {
|
|
206
226
|
"filePath": "status.main.runtime.ts",
|
|
207
|
-
"line":
|
|
227
|
+
"line": 70,
|
|
208
228
|
"character": 5
|
|
209
229
|
},
|
|
210
230
|
"signature": "(property) ignoreCircularDependencies?: boolean | undefined",
|
|
@@ -213,7 +233,7 @@
|
|
|
213
233
|
"__schema": "KeywordTypeSchema",
|
|
214
234
|
"location": {
|
|
215
235
|
"filePath": "status.main.runtime.ts",
|
|
216
|
-
"line":
|
|
236
|
+
"line": 70,
|
|
217
237
|
"character": 34
|
|
218
238
|
},
|
|
219
239
|
"name": "boolean"
|
|
@@ -228,7 +248,7 @@
|
|
|
228
248
|
"__schema": "VariableLikeSchema",
|
|
229
249
|
"location": {
|
|
230
250
|
"filePath": "status.main.runtime.ts",
|
|
231
|
-
"line":
|
|
251
|
+
"line": 69,
|
|
232
252
|
"character": 5
|
|
233
253
|
},
|
|
234
254
|
"signature": "(property) lanes?: boolean | undefined",
|
|
@@ -237,7 +257,7 @@
|
|
|
237
257
|
"__schema": "KeywordTypeSchema",
|
|
238
258
|
"location": {
|
|
239
259
|
"filePath": "status.main.runtime.ts",
|
|
240
|
-
"line":
|
|
260
|
+
"line": 69,
|
|
241
261
|
"character": 13
|
|
242
262
|
},
|
|
243
263
|
"name": "boolean"
|
|
@@ -248,7 +268,7 @@
|
|
|
248
268
|
"__schema": "VariableLikeSchema",
|
|
249
269
|
"location": {
|
|
250
270
|
"filePath": "status.main.runtime.ts",
|
|
251
|
-
"line":
|
|
271
|
+
"line": 70,
|
|
252
272
|
"character": 5
|
|
253
273
|
},
|
|
254
274
|
"signature": "(property) ignoreCircularDependencies?: boolean | undefined",
|
|
@@ -257,7 +277,7 @@
|
|
|
257
277
|
"__schema": "KeywordTypeSchema",
|
|
258
278
|
"location": {
|
|
259
279
|
"filePath": "status.main.runtime.ts",
|
|
260
|
-
"line":
|
|
280
|
+
"line": 70,
|
|
261
281
|
"character": 34
|
|
262
282
|
},
|
|
263
283
|
"name": "boolean"
|
|
@@ -272,7 +292,7 @@
|
|
|
272
292
|
"__schema": "TypeRefSchema",
|
|
273
293
|
"location": {
|
|
274
294
|
"filePath": "status.main.runtime.ts",
|
|
275
|
-
"line":
|
|
295
|
+
"line": 71,
|
|
276
296
|
"character": 7
|
|
277
297
|
},
|
|
278
298
|
"name": "Promise",
|
|
@@ -281,7 +301,7 @@
|
|
|
281
301
|
"__schema": "TypeRefSchema",
|
|
282
302
|
"location": {
|
|
283
303
|
"filePath": "status.main.runtime.ts",
|
|
284
|
-
"line":
|
|
304
|
+
"line": 71,
|
|
285
305
|
"character": 15
|
|
286
306
|
},
|
|
287
307
|
"name": "StatusResult"
|
|
@@ -296,7 +316,7 @@
|
|
|
296
316
|
"__schema": "FunctionLikeSchema",
|
|
297
317
|
"location": {
|
|
298
318
|
"filePath": "status.main.runtime.ts",
|
|
299
|
-
"line":
|
|
319
|
+
"line": 167,
|
|
300
320
|
"character": 3
|
|
301
321
|
},
|
|
302
322
|
"signature": "(method) StatusMain.statusMini(componentPattern?: string, opts?: MiniStatusOpts): Promise<MiniStatusResults>",
|
|
@@ -306,7 +326,7 @@
|
|
|
306
326
|
"__schema": "ParameterSchema",
|
|
307
327
|
"location": {
|
|
308
328
|
"filePath": "status.main.runtime.ts",
|
|
309
|
-
"line":
|
|
329
|
+
"line": 167,
|
|
310
330
|
"character": 20
|
|
311
331
|
},
|
|
312
332
|
"name": "componentPattern",
|
|
@@ -314,7 +334,7 @@
|
|
|
314
334
|
"__schema": "KeywordTypeSchema",
|
|
315
335
|
"location": {
|
|
316
336
|
"filePath": "status.main.runtime.ts",
|
|
317
|
-
"line":
|
|
337
|
+
"line": 167,
|
|
318
338
|
"character": 39
|
|
319
339
|
},
|
|
320
340
|
"name": "string"
|
|
@@ -326,7 +346,7 @@
|
|
|
326
346
|
"__schema": "ParameterSchema",
|
|
327
347
|
"location": {
|
|
328
348
|
"filePath": "status.main.runtime.ts",
|
|
329
|
-
"line":
|
|
349
|
+
"line": 167,
|
|
330
350
|
"character": 47
|
|
331
351
|
},
|
|
332
352
|
"name": "opts",
|
|
@@ -334,7 +354,7 @@
|
|
|
334
354
|
"__schema": "TypeRefSchema",
|
|
335
355
|
"location": {
|
|
336
356
|
"filePath": "status.main.runtime.ts",
|
|
337
|
-
"line":
|
|
357
|
+
"line": 167,
|
|
338
358
|
"character": 53
|
|
339
359
|
},
|
|
340
360
|
"name": "MiniStatusOpts"
|
|
@@ -348,7 +368,7 @@
|
|
|
348
368
|
"__schema": "TypeRefSchema",
|
|
349
369
|
"location": {
|
|
350
370
|
"filePath": "status.main.runtime.ts",
|
|
351
|
-
"line":
|
|
371
|
+
"line": 167,
|
|
352
372
|
"character": 75
|
|
353
373
|
},
|
|
354
374
|
"name": "Promise",
|
|
@@ -357,7 +377,7 @@
|
|
|
357
377
|
"__schema": "TypeRefSchema",
|
|
358
378
|
"location": {
|
|
359
379
|
"filePath": "status.main.runtime.ts",
|
|
360
|
-
"line":
|
|
380
|
+
"line": 167,
|
|
361
381
|
"character": 83
|
|
362
382
|
},
|
|
363
383
|
"name": "MiniStatusResults"
|
|
@@ -372,7 +392,7 @@
|
|
|
372
392
|
"__schema": "VariableLikeSchema",
|
|
373
393
|
"location": {
|
|
374
394
|
"filePath": "status.main.runtime.ts",
|
|
375
|
-
"line":
|
|
395
|
+
"line": 222,
|
|
376
396
|
"character": 3
|
|
377
397
|
},
|
|
378
398
|
"signature": "(property) StatusMain.slots: never[]",
|
|
@@ -381,7 +401,7 @@
|
|
|
381
401
|
"__schema": "InferenceTypeSchema",
|
|
382
402
|
"location": {
|
|
383
403
|
"filePath": "status.main.runtime.ts",
|
|
384
|
-
"line":
|
|
404
|
+
"line": 222,
|
|
385
405
|
"character": 3
|
|
386
406
|
},
|
|
387
407
|
"type": "never[]"
|
|
@@ -393,7 +413,7 @@
|
|
|
393
413
|
"__schema": "VariableLikeSchema",
|
|
394
414
|
"location": {
|
|
395
415
|
"filePath": "status.main.runtime.ts",
|
|
396
|
-
"line":
|
|
416
|
+
"line": 223,
|
|
397
417
|
"character": 3
|
|
398
418
|
},
|
|
399
419
|
"signature": "(property) StatusMain.dependencies: Aspect[]",
|
|
@@ -402,19 +422,19 @@
|
|
|
402
422
|
"__schema": "InferenceTypeSchema",
|
|
403
423
|
"location": {
|
|
404
424
|
"filePath": "status.main.runtime.ts",
|
|
405
|
-
"line":
|
|
425
|
+
"line": 223,
|
|
406
426
|
"character": 3
|
|
407
427
|
},
|
|
408
428
|
"type": "Aspect[]"
|
|
409
429
|
},
|
|
410
430
|
"isOptional": true,
|
|
411
|
-
"defaultValue": "[CLIAspect
|
|
431
|
+
"defaultValue": "[\n CLIAspect,\n WorkspaceAspect,\n InsightsAspect,\n IssuesAspect,\n RemoveAspect,\n LanesAspect,\n LoggerAspect,\n ]"
|
|
412
432
|
},
|
|
413
433
|
{
|
|
414
434
|
"__schema": "VariableLikeSchema",
|
|
415
435
|
"location": {
|
|
416
436
|
"filePath": "status.main.runtime.ts",
|
|
417
|
-
"line":
|
|
437
|
+
"line": 232,
|
|
418
438
|
"character": 3
|
|
419
439
|
},
|
|
420
440
|
"signature": "(property) StatusMain.runtime: RuntimeDefinition",
|
|
@@ -423,7 +443,7 @@
|
|
|
423
443
|
"__schema": "InferenceTypeSchema",
|
|
424
444
|
"location": {
|
|
425
445
|
"filePath": "status.main.runtime.ts",
|
|
426
|
-
"line":
|
|
446
|
+
"line": 232,
|
|
427
447
|
"character": 3
|
|
428
448
|
},
|
|
429
449
|
"type": "RuntimeDefinition"
|
|
@@ -435,33 +455,33 @@
|
|
|
435
455
|
"__schema": "FunctionLikeSchema",
|
|
436
456
|
"location": {
|
|
437
457
|
"filePath": "status.main.runtime.ts",
|
|
438
|
-
"line":
|
|
458
|
+
"line": 233,
|
|
439
459
|
"character": 3
|
|
440
460
|
},
|
|
441
|
-
"signature": "(method) StatusMain.provider([cli, workspace, insights, issues, remove, lanes]: [\n CLIMain,\n Workspace,\n InsightsMain,\n IssuesMain,\n RemoveMain,\n LanesMain\n]): Promise<StatusMain>",
|
|
461
|
+
"signature": "(method) StatusMain.provider([cli, workspace, insights, issues, remove, lanes, loggerMain]: [\n CLIMain,\n Workspace,\n InsightsMain,\n IssuesMain,\n RemoveMain,\n LanesMain,\n LoggerMain\n]): Promise<StatusMain>",
|
|
442
462
|
"name": "provider",
|
|
443
463
|
"params": [
|
|
444
464
|
{
|
|
445
465
|
"__schema": "ParameterSchema",
|
|
446
466
|
"location": {
|
|
447
467
|
"filePath": "status.main.runtime.ts",
|
|
448
|
-
"line":
|
|
468
|
+
"line": 233,
|
|
449
469
|
"character": 25
|
|
450
470
|
},
|
|
451
|
-
"name": "[ cli, workspace, insights, issues, remove, lanes ]",
|
|
471
|
+
"name": "[ cli, workspace, insights, issues, remove, lanes, loggerMain ]",
|
|
452
472
|
"type": {
|
|
453
473
|
"__schema": "TupleTypeSchema",
|
|
454
474
|
"location": {
|
|
455
475
|
"filePath": "status.main.runtime.ts",
|
|
456
|
-
"line":
|
|
457
|
-
"character":
|
|
476
|
+
"line": 233,
|
|
477
|
+
"character": 88
|
|
458
478
|
},
|
|
459
479
|
"elements": [
|
|
460
480
|
{
|
|
461
481
|
"__schema": "TypeRefSchema",
|
|
462
482
|
"location": {
|
|
463
483
|
"filePath": "status.main.runtime.ts",
|
|
464
|
-
"line":
|
|
484
|
+
"line": 234,
|
|
465
485
|
"character": 5
|
|
466
486
|
},
|
|
467
487
|
"name": "CLIMain"
|
|
@@ -470,7 +490,7 @@
|
|
|
470
490
|
"__schema": "TypeRefSchema",
|
|
471
491
|
"location": {
|
|
472
492
|
"filePath": "status.main.runtime.ts",
|
|
473
|
-
"line":
|
|
493
|
+
"line": 235,
|
|
474
494
|
"character": 5
|
|
475
495
|
},
|
|
476
496
|
"name": "Workspace"
|
|
@@ -479,7 +499,7 @@
|
|
|
479
499
|
"__schema": "TypeRefSchema",
|
|
480
500
|
"location": {
|
|
481
501
|
"filePath": "status.main.runtime.ts",
|
|
482
|
-
"line":
|
|
502
|
+
"line": 236,
|
|
483
503
|
"character": 5
|
|
484
504
|
},
|
|
485
505
|
"name": "InsightsMain"
|
|
@@ -488,7 +508,7 @@
|
|
|
488
508
|
"__schema": "TypeRefSchema",
|
|
489
509
|
"location": {
|
|
490
510
|
"filePath": "status.main.runtime.ts",
|
|
491
|
-
"line":
|
|
511
|
+
"line": 237,
|
|
492
512
|
"character": 5
|
|
493
513
|
},
|
|
494
514
|
"name": "IssuesMain"
|
|
@@ -497,7 +517,7 @@
|
|
|
497
517
|
"__schema": "TypeRefSchema",
|
|
498
518
|
"location": {
|
|
499
519
|
"filePath": "status.main.runtime.ts",
|
|
500
|
-
"line":
|
|
520
|
+
"line": 238,
|
|
501
521
|
"character": 5
|
|
502
522
|
},
|
|
503
523
|
"name": "RemoveMain"
|
|
@@ -506,10 +526,19 @@
|
|
|
506
526
|
"__schema": "TypeRefSchema",
|
|
507
527
|
"location": {
|
|
508
528
|
"filePath": "status.main.runtime.ts",
|
|
509
|
-
"line":
|
|
529
|
+
"line": 239,
|
|
510
530
|
"character": 5
|
|
511
531
|
},
|
|
512
532
|
"name": "LanesMain"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"__schema": "TypeRefSchema",
|
|
536
|
+
"location": {
|
|
537
|
+
"filePath": "status.main.runtime.ts",
|
|
538
|
+
"line": 240,
|
|
539
|
+
"character": 5
|
|
540
|
+
},
|
|
541
|
+
"name": "LoggerMain"
|
|
513
542
|
}
|
|
514
543
|
]
|
|
515
544
|
},
|
|
@@ -521,7 +550,7 @@
|
|
|
521
550
|
"__schema": "InferenceTypeSchema",
|
|
522
551
|
"location": {
|
|
523
552
|
"filePath": "status.main.runtime.ts",
|
|
524
|
-
"line":
|
|
553
|
+
"line": 233,
|
|
525
554
|
"character": 3
|
|
526
555
|
},
|
|
527
556
|
"type": "Promise<StatusMain>"
|
|
@@ -1529,7 +1558,7 @@
|
|
|
1529
1558
|
"line": 56,
|
|
1530
1559
|
"character": 3
|
|
1531
1560
|
},
|
|
1532
|
-
"signature": "constructor StatusMain(workspace: Workspace, issues: IssuesMain, insights: InsightsMain, remove: RemoveMain, lanes: LanesMain): StatusMain",
|
|
1561
|
+
"signature": "constructor StatusMain(workspace: Workspace, issues: IssuesMain, insights: InsightsMain, remove: RemoveMain, lanes: LanesMain, logger: Logger): StatusMain",
|
|
1533
1562
|
"name": "constructor",
|
|
1534
1563
|
"params": [
|
|
1535
1564
|
{
|
|
@@ -1631,6 +1660,26 @@
|
|
|
1631
1660
|
},
|
|
1632
1661
|
"isOptional": false,
|
|
1633
1662
|
"isSpread": false
|
|
1663
|
+
},
|
|
1664
|
+
{
|
|
1665
|
+
"__schema": "ParameterSchema",
|
|
1666
|
+
"location": {
|
|
1667
|
+
"filePath": "status.main.runtime.ts",
|
|
1668
|
+
"line": 62,
|
|
1669
|
+
"character": 5
|
|
1670
|
+
},
|
|
1671
|
+
"name": "logger",
|
|
1672
|
+
"type": {
|
|
1673
|
+
"__schema": "TypeRefSchema",
|
|
1674
|
+
"location": {
|
|
1675
|
+
"filePath": "status.main.runtime.ts",
|
|
1676
|
+
"line": 62,
|
|
1677
|
+
"character": 21
|
|
1678
|
+
},
|
|
1679
|
+
"name": "Logger"
|
|
1680
|
+
},
|
|
1681
|
+
"isOptional": false,
|
|
1682
|
+
"isSpread": false
|
|
1634
1683
|
}
|
|
1635
1684
|
],
|
|
1636
1685
|
"returnType": {
|
|
@@ -1648,7 +1697,7 @@
|
|
|
1648
1697
|
"__schema": "FunctionLikeSchema",
|
|
1649
1698
|
"location": {
|
|
1650
1699
|
"filePath": "status.main.runtime.ts",
|
|
1651
|
-
"line":
|
|
1700
|
+
"line": 65,
|
|
1652
1701
|
"character": 3
|
|
1653
1702
|
},
|
|
1654
1703
|
"signature": "(method) StatusMain.status({ lanes, ignoreCircularDependencies, }: {\n lanes?: boolean;\n ignoreCircularDependencies?: boolean;\n}): Promise<StatusResult>",
|
|
@@ -1658,7 +1707,7 @@
|
|
|
1658
1707
|
"__schema": "ParameterSchema",
|
|
1659
1708
|
"location": {
|
|
1660
1709
|
"filePath": "status.main.runtime.ts",
|
|
1661
|
-
"line":
|
|
1710
|
+
"line": 65,
|
|
1662
1711
|
"character": 16
|
|
1663
1712
|
},
|
|
1664
1713
|
"name": "{ lanes, ignoreCircularDependencies }",
|
|
@@ -1666,7 +1715,7 @@
|
|
|
1666
1715
|
"__schema": "TypeLiteralSchema",
|
|
1667
1716
|
"location": {
|
|
1668
1717
|
"filePath": "status.main.runtime.ts",
|
|
1669
|
-
"line":
|
|
1718
|
+
"line": 68,
|
|
1670
1719
|
"character": 6
|
|
1671
1720
|
},
|
|
1672
1721
|
"members": [
|
|
@@ -1674,7 +1723,7 @@
|
|
|
1674
1723
|
"__schema": "VariableLikeSchema",
|
|
1675
1724
|
"location": {
|
|
1676
1725
|
"filePath": "status.main.runtime.ts",
|
|
1677
|
-
"line":
|
|
1726
|
+
"line": 69,
|
|
1678
1727
|
"character": 5
|
|
1679
1728
|
},
|
|
1680
1729
|
"signature": "(property) lanes?: boolean | undefined",
|
|
@@ -1683,7 +1732,7 @@
|
|
|
1683
1732
|
"__schema": "KeywordTypeSchema",
|
|
1684
1733
|
"location": {
|
|
1685
1734
|
"filePath": "status.main.runtime.ts",
|
|
1686
|
-
"line":
|
|
1735
|
+
"line": 69,
|
|
1687
1736
|
"character": 13
|
|
1688
1737
|
},
|
|
1689
1738
|
"name": "boolean"
|
|
@@ -1694,7 +1743,7 @@
|
|
|
1694
1743
|
"__schema": "VariableLikeSchema",
|
|
1695
1744
|
"location": {
|
|
1696
1745
|
"filePath": "status.main.runtime.ts",
|
|
1697
|
-
"line":
|
|
1746
|
+
"line": 70,
|
|
1698
1747
|
"character": 5
|
|
1699
1748
|
},
|
|
1700
1749
|
"signature": "(property) ignoreCircularDependencies?: boolean | undefined",
|
|
@@ -1703,7 +1752,7 @@
|
|
|
1703
1752
|
"__schema": "KeywordTypeSchema",
|
|
1704
1753
|
"location": {
|
|
1705
1754
|
"filePath": "status.main.runtime.ts",
|
|
1706
|
-
"line":
|
|
1755
|
+
"line": 70,
|
|
1707
1756
|
"character": 34
|
|
1708
1757
|
},
|
|
1709
1758
|
"name": "boolean"
|
|
@@ -1718,7 +1767,7 @@
|
|
|
1718
1767
|
"__schema": "VariableLikeSchema",
|
|
1719
1768
|
"location": {
|
|
1720
1769
|
"filePath": "status.main.runtime.ts",
|
|
1721
|
-
"line":
|
|
1770
|
+
"line": 69,
|
|
1722
1771
|
"character": 5
|
|
1723
1772
|
},
|
|
1724
1773
|
"signature": "(property) lanes?: boolean | undefined",
|
|
@@ -1727,7 +1776,7 @@
|
|
|
1727
1776
|
"__schema": "KeywordTypeSchema",
|
|
1728
1777
|
"location": {
|
|
1729
1778
|
"filePath": "status.main.runtime.ts",
|
|
1730
|
-
"line":
|
|
1779
|
+
"line": 69,
|
|
1731
1780
|
"character": 13
|
|
1732
1781
|
},
|
|
1733
1782
|
"name": "boolean"
|
|
@@ -1738,7 +1787,7 @@
|
|
|
1738
1787
|
"__schema": "VariableLikeSchema",
|
|
1739
1788
|
"location": {
|
|
1740
1789
|
"filePath": "status.main.runtime.ts",
|
|
1741
|
-
"line":
|
|
1790
|
+
"line": 70,
|
|
1742
1791
|
"character": 5
|
|
1743
1792
|
},
|
|
1744
1793
|
"signature": "(property) ignoreCircularDependencies?: boolean | undefined",
|
|
@@ -1747,7 +1796,7 @@
|
|
|
1747
1796
|
"__schema": "KeywordTypeSchema",
|
|
1748
1797
|
"location": {
|
|
1749
1798
|
"filePath": "status.main.runtime.ts",
|
|
1750
|
-
"line":
|
|
1799
|
+
"line": 70,
|
|
1751
1800
|
"character": 34
|
|
1752
1801
|
},
|
|
1753
1802
|
"name": "boolean"
|
|
@@ -1762,7 +1811,7 @@
|
|
|
1762
1811
|
"__schema": "TypeRefSchema",
|
|
1763
1812
|
"location": {
|
|
1764
1813
|
"filePath": "status.main.runtime.ts",
|
|
1765
|
-
"line":
|
|
1814
|
+
"line": 71,
|
|
1766
1815
|
"character": 7
|
|
1767
1816
|
},
|
|
1768
1817
|
"name": "Promise",
|
|
@@ -1771,7 +1820,7 @@
|
|
|
1771
1820
|
"__schema": "TypeRefSchema",
|
|
1772
1821
|
"location": {
|
|
1773
1822
|
"filePath": "status.main.runtime.ts",
|
|
1774
|
-
"line":
|
|
1823
|
+
"line": 71,
|
|
1775
1824
|
"character": 15
|
|
1776
1825
|
},
|
|
1777
1826
|
"name": "StatusResult"
|
|
@@ -1786,7 +1835,7 @@
|
|
|
1786
1835
|
"__schema": "FunctionLikeSchema",
|
|
1787
1836
|
"location": {
|
|
1788
1837
|
"filePath": "status.main.runtime.ts",
|
|
1789
|
-
"line":
|
|
1838
|
+
"line": 167,
|
|
1790
1839
|
"character": 3
|
|
1791
1840
|
},
|
|
1792
1841
|
"signature": "(method) StatusMain.statusMini(componentPattern?: string, opts?: MiniStatusOpts): Promise<MiniStatusResults>",
|
|
@@ -1796,7 +1845,7 @@
|
|
|
1796
1845
|
"__schema": "ParameterSchema",
|
|
1797
1846
|
"location": {
|
|
1798
1847
|
"filePath": "status.main.runtime.ts",
|
|
1799
|
-
"line":
|
|
1848
|
+
"line": 167,
|
|
1800
1849
|
"character": 20
|
|
1801
1850
|
},
|
|
1802
1851
|
"name": "componentPattern",
|
|
@@ -1804,7 +1853,7 @@
|
|
|
1804
1853
|
"__schema": "KeywordTypeSchema",
|
|
1805
1854
|
"location": {
|
|
1806
1855
|
"filePath": "status.main.runtime.ts",
|
|
1807
|
-
"line":
|
|
1856
|
+
"line": 167,
|
|
1808
1857
|
"character": 39
|
|
1809
1858
|
},
|
|
1810
1859
|
"name": "string"
|
|
@@ -1816,7 +1865,7 @@
|
|
|
1816
1865
|
"__schema": "ParameterSchema",
|
|
1817
1866
|
"location": {
|
|
1818
1867
|
"filePath": "status.main.runtime.ts",
|
|
1819
|
-
"line":
|
|
1868
|
+
"line": 167,
|
|
1820
1869
|
"character": 47
|
|
1821
1870
|
},
|
|
1822
1871
|
"name": "opts",
|
|
@@ -1824,7 +1873,7 @@
|
|
|
1824
1873
|
"__schema": "TypeRefSchema",
|
|
1825
1874
|
"location": {
|
|
1826
1875
|
"filePath": "status.main.runtime.ts",
|
|
1827
|
-
"line":
|
|
1876
|
+
"line": 167,
|
|
1828
1877
|
"character": 53
|
|
1829
1878
|
},
|
|
1830
1879
|
"name": "MiniStatusOpts"
|
|
@@ -1838,7 +1887,7 @@
|
|
|
1838
1887
|
"__schema": "TypeRefSchema",
|
|
1839
1888
|
"location": {
|
|
1840
1889
|
"filePath": "status.main.runtime.ts",
|
|
1841
|
-
"line":
|
|
1890
|
+
"line": 167,
|
|
1842
1891
|
"character": 75
|
|
1843
1892
|
},
|
|
1844
1893
|
"name": "Promise",
|
|
@@ -1847,7 +1896,7 @@
|
|
|
1847
1896
|
"__schema": "TypeRefSchema",
|
|
1848
1897
|
"location": {
|
|
1849
1898
|
"filePath": "status.main.runtime.ts",
|
|
1850
|
-
"line":
|
|
1899
|
+
"line": 167,
|
|
1851
1900
|
"character": 83
|
|
1852
1901
|
},
|
|
1853
1902
|
"name": "MiniStatusResults"
|
|
@@ -1862,7 +1911,7 @@
|
|
|
1862
1911
|
"__schema": "VariableLikeSchema",
|
|
1863
1912
|
"location": {
|
|
1864
1913
|
"filePath": "status.main.runtime.ts",
|
|
1865
|
-
"line":
|
|
1914
|
+
"line": 222,
|
|
1866
1915
|
"character": 3
|
|
1867
1916
|
},
|
|
1868
1917
|
"signature": "(property) StatusMain.slots: never[]",
|
|
@@ -1871,7 +1920,7 @@
|
|
|
1871
1920
|
"__schema": "InferenceTypeSchema",
|
|
1872
1921
|
"location": {
|
|
1873
1922
|
"filePath": "status.main.runtime.ts",
|
|
1874
|
-
"line":
|
|
1923
|
+
"line": 222,
|
|
1875
1924
|
"character": 3
|
|
1876
1925
|
},
|
|
1877
1926
|
"type": "never[]"
|
|
@@ -1883,7 +1932,7 @@
|
|
|
1883
1932
|
"__schema": "VariableLikeSchema",
|
|
1884
1933
|
"location": {
|
|
1885
1934
|
"filePath": "status.main.runtime.ts",
|
|
1886
|
-
"line":
|
|
1935
|
+
"line": 223,
|
|
1887
1936
|
"character": 3
|
|
1888
1937
|
},
|
|
1889
1938
|
"signature": "(property) StatusMain.dependencies: Aspect[]",
|
|
@@ -1892,19 +1941,19 @@
|
|
|
1892
1941
|
"__schema": "InferenceTypeSchema",
|
|
1893
1942
|
"location": {
|
|
1894
1943
|
"filePath": "status.main.runtime.ts",
|
|
1895
|
-
"line":
|
|
1944
|
+
"line": 223,
|
|
1896
1945
|
"character": 3
|
|
1897
1946
|
},
|
|
1898
1947
|
"type": "Aspect[]"
|
|
1899
1948
|
},
|
|
1900
1949
|
"isOptional": true,
|
|
1901
|
-
"defaultValue": "[CLIAspect
|
|
1950
|
+
"defaultValue": "[\n CLIAspect,\n WorkspaceAspect,\n InsightsAspect,\n IssuesAspect,\n RemoveAspect,\n LanesAspect,\n LoggerAspect,\n ]"
|
|
1902
1951
|
},
|
|
1903
1952
|
{
|
|
1904
1953
|
"__schema": "VariableLikeSchema",
|
|
1905
1954
|
"location": {
|
|
1906
1955
|
"filePath": "status.main.runtime.ts",
|
|
1907
|
-
"line":
|
|
1956
|
+
"line": 232,
|
|
1908
1957
|
"character": 3
|
|
1909
1958
|
},
|
|
1910
1959
|
"signature": "(property) StatusMain.runtime: RuntimeDefinition",
|
|
@@ -1913,7 +1962,7 @@
|
|
|
1913
1962
|
"__schema": "InferenceTypeSchema",
|
|
1914
1963
|
"location": {
|
|
1915
1964
|
"filePath": "status.main.runtime.ts",
|
|
1916
|
-
"line":
|
|
1965
|
+
"line": 232,
|
|
1917
1966
|
"character": 3
|
|
1918
1967
|
},
|
|
1919
1968
|
"type": "RuntimeDefinition"
|
|
@@ -1925,33 +1974,33 @@
|
|
|
1925
1974
|
"__schema": "FunctionLikeSchema",
|
|
1926
1975
|
"location": {
|
|
1927
1976
|
"filePath": "status.main.runtime.ts",
|
|
1928
|
-
"line":
|
|
1977
|
+
"line": 233,
|
|
1929
1978
|
"character": 3
|
|
1930
1979
|
},
|
|
1931
|
-
"signature": "(method) StatusMain.provider([cli, workspace, insights, issues, remove, lanes]: [\n CLIMain,\n Workspace,\n InsightsMain,\n IssuesMain,\n RemoveMain,\n LanesMain\n]): Promise<StatusMain>",
|
|
1980
|
+
"signature": "(method) StatusMain.provider([cli, workspace, insights, issues, remove, lanes, loggerMain]: [\n CLIMain,\n Workspace,\n InsightsMain,\n IssuesMain,\n RemoveMain,\n LanesMain,\n LoggerMain\n]): Promise<StatusMain>",
|
|
1932
1981
|
"name": "provider",
|
|
1933
1982
|
"params": [
|
|
1934
1983
|
{
|
|
1935
1984
|
"__schema": "ParameterSchema",
|
|
1936
1985
|
"location": {
|
|
1937
1986
|
"filePath": "status.main.runtime.ts",
|
|
1938
|
-
"line":
|
|
1987
|
+
"line": 233,
|
|
1939
1988
|
"character": 25
|
|
1940
1989
|
},
|
|
1941
|
-
"name": "[ cli, workspace, insights, issues, remove, lanes ]",
|
|
1990
|
+
"name": "[ cli, workspace, insights, issues, remove, lanes, loggerMain ]",
|
|
1942
1991
|
"type": {
|
|
1943
1992
|
"__schema": "TupleTypeSchema",
|
|
1944
1993
|
"location": {
|
|
1945
1994
|
"filePath": "status.main.runtime.ts",
|
|
1946
|
-
"line":
|
|
1947
|
-
"character":
|
|
1995
|
+
"line": 233,
|
|
1996
|
+
"character": 88
|
|
1948
1997
|
},
|
|
1949
1998
|
"elements": [
|
|
1950
1999
|
{
|
|
1951
2000
|
"__schema": "TypeRefSchema",
|
|
1952
2001
|
"location": {
|
|
1953
2002
|
"filePath": "status.main.runtime.ts",
|
|
1954
|
-
"line":
|
|
2003
|
+
"line": 234,
|
|
1955
2004
|
"character": 5
|
|
1956
2005
|
},
|
|
1957
2006
|
"name": "CLIMain"
|
|
@@ -1960,7 +2009,7 @@
|
|
|
1960
2009
|
"__schema": "TypeRefSchema",
|
|
1961
2010
|
"location": {
|
|
1962
2011
|
"filePath": "status.main.runtime.ts",
|
|
1963
|
-
"line":
|
|
2012
|
+
"line": 235,
|
|
1964
2013
|
"character": 5
|
|
1965
2014
|
},
|
|
1966
2015
|
"name": "Workspace"
|
|
@@ -1969,7 +2018,7 @@
|
|
|
1969
2018
|
"__schema": "TypeRefSchema",
|
|
1970
2019
|
"location": {
|
|
1971
2020
|
"filePath": "status.main.runtime.ts",
|
|
1972
|
-
"line":
|
|
2021
|
+
"line": 236,
|
|
1973
2022
|
"character": 5
|
|
1974
2023
|
},
|
|
1975
2024
|
"name": "InsightsMain"
|
|
@@ -1978,7 +2027,7 @@
|
|
|
1978
2027
|
"__schema": "TypeRefSchema",
|
|
1979
2028
|
"location": {
|
|
1980
2029
|
"filePath": "status.main.runtime.ts",
|
|
1981
|
-
"line":
|
|
2030
|
+
"line": 237,
|
|
1982
2031
|
"character": 5
|
|
1983
2032
|
},
|
|
1984
2033
|
"name": "IssuesMain"
|
|
@@ -1987,7 +2036,7 @@
|
|
|
1987
2036
|
"__schema": "TypeRefSchema",
|
|
1988
2037
|
"location": {
|
|
1989
2038
|
"filePath": "status.main.runtime.ts",
|
|
1990
|
-
"line":
|
|
2039
|
+
"line": 238,
|
|
1991
2040
|
"character": 5
|
|
1992
2041
|
},
|
|
1993
2042
|
"name": "RemoveMain"
|
|
@@ -1996,10 +2045,19 @@
|
|
|
1996
2045
|
"__schema": "TypeRefSchema",
|
|
1997
2046
|
"location": {
|
|
1998
2047
|
"filePath": "status.main.runtime.ts",
|
|
1999
|
-
"line":
|
|
2048
|
+
"line": 239,
|
|
2000
2049
|
"character": 5
|
|
2001
2050
|
},
|
|
2002
2051
|
"name": "LanesMain"
|
|
2052
|
+
},
|
|
2053
|
+
{
|
|
2054
|
+
"__schema": "TypeRefSchema",
|
|
2055
|
+
"location": {
|
|
2056
|
+
"filePath": "status.main.runtime.ts",
|
|
2057
|
+
"line": 240,
|
|
2058
|
+
"character": 5
|
|
2059
|
+
},
|
|
2060
|
+
"name": "LoggerMain"
|
|
2003
2061
|
}
|
|
2004
2062
|
]
|
|
2005
2063
|
},
|
|
@@ -2011,7 +2069,7 @@
|
|
|
2011
2069
|
"__schema": "InferenceTypeSchema",
|
|
2012
2070
|
"location": {
|
|
2013
2071
|
"filePath": "status.main.runtime.ts",
|
|
2014
|
-
"line":
|
|
2072
|
+
"line": 233,
|
|
2015
2073
|
"character": 3
|
|
2016
2074
|
},
|
|
2017
2075
|
"type": "Promise<StatusMain>"
|
|
@@ -2031,7 +2089,7 @@
|
|
|
2031
2089
|
"__schema": "TypeSchema",
|
|
2032
2090
|
"location": {
|
|
2033
2091
|
"filePath": "status.main.runtime.ts",
|
|
2034
|
-
"line":
|
|
2092
|
+
"line": 22,
|
|
2035
2093
|
"character": 1
|
|
2036
2094
|
},
|
|
2037
2095
|
"signature": "type DivergeDataPerId = {\n id: ComponentID;\n divergeData: SnapsDistance;\n}",
|
|
@@ -2040,7 +2098,7 @@
|
|
|
2040
2098
|
"__schema": "TypeLiteralSchema",
|
|
2041
2099
|
"location": {
|
|
2042
2100
|
"filePath": "status.main.runtime.ts",
|
|
2043
|
-
"line":
|
|
2101
|
+
"line": 22,
|
|
2044
2102
|
"character": 25
|
|
2045
2103
|
},
|
|
2046
2104
|
"members": [
|
|
@@ -2048,7 +2106,7 @@
|
|
|
2048
2106
|
"__schema": "VariableLikeSchema",
|
|
2049
2107
|
"location": {
|
|
2050
2108
|
"filePath": "status.main.runtime.ts",
|
|
2051
|
-
"line":
|
|
2109
|
+
"line": 22,
|
|
2052
2110
|
"character": 27
|
|
2053
2111
|
},
|
|
2054
2112
|
"signature": "(property) id: ComponentID",
|
|
@@ -2057,7 +2115,7 @@
|
|
|
2057
2115
|
"__schema": "TypeRefSchema",
|
|
2058
2116
|
"location": {
|
|
2059
2117
|
"filePath": "status.main.runtime.ts",
|
|
2060
|
-
"line":
|
|
2118
|
+
"line": 22,
|
|
2061
2119
|
"character": 27
|
|
2062
2120
|
},
|
|
2063
2121
|
"name": "ComponentID",
|
|
@@ -2073,7 +2131,7 @@
|
|
|
2073
2131
|
"__schema": "VariableLikeSchema",
|
|
2074
2132
|
"location": {
|
|
2075
2133
|
"filePath": "status.main.runtime.ts",
|
|
2076
|
-
"line":
|
|
2134
|
+
"line": 22,
|
|
2077
2135
|
"character": 44
|
|
2078
2136
|
},
|
|
2079
2137
|
"signature": "(property) divergeData: SnapsDistance",
|
|
@@ -2082,7 +2140,7 @@
|
|
|
2082
2140
|
"__schema": "TypeRefSchema",
|
|
2083
2141
|
"location": {
|
|
2084
2142
|
"filePath": "status.main.runtime.ts",
|
|
2085
|
-
"line":
|
|
2143
|
+
"line": 22,
|
|
2086
2144
|
"character": 44
|
|
2087
2145
|
},
|
|
2088
2146
|
"name": "SnapsDistance",
|
|
@@ -2093,11 +2151,43 @@
|
|
|
2093
2151
|
]
|
|
2094
2152
|
}
|
|
2095
2153
|
},
|
|
2154
|
+
{
|
|
2155
|
+
"__schema": "ModuleSchema",
|
|
2156
|
+
"location": {
|
|
2157
|
+
"filePath": "status.main.runtime.ts",
|
|
2158
|
+
"line": 23,
|
|
2159
|
+
"character": 1
|
|
2160
|
+
},
|
|
2161
|
+
"exports": [
|
|
2162
|
+
{
|
|
2163
|
+
"__schema": "VariableLikeSchema",
|
|
2164
|
+
"location": {
|
|
2165
|
+
"filePath": "status.main.runtime.ts",
|
|
2166
|
+
"line": 23,
|
|
2167
|
+
"character": 7
|
|
2168
|
+
},
|
|
2169
|
+
"signature": "const BEFORE_STATUS: \"fetching status\"",
|
|
2170
|
+
"name": "BEFORE_STATUS",
|
|
2171
|
+
"type": {
|
|
2172
|
+
"__schema": "InferenceTypeSchema",
|
|
2173
|
+
"location": {
|
|
2174
|
+
"filePath": "status.main.runtime.ts",
|
|
2175
|
+
"line": 23,
|
|
2176
|
+
"character": 7
|
|
2177
|
+
},
|
|
2178
|
+
"type": "\"fetching status\""
|
|
2179
|
+
},
|
|
2180
|
+
"isOptional": false,
|
|
2181
|
+
"defaultValue": "'fetching status'"
|
|
2182
|
+
}
|
|
2183
|
+
],
|
|
2184
|
+
"internals": []
|
|
2185
|
+
},
|
|
2096
2186
|
{
|
|
2097
2187
|
"__schema": "UnImplementedSchema",
|
|
2098
2188
|
"location": {
|
|
2099
2189
|
"filePath": "status.main.runtime.ts",
|
|
2100
|
-
"line":
|
|
2190
|
+
"line": 249,
|
|
2101
2191
|
"character": 1
|
|
2102
2192
|
},
|
|
2103
2193
|
"name": "StatusAspect.addRuntime(StatusMain);",
|
|
@@ -2146,7 +2236,7 @@
|
|
|
2146
2236
|
"componentId": {
|
|
2147
2237
|
"scope": "teambit.component",
|
|
2148
2238
|
"name": "status",
|
|
2149
|
-
"version": "1.0.
|
|
2239
|
+
"version": "1.0.471"
|
|
2150
2240
|
},
|
|
2151
2241
|
"taggedModuleExports": []
|
|
2152
2242
|
}
|
|
@@ -10,6 +10,7 @@ import { InsightsMain } from '@teambit/insights';
|
|
|
10
10
|
import { SnapsDistance } from '@teambit/legacy/dist/scope/component-ops/snaps-distance';
|
|
11
11
|
import { IssuesMain } from '@teambit/issues';
|
|
12
12
|
import { MiniStatusOpts } from './mini-status-cmd';
|
|
13
|
+
import { LoggerMain, Logger } from '@teambit/logger';
|
|
13
14
|
type DivergeDataPerId = {
|
|
14
15
|
id: ComponentID;
|
|
15
16
|
divergeData: SnapsDistance;
|
|
@@ -61,7 +62,8 @@ export declare class StatusMain {
|
|
|
61
62
|
private insights;
|
|
62
63
|
private remove;
|
|
63
64
|
private lanes;
|
|
64
|
-
|
|
65
|
+
private logger;
|
|
66
|
+
constructor(workspace: Workspace, issues: IssuesMain, insights: InsightsMain, remove: RemoveMain, lanes: LanesMain, logger: Logger);
|
|
65
67
|
status({ lanes, ignoreCircularDependencies, }: {
|
|
66
68
|
lanes?: boolean;
|
|
67
69
|
ignoreCircularDependencies?: boolean;
|
|
@@ -72,13 +74,14 @@ export declare class StatusMain {
|
|
|
72
74
|
static slots: never[];
|
|
73
75
|
static dependencies: import("@teambit/harmony").Aspect[];
|
|
74
76
|
static runtime: import("@teambit/harmony").RuntimeDefinition;
|
|
75
|
-
static provider([cli, workspace, insights, issues, remove, lanes]: [
|
|
77
|
+
static provider([cli, workspace, insights, issues, remove, lanes, loggerMain]: [
|
|
76
78
|
CLIMain,
|
|
77
79
|
Workspace,
|
|
78
80
|
InsightsMain,
|
|
79
81
|
IssuesMain,
|
|
80
82
|
RemoveMain,
|
|
81
|
-
LanesMain
|
|
83
|
+
LanesMain,
|
|
84
|
+
LoggerMain
|
|
82
85
|
]): Promise<StatusMain>;
|
|
83
86
|
}
|
|
84
87
|
export {};
|
|
@@ -46,20 +46,6 @@ function _componentId() {
|
|
|
46
46
|
};
|
|
47
47
|
return data;
|
|
48
48
|
}
|
|
49
|
-
function _loader() {
|
|
50
|
-
const data = _interopRequireDefault(require("@teambit/legacy/dist/cli/loader"));
|
|
51
|
-
_loader = function () {
|
|
52
|
-
return data;
|
|
53
|
-
};
|
|
54
|
-
return data;
|
|
55
|
-
}
|
|
56
|
-
function _loaderMessages() {
|
|
57
|
-
const data = require("@teambit/legacy/dist/cli/loader/loader-messages");
|
|
58
|
-
_loaderMessages = function () {
|
|
59
|
-
return data;
|
|
60
|
-
};
|
|
61
|
-
return data;
|
|
62
|
-
}
|
|
63
49
|
function _remove() {
|
|
64
50
|
const data = require("@teambit/remove");
|
|
65
51
|
_remove = function () {
|
|
@@ -116,24 +102,33 @@ function _miniStatusCmd() {
|
|
|
116
102
|
};
|
|
117
103
|
return data;
|
|
118
104
|
}
|
|
105
|
+
function _logger() {
|
|
106
|
+
const data = require("@teambit/logger");
|
|
107
|
+
_logger = function () {
|
|
108
|
+
return data;
|
|
109
|
+
};
|
|
110
|
+
return data;
|
|
111
|
+
}
|
|
119
112
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
120
113
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
121
114
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
122
115
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
116
|
+
const BEFORE_STATUS = 'fetching status';
|
|
123
117
|
class StatusMain {
|
|
124
|
-
constructor(workspace, issues, insights, remove, lanes) {
|
|
118
|
+
constructor(workspace, issues, insights, remove, lanes, logger) {
|
|
125
119
|
this.workspace = workspace;
|
|
126
120
|
this.issues = issues;
|
|
127
121
|
this.insights = insights;
|
|
128
122
|
this.remove = remove;
|
|
129
123
|
this.lanes = lanes;
|
|
124
|
+
this.logger = logger;
|
|
130
125
|
}
|
|
131
126
|
async status({
|
|
132
127
|
lanes,
|
|
133
128
|
ignoreCircularDependencies
|
|
134
129
|
}) {
|
|
135
130
|
if (!this.workspace) throw new (_workspace().OutsideWorkspaceError)();
|
|
136
|
-
|
|
131
|
+
this.logger.setStatusLine(BEFORE_STATUS);
|
|
137
132
|
const loadOpts = {
|
|
138
133
|
loadDocs: false,
|
|
139
134
|
loadCompositions: false
|
|
@@ -278,15 +273,16 @@ class StatusMain {
|
|
|
278
273
|
}));
|
|
279
274
|
return invalidComponents;
|
|
280
275
|
}
|
|
281
|
-
static async provider([cli, workspace, insights, issues, remove, lanes]) {
|
|
282
|
-
const
|
|
276
|
+
static async provider([cli, workspace, insights, issues, remove, lanes, loggerMain]) {
|
|
277
|
+
const logger = loggerMain.createLogger(_status().StatusAspect.id);
|
|
278
|
+
const statusMain = new StatusMain(workspace, issues, insights, remove, lanes, logger);
|
|
283
279
|
cli.register(new (_statusCmd().StatusCmd)(statusMain), new (_miniStatusCmd().MiniStatusCmd)(statusMain));
|
|
284
280
|
return statusMain;
|
|
285
281
|
}
|
|
286
282
|
}
|
|
287
283
|
exports.StatusMain = StatusMain;
|
|
288
284
|
_defineProperty(StatusMain, "slots", []);
|
|
289
|
-
_defineProperty(StatusMain, "dependencies", [_cli().CLIAspect, _workspace().WorkspaceAspect, _insights().InsightsAspect, _issues().IssuesAspect, _remove().RemoveAspect, _lanes().LanesAspect]);
|
|
285
|
+
_defineProperty(StatusMain, "dependencies", [_cli().CLIAspect, _workspace().WorkspaceAspect, _insights().InsightsAspect, _issues().IssuesAspect, _remove().RemoveAspect, _lanes().LanesAspect, _logger().LoggerAspect]);
|
|
290
286
|
_defineProperty(StatusMain, "runtime", _cli().MainRuntime);
|
|
291
287
|
_status().StatusAspect.addRuntime(StatusMain);
|
|
292
288
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_cli","data","require","_pMapSeries","_interopRequireDefault","_componentIssues","_workspace","_lanes","_componentId","_loader","_loaderMessages","_remove","_componentsPendingImport","_legacy","_insights","_issues","_statusCmd","_status","_miniStatusCmd","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","StatusMain","constructor","workspace","issues","insights","remove","lanes","status","ignoreCircularDependencies","OutsideWorkspaceError","loader","start","BEFORE_STATUS","loadOpts","loadDocs","loadCompositions","components","allComps","invalidComponents","allInvalidComponents","listWithInvalid","consumer","laneObj","getCurrentLaneObject","componentsList","ComponentsList","newComponents","listNewComponents","modifiedComponents","modified","stagedComponents","listExportPendingComponents","addRemovedStagedIfNeeded","stagedComponentsWithVersions","pMapSeries","stagedComp","versions","getLocalTagsOrHashes","scope","objects","id","toComponentId","unavailableOnMain","getUnavailableOnMainComponents","autoTagPendingComponentsIds","listAutoTagPendingComponentIds","locallySoftRemoved","listLocallySoftRemoved","remotelySoftRemoved","listRemotelySoftRemoved","importPendingComponents","filter","c","err","ComponentsPendingImport","map","error","divergeInvalid","divergeDataErrorsToInvalidComp","push","outdatedComponents","listOutdatedComponents","idsDuringMergeState","listDuringMergeStateComponents","mergePendingComponents","listMergePendingComponents","length","issuesFromFlag","IssuesClasses","CircularDependencies","name","issuesToIgnore","getIssuesToIgnoreGlobally","triggerAddComponentIssues","removeIgnoredIssuesFromComponents","componentsWithIssues","component","state","isEmpty","softTaggedComponents","bySoftTagged","snappedComponents","bySnappedOnMain","pendingUpdatesFromMain","listUpdatesFromMainPending","updatesFromForked","listUpdatesFromForked","currentLaneId","getCurrentLaneId","currentLane","forkedLaneId","forkedFrom","workspaceIssues","getWorkspaceIssues","localOnly","listLocalOnly","sortObjectsWithId","objectsWithId","sort","a","b","toString","localeCompare","onDestroy","ComponentID","sortIds","autoTagPendingComponents","headVersion","latestVersion","divergeData","diverge","componentsDuringMergeState","message","statusMini","componentPattern","opts","ids","idsByPattern","listIds","compFiles","getFilesModification","newComps","forEach","comp","hasVersion","isModified","comps","showIssues","getMany","compWithIssues","removedStagedIds","getRemovedStaged","removedStagedBitIds","nonExistsInStaged","find","isEqualWithoutVersion","modelComps","Promise","all","legacyScope","getModelComponent","_consumer","modelComponent","setDivergeData","getDivergeData","provider","cli","statusMain","register","StatusCmd","MiniStatusCmd","exports","CLIAspect","WorkspaceAspect","InsightsAspect","IssuesAspect","RemoveAspect","LanesAspect","MainRuntime","StatusAspect","addRuntime"],"sources":["status.main.runtime.ts"],"sourcesContent":["import { CLIAspect, CLIMain, MainRuntime } from '@teambit/cli';\nimport pMapSeries from 'p-map-series';\nimport { LaneId } from '@teambit/lane-id';\nimport { IssuesClasses, IssuesList } from '@teambit/component-issues';\nimport { WorkspaceAspect, OutsideWorkspaceError, Workspace } from '@teambit/workspace';\nimport { LanesAspect, LanesMain } from '@teambit/lanes';\nimport { ComponentID } from '@teambit/component-id';\nimport { Component, InvalidComponent } from '@teambit/component';\nimport loader from '@teambit/legacy/dist/cli/loader';\nimport { BEFORE_STATUS } from '@teambit/legacy/dist/cli/loader/loader-messages';\nimport { RemoveAspect, RemoveMain } from '@teambit/remove';\nimport ConsumerComponent from '@teambit/legacy/dist/consumer/component';\nimport ComponentsPendingImport from '@teambit/legacy/dist/consumer/exceptions/components-pending-import';\nimport { ComponentsList } from '@teambit/legacy.component-list';\nimport { ModelComponent } from '@teambit/legacy/dist/scope/models';\nimport { InsightsAspect, InsightsMain } from '@teambit/insights';\nimport { SnapsDistance } from '@teambit/legacy/dist/scope/component-ops/snaps-distance';\nimport { IssuesAspect, IssuesMain } from '@teambit/issues';\nimport { StatusCmd } from './status-cmd';\nimport { StatusAspect } from './status.aspect';\nimport { MiniStatusCmd, MiniStatusOpts } from './mini-status-cmd';\n\ntype DivergeDataPerId = { id: ComponentID; divergeData: SnapsDistance };\n\nexport type StatusResult = {\n newComponents: ComponentID[];\n modifiedComponents: ComponentID[];\n stagedComponents: { id: ComponentID; versions: string[] }[];\n componentsWithIssues: { id: ComponentID; issues: IssuesList }[];\n importPendingComponents: ComponentID[];\n autoTagPendingComponents: ComponentID[];\n invalidComponents: { id: ComponentID; error: Error }[];\n locallySoftRemoved: ComponentID[];\n remotelySoftRemoved: ComponentID[];\n outdatedComponents: { id: ComponentID; headVersion: string; latestVersion?: string }[];\n mergePendingComponents: DivergeDataPerId[];\n componentsDuringMergeState: ComponentID[];\n softTaggedComponents: ComponentID[];\n snappedComponents: ComponentID[];\n pendingUpdatesFromMain: DivergeDataPerId[];\n updatesFromForked: DivergeDataPerId[];\n unavailableOnMain: ComponentID[];\n currentLaneId: LaneId;\n forkedLaneId?: LaneId;\n workspaceIssues: string[];\n localOnly: ComponentID[];\n};\n\nexport type MiniStatusResults = {\n modified: ComponentID[];\n newComps: ComponentID[];\n compWithIssues?: Component[];\n};\n\nexport class StatusMain {\n constructor(\n private workspace: Workspace,\n private issues: IssuesMain,\n private insights: InsightsMain,\n private remove: RemoveMain,\n private lanes: LanesMain\n ) {}\n\n async status({\n lanes,\n ignoreCircularDependencies,\n }: {\n lanes?: boolean;\n ignoreCircularDependencies?: boolean;\n }): Promise<StatusResult> {\n if (!this.workspace) throw new OutsideWorkspaceError();\n loader.start(BEFORE_STATUS);\n const loadOpts = {\n loadDocs: false,\n loadCompositions: false,\n };\n const { components: allComps, invalidComponents: allInvalidComponents } =\n await this.workspace.listWithInvalid(loadOpts);\n const consumer = this.workspace.consumer;\n const laneObj = await consumer.getCurrentLaneObject();\n const componentsList = new ComponentsList(consumer);\n const newComponents: ConsumerComponent[] = (await componentsList.listNewComponents(\n true,\n loadOpts\n )) as ConsumerComponent[];\n const modifiedComponents = await this.workspace.modified(loadOpts);\n const stagedComponents: ModelComponent[] = await componentsList.listExportPendingComponents(laneObj);\n await this.addRemovedStagedIfNeeded(stagedComponents);\n const stagedComponentsWithVersions = await pMapSeries(stagedComponents, async (stagedComp) => {\n const versions = await stagedComp.getLocalTagsOrHashes(consumer.scope.objects);\n return {\n id: stagedComp.toComponentId(),\n versions,\n };\n });\n\n const unavailableOnMain = await this.workspace.getUnavailableOnMainComponents();\n const autoTagPendingComponentsIds = await this.workspace.listAutoTagPendingComponentIds();\n const locallySoftRemoved = await componentsList.listLocallySoftRemoved();\n const remotelySoftRemoved = await componentsList.listRemotelySoftRemoved();\n const importPendingComponents = allInvalidComponents\n .filter((c) => c.err instanceof ComponentsPendingImport)\n .map((i) => i.id);\n // @ts-ignore AUTO-ADDED-AFTER-MIGRATION-PLEASE-FIX!\n const invalidComponents = allInvalidComponents.filter((c) => !(c.error instanceof ComponentsPendingImport));\n const divergeInvalid = await this.divergeDataErrorsToInvalidComp(allComps);\n invalidComponents.push(...divergeInvalid);\n const outdatedComponents = await componentsList.listOutdatedComponents();\n const idsDuringMergeState = componentsList.listDuringMergeStateComponents();\n const mergePendingComponents = await componentsList.listMergePendingComponents();\n if (allComps.length) {\n const issuesFromFlag = ignoreCircularDependencies ? [IssuesClasses.CircularDependencies.name] : [];\n const issuesToIgnore = [...this.issues.getIssuesToIgnoreGlobally(), ...issuesFromFlag];\n await this.issues.triggerAddComponentIssues(allComps, issuesToIgnore);\n this.issues.removeIgnoredIssuesFromComponents(allComps);\n }\n const componentsWithIssues = allComps.filter((component) => !component.state.issues.isEmpty());\n const softTaggedComponents = this.workspace.filter.bySoftTagged();\n const snappedComponents = await this.workspace.filter.bySnappedOnMain();\n const pendingUpdatesFromMain = lanes ? await componentsList.listUpdatesFromMainPending() : [];\n const updatesFromForked = lanes ? await this.lanes.listUpdatesFromForked(componentsList) : [];\n const currentLaneId = consumer.getCurrentLaneId();\n const currentLane = await consumer.getCurrentLaneObject();\n const forkedLaneId = currentLane?.forkedFrom;\n const workspaceIssues = this.workspace.getWorkspaceIssues();\n const localOnly = this.workspace.listLocalOnly();\n\n const sortObjectsWithId = <T>(objectsWithId: Array<T & { id: ComponentID }>): Array<T & { id: ComponentID }> => {\n return objectsWithId.sort((a, b) => a.id.toString().localeCompare(b.id.toString()));\n };\n\n await consumer.onDestroy('status');\n return {\n newComponents: ComponentID.sortIds(newComponents.map((c) => c.id)),\n modifiedComponents: ComponentID.sortIds(modifiedComponents.map((c) => c.id)),\n stagedComponents: sortObjectsWithId(stagedComponentsWithVersions),\n componentsWithIssues: sortObjectsWithId(componentsWithIssues.map((c) => ({ id: c.id, issues: c.state.issues }))),\n importPendingComponents, // no need to sort, we use only its length\n autoTagPendingComponents: ComponentID.sortIds(autoTagPendingComponentsIds),\n invalidComponents: sortObjectsWithId(invalidComponents.map((c) => ({ id: c.id, error: c.err }))),\n locallySoftRemoved: ComponentID.sortIds(locallySoftRemoved),\n remotelySoftRemoved: ComponentID.sortIds(remotelySoftRemoved.map((c) => c.id)),\n outdatedComponents: sortObjectsWithId(\n outdatedComponents.map((c) => ({\n id: c.id,\n headVersion: c.headVersion,\n latestVersion: c.latestVersion,\n }))\n ),\n mergePendingComponents: sortObjectsWithId(\n mergePendingComponents.map((c) => ({ id: c.id, divergeData: c.diverge }))\n ),\n componentsDuringMergeState: ComponentID.sortIds(idsDuringMergeState),\n softTaggedComponents: ComponentID.sortIds(softTaggedComponents),\n snappedComponents: ComponentID.sortIds(snappedComponents),\n pendingUpdatesFromMain: sortObjectsWithId(pendingUpdatesFromMain),\n updatesFromForked: sortObjectsWithId(updatesFromForked),\n unavailableOnMain,\n currentLaneId,\n forkedLaneId,\n workspaceIssues: workspaceIssues.map((err) => err.message),\n localOnly,\n };\n }\n\n async statusMini(componentPattern?: string, opts: MiniStatusOpts = {}): Promise<MiniStatusResults> {\n const ids = componentPattern ? await this.workspace.idsByPattern(componentPattern) : this.workspace.listIds();\n const compFiles = await pMapSeries(ids, (id) => this.workspace.getFilesModification(id));\n const modified: ComponentID[] = [];\n const newComps: ComponentID[] = [];\n compFiles.forEach((comp) => {\n if (!comp.id.hasVersion()) newComps.push(comp.id);\n if (comp.isModified()) modified.push(comp.id);\n });\n const loadOpts = {\n loadDocs: false,\n loadCompositions: false,\n };\n const comps = opts.showIssues ? await this.workspace.getMany(ids, loadOpts) : [];\n if (opts.showIssues) {\n const issuesFromFlag = opts.ignoreCircularDependencies ? [IssuesClasses.CircularDependencies.name] : [];\n const issuesToIgnore = [...this.issues.getIssuesToIgnoreGlobally(), ...issuesFromFlag];\n await this.issues.triggerAddComponentIssues(comps, issuesToIgnore);\n this.issues.removeIgnoredIssuesFromComponents(comps);\n }\n const compWithIssues = comps.filter((c) => !c.state.issues.isEmpty());\n\n return { modified, newComps, compWithIssues };\n }\n\n private async addRemovedStagedIfNeeded(stagedComponents: ModelComponent[]) {\n const removedStagedIds = await this.remove.getRemovedStaged();\n if (!removedStagedIds.length) return;\n const removedStagedBitIds = removedStagedIds.map((id) => id);\n const nonExistsInStaged = removedStagedBitIds.filter(\n (id) => !stagedComponents.find((c) => c.toComponentId().isEqualWithoutVersion(id))\n );\n if (!nonExistsInStaged.length) return;\n const modelComps = await Promise.all(\n nonExistsInStaged.map((id) => this.workspace.scope.legacyScope.getModelComponent(id))\n );\n stagedComponents.push(...modelComps);\n }\n\n private async divergeDataErrorsToInvalidComp(components: Component[]): Promise<InvalidComponent[]> {\n const invalidComponents: InvalidComponent[] = [];\n await Promise.all(\n components.map(async (component) => {\n const comp = component.state._consumer as ConsumerComponent;\n if (!comp.modelComponent) return;\n await comp.modelComponent.setDivergeData(this.workspace.scope.legacyScope.objects, false);\n const divergeData = comp.modelComponent.getDivergeData();\n if (divergeData.err) {\n invalidComponents.push({ id: component.id, err: divergeData.err });\n }\n })\n );\n return invalidComponents;\n }\n\n static slots = [];\n static dependencies = [CLIAspect, WorkspaceAspect, InsightsAspect, IssuesAspect, RemoveAspect, LanesAspect];\n static runtime = MainRuntime;\n static async provider([cli, workspace, insights, issues, remove, lanes]: [\n CLIMain,\n Workspace,\n InsightsMain,\n IssuesMain,\n RemoveMain,\n LanesMain,\n ]) {\n const statusMain = new StatusMain(workspace, issues, insights, remove, lanes);\n cli.register(new StatusCmd(statusMain), new MiniStatusCmd(statusMain));\n return statusMain;\n }\n}\n\nStatusAspect.addRuntime(StatusMain);\n"],"mappings":";;;;;;AAAA,SAAAA,KAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,IAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,YAAA;EAAA,MAAAF,IAAA,GAAAG,sBAAA,CAAAF,OAAA;EAAAC,WAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAI,iBAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,gBAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAK,WAAA;EAAA,MAAAL,IAAA,GAAAC,OAAA;EAAAI,UAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAM,OAAA;EAAA,MAAAN,IAAA,GAAAC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,CAACyC,IAAI,CAAC;UAAEnB,EAAE,EAAEoC,SAAS,CAACpC,EAAE;UAAEa,GAAG,EAAEwD,WAAW,CAACxD;QAAI,CAAC,CAAC;MACpE;IACF,CAAC,CACH,CAAC;IACD,OAAOnC,iBAAiB;EAC1B;EAKA,aAAa+H,QAAQA,CAAC,CAACC,GAAG,EAAEhJ,SAAS,EAAEE,QAAQ,EAAED,MAAM,EAAEE,MAAM,EAAEC,KAAK,CAOrE,EAAE;IACD,MAAM6I,UAAU,GAAG,IAAInJ,UAAU,CAACE,SAAS,EAAEC,MAAM,EAAEC,QAAQ,EAAEC,MAAM,EAAEC,KAAK,CAAC;IAC7E4I,GAAG,CAACE,QAAQ,CAAC,KAAIC,sBAAS,EAACF,UAAU,CAAC,EAAE,KAAIG,8BAAa,EAACH,UAAU,CAAC,CAAC;IACtE,OAAOA,UAAU;EACnB;AACF;AAACI,OAAA,CAAAvJ,UAAA,GAAAA,UAAA;AAAAlB,eAAA,CArLYkB,UAAU,WAsKN,EAAE;AAAAlB,eAAA,CAtKNkB,UAAU,kBAuKC,CAACwJ,gBAAS,EAAEC,4BAAe,EAAEC,0BAAc,EAAEC,sBAAY,EAAEC,sBAAY,EAAEC,oBAAW,CAAC;AAAA/K,eAAA,CAvKhGkB,UAAU,aAwKJ8J,kBAAW;AAe9BC,sBAAY,CAACC,UAAU,CAAChK,UAAU,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_cli","data","require","_pMapSeries","_interopRequireDefault","_componentIssues","_workspace","_lanes","_componentId","_remove","_componentsPendingImport","_legacy","_insights","_issues","_statusCmd","_status","_miniStatusCmd","_logger","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","BEFORE_STATUS","StatusMain","constructor","workspace","issues","insights","remove","lanes","logger","status","ignoreCircularDependencies","OutsideWorkspaceError","setStatusLine","loadOpts","loadDocs","loadCompositions","components","allComps","invalidComponents","allInvalidComponents","listWithInvalid","consumer","laneObj","getCurrentLaneObject","componentsList","ComponentsList","newComponents","listNewComponents","modifiedComponents","modified","stagedComponents","listExportPendingComponents","addRemovedStagedIfNeeded","stagedComponentsWithVersions","pMapSeries","stagedComp","versions","getLocalTagsOrHashes","scope","objects","id","toComponentId","unavailableOnMain","getUnavailableOnMainComponents","autoTagPendingComponentsIds","listAutoTagPendingComponentIds","locallySoftRemoved","listLocallySoftRemoved","remotelySoftRemoved","listRemotelySoftRemoved","importPendingComponents","filter","c","err","ComponentsPendingImport","map","error","divergeInvalid","divergeDataErrorsToInvalidComp","push","outdatedComponents","listOutdatedComponents","idsDuringMergeState","listDuringMergeStateComponents","mergePendingComponents","listMergePendingComponents","length","issuesFromFlag","IssuesClasses","CircularDependencies","name","issuesToIgnore","getIssuesToIgnoreGlobally","triggerAddComponentIssues","removeIgnoredIssuesFromComponents","componentsWithIssues","component","state","isEmpty","softTaggedComponents","bySoftTagged","snappedComponents","bySnappedOnMain","pendingUpdatesFromMain","listUpdatesFromMainPending","updatesFromForked","listUpdatesFromForked","currentLaneId","getCurrentLaneId","currentLane","forkedLaneId","forkedFrom","workspaceIssues","getWorkspaceIssues","localOnly","listLocalOnly","sortObjectsWithId","objectsWithId","sort","a","b","toString","localeCompare","onDestroy","ComponentID","sortIds","autoTagPendingComponents","headVersion","latestVersion","divergeData","diverge","componentsDuringMergeState","message","statusMini","componentPattern","opts","ids","idsByPattern","listIds","compFiles","getFilesModification","newComps","forEach","comp","hasVersion","isModified","comps","showIssues","getMany","compWithIssues","removedStagedIds","getRemovedStaged","removedStagedBitIds","nonExistsInStaged","find","isEqualWithoutVersion","modelComps","Promise","all","legacyScope","getModelComponent","_consumer","modelComponent","setDivergeData","getDivergeData","provider","cli","loggerMain","createLogger","StatusAspect","statusMain","register","StatusCmd","MiniStatusCmd","exports","CLIAspect","WorkspaceAspect","InsightsAspect","IssuesAspect","RemoveAspect","LanesAspect","LoggerAspect","MainRuntime","addRuntime"],"sources":["status.main.runtime.ts"],"sourcesContent":["import { CLIAspect, CLIMain, MainRuntime } from '@teambit/cli';\nimport pMapSeries from 'p-map-series';\nimport { LaneId } from '@teambit/lane-id';\nimport { IssuesClasses, IssuesList } from '@teambit/component-issues';\nimport { WorkspaceAspect, OutsideWorkspaceError, Workspace } from '@teambit/workspace';\nimport { LanesAspect, LanesMain } from '@teambit/lanes';\nimport { ComponentID } from '@teambit/component-id';\nimport { Component, InvalidComponent } from '@teambit/component';\nimport { RemoveAspect, RemoveMain } from '@teambit/remove';\nimport ConsumerComponent from '@teambit/legacy/dist/consumer/component';\nimport ComponentsPendingImport from '@teambit/legacy/dist/consumer/exceptions/components-pending-import';\nimport { ComponentsList } from '@teambit/legacy.component-list';\nimport { ModelComponent } from '@teambit/legacy/dist/scope/models';\nimport { InsightsAspect, InsightsMain } from '@teambit/insights';\nimport { SnapsDistance } from '@teambit/legacy/dist/scope/component-ops/snaps-distance';\nimport { IssuesAspect, IssuesMain } from '@teambit/issues';\nimport { StatusCmd } from './status-cmd';\nimport { StatusAspect } from './status.aspect';\nimport { MiniStatusCmd, MiniStatusOpts } from './mini-status-cmd';\nimport { LoggerAspect, LoggerMain, Logger } from '@teambit/logger';\n\ntype DivergeDataPerId = { id: ComponentID; divergeData: SnapsDistance };\nconst BEFORE_STATUS = 'fetching status';\n\nexport type StatusResult = {\n newComponents: ComponentID[];\n modifiedComponents: ComponentID[];\n stagedComponents: { id: ComponentID; versions: string[] }[];\n componentsWithIssues: { id: ComponentID; issues: IssuesList }[];\n importPendingComponents: ComponentID[];\n autoTagPendingComponents: ComponentID[];\n invalidComponents: { id: ComponentID; error: Error }[];\n locallySoftRemoved: ComponentID[];\n remotelySoftRemoved: ComponentID[];\n outdatedComponents: { id: ComponentID; headVersion: string; latestVersion?: string }[];\n mergePendingComponents: DivergeDataPerId[];\n componentsDuringMergeState: ComponentID[];\n softTaggedComponents: ComponentID[];\n snappedComponents: ComponentID[];\n pendingUpdatesFromMain: DivergeDataPerId[];\n updatesFromForked: DivergeDataPerId[];\n unavailableOnMain: ComponentID[];\n currentLaneId: LaneId;\n forkedLaneId?: LaneId;\n workspaceIssues: string[];\n localOnly: ComponentID[];\n};\n\nexport type MiniStatusResults = {\n modified: ComponentID[];\n newComps: ComponentID[];\n compWithIssues?: Component[];\n};\n\nexport class StatusMain {\n constructor(\n private workspace: Workspace,\n private issues: IssuesMain,\n private insights: InsightsMain,\n private remove: RemoveMain,\n private lanes: LanesMain,\n private logger: Logger\n ) {}\n\n async status({\n lanes,\n ignoreCircularDependencies,\n }: {\n lanes?: boolean;\n ignoreCircularDependencies?: boolean;\n }): Promise<StatusResult> {\n if (!this.workspace) throw new OutsideWorkspaceError();\n this.logger.setStatusLine(BEFORE_STATUS);\n const loadOpts = {\n loadDocs: false,\n loadCompositions: false,\n };\n const { components: allComps, invalidComponents: allInvalidComponents } =\n await this.workspace.listWithInvalid(loadOpts);\n const consumer = this.workspace.consumer;\n const laneObj = await consumer.getCurrentLaneObject();\n const componentsList = new ComponentsList(consumer);\n const newComponents: ConsumerComponent[] = (await componentsList.listNewComponents(\n true,\n loadOpts\n )) as ConsumerComponent[];\n const modifiedComponents = await this.workspace.modified(loadOpts);\n const stagedComponents: ModelComponent[] = await componentsList.listExportPendingComponents(laneObj);\n await this.addRemovedStagedIfNeeded(stagedComponents);\n const stagedComponentsWithVersions = await pMapSeries(stagedComponents, async (stagedComp) => {\n const versions = await stagedComp.getLocalTagsOrHashes(consumer.scope.objects);\n return {\n id: stagedComp.toComponentId(),\n versions,\n };\n });\n\n const unavailableOnMain = await this.workspace.getUnavailableOnMainComponents();\n const autoTagPendingComponentsIds = await this.workspace.listAutoTagPendingComponentIds();\n const locallySoftRemoved = await componentsList.listLocallySoftRemoved();\n const remotelySoftRemoved = await componentsList.listRemotelySoftRemoved();\n const importPendingComponents = allInvalidComponents\n .filter((c) => c.err instanceof ComponentsPendingImport)\n .map((i) => i.id);\n // @ts-ignore AUTO-ADDED-AFTER-MIGRATION-PLEASE-FIX!\n const invalidComponents = allInvalidComponents.filter((c) => !(c.error instanceof ComponentsPendingImport));\n const divergeInvalid = await this.divergeDataErrorsToInvalidComp(allComps);\n invalidComponents.push(...divergeInvalid);\n const outdatedComponents = await componentsList.listOutdatedComponents();\n const idsDuringMergeState = componentsList.listDuringMergeStateComponents();\n const mergePendingComponents = await componentsList.listMergePendingComponents();\n if (allComps.length) {\n const issuesFromFlag = ignoreCircularDependencies ? [IssuesClasses.CircularDependencies.name] : [];\n const issuesToIgnore = [...this.issues.getIssuesToIgnoreGlobally(), ...issuesFromFlag];\n await this.issues.triggerAddComponentIssues(allComps, issuesToIgnore);\n this.issues.removeIgnoredIssuesFromComponents(allComps);\n }\n const componentsWithIssues = allComps.filter((component) => !component.state.issues.isEmpty());\n const softTaggedComponents = this.workspace.filter.bySoftTagged();\n const snappedComponents = await this.workspace.filter.bySnappedOnMain();\n const pendingUpdatesFromMain = lanes ? await componentsList.listUpdatesFromMainPending() : [];\n const updatesFromForked = lanes ? await this.lanes.listUpdatesFromForked(componentsList) : [];\n const currentLaneId = consumer.getCurrentLaneId();\n const currentLane = await consumer.getCurrentLaneObject();\n const forkedLaneId = currentLane?.forkedFrom;\n const workspaceIssues = this.workspace.getWorkspaceIssues();\n const localOnly = this.workspace.listLocalOnly();\n\n const sortObjectsWithId = <T>(objectsWithId: Array<T & { id: ComponentID }>): Array<T & { id: ComponentID }> => {\n return objectsWithId.sort((a, b) => a.id.toString().localeCompare(b.id.toString()));\n };\n\n await consumer.onDestroy('status');\n return {\n newComponents: ComponentID.sortIds(newComponents.map((c) => c.id)),\n modifiedComponents: ComponentID.sortIds(modifiedComponents.map((c) => c.id)),\n stagedComponents: sortObjectsWithId(stagedComponentsWithVersions),\n componentsWithIssues: sortObjectsWithId(componentsWithIssues.map((c) => ({ id: c.id, issues: c.state.issues }))),\n importPendingComponents, // no need to sort, we use only its length\n autoTagPendingComponents: ComponentID.sortIds(autoTagPendingComponentsIds),\n invalidComponents: sortObjectsWithId(invalidComponents.map((c) => ({ id: c.id, error: c.err }))),\n locallySoftRemoved: ComponentID.sortIds(locallySoftRemoved),\n remotelySoftRemoved: ComponentID.sortIds(remotelySoftRemoved.map((c) => c.id)),\n outdatedComponents: sortObjectsWithId(\n outdatedComponents.map((c) => ({\n id: c.id,\n headVersion: c.headVersion,\n latestVersion: c.latestVersion,\n }))\n ),\n mergePendingComponents: sortObjectsWithId(\n mergePendingComponents.map((c) => ({ id: c.id, divergeData: c.diverge }))\n ),\n componentsDuringMergeState: ComponentID.sortIds(idsDuringMergeState),\n softTaggedComponents: ComponentID.sortIds(softTaggedComponents),\n snappedComponents: ComponentID.sortIds(snappedComponents),\n pendingUpdatesFromMain: sortObjectsWithId(pendingUpdatesFromMain),\n updatesFromForked: sortObjectsWithId(updatesFromForked),\n unavailableOnMain,\n currentLaneId,\n forkedLaneId,\n workspaceIssues: workspaceIssues.map((err) => err.message),\n localOnly,\n };\n }\n\n async statusMini(componentPattern?: string, opts: MiniStatusOpts = {}): Promise<MiniStatusResults> {\n const ids = componentPattern ? await this.workspace.idsByPattern(componentPattern) : this.workspace.listIds();\n const compFiles = await pMapSeries(ids, (id) => this.workspace.getFilesModification(id));\n const modified: ComponentID[] = [];\n const newComps: ComponentID[] = [];\n compFiles.forEach((comp) => {\n if (!comp.id.hasVersion()) newComps.push(comp.id);\n if (comp.isModified()) modified.push(comp.id);\n });\n const loadOpts = {\n loadDocs: false,\n loadCompositions: false,\n };\n const comps = opts.showIssues ? await this.workspace.getMany(ids, loadOpts) : [];\n if (opts.showIssues) {\n const issuesFromFlag = opts.ignoreCircularDependencies ? [IssuesClasses.CircularDependencies.name] : [];\n const issuesToIgnore = [...this.issues.getIssuesToIgnoreGlobally(), ...issuesFromFlag];\n await this.issues.triggerAddComponentIssues(comps, issuesToIgnore);\n this.issues.removeIgnoredIssuesFromComponents(comps);\n }\n const compWithIssues = comps.filter((c) => !c.state.issues.isEmpty());\n\n return { modified, newComps, compWithIssues };\n }\n\n private async addRemovedStagedIfNeeded(stagedComponents: ModelComponent[]) {\n const removedStagedIds = await this.remove.getRemovedStaged();\n if (!removedStagedIds.length) return;\n const removedStagedBitIds = removedStagedIds.map((id) => id);\n const nonExistsInStaged = removedStagedBitIds.filter(\n (id) => !stagedComponents.find((c) => c.toComponentId().isEqualWithoutVersion(id))\n );\n if (!nonExistsInStaged.length) return;\n const modelComps = await Promise.all(\n nonExistsInStaged.map((id) => this.workspace.scope.legacyScope.getModelComponent(id))\n );\n stagedComponents.push(...modelComps);\n }\n\n private async divergeDataErrorsToInvalidComp(components: Component[]): Promise<InvalidComponent[]> {\n const invalidComponents: InvalidComponent[] = [];\n await Promise.all(\n components.map(async (component) => {\n const comp = component.state._consumer as ConsumerComponent;\n if (!comp.modelComponent) return;\n await comp.modelComponent.setDivergeData(this.workspace.scope.legacyScope.objects, false);\n const divergeData = comp.modelComponent.getDivergeData();\n if (divergeData.err) {\n invalidComponents.push({ id: component.id, err: divergeData.err });\n }\n })\n );\n return invalidComponents;\n }\n\n static slots = [];\n static dependencies = [\n CLIAspect,\n WorkspaceAspect,\n InsightsAspect,\n IssuesAspect,\n RemoveAspect,\n LanesAspect,\n LoggerAspect,\n ];\n static runtime = MainRuntime;\n static async provider([cli, workspace, insights, issues, remove, lanes, loggerMain]: [\n CLIMain,\n Workspace,\n InsightsMain,\n IssuesMain,\n RemoveMain,\n LanesMain,\n LoggerMain,\n ]) {\n const logger = loggerMain.createLogger(StatusAspect.id);\n const statusMain = new StatusMain(workspace, issues, insights, remove, lanes, logger);\n cli.register(new StatusCmd(statusMain), new MiniStatusCmd(statusMain));\n return statusMain;\n }\n}\n\nStatusAspect.addRuntime(StatusMain);\n"],"mappings":";;;;;;AAAA,SAAAA,KAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,IAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,YAAA;EAAA,MAAAF,IAAA,GAA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AA,CAhLUmB,UAAU,aAiLJiK,kBAAW;AAiB9Bb,sBAAY,CAACc,UAAU,CAAClK,UAAU,CAAC","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/status",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.471",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/component/status",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.component",
|
|
8
8
|
"name": "status",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.471"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"chalk": "2.4.2",
|
|
@@ -16,15 +16,16 @@
|
|
|
16
16
|
"@teambit/component-version": "1.0.3",
|
|
17
17
|
"@teambit/harmony": "0.4.6",
|
|
18
18
|
"@teambit/lane-id": "0.0.311",
|
|
19
|
-
"@teambit/cli": "0.0.
|
|
19
|
+
"@teambit/cli": "0.0.1048",
|
|
20
20
|
"@teambit/component-issues": "0.0.151",
|
|
21
|
-
"@teambit/component": "1.0.
|
|
22
|
-
"@teambit/insights": "1.0.
|
|
23
|
-
"@teambit/issues": "1.0.
|
|
24
|
-
"@teambit/lanes": "1.0.
|
|
25
|
-
"@teambit/legacy.component-list": "0.0.
|
|
26
|
-
"@teambit/
|
|
27
|
-
"@teambit/
|
|
21
|
+
"@teambit/component": "1.0.471",
|
|
22
|
+
"@teambit/insights": "1.0.471",
|
|
23
|
+
"@teambit/issues": "1.0.471",
|
|
24
|
+
"@teambit/lanes": "1.0.471",
|
|
25
|
+
"@teambit/legacy.component-list": "0.0.49",
|
|
26
|
+
"@teambit/logger": "0.0.1141",
|
|
27
|
+
"@teambit/remove": "1.0.471",
|
|
28
|
+
"@teambit/workspace": "1.0.471"
|
|
28
29
|
},
|
|
29
30
|
"devDependencies": {
|
|
30
31
|
"@types/lodash": "4.14.165",
|
|
File without changes
|