@teambit/status 1.0.226 → 1.0.227

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.226" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.component/status@1.0.227" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -48,11 +48,7 @@
48
48
  "line": 56,
49
49
  "character": 24
50
50
  },
51
- "name": "Workspace",
52
- "componentId": {
53
- "scope": "teambit.workspace",
54
- "name": "workspace"
55
- }
51
+ "name": "Workspace"
56
52
  },
57
53
  "isOptional": false,
58
54
  "isSpread": false
@@ -72,11 +68,7 @@
72
68
  "line": 57,
73
69
  "character": 21
74
70
  },
75
- "name": "IssuesMain",
76
- "componentId": {
77
- "scope": "teambit.component",
78
- "name": "issues"
79
- }
71
+ "name": "IssuesMain"
80
72
  },
81
73
  "isOptional": false,
82
74
  "isSpread": false
@@ -96,11 +88,7 @@
96
88
  "line": 58,
97
89
  "character": 23
98
90
  },
99
- "name": "InsightsMain",
100
- "componentId": {
101
- "scope": "teambit.explorer",
102
- "name": "insights"
103
- }
91
+ "name": "InsightsMain"
104
92
  },
105
93
  "isOptional": false,
106
94
  "isSpread": false
@@ -120,11 +108,7 @@
120
108
  "line": 59,
121
109
  "character": 21
122
110
  },
123
- "name": "RemoveMain",
124
- "componentId": {
125
- "scope": "teambit.component",
126
- "name": "remove"
127
- }
111
+ "name": "RemoveMain"
128
112
  },
129
113
  "isOptional": false,
130
114
  "isSpread": false
@@ -144,11 +128,7 @@
144
128
  "line": 60,
145
129
  "character": 20
146
130
  },
147
- "name": "LanesMain",
148
- "componentId": {
149
- "scope": "teambit.lanes",
150
- "name": "lanes"
151
- }
131
+ "name": "LanesMain"
152
132
  },
153
133
  "isOptional": false,
154
134
  "isSpread": false
@@ -295,8 +275,7 @@
295
275
  "line": 69,
296
276
  "character": 15
297
277
  },
298
- "name": "StatusResult",
299
- "internalFilePath": "status.main.runtime.ts"
278
+ "name": "StatusResult"
300
279
  }
301
280
  ]
302
281
  },
@@ -349,8 +328,7 @@
349
328
  "line": 164,
350
329
  "character": 53
351
330
  },
352
- "name": "MiniStatusOpts",
353
- "internalFilePath": "mini-status-cmd.ts"
331
+ "name": "MiniStatusOpts"
354
332
  },
355
333
  "isOptional": true,
356
334
  "defaultValue": "{}",
@@ -373,8 +351,7 @@
373
351
  "line": 164,
374
352
  "character": 83
375
353
  },
376
- "name": "MiniStatusResults",
377
- "internalFilePath": "status.main.runtime.ts"
354
+ "name": "MiniStatusResults"
378
355
  }
379
356
  ]
380
357
  },
@@ -478,11 +455,7 @@
478
455
  "line": 223,
479
456
  "character": 5
480
457
  },
481
- "name": "CLIMain",
482
- "componentId": {
483
- "scope": "teambit.harmony",
484
- "name": "cli"
485
- }
458
+ "name": "CLIMain"
486
459
  },
487
460
  {
488
461
  "__schema": "TypeRefSchema",
@@ -491,11 +464,7 @@
491
464
  "line": 224,
492
465
  "character": 5
493
466
  },
494
- "name": "Workspace",
495
- "componentId": {
496
- "scope": "teambit.workspace",
497
- "name": "workspace"
498
- }
467
+ "name": "Workspace"
499
468
  },
500
469
  {
501
470
  "__schema": "TypeRefSchema",
@@ -504,11 +473,7 @@
504
473
  "line": 225,
505
474
  "character": 5
506
475
  },
507
- "name": "InsightsMain",
508
- "componentId": {
509
- "scope": "teambit.explorer",
510
- "name": "insights"
511
- }
476
+ "name": "InsightsMain"
512
477
  },
