@teambit/status 1.0.424 → 1.0.426
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/status@1.0.
|
|
3
|
+
<testsuite name="teambit.component/status@1.0.426" tests="0" failures="0" errors="0" skipped="0"/>
|
|
4
4
|
</testsuites>
|
package/artifacts/schema.json
CHANGED
|
@@ -317,7 +317,7 @@
|
|
|
317
317
|
"__schema": "FunctionLikeSchema",
|
|
318
318
|
"location": {
|
|
319
319
|
"filePath": "status.main.runtime.ts",
|
|
320
|
-
"line":
|
|
320
|
+
"line": 166,
|
|
321
321
|
"character": 3
|
|
322
322
|
},
|
|
323
323
|
"signature": "(method) StatusMain.statusMini(componentPattern?: string, opts?: MiniStatusOpts): Promise<MiniStatusResults>",
|
|
@@ -327,7 +327,7 @@
|
|
|
327
327
|
"__schema": "ParameterSchema",
|
|
328
328
|
"location": {
|
|
329
329
|
"filePath": "status.main.runtime.ts",
|
|
330
|
-
"line":
|
|
330
|
+
"line": 166,
|
|
331
331
|
"character": 20
|
|
332
332
|
},
|
|
333
333
|
"name": "componentPattern",
|
|
@@ -335,7 +335,7 @@
|
|
|
335
335
|
"__schema": "KeywordTypeSchema",
|
|
336
336
|
"location": {
|
|
337
337
|
"filePath": "status.main.runtime.ts",
|
|
338
|
-
"line":
|
|
338
|
+
"line": 166,
|
|
339
339
|
"character": 39
|
|
340
340
|
},
|
|
341
341
|
"name": "string"
|
|
@@ -347,7 +347,7 @@
|
|
|
347
347
|
"__schema": "ParameterSchema",
|
|
348
348
|
"location": {
|
|
349
349
|
"filePath": "status.main.runtime.ts",
|
|
350
|
-
"line":
|
|
350
|
+
"line": 166,
|
|
351
351
|
"character": 47
|
|
352
352
|
},
|
|
353
353
|
"name": "opts",
|
|
@@ -355,7 +355,7 @@
|
|
|
355
355
|
"__schema": "TypeRefSchema",
|
|
356
356
|
"location": {
|
|
357
357
|
"filePath": "status.main.runtime.ts",
|
|
358
|
-
"line":
|
|
358
|
+
"line": 166,
|
|
359
359
|
"character": 53
|
|
360
360
|
},
|
|
361
361
|
"name": "MiniStatusOpts",
|
|
@@ -370,7 +370,7 @@
|
|
|
370
370
|
"__schema": "TypeRefSchema",
|
|
371
371
|
"location": {
|
|
372
372
|
"filePath": "status.main.runtime.ts",
|
|
373
|
-
"line":
|
|
373
|
+
"line": 166,
|
|
374
374
|
"character": 75
|
|
375
375
|
},
|
|
376
376
|
"name": "Promise",
|
|
@@ -379,7 +379,7 @@
|
|
|
379
379
|
"__schema": "TypeRefSchema",
|
|
380
380
|
"location": {
|
|
381
381
|
"filePath": "status.main.runtime.ts",
|
|
382
|
-
"line":
|
|
382
|
+
"line": 166,
|
|
383
383
|
"character": 83
|
|
384
384
|
},
|
|
385
385
|
"name": "MiniStatusResults",
|
|
@@ -395,7 +395,7 @@
|
|
|
395
395
|
"__schema": "VariableLikeSchema",
|
|
396
396
|
"location": {
|
|
397
397
|
"filePath": "status.main.runtime.ts",
|
|
398
|
-
"line":
|
|
398
|
+
"line": 221,
|
|
399
399
|
"character": 3
|
|
400
400
|
},
|
|
401
401
|
"signature": "(property) StatusMain.slots: never[]",
|
|
@@ -404,7 +404,7 @@
|
|
|
404
404
|
"__schema": "InferenceTypeSchema",
|
|
405
405
|
"location": {
|
|
406
406
|
"filePath": "status.main.runtime.ts",
|
|
407
|
-
"line":
|
|
407
|
+
"line": 221,
|
|
408
408
|
"character": 3
|
|
409
409
|
},
|
|
410
410
|
"type": "never[]"
|
|
@@ -416,7 +416,7 @@
|
|
|
416
416
|
"__schema": "VariableLikeSchema",
|
|
417
417
|
"location": {
|
|
418
418
|
"filePath": "status.main.runtime.ts",
|
|
419
|
-
"line":
|
|
419
|
+
"line": 222,
|
|
420
420
|
"character": 3
|
|
421
421
|
},
|
|
422
422
|
"signature": "(property) StatusMain.dependencies: Aspect[]",
|
|
@@ -425,7 +425,7 @@
|
|
|
425
425
|
"__schema": "InferenceTypeSchema",
|
|
426
426
|
"location": {
|
|
427
427
|
"filePath": "status.main.runtime.ts",
|
|
428
|
-
"line":
|
|
428
|
+
"line": 222,
|
|
429
429
|
"character": 3
|
|
430
430
|
},
|
|
431
431
|
"type": "Aspect[]"
|
|
@@ -437,7 +437,7 @@
|
|
|
437
437
|
"__schema": "VariableLikeSchema",
|
|
438
438
|
"location": {
|
|
439
439
|
"filePath": "status.main.runtime.ts",
|
|
440
|
-
"line":
|
|
440
|
+
"line": 223,
|
|
441
441
|
"character": 3
|
|
442
442
|
},
|
|
443
443
|
"signature": "(property) StatusMain.runtime: RuntimeDefinition",
|
|
@@ -446,7 +446,7 @@
|
|
|
446
446
|
"__schema": "InferenceTypeSchema",
|
|
447
447
|
"location": {
|
|
448
448
|
"filePath": "status.main.runtime.ts",
|
|
449
|
-
"line":
|
|
449
|
+
"line": 223,
|
|
450
450
|
"character": 3
|
|
451
451
|
},
|
|
452
452
|
"type": "RuntimeDefinition"
|
|
@@ -458,7 +458,7 @@
|
|
|
458
458
|
"__schema": "FunctionLikeSchema",
|
|
459
459
|
"location": {
|
|
460
460
|
"filePath": "status.main.runtime.ts",
|
|
461
|
-
"line":
|
|
461
|
+
"line": 224,
|
|
462
462
|
"character": 3
|
|
463
463
|
},
|
|
464
464
|
"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>",
|
|
@@ -468,7 +468,7 @@
|
|
|
468
468
|
"__schema": "ParameterSchema",
|
|
469
469
|
"location": {
|
|
470
470
|
"filePath": "status.main.runtime.ts",
|
|
471
|
-
"line":
|
|
471
|
+
"line": 224,
|
|
472
472
|
"character": 25
|
|
473
473
|
},
|
|
474
474
|
"name": "[ cli, workspace, insights, issues, remove, lanes ]",
|
|
@@ -476,7 +476,7 @@
|
|
|
476
476
|
"__schema": "TupleTypeSchema",
|
|
477
477
|
"location": {
|
|
478
478
|
"filePath": "status.main.runtime.ts",
|
|
479
|
-
"line":
|
|
479
|
+
"line": 224,
|
|
480
480
|
"character": 76
|
|
481
481
|
},
|
|
482
482
|
"elements": [
|
|
@@ -484,7 +484,7 @@
|
|
|
484
484
|
"__schema": "TypeRefSchema",
|
|
485
485
|
"location": {
|
|
486
486
|
"filePath": "status.main.runtime.ts",
|
|
487
|
-
"line":
|
|
487
|
+
"line": 225,
|
|
488
488
|
"character": 5
|
|
489
489
|
},
|
|
490
490
|
"name": "CLIMain",
|
|
@@ -497,7 +497,7 @@
|
|
|
497
497
|
"__schema": "TypeRefSchema",
|
|
498
498
|
"location": {
|
|
499
499
|
"filePath": "status.main.runtime.ts",
|
|
500
|
-
"line":
|
|
500
|
+
"line": 226,
|
|
501
501
|
"character": 5
|
|
502
502
|
},
|
|
503
503
|
"name": "Workspace",
|
|
@@ -510,7 +510,7 @@
|
|
|
510
510
|
"__schema": "TypeRefSchema",
|
|
511
511
|
"location": {
|
|
512
512
|
"filePath": "status.main.runtime.ts",
|
|
513
|
-
"line":
|
|
513
|
+
"line": 227,
|
|
514
514
|
"character": 5
|
|
515
515
|
},
|
|
516
516
|
"name": "InsightsMain",
|
|
@@ -523,7 +523,7 @@
|
|
|
523
523
|
"__schema": "TypeRefSchema",
|
|
524
524
|
"location": {
|
|
525
525
|
"filePath": "status.main.runtime.ts",
|
|
526
|
-
"line":
|
|
526
|
+
"line": 228,
|
|
527
527
|
"character": 5
|
|
528
528
|
},
|
|
529
529
|
"name": "IssuesMain",
|
|
@@ -536,7 +536,7 @@
|
|
|
536
536
|
"__schema": "TypeRefSchema",
|
|
537
537
|
"location": {
|
|
538
538
|
"filePath": "status.main.runtime.ts",
|
|
539
|
-
"line":
|
|
539
|
+
"line": 229,
|
|
540
540
|
"character": 5
|
|
541
541
|
},
|
|
542
542
|
"name": "RemoveMain",
|
|
@@ -549,7 +549,7 @@
|
|
|
549
549
|
"__schema": "TypeRefSchema",
|
|
550
550
|
"location": {
|
|
551
551
|
"filePath": "status.main.runtime.ts",
|
|
552
|
-
"line":
|
|
552
|
+
"line": 230,
|
|
553
553
|
"character": 5
|
|
554
554
|
},
|
|
555
555
|
"name": "LanesMain",
|
|
@@ -568,7 +568,7 @@
|
|
|
568
568
|
"__schema": "InferenceTypeSchema",
|
|
569
569
|
"location": {
|
|
570
570
|
"filePath": "status.main.runtime.ts",
|
|
571
|
-
"line":
|
|
571
|
+
"line": 224,
|
|
572
572
|
"character": 3
|
|
573
573
|
},
|
|
574
574
|
"type": "Promise<StatusMain>"
|
|
@@ -1931,7 +1931,7 @@
|
|
|
1931
1931
|
"__schema": "FunctionLikeSchema",
|
|
1932
1932
|
"location": {
|
|
1933
1933
|
"filePath": "status.main.runtime.ts",
|
|
1934
|
-
"line":
|
|
1934
|
+
"line": 166,
|
|
1935
1935
|
"character": 3
|
|
1936
1936
|
},
|
|
1937
1937
|
"signature": "(method) StatusMain.statusMini(componentPattern?: string, opts?: MiniStatusOpts): Promise<MiniStatusResults>",
|
|
@@ -1941,7 +1941,7 @@
|
|
|
1941
1941
|
"__schema": "ParameterSchema",
|
|
1942
1942
|
"location": {
|
|
1943
1943
|
"filePath": "status.main.runtime.ts",
|
|
1944
|
-
"line":
|
|
1944
|
+
"line": 166,
|
|
1945
1945
|
"character": 20
|
|
1946
1946
|
},
|
|
1947
1947
|
"name": "componentPattern",
|
|
@@ -1949,7 +1949,7 @@
|
|
|
1949
1949
|
"__schema": "KeywordTypeSchema",
|
|
1950
1950
|
"location": {
|
|
1951
1951
|
"filePath": "status.main.runtime.ts",
|
|
1952
|
-
"line":
|
|
1952
|
+
"line": 166,
|
|
1953
1953
|
"character": 39
|
|
1954
1954
|
},
|
|
1955
1955
|
"name": "string"
|
|
@@ -1961,7 +1961,7 @@
|
|
|
1961
1961
|
"__schema": "ParameterSchema",
|
|
1962
1962
|
"location": {
|
|
1963
1963
|
"filePath": "status.main.runtime.ts",
|
|
1964
|
-
"line":
|
|
1964
|
+
"line": 166,
|
|
1965
1965
|
"character": 47
|
|
1966
1966
|
},
|
|
1967
1967
|
"name": "opts",
|
|
@@ -1969,7 +1969,7 @@
|
|
|
1969
1969
|
"__schema": "TypeRefSchema",
|
|
1970
1970
|
"location": {
|
|
1971
1971
|
"filePath": "status.main.runtime.ts",
|
|
1972
|
-
"line":
|
|
1972
|
+
"line": 166,
|
|
1973
1973
|
"character": 53
|
|
1974
1974
|
},
|
|
1975
1975
|
"name": "MiniStatusOpts",
|
|
@@ -1984,7 +1984,7 @@
|
|
|
1984
1984
|
"__schema": "TypeRefSchema",
|
|
1985
1985
|
"location": {
|
|
1986
1986
|
"filePath": "status.main.runtime.ts",
|
|
1987
|
-
"line":
|
|
1987
|
+
"line": 166,
|
|
1988
1988
|
"character": 75
|
|
1989
1989
|
},
|
|
1990
1990
|
"name": "Promise",
|
|
@@ -1993,7 +1993,7 @@
|
|
|
1993
1993
|
"__schema": "TypeRefSchema",
|
|
1994
1994
|
"location": {
|
|
1995
1995
|
"filePath": "status.main.runtime.ts",
|
|
1996
|
-
"line":
|
|
1996
|
+
"line": 166,
|
|
1997
1997
|
"character": 83
|
|
1998
1998
|
},
|
|
1999
1999
|
"name": "MiniStatusResults",
|
|
@@ -2009,7 +2009,7 @@
|
|
|
2009
2009
|
"__schema": "VariableLikeSchema",
|
|
2010
2010
|
"location": {
|
|
2011
2011
|
"filePath": "status.main.runtime.ts",
|
|
2012
|
-
"line":
|
|
2012
|
+
"line": 221,
|
|
2013
2013
|
"character": 3
|
|
2014
2014
|
},
|
|
2015
2015
|
"signature": "(property) StatusMain.slots: never[]",
|
|
@@ -2018,7 +2018,7 @@
|
|
|
2018
2018
|
"__schema": "InferenceTypeSchema",
|
|
2019
2019
|
"location": {
|
|
2020
2020
|
"filePath": "status.main.runtime.ts",
|
|
2021
|
-
"line":
|
|
2021
|
+
"line": 221,
|
|
2022
2022
|
"character": 3
|
|
2023
2023
|
},
|
|
2024
2024
|
"type": "never[]"
|
|
@@ -2030,7 +2030,7 @@
|
|
|
2030
2030
|
"__schema": "VariableLikeSchema",
|
|
2031
2031
|
"location": {
|
|
2032
2032
|
"filePath": "status.main.runtime.ts",
|
|
2033
|
-
"line":
|
|
2033
|
+
"line": 222,
|
|
2034
2034
|
"character": 3
|
|
2035
2035
|
},
|
|
2036
2036
|
"signature": "(property) StatusMain.dependencies: Aspect[]",
|
|
@@ -2039,7 +2039,7 @@
|
|
|
2039
2039
|
"__schema": "InferenceTypeSchema",
|
|
2040
2040
|
"location": {
|
|
2041
2041
|
"filePath": "status.main.runtime.ts",
|
|
2042
|
-
"line":
|
|
2042
|
+
"line": 222,
|
|
2043
2043
|
"character": 3
|
|
2044
2044
|
},
|
|
2045
2045
|
"type": "Aspect[]"
|
|
@@ -2051,7 +2051,7 @@
|
|
|
2051
2051
|
"__schema": "VariableLikeSchema",
|
|
2052
2052
|
"location": {
|
|
2053
2053
|
"filePath": "status.main.runtime.ts",
|
|
2054
|
-
"line":
|
|
2054
|
+
"line": 223,
|
|
2055
2055
|
"character": 3
|
|
2056
2056
|
},
|
|
2057
2057
|
"signature": "(property) StatusMain.runtime: RuntimeDefinition",
|
|
@@ -2060,7 +2060,7 @@
|
|
|
2060
2060
|
"__schema": "InferenceTypeSchema",
|
|
2061
2061
|
"location": {
|
|
2062
2062
|
"filePath": "status.main.runtime.ts",
|
|
2063
|
-
"line":
|
|
2063
|
+
"line": 223,
|
|
2064
2064
|
"character": 3
|
|
2065
2065
|
},
|
|
2066
2066
|
"type": "RuntimeDefinition"
|
|
@@ -2072,7 +2072,7 @@
|
|
|
2072
2072
|
"__schema": "FunctionLikeSchema",
|
|
2073
2073
|
"location": {
|
|
2074
2074
|
"filePath": "status.main.runtime.ts",
|
|
2075
|
-
"line":
|
|
2075
|
+
"line": 224,
|
|
2076
2076
|
"character": 3
|
|
2077
2077
|
},
|
|
2078
2078
|
"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>",
|
|
@@ -2082,7 +2082,7 @@
|
|
|
2082
2082
|
"__schema": "ParameterSchema",
|
|
2083
2083
|
"location": {
|
|
2084
2084
|
"filePath": "status.main.runtime.ts",
|
|
2085
|
-
"line":
|
|
2085
|
+
"line": 224,
|
|
2086
2086
|
"character": 25
|
|
2087
2087
|
},
|
|
2088
2088
|
"name": "[ cli, workspace, insights, issues, remove, lanes ]",
|
|
@@ -2090,7 +2090,7 @@
|
|
|
2090
2090
|
"__schema": "TupleTypeSchema",
|
|
2091
2091
|
"location": {
|
|
2092
2092
|
"filePath": "status.main.runtime.ts",
|
|
2093
|
-
"line":
|
|
2093
|
+
"line": 224,
|
|
2094
2094
|
"character": 76
|
|
2095
2095
|
},
|
|
2096
2096
|
"elements": [
|
|
@@ -2098,7 +2098,7 @@
|
|
|
2098
2098
|
"__schema": "TypeRefSchema",
|
|
2099
2099
|
"location": {
|
|
2100
2100
|
"filePath": "status.main.runtime.ts",
|
|
2101
|
-
"line":
|
|
2101
|
+
"line": 225,
|
|
2102
2102
|
"character": 5
|
|
2103
2103
|
},
|
|
2104
2104
|
"name": "CLIMain",
|
|
@@ -2111,7 +2111,7 @@
|
|
|
2111
2111
|
"__schema": "TypeRefSchema",
|
|
2112
2112
|
"location": {
|
|
2113
2113
|
"filePath": "status.main.runtime.ts",
|
|
2114
|
-
"line":
|
|
2114
|
+
"line": 226,
|
|
2115
2115
|
"character": 5
|
|
2116
2116
|
},
|
|
2117
2117
|
"name": "Workspace",
|
|
@@ -2124,7 +2124,7 @@
|
|
|
2124
2124
|
"__schema": "TypeRefSchema",
|
|
2125
2125
|
"location": {
|
|
2126
2126
|
"filePath": "status.main.runtime.ts",
|
|
2127
|
-
"line":
|
|
2127
|
+
"line": 227,
|
|
2128
2128
|
"character": 5
|
|
2129
2129
|
},
|
|
2130
2130
|
"name": "InsightsMain",
|
|
@@ -2137,7 +2137,7 @@
|
|
|
2137
2137
|
"__schema": "TypeRefSchema",
|
|
2138
2138
|
"location": {
|
|
2139
2139
|
"filePath": "status.main.runtime.ts",
|
|
2140
|
-
"line":
|
|
2140
|
+
"line": 228,
|
|
2141
2141
|
"character": 5
|
|
2142
2142
|
},
|
|
2143
2143
|
"name": "IssuesMain",
|
|
@@ -2150,7 +2150,7 @@
|
|
|
2150
2150
|
"__schema": "TypeRefSchema",
|
|
2151
2151
|
"location": {
|
|
2152
2152
|
"filePath": "status.main.runtime.ts",
|
|
2153
|
-
"line":
|
|
2153
|
+
"line": 229,
|
|
2154
2154
|
"character": 5
|
|
2155
2155
|
},
|
|
2156
2156
|
"name": "RemoveMain",
|
|
@@ -2163,7 +2163,7 @@
|
|
|
2163
2163
|
"__schema": "TypeRefSchema",
|
|
2164
2164
|
"location": {
|
|
2165
2165
|
"filePath": "status.main.runtime.ts",
|
|
2166
|
-
"line":
|
|
2166
|
+
"line": 230,
|
|
2167
2167
|
"character": 5
|
|
2168
2168
|
},
|
|
2169
2169
|
"name": "LanesMain",
|
|
@@ -2182,7 +2182,7 @@
|
|
|
2182
2182
|
"__schema": "InferenceTypeSchema",
|
|
2183
2183
|
"location": {
|
|
2184
2184
|
"filePath": "status.main.runtime.ts",
|
|
2185
|
-
"line":
|
|
2185
|
+
"line": 224,
|
|
2186
2186
|
"character": 3
|
|
2187
2187
|
},
|
|
2188
2188
|
"type": "Promise<StatusMain>"
|
|
@@ -2268,7 +2268,7 @@
|
|
|
2268
2268
|
"__schema": "UnImplementedSchema",
|
|
2269
2269
|
"location": {
|
|
2270
2270
|
"filePath": "status.main.runtime.ts",
|
|
2271
|
-
"line":
|
|
2271
|
+
"line": 238,
|
|
2272
2272
|
"character": 1
|
|
2273
2273
|
},
|
|
2274
2274
|
"name": "StatusAspect.addRuntime(StatusMain);",
|
|
@@ -2317,7 +2317,7 @@
|
|
|
2317
2317
|
"componentId": {
|
|
2318
2318
|
"scope": "teambit.component",
|
|
2319
2319
|
"name": "status",
|
|
2320
|
-
"version": "1.0.
|
|
2320
|
+
"version": "1.0.426"
|
|
2321
2321
|
},
|
|
2322
2322
|
"taggedModuleExports": []
|
|
2323
2323
|
}
|
|
@@ -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 } = await this.workspace.listWithInvalid(\n loadOpts\n );\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,OAAA;EAAAK,MAAA,YAAAA,CAAA;IAAA,OAAAN,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAO,aAAA;EAAA,MAAAP,IAAA,GAAAC,OAAA;EAAAM,YAAA,YAAAA,CAAA;IAAA,OAAAP,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAQ,QAAA;EAAA,MAAAR,IAAA,GAAAG,sBAAA,CAAAF,OAAA;EAAAO,OAAA,YAAAA,CAAA;IAAA,OAAAR,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAS,gBAAA;EAAA,MA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,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,CAtLYkB,UAAU,WAuKN,EAAE;AAAAlB,eAAA,CAvKNkB,UAAU,kBAwKC,CAACwJ,gBAAS,EAAEC,4BAAe,EAAEC,0BAAc,EAAEC,sBAAY,EAAEC,sBAAY,EAAEC,oBAAW,CAAC;AAAA/K,eAAA,CAxKhGkB,UAAU,aAyKJ8J,kBAAW;AAe9BC,sBAAY,CAACC,UAAU,CAAChK,UAAU,CAAC","ignoreList":[]}
|
|
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,OAAA;EAAAK,MAAA,YAAAA,CAAA;IAAA,OAAAN,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA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W,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":[]}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/status",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.426",
|
|
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.426"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"chalk": "2.4.2",
|
|
@@ -16,15 +16,15 @@
|
|
|
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.1003",
|
|
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/remove": "1.0.
|
|
27
|
-
"@teambit/workspace": "1.0.
|
|
21
|
+
"@teambit/component": "1.0.426",
|
|
22
|
+
"@teambit/insights": "1.0.426",
|
|
23
|
+
"@teambit/issues": "1.0.426",
|
|
24
|
+
"@teambit/lanes": "1.0.426",
|
|
25
|
+
"@teambit/legacy.component-list": "0.0.35",
|
|
26
|
+
"@teambit/remove": "1.0.426",
|
|
27
|
+
"@teambit/workspace": "1.0.426"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/lodash": "4.14.165",
|
|
File without changes
|