513
478
  {
514
479
  "__schema": "TypeRefSchema",
@@ -517,11 +482,7 @@
517
482
  "line": 226,
518
483
  "character": 5
519
484
  },
520
- "name": "IssuesMain",
521
- "componentId": {
522
- "scope": "teambit.component",
523
- "name": "issues"
524
- }
485
+ "name": "IssuesMain"
525
486
  },
526
487
  {
527
488
  "__schema": "TypeRefSchema",
@@ -530,11 +491,7 @@
530
491
  "line": 227,
531
492
  "character": 5
532
493
  },
533
- "name": "RemoveMain",
534
- "componentId": {
535
- "scope": "teambit.component",
536
- "name": "remove"
537
- }
494
+ "name": "RemoveMain"
538
495
  },
539
496
  {
540
497
  "__schema": "TypeRefSchema",
@@ -543,11 +500,7 @@
543
500
  "line": 228,
544
501
  "character": 5
545
502
  },
546
- "name": "LanesMain",
547
- "componentId": {
548
- "scope": "teambit.lanes",
549
- "name": "lanes"
550
- }
503
+ "name": "LanesMain"
551
504
  }
552
505
  ]
553
506
  },
@@ -661,12 +614,7 @@
661
614
  "line": 26,
662
615
  "character": 18
663
616
  },
664
- "name": "ComponentID",
665
- "componentId": {
666
- "scope": "teambit.component",
667
- "name": "component-id",
668
- "version": "1.2.0"
669
- }
617
+ "name": "ComponentID"
670
618
  }
671
619
  },
672
620
  "isOptional": false
@@ -694,12 +642,7 @@
694
642
  "line": 27,
695
643
  "character": 23
696
644
  },
697
- "name": "ComponentID",
698
- "componentId": {
699
- "scope": "teambit.component",
700
- "name": "component-id",
701
- "version": "1.2.0"
702
- }
645
+ "name": "ComponentID"
703
646
  }
704
647
  },
705
648
  "isOptional": false
@@ -888,12 +831,7 @@
888
831
  "line": 30,
889
832
  "character": 28
890
833
  },
891
- "name": "ComponentID",
892
- "componentId": {
893
- "scope": "teambit.component",
894
- "name": "component-id",
895
- "version": "1.2.0"
896
- }
834
+ "name": "ComponentID"
897
835
  }
898
836
  },
899
837
  "isOptional": false
@@ -921,12 +859,7 @@
921
859
  "line": 31,
922
860
  "character": 29
923
861
  },
924
- "name": "ComponentID",
925
- "componentId": {
926
- "scope": "teambit.component",
927
- "name": "component-id",
928
- "version": "1.2.0"
929
- }
862
+ "name": "ComponentID"
930
863
  }
931
864
  },
932
865
  "isOptional": false
@@ -1028,12 +961,7 @@
1028
961
  "line": 33,
1029
962
  "character": 23
1030
963
  },
1031
- "name": "ComponentID",
1032
- "componentId": {
1033
- "scope": "teambit.component",
1034
- "name": "component-id",
1035
- "version": "1.2.0"
1036
- }
964
+ "name": "ComponentID"
1037
965
  }
1038
966
  },
1039
967
  "isOptional": false
@@ -1061,12 +989,7 @@
1061
989
  "line": 34,
1062
990
  "character": 24
1063
991
  },
1064
- "name": "ComponentID",
1065
- "componentId": {
1066
- "scope": "teambit.component",
1067
- "name": "component-id",
1068
- "version": "1.2.0"
1069
- }
992
+ "name": "ComponentID"
1070
993
  }
1071
994
  },
1072
995
  "isOptional": false
@@ -1188,8 +1111,7 @@
1188
1111
  "line": 36,
1189
1112
  "character": 27
1190
1113
  },
1191
- "name": "DivergeDataPerId",
1192
- "internalFilePath": "status.main.runtime.ts"
1114
+ "name": "DivergeDataPerId"
1193
1115
  }
1194
1116
  },
1195
1117
  "isOptional": false
@@ -1217,12 +1139,7 @@
1217
1139
  "line": 37,
1218
1140
  "character": 31
1219
1141
  },
1220
- "name": "ComponentID",
1221
- "componentId": {
1222
- "scope": "teambit.component",
1223
- "name": "component-id",
1224
- "version": "1.2.0"
1225
- }
1142
+ "name": "ComponentID"
1226
1143
  }
1227
1144
  },
1228
1145
  "isOptional": false
@@ -1250,12 +1167,7 @@
1250
1167
  "line": 38,
1251
1168
  "character": 25
1252
1169
  },
1253
- "name": "ComponentID",
1254
- "componentId": {
1255
- "scope": "teambit.component",
1256
- "name": "component-id",
1257
- "version": "1.2.0"
1258
- }
1170
+ "name": "ComponentID"
1259
1171
  }
1260
1172
  },
1261
1173
  "isOptional": false
@@ -1283,12 +1195,7 @@
1283
1195
  "line": 39,
1284
1196
  "character": 22
1285
1197
  },
1286
- "name": "ComponentID",
1287
- "componentId": {
1288
- "scope": "teambit.component",
1289
- "name": "component-id",
1290
- "version": "1.2.0"
1291
- }
1198
+ "name": "ComponentID"
1292
1199
  }
1293
1200
  },
1294
1201
  "isOptional": false
@@ -1316,8 +1223,7 @@
1316
1223
  "line": 40,
1317
1224
  "character": 27
1318
1225
  },
1319
- "name": "DivergeDataPerId",
1320
- "internalFilePath": "status.main.runtime.ts"
1226
+ "name": "DivergeDataPerId"
1321
1227
  }
1322
1228
  },
1323
1229
  "isOptional": false
@@ -1345,8 +1251,7 @@
1345
1251
  "line": 41,
1346
1252
  "character": 22
1347
1253
  },
1348
- "name": "DivergeDataPerId",
1349
- "internalFilePath": "status.main.runtime.ts"
1254
+ "name": "DivergeDataPerId"
1350
1255
  }
1351
1256
  },
1352
1257
  "isOptional": false
@@ -1374,12 +1279,7 @@
1374
1279
  "line": 42,
1375
1280
  "character": 22
1376
1281
  },
1377
- "name": "ComponentID",
1378
- "componentId": {
1379
- "scope": "teambit.component",
1380
- "name": "component-id",
1381
- "version": "1.2.0"
1382
- }
1282
+ "name": "ComponentID"
1383
1283
  }
1384
1284
  },
1385
1285
  "isOptional": false
@@ -1425,12 +1325,7 @@
1425
1325
  "line": 44,
1426
1326
  "character": 18
1427
1327
  },
1428
- "name": "LaneId",
1429
- "componentId": {
1430
- "scope": "teambit.lanes",
1431
- "name": "lane-id",
1432
- "version": "0.0.311"
1433
- }
1328
+ "name": "LaneId"
1434
1329
  },
1435
1330
  "isOptional": true
1436
1331
  },
@@ -1505,12 +1400,7 @@
1505
1400
  "line": 49,
1506
1401
  "character": 13
1507
1402
  },
1508
- "name": "ComponentID",
1509
- "componentId": {
1510
- "scope": "teambit.component",
1511
- "name": "component-id",
1512
- "version": "1.2.0"
1513
- }
1403
+ "name": "ComponentID"
1514
1404
  }
1515
1405
  },
1516
1406
  "isOptional": false
@@ -1538,12 +1428,7 @@
1538
1428
  "line": 50,
1539
1429
  "character": 13
1540
1430
  },
1541
- "name": "ComponentID",
1542
- "componentId": {
1543
- "scope": "teambit.component",
1544
- "name": "component-id",
1545
- "version": "1.2.0"
1546
- }
1431
+ "name": "ComponentID"
1547
1432
  }
1548
1433
  },
1549
1434
  "isOptional": false
@@ -1571,11 +1456,7 @@
1571
1456
  "line": 51,
1572
1457
  "character": 20
1573
1458
  },
1574
- "name": "Component",
1575
- "componentId": {
1576
- "scope": "teambit.component",
1577
- "name": "component"
1578
- }
1459
+ "name": "Component"
1579
1460
  }
1580
1461
  },
1581
1462
  "isOptional": true
@@ -1618,11 +1499,7 @@
1618
1499
  "line": 56,
1619
1500
  "character": 24
1620
1501
  },
1621
- "name": "Workspace",
1622
- "componentId": {
1623
- "scope": "teambit.workspace",
1624
- "name": "workspace"
1625
- }
1502
+ "name": "Workspace"
1626
1503
  },
1627
1504
  "isOptional": false,
1628
1505
  "isSpread": false
@@ -1642,11 +1519,7 @@
1642
1519
  "line": 57,
1643
1520
  "character": 21
1644
1521
  },
1645
- "name": "IssuesMain",
1646
- "componentId": {
1647
- "scope": "teambit.component",
1648
- "name": "issues"
1649
- }
1522
+ "name": "IssuesMain"
1650
1523
  },
1651
1524
  "isOptional": false,
1652
1525
  "isSpread": false
@@ -1666,11 +1539,7 @@
1666
1539
  "line": 58,
1667
1540
  "character": 23
1668
1541
  },
1669
- "name": "InsightsMain",
1670
- "componentId": {
1671
- "scope": "teambit.explorer",
1672
- "name": "insights"
1673
- }
1542
+ "name": "InsightsMain"
1674
1543
  },
1675
1544
  "isOptional": false,
1676
1545
  "isSpread": false
@@ -1690,11 +1559,7 @@
1690
1559
  "line": 59,
1691
1560
  "character": 21
1692
1561
  },
1693
- "name": "RemoveMain",
1694
- "componentId": {
1695
- "scope": "teambit.component",
1696
- "name": "remove"
1697
- }
1562
+ "name": "RemoveMain"
1698
1563
  },
1699
1564
  "isOptional": false,
1700
1565
  "isSpread": false
@@ -1714,11 +1579,7 @@
1714
1579
  "line": 60,
1715
1580
  "character": 20
1716
1581
  },
1717
- "name": "LanesMain",
1718
- "componentId": {
1719
- "scope": "teambit.lanes",
1720
- "name": "lanes"
1721
- }
1582
+ "name": "LanesMain"
1722
1583
  },
1723
1584
  "isOptional": false,
1724
1585
  "isSpread": false
@@ -1865,8 +1726,7 @@
1865
1726
  "line": 69,
1866
1727
  "character": 15
1867
1728
  },
1868
- "name": "StatusResult",
1869
- "internalFilePath": "status.main.runtime.ts"
1729
+ "name": "StatusResult"
1870
1730
  }
1871
1731
  ]
1872
1732
  },
@@ -1919,8 +1779,7 @@
1919
1779
  "line": 164,
1920
1780
  "character": 53
1921
1781
  },
1922
- "name": "MiniStatusOpts",
1923
- "internalFilePath": "mini-status-cmd.ts"
1782
+ "name": "MiniStatusOpts"
1924
1783
  },
1925
1784
  "isOptional": true,
1926
1785
  "defaultValue": "{}",
@@ -1943,8 +1802,7 @@
1943
1802
  "line": 164,
1944
1803
  "character": 83
1945
1804
  },
1946
- "name": "MiniStatusResults",
1947
- "internalFilePath": "status.main.runtime.ts"
1805
+ "name": "MiniStatusResults"
1948
1806
  }
1949
1807
  ]
1950
1808
  },
@@ -2048,11 +1906,7 @@
2048
1906
  "line": 223,
2049
1907
  "character": 5
2050
1908
  },
2051
- "name": "CLIMain",
2052
- "componentId": {
2053
- "scope": "teambit.harmony",
2054
- "name": "cli"
2055
- }
1909
+ "name": "CLIMain"
2056
1910
  },
2057
1911
  {
2058
1912
  "__schema": "TypeRefSchema",
@@ -2061,11 +1915,7 @@
2061
1915
  "line": 224,
2062
1916
  "character": 5
2063
1917
  },
2064
- "name": "Workspace",
2065
- "componentId": {
2066
- "scope": "teambit.workspace",
2067
- "name": "workspace"
2068
- }
1918
+ "name": "Workspace"
2069
1919
  },
2070
1920
  {
2071
1921
  "__schema": "TypeRefSchema",
@@ -2074,11 +1924,7 @@
2074
1924
  "line": 225,
2075
1925
  "character": 5
2076
1926
  },
2077
- "name": "InsightsMain",
2078
- "componentId": {
2079
- "scope": "teambit.explorer",
2080
- "name": "insights"
2081
- }
1927
+ "name": "InsightsMain"
2082
1928
  },
2083
1929
  {
2084
1930
  "__schema": "TypeRefSchema",
@@ -2087,11 +1933,7 @@
2087
1933
  "line": 226,
2088
1934
  "character": 5
2089
1935
  },
2090
- "name": "IssuesMain",
2091
- "componentId": {
2092
- "scope": "teambit.component",
2093
- "name": "issues"
2094
- }
1936
+ "name": "IssuesMain"
2095
1937
  },
2096
1938
  {
2097
1939
  "__schema": "TypeRefSchema",
@@ -2100,11 +1942,7 @@
2100
1942
  "line": 227,
2101
1943
  "character": 5
2102
1944
  },
2103
- "name": "RemoveMain",
2104
- "componentId": {
2105
- "scope": "teambit.component",
2106
- "name": "remove"
2107
- }
1945
+ "name": "RemoveMain"
2108
1946
  },
2109
1947
  {
2110
1948
  "__schema": "TypeRefSchema",
@@ -2113,11 +1951,7 @@
2113
1951
  "line": 228,
2114
1952
  "character": 5
2115
1953
  },
2116
- "name": "LanesMain",
2117
- "componentId": {
2118
- "scope": "teambit.lanes",
2119
- "name": "lanes"
2120
- }
1954
+ "name": "LanesMain"
2121
1955
  }
2122
1956
  ]
2123
1957
  },
@@ -2264,7 +2098,7 @@
2264
2098
  "componentId": {
2265
2099
  "scope": "teambit.component",
2266
2100
  "name": "status",
2267
- "version": "1.0.226"
2101
+ "version": "1.0.227"
2268
2102
  },
2269
2103
  "taggedModuleExports": []
2270
2104
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/status",
3
- "version": "1.0.226",
3
+ "version": "1.0.227",
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.226"
9
+ "version": "1.0.227"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -16,20 +16,20 @@
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.859",
19
+ "@teambit/cli": "0.0.860",
20
20
  "@teambit/component-issues": "0.0.143",
21
- "@teambit/component": "1.0.226",
22
- "@teambit/insights": "1.0.226",
23
- "@teambit/issues": "1.0.226",
24
- "@teambit/lanes": "1.0.226",
25
- "@teambit/remove": "1.0.226",
26
- "@teambit/workspace": "1.0.226"
21
+ "@teambit/component": "1.0.227",
22
+ "@teambit/insights": "1.0.227",
23
+ "@teambit/issues": "1.0.227",
24
+ "@teambit/lanes": "1.0.227",
25
+ "@teambit/remove": "1.0.227",
26
+ "@teambit/workspace": "1.0.227"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/lodash": "4.14.165",
30
30
  "@types/mocha": "9.1.0",
31
31
  "chai": "4.3.0",
32
- "@teambit/harmony.envs.core-aspect-env": "0.0.27"
32
+ "@teambit/harmony.envs.core-aspect-env": "0.0.30"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "@teambit/legacy": "1.0.624"
package/tsconfig.json CHANGED
@@ -20,7 +20,8 @@
20
20
  "emitDeclarationOnly": true,
21
21
  "strict": true,
22
22
  "strictPropertyInitialization": false,
23
- "noImplicitAny": false
23
+ "noImplicitAny": false,
24
+ "composite": true
24
25
  },
25
26
  "exclude": [
26
27
  "artifacts",
@@ -35,5 +36,28 @@
35
36
  "include": [
36
37
  "**/*",
37
38
  "**/*.json"
39
+ ],
40
+ "references": [
41
+ {
42
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_cli@0.0.860"
43
+ },
44
+ {
45
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component@1.0.227"
46
+ },
47
+ {
48
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.explorer_insights@1.0.227"
49
+ },
50
+ {
51
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_issues@1.0.227"
52
+ },
53
+ {
54
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.lanes_lanes@1.0.227"
55
+ },
56
+ {
57
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_remove@1.0.227"
58
+ },
59
+ {
60
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@1.0.227"
61
+ }
38
62
  ]
39
63
  }
package/dist/index.d.ts DELETED
@@ -1,4 +0,0 @@
1
- import { StatusAspect } from './status.aspect';
2
- export type { StatusMain } from './status.main.runtime';
3
- export default StatusAspect;
4
- export { StatusAspect };
@@ -1,32 +0,0 @@
1
- import { Command, CommandOptions } from '@teambit/cli';
2
- import { StatusMain } from './status.main.runtime';
3
- export type MiniStatusOpts = {
4
- showIssues?: boolean;
5
- ignoreCircularDependencies?: boolean;
6
- };
7
- export declare class MiniStatusCmd implements Command {
8
- private status;
9
- name: string;
10
- description: string;
11
- extendedDescription: string;
12
- arguments: {
13
- name: string;
14
- description: string;
15
- }[];
16
- group: string;
17
- alias: string;
18
- options: CommandOptions;
19
- loader: boolean;
20
- constructor(status: StatusMain);
21
- report([pattern]: [string], opts: MiniStatusOpts): Promise<string>;
22
- json([pattern]: [string], opts: MiniStatusOpts): Promise<{
23
- modified: string[];
24
- newComps: string[];
25
- compWithIssues: {
26
- id: string;
27
- issues: (import("@teambit/component-issues/component-issue").IssueObject & {
28
- dataAsString: string;
29
- })[];
30
- }[] | undefined;
31
- }>;
32
- }
@@ -1,72 +0,0 @@
1
- import { Command, CommandOptions } from '@teambit/cli';
2
- import { IssuesList } from '@teambit/component-issues';
3
- import { StatusMain } from './status.main.runtime';
4
- type StatusFlags = {
5
- strict?: boolean;
6
- verbose?: boolean;
7
- lanes?: boolean;
8
- ignoreCircularDependencies?: boolean;
9
- };
10
- type StatusJsonResults = {
11
- newComponents: string[];
12
- modifiedComponents: string[];
13
- stagedComponents: Array<{
14
- id: string;
15
- versions: string[];
16
- }>;
17
- unavailableOnMain: string[];
18
- componentsWithIssues: Array<{
19
- id: string;
20
- issues: Array<{
21
- type: string;
22
- description: string;
23
- data: any;
24
- }>;
25
- }>;
26
- importPendingComponents: string[];
27
- autoTagPendingComponents: string[];
28
- invalidComponents: Array<{
29
- id: string;
30
- error: Error;
31
- }>;
32
- locallySoftRemoved: string[];
33
- remotelySoftRemoved: string[];
34
- outdatedComponents: Array<{
35
- id: string;
36
- headVersion: string;
37
- latestVersion?: string;
38
- }>;
39
- mergePendingComponents: string[];
40
- componentsDuringMergeState: string[];
41
- softTaggedComponents: string[];
42
- snappedComponents: string[];
43
- pendingUpdatesFromMain: Array<{
44
- id: string;
45
- divergeData: any;
46
- }>;
47
- updatesFromForked: Array<{
48
- id: string;
49
- divergeData: any;
50
- }>;
51
- currentLaneId: string;
52
- forkedLaneId: string | undefined;
53
- workspaceIssues: string[];
54
- };
55
- export declare class StatusCmd implements Command {
56
- private status;
57
- name: string;
58
- description: string;
59
- group: string;
60
- extendedDescription: string;
61
- alias: string;
62
- options: CommandOptions;
63
- loader: boolean;
64
- constructor(status: StatusMain);
65
- json(_args: any, { lanes, ignoreCircularDependencies }: StatusFlags): Promise<StatusJsonResults>;
66
- report(_args: any, { strict, verbose, lanes, ignoreCircularDependencies }: StatusFlags): Promise<{
67
- data: string;
68
- code: number;
69
- }>;
70
- }
71
- export declare function formatIssues(issues: IssuesList): string;
72
- export {};
@@ -1,2 +0,0 @@
1
- import { Aspect } from '@teambit/harmony';
2
- export declare const StatusAspect: Aspect;
@@ -1,83 +0,0 @@
1
- import { CLIMain } from '@teambit/cli';
2
- import { LaneId } from '@teambit/lane-id';
3
- import { IssuesList } from '@teambit/component-issues';
4
- import { Workspace } from '@teambit/workspace';
5
- import { LanesMain } from '@teambit/lanes';
6
- import { ComponentID } from '@teambit/component-id';
7
- import { Component } from '@teambit/component';
8
- import { RemoveMain } from '@teambit/remove';
9
- import { InsightsMain } from '@teambit/insights';
10
- import { SnapsDistance } from '@teambit/legacy/dist/scope/component-ops/snaps-distance';
11
- import { IssuesMain } from '@teambit/issues';
12
- import { MiniStatusOpts } from './mini-status-cmd';
13
- type DivergeDataPerId = {
14
- id: ComponentID;
15
- divergeData: SnapsDistance;
16
- };
17
- export type StatusResult = {
18
- newComponents: ComponentID[];
19
- modifiedComponents: ComponentID[];
20
- stagedComponents: {
21
- id: ComponentID;
22
- versions: string[];
23
- }[];
24
- componentsWithIssues: {
25
- id: ComponentID;
26
- issues: IssuesList;
27
- }[];
28
- importPendingComponents: ComponentID[];
29
- autoTagPendingComponents: ComponentID[];
30
- invalidComponents: {
31
- id: ComponentID;
32
- error: Error;
33
- }[];
34
- locallySoftRemoved: ComponentID[];
35
- remotelySoftRemoved: ComponentID[];
36
- outdatedComponents: {
37
- id: ComponentID;
38
- headVersion: string;
39
- latestVersion?: string;
40
- }[];
41
- mergePendingComponents: DivergeDataPerId[];
42
- componentsDuringMergeState: ComponentID[];
43
- softTaggedComponents: ComponentID[];
44
- snappedComponents: ComponentID[];
45
- pendingUpdatesFromMain: DivergeDataPerId[];
46
- updatesFromForked: DivergeDataPerId[];
47
- unavailableOnMain: ComponentID[];
48
- currentLaneId: LaneId;
49
- forkedLaneId?: LaneId;
50
- workspaceIssues: string[];
51
- };
52
- export type MiniStatusResults = {
53
- modified: ComponentID[];
54
- newComps: ComponentID[];
55
- compWithIssues?: Component[];
56
- };
57
- export declare class StatusMain {
58
- private workspace;
59
- private issues;
60
- private insights;
61
- private remove;
62
- private lanes;
63
- constructor(workspace: Workspace, issues: IssuesMain, insights: InsightsMain, remove: RemoveMain, lanes: LanesMain);
64
- status({ lanes, ignoreCircularDependencies, }: {
65
- lanes?: boolean;
66
- ignoreCircularDependencies?: boolean;
67
- }): Promise<StatusResult>;
68
- statusMini(componentPattern?: string, opts?: MiniStatusOpts): Promise<MiniStatusResults>;
69
- private addRemovedStagedIfNeeded;
70
- private divergeDataErrorsToInvalidComp;
71
- static slots: never[];
72
- static dependencies: import("@teambit/harmony").Aspect[];
73
- static runtime: import("@teambit/harmony").RuntimeDefinition;
74
- static provider([cli, workspace, insights, issues, remove, lanes]: [
75
- CLIMain,
76
- Workspace,
77
- InsightsMain,
78
- IssuesMain,
79
- RemoveMain,
80
- LanesMain
81
- ]): Promise<StatusMain>;
82
- }
83
- export {};