@teambit/remove 1.0.226 → 1.0.228
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 +53 -259
- package/package.json +10 -10
- package/tsconfig.json +22 -1
- package/dist/delete-cmd.d.ts +0 -31
- package/dist/index.d.ts +0 -6
- package/dist/recover-cmd.d.ts +0 -16
- package/dist/remove-cmd.d.ts +0 -33
- package/dist/remove-components.d.ts +0 -25
- package/dist/remove-template.d.ts +0 -7
- package/dist/remove.aspect.d.ts +0 -2
- package/dist/remove.fragment.d.ts +0 -16
- package/dist/remove.main.runtime.d.ts +0 -85
- package/dist/removed-local-objects.d.ts +0 -6
- /package/dist/{preview-1712632644937.js → preview-1712805335812.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/remove@1.0.
|
|
3
|
+
<testsuite name="teambit.component/remove@1.0.228" tests="0" failures="0" errors="0" skipped="0"/>
|
|
4
4
|
</testsuites>
|
package/artifacts/schema.json
CHANGED
|
@@ -48,11 +48,7 @@
|
|
|
48
48
|
"line": 38,
|
|
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": 39,
|
|
73
69
|
"character": 20
|
|
74
70
|
},
|
|
75
|
-
"name": "Logger"
|
|
76
|
-
"componentId": {
|
|
77
|
-
"scope": "teambit.harmony",
|
|
78
|
-
"name": "logger"
|
|
79
|
-
}
|
|
71
|
+
"name": "Logger"
|
|
80
72
|
},
|
|
81
73
|
"isOptional": false,
|
|
82
74
|
"isSpread": false
|
|
@@ -96,11 +88,7 @@
|
|
|
96
88
|
"line": 40,
|
|
97
89
|
"character": 23
|
|
98
90
|
},
|
|
99
|
-
"name": "ImporterMain"
|
|
100
|
-
"componentId": {
|
|
101
|
-
"scope": "teambit.scope",
|
|
102
|
-
"name": "importer"
|
|
103
|
-
}
|
|
91
|
+
"name": "ImporterMain"
|
|
104
92
|
},
|
|
105
93
|
"isOptional": false,
|
|
106
94
|
"isSpread": false
|
|
@@ -120,11 +108,7 @@
|
|
|
120
108
|
"line": 41,
|
|
121
109
|
"character": 26
|
|
122
110
|
},
|
|
123
|
-
"name": "DependencyResolverMain"
|
|
124
|
-
"componentId": {
|
|
125
|
-
"scope": "teambit.dependencies",
|
|
126
|
-
"name": "dependency-resolver"
|
|
127
|
-
}
|
|
111
|
+
"name": "DependencyResolverMain"
|
|
128
112
|
},
|
|
129
113
|
"isOptional": false,
|
|
130
114
|
"isSpread": false
|
|
@@ -391,8 +375,7 @@
|
|
|
391
375
|
"line": 56,
|
|
392
376
|
"character": 15
|
|
393
377
|
},
|
|
394
|
-
"name": "RemoveComponentsResult"
|
|
395
|
-
"internalFilePath": "remove-components.ts"
|
|
378
|
+
"name": "RemoveComponentsResult"
|
|
396
379
|
}
|
|
397
380
|
]
|
|
398
381
|
},
|
|
@@ -442,12 +425,7 @@
|
|
|
442
425
|
"line": 79,
|
|
443
426
|
"character": 10
|
|
444
427
|
},
|
|
445
|
-
"name": "ComponentID"
|
|
446
|
-
"componentId": {
|
|
447
|
-
"scope": "teambit.component",
|
|
448
|
-
"name": "component-id",
|
|
449
|
-
"version": "1.2.0"
|
|
450
|
-
}
|
|
428
|
+
"name": "ComponentID"
|
|
451
429
|
}
|
|
452
430
|
},
|
|
453
431
|
"isOptional": false,
|
|
@@ -603,12 +581,7 @@
|
|
|
603
581
|
"line": 96,
|
|
604
582
|
"character": 39
|
|
605
583
|
},
|
|
606
|
-
"name": "ComponentID"
|
|
607
|
-
"componentId": {
|
|
608
|
-
"scope": "teambit.component",
|
|
609
|
-
"name": "component-id",
|
|
610
|
-
"version": "1.2.0"
|
|
611
|
-
}
|
|
584
|
+
"name": "ComponentID"
|
|
612
585
|
}
|
|
613
586
|
},
|
|
614
587
|
"isOptional": false,
|
|
@@ -745,12 +718,7 @@
|
|
|
745
718
|
"line": 114,
|
|
746
719
|
"character": 94
|
|
747
720
|
},
|
|
748
|
-
"name": "ComponentID"
|
|
749
|
-
"componentId": {
|
|
750
|
-
"scope": "teambit.component",
|
|
751
|
-
"name": "component-id",
|
|
752
|
-
"version": "1.2.0"
|
|
753
|
-
}
|
|
721
|
+
"name": "ComponentID"
|
|
754
722
|
}
|
|
755
723
|
}
|
|
756
724
|
]
|
|
@@ -814,8 +782,7 @@
|
|
|
814
782
|
"line": 148,
|
|
815
783
|
"character": 45
|
|
816
784
|
},
|
|
817
|
-
"name": "RecoverOptions"
|
|
818
|
-
"internalFilePath": "recover-cmd.ts"
|
|
785
|
+
"name": "RecoverOptions"
|
|
819
786
|
},
|
|
820
787
|
"isOptional": false,
|
|
821
788
|
"isSpread": false
|
|
@@ -870,11 +837,7 @@
|
|
|
870
837
|
"line": 233,
|
|
871
838
|
"character": 28
|
|
872
839
|
},
|
|
873
|
-
"name": "Component"
|
|
874
|
-
"componentId": {
|
|
875
|
-
"scope": "teambit.component",
|
|
876
|
-
"name": "component"
|
|
877
|
-
}
|
|
840
|
+
"name": "Component"
|
|
878
841
|
},
|
|
879
842
|
"isOptional": false,
|
|
880
843
|
"isSpread": false
|
|
@@ -916,11 +879,7 @@
|
|
|
916
879
|
"line": 240,
|
|
917
880
|
"character": 24
|
|
918
881
|
},
|
|
919
|
-
"name": "Component"
|
|
920
|
-
"componentId": {
|
|
921
|
-
"scope": "teambit.component",
|
|
922
|
-
"name": "component"
|
|
923
|
-
}
|
|
882
|
+
"name": "Component"
|
|
924
883
|
},
|
|
925
884
|
"isOptional": false,
|
|
926
885
|
"isSpread": false
|
|
@@ -972,12 +931,7 @@
|
|
|
972
931
|
"line": 247,
|
|
973
932
|
"character": 59
|
|
974
933
|
},
|
|
975
|
-
"name": "ComponentID"
|
|
976
|
-
"componentId": {
|
|
977
|
-
"scope": "teambit.component",
|
|
978
|
-
"name": "component-id",
|
|
979
|
-
"version": "1.2.0"
|
|
980
|
-
}
|
|
934
|
+
"name": "ComponentID"
|
|
981
935
|
},
|
|
982
936
|
"isOptional": false,
|
|
983
937
|
"isSpread": false
|
|
@@ -1050,12 +1004,7 @@
|
|
|
1050
1004
|
"line": 262,
|
|
1051
1005
|
"character": 37
|
|
1052
1006
|
},
|
|
1053
|
-
"name": "ComponentID"
|
|
1054
|
-
"componentId": {
|
|
1055
|
-
"scope": "teambit.component",
|
|
1056
|
-
"name": "component-id",
|
|
1057
|
-
"version": "1.2.0"
|
|
1058
|
-
}
|
|
1007
|
+
"name": "ComponentID"
|
|
1059
1008
|
}
|
|
1060
1009
|
}
|
|
1061
1010
|
]
|
|
@@ -1096,11 +1045,7 @@
|
|
|
1096
1045
|
"line": 266,
|
|
1097
1046
|
"character": 50
|
|
1098
1047
|
},
|
|
1099
|
-
"name": "Component"
|
|
1100
|
-
"componentId": {
|
|
1101
|
-
"scope": "teambit.component",
|
|
1102
|
-
"name": "component"
|
|
1103
|
-
}
|
|
1048
|
+
"name": "Component"
|
|
1104
1049
|
}
|
|
1105
1050
|
},
|
|
1106
1051
|
"isOptional": false,
|
|
@@ -1216,11 +1161,7 @@
|
|
|
1216
1161
|
"line": 348,
|
|
1217
1162
|
"character": 5
|
|
1218
1163
|
},
|
|
1219
|
-
"name": "Workspace"
|
|
1220
|
-
"componentId": {
|
|
1221
|
-
"scope": "teambit.workspace",
|
|
1222
|
-
"name": "workspace"
|
|
1223
|
-
}
|
|
1164
|
+
"name": "Workspace"
|
|
1224
1165
|
},
|
|
1225
1166
|
{
|
|
1226
1167
|
"__schema": "TypeRefSchema",
|
|
@@ -1229,11 +1170,7 @@
|
|
|
1229
1170
|
"line": 349,
|
|
1230
1171
|
"character": 5
|
|
1231
1172
|
},
|
|
1232
|
-
"name": "CLIMain"
|
|
1233
|
-
"componentId": {
|
|
1234
|
-
"scope": "teambit.harmony",
|
|
1235
|
-
"name": "cli"
|
|
1236
|
-
}
|
|
1173
|
+
"name": "CLIMain"
|
|
1237
1174
|
},
|
|
1238
1175
|
{
|
|
1239
1176
|
"__schema": "TypeRefSchema",
|
|
@@ -1242,11 +1179,7 @@
|
|
|
1242
1179
|
"line": 350,
|
|
1243
1180
|
"character": 5
|
|
1244
1181
|
},
|
|
1245
|
-
"name": "LoggerMain"
|
|
1246
|
-
"componentId": {
|
|
1247
|
-
"scope": "teambit.harmony",
|
|
1248
|
-
"name": "logger"
|
|
1249
|
-
}
|
|
1182
|
+
"name": "LoggerMain"
|
|
1250
1183
|
},
|
|
1251
1184
|
{
|
|
1252
1185
|
"__schema": "TypeRefSchema",
|
|
@@ -1255,11 +1188,7 @@
|
|
|
1255
1188
|
"line": 351,
|
|
1256
1189
|
"character": 5
|
|
1257
1190
|
},
|
|
1258
|
-
"name": "ComponentMain"
|
|
1259
|
-
"componentId": {
|
|
1260
|
-
"scope": "teambit.component",
|
|
1261
|
-
"name": "component"
|
|
1262
|
-
}
|
|
1191
|
+
"name": "ComponentMain"
|
|
1263
1192
|
},
|
|
1264
1193
|
{
|
|
1265
1194
|
"__schema": "TypeRefSchema",
|
|
@@ -1268,11 +1197,7 @@
|
|
|
1268
1197
|
"line": 352,
|
|
1269
1198
|
"character": 5
|
|
1270
1199
|
},
|
|
1271
|
-
"name": "ImporterMain"
|
|
1272
|
-
"componentId": {
|
|
1273
|
-
"scope": "teambit.scope",
|
|
1274
|
-
"name": "importer"
|
|
1275
|
-
}
|
|
1200
|
+
"name": "ImporterMain"
|
|
1276
1201
|
},
|
|
1277
1202
|
{
|
|
1278
1203
|
"__schema": "TypeRefSchema",
|
|
@@ -1281,11 +1206,7 @@
|
|
|
1281
1206
|
"line": 353,
|
|
1282
1207
|
"character": 5
|
|
1283
1208
|
},
|
|
1284
|
-
"name": "DependencyResolverMain"
|
|
1285
|
-
"componentId": {
|
|
1286
|
-
"scope": "teambit.dependencies",
|
|
1287
|
-
"name": "dependency-resolver"
|
|
1288
|
-
}
|
|
1209
|
+
"name": "DependencyResolverMain"
|
|
1289
1210
|
},
|
|
1290
1211
|
{
|
|
1291
1212
|
"__schema": "TypeRefSchema",
|
|
@@ -1294,11 +1215,7 @@
|
|
|
1294
1215
|
"line": 354,
|
|
1295
1216
|
"character": 5
|
|
1296
1217
|
},
|
|
1297
|
-
"name": "IssuesMain"
|
|
1298
|
-
"componentId": {
|
|
1299
|
-
"scope": "teambit.component",
|
|
1300
|
-
"name": "issues"
|
|
1301
|
-
}
|
|
1218
|
+
"name": "IssuesMain"
|
|
1302
1219
|
}
|
|
1303
1220
|
]
|
|
1304
1221
|
},
|
|
@@ -1454,12 +1371,7 @@
|
|
|
1454
1371
|
"line": 7,
|
|
1455
1372
|
"character": 27
|
|
1456
1373
|
},
|
|
1457
|
-
"name": "ComponentIdList"
|
|
1458
|
-
"componentId": {
|
|
1459
|
-
"scope": "teambit.component",
|
|
1460
|
-
"name": "component-id",
|
|
1461
|
-
"version": "1.2.0"
|
|
1462
|
-
}
|
|
1374
|
+
"name": "ComponentIdList"
|
|
1463
1375
|
},
|
|
1464
1376
|
"isOptional": true,
|
|
1465
1377
|
"isSpread": false
|
|
@@ -1479,12 +1391,7 @@
|
|
|
1479
1391
|
"line": 8,
|
|
1480
1392
|
"character": 25
|
|
1481
1393
|
},
|
|
1482
|
-
"name": "ComponentIdList"
|
|
1483
|
-
"componentId": {
|
|
1484
|
-
"scope": "teambit.component",
|
|
1485
|
-
"name": "component-id",
|
|
1486
|
-
"version": "1.2.0"
|
|
1487
|
-
}
|
|
1394
|
+
"name": "ComponentIdList"
|
|
1488
1395
|
},
|
|
1489
1396
|
"isOptional": true,
|
|
1490
1397
|
"isSpread": false
|
|
@@ -1504,12 +1411,7 @@
|
|
|
1504
1411
|
"line": 9,
|
|
1505
1412
|
"character": 26
|
|
1506
1413
|
},
|
|
1507
|
-
"name": "ComponentIdList"
|
|
1508
|
-
"componentId": {
|
|
1509
|
-
"scope": "teambit.component",
|
|
1510
|
-
"name": "component-id",
|
|
1511
|
-
"version": "1.2.0"
|
|
1512
|
-
}
|
|
1414
|
+
"name": "ComponentIdList"
|
|
1513
1415
|
},
|
|
1514
1416
|
"isOptional": true,
|
|
1515
1417
|
"isSpread": false
|
|
@@ -1569,12 +1471,7 @@
|
|
|
1569
1471
|
"line": 11,
|
|
1570
1472
|
"character": 23
|
|
1571
1473
|
},
|
|
1572
|
-
"name": "ComponentIdList"
|
|
1573
|
-
"componentId": {
|
|
1574
|
-
"scope": "teambit.component",
|
|
1575
|
-
"name": "component-id",
|
|
1576
|
-
"version": "1.2.0"
|
|
1577
|
-
}
|
|
1474
|
+
"name": "ComponentIdList"
|
|
1578
1475
|
},
|
|
1579
1476
|
"isOptional": true,
|
|
1580
1477
|
"isSpread": false
|
|
@@ -1614,7 +1511,7 @@
|
|
|
1614
1511
|
"_legacy": {
|
|
1615
1512
|
"scope": "teambit.component",
|
|
1616
1513
|
"name": "remove",
|
|
1617
|
-
"version": "1.0.
|
|
1514
|
+
"version": "1.0.228"
|
|
1618
1515
|
},
|
|
1619
1516
|
"_scope": "teambit.component"
|
|
1620
1517
|
}
|
|
@@ -1949,11 +1846,7 @@
|
|
|
1949
1846
|
"line": 38,
|
|
1950
1847
|
"character": 24
|
|
1951
1848
|
},
|
|
1952
|
-
"name": "Workspace"
|
|
1953
|
-
"componentId": {
|
|
1954
|
-
"scope": "teambit.workspace",
|
|
1955
|
-
"name": "workspace"
|
|
1956
|
-
}
|
|
1849
|
+
"name": "Workspace"
|
|
1957
1850
|
},
|
|
1958
1851
|
"isOptional": false,
|
|
1959
1852
|
"isSpread": false
|
|
@@ -1973,11 +1866,7 @@
|
|
|
1973
1866
|
"line": 39,
|
|
1974
1867
|
"character": 20
|
|
1975
1868
|
},
|
|
1976
|
-
"name": "Logger"
|
|
1977
|
-
"componentId": {
|
|
1978
|
-
"scope": "teambit.harmony",
|
|
1979
|
-
"name": "logger"
|
|
1980
|
-
}
|
|
1869
|
+
"name": "Logger"
|
|
1981
1870
|
},
|
|
1982
1871
|
"isOptional": false,
|
|
1983
1872
|
"isSpread": false
|
|
@@ -1997,11 +1886,7 @@
|
|
|
1997
1886
|
"line": 40,
|
|
1998
1887
|
"character": 23
|
|
1999
1888
|
},
|
|
2000
|
-
"name": "ImporterMain"
|
|
2001
|
-
"componentId": {
|
|
2002
|
-
"scope": "teambit.scope",
|
|
2003
|
-
"name": "importer"
|
|
2004
|
-
}
|
|
1889
|
+
"name": "ImporterMain"
|
|
2005
1890
|
},
|
|
2006
1891
|
"isOptional": false,
|
|
2007
1892
|
"isSpread": false
|
|
@@ -2021,11 +1906,7 @@
|
|
|
2021
1906
|
"line": 41,
|
|
2022
1907
|
"character": 26
|
|
2023
1908
|
},
|
|
2024
|
-
"name": "DependencyResolverMain"
|
|
2025
|
-
"componentId": {
|
|
2026
|
-
"scope": "teambit.dependencies",
|
|
2027
|
-
"name": "dependency-resolver"
|
|
2028
|
-
}
|
|
1909
|
+
"name": "DependencyResolverMain"
|
|
2029
1910
|
},
|
|
2030
1911
|
"isOptional": false,
|
|
2031
1912
|
"isSpread": false
|
|
@@ -2292,8 +2173,7 @@
|
|
|
2292
2173
|
"line": 56,
|
|
2293
2174
|
"character": 15
|
|
2294
2175
|
},
|
|
2295
|
-
"name": "RemoveComponentsResult"
|
|
2296
|
-
"internalFilePath": "remove-components.ts"
|
|
2176
|
+
"name": "RemoveComponentsResult"
|
|
2297
2177
|
}
|
|
2298
2178
|
]
|
|
2299
2179
|
},
|
|
@@ -2343,12 +2223,7 @@
|
|
|
2343
2223
|
"line": 79,
|
|
2344
2224
|
"character": 10
|
|
2345
2225
|
},
|
|
2346
|
-
"name": "ComponentID"
|
|
2347
|
-
"componentId": {
|
|
2348
|
-
"scope": "teambit.component",
|
|
2349
|
-
"name": "component-id",
|
|
2350
|
-
"version": "1.2.0"
|
|
2351
|
-
}
|
|
2226
|
+
"name": "ComponentID"
|
|
2352
2227
|
}
|
|
2353
2228
|
},
|
|
2354
2229
|
"isOptional": false,
|
|
@@ -2504,12 +2379,7 @@
|
|
|
2504
2379
|
"line": 96,
|
|
2505
2380
|
"character": 39
|
|
2506
2381
|
},
|
|
2507
|
-
"name": "ComponentID"
|
|
2508
|
-
"componentId": {
|
|
2509
|
-
"scope": "teambit.component",
|
|
2510
|
-
"name": "component-id",
|
|
2511
|
-
"version": "1.2.0"
|
|
2512
|
-
}
|
|
2382
|
+
"name": "ComponentID"
|
|
2513
2383
|
}
|
|
2514
2384
|
},
|
|
2515
2385
|
"isOptional": false,
|
|
@@ -2646,12 +2516,7 @@
|
|
|
2646
2516
|
"line": 114,
|
|
2647
2517
|
"character": 94
|
|
2648
2518
|
},
|
|
2649
|
-
"name": "ComponentID"
|
|
2650
|
-
"componentId": {
|
|
2651
|
-
"scope": "teambit.component",
|
|
2652
|
-
"name": "component-id",
|
|
2653
|
-
"version": "1.2.0"
|
|
2654
|
-
}
|
|
2519
|
+
"name": "ComponentID"
|
|
2655
2520
|
}
|
|
2656
2521
|
}
|
|
2657
2522
|
]
|
|
@@ -2715,8 +2580,7 @@
|
|
|
2715
2580
|
"line": 148,
|
|
2716
2581
|
"character": 45
|
|
2717
2582
|
},
|
|
2718
|
-
"name": "RecoverOptions"
|
|
2719
|
-
"internalFilePath": "recover-cmd.ts"
|
|
2583
|
+
"name": "RecoverOptions"
|
|
2720
2584
|
},
|
|
2721
2585
|
"isOptional": false,
|
|
2722
2586
|
"isSpread": false
|
|
@@ -2771,11 +2635,7 @@
|
|
|
2771
2635
|
"line": 233,
|
|
2772
2636
|
"character": 28
|
|
2773
2637
|
},
|
|
2774
|
-
"name": "Component"
|
|
2775
|
-
"componentId": {
|
|
2776
|
-
"scope": "teambit.component",
|
|
2777
|
-
"name": "component"
|
|
2778
|
-
}
|
|
2638
|
+
"name": "Component"
|
|
2779
2639
|
},
|
|
2780
2640
|
"isOptional": false,
|
|
2781
2641
|
"isSpread": false
|
|
@@ -2817,11 +2677,7 @@
|
|
|
2817
2677
|
"line": 240,
|
|
2818
2678
|
"character": 24
|
|
2819
2679
|
},
|
|
2820
|
-
"name": "Component"
|
|
2821
|
-
"componentId": {
|
|
2822
|
-
"scope": "teambit.component",
|
|
2823
|
-
"name": "component"
|
|
2824
|
-
}
|
|
2680
|
+
"name": "Component"
|
|
2825
2681
|
},
|
|
2826
2682
|
"isOptional": false,
|
|
2827
2683
|
"isSpread": false
|
|
@@ -2873,12 +2729,7 @@
|
|
|
2873
2729
|
"line": 247,
|
|
2874
2730
|
"character": 59
|
|
2875
2731
|
},
|
|
2876
|
-
"name": "ComponentID"
|
|
2877
|
-
"componentId": {
|
|
2878
|
-
"scope": "teambit.component",
|
|
2879
|
-
"name": "component-id",
|
|
2880
|
-
"version": "1.2.0"
|
|
2881
|
-
}
|
|
2732
|
+
"name": "ComponentID"
|
|
2882
2733
|
},
|
|
2883
2734
|
"isOptional": false,
|
|
2884
2735
|
"isSpread": false
|
|
@@ -2951,12 +2802,7 @@
|
|
|
2951
2802
|
"line": 262,
|
|
2952
2803
|
"character": 37
|
|
2953
2804
|
},
|
|
2954
|
-
"name": "ComponentID"
|
|
2955
|
-
"componentId": {
|
|
2956
|
-
"scope": "teambit.component",
|
|
2957
|
-
"name": "component-id",
|
|
2958
|
-
"version": "1.2.0"
|
|
2959
|
-
}
|
|
2805
|
+
"name": "ComponentID"
|
|
2960
2806
|
}
|
|
2961
2807
|
}
|
|
2962
2808
|
]
|
|
@@ -2997,11 +2843,7 @@
|
|
|
2997
2843
|
"line": 266,
|
|
2998
2844
|
"character": 50
|
|
2999
2845
|
},
|
|
3000
|
-
"name": "Component"
|
|
3001
|
-
"componentId": {
|
|
3002
|
-
"scope": "teambit.component",
|
|
3003
|
-
"name": "component"
|
|
3004
|
-
}
|
|
2846
|
+
"name": "Component"
|
|
3005
2847
|
}
|
|
3006
2848
|
},
|
|
3007
2849
|
"isOptional": false,
|
|
@@ -3117,11 +2959,7 @@
|
|
|
3117
2959
|
"line": 348,
|
|
3118
2960
|
"character": 5
|
|
3119
2961
|
},
|
|
3120
|
-
"name": "Workspace"
|
|
3121
|
-
"componentId": {
|
|
3122
|
-
"scope": "teambit.workspace",
|
|
3123
|
-
"name": "workspace"
|
|
3124
|
-
}
|
|
2962
|
+
"name": "Workspace"
|
|
3125
2963
|
},
|
|
3126
2964
|
{
|
|
3127
2965
|
"__schema": "TypeRefSchema",
|
|
@@ -3130,11 +2968,7 @@
|
|
|
3130
2968
|
"line": 349,
|
|
3131
2969
|
"character": 5
|
|
3132
2970
|
},
|
|
3133
|
-
"name": "CLIMain"
|
|
3134
|
-
"componentId": {
|
|
3135
|
-
"scope": "teambit.harmony",
|
|
3136
|
-
"name": "cli"
|
|
3137
|
-
}
|
|
2971
|
+
"name": "CLIMain"
|
|
3138
2972
|
},
|
|
3139
2973
|
{
|
|
3140
2974
|
"__schema": "TypeRefSchema",
|
|
@@ -3143,11 +2977,7 @@
|
|
|
3143
2977
|
"line": 350,
|
|
3144
2978
|
"character": 5
|
|
3145
2979
|
},
|
|
3146
|
-
"name": "LoggerMain"
|
|
3147
|
-
"componentId": {
|
|
3148
|
-
"scope": "teambit.harmony",
|
|
3149
|
-
"name": "logger"
|
|
3150
|
-
}
|
|
2980
|
+
"name": "LoggerMain"
|
|
3151
2981
|
},
|
|
3152
2982
|
{
|
|
3153
2983
|
"__schema": "TypeRefSchema",
|
|
@@ -3156,11 +2986,7 @@
|
|
|
3156
2986
|
"line": 351,
|
|
3157
2987
|
"character": 5
|
|
3158
2988
|
},
|
|
3159
|
-
"name": "ComponentMain"
|
|
3160
|
-
"componentId": {
|
|
3161
|
-
"scope": "teambit.component",
|
|
3162
|
-
"name": "component"
|
|
3163
|
-
}
|
|
2989
|
+
"name": "ComponentMain"
|
|
3164
2990
|
},
|
|
3165
2991
|
{
|
|
3166
2992
|
"__schema": "TypeRefSchema",
|
|
@@ -3169,11 +2995,7 @@
|
|
|
3169
2995
|
"line": 352,
|
|
3170
2996
|
"character": 5
|
|
3171
2997
|
},
|
|
3172
|
-
"name": "ImporterMain"
|
|
3173
|
-
"componentId": {
|
|
3174
|
-
"scope": "teambit.scope",
|
|
3175
|
-
"name": "importer"
|
|
3176
|
-
}
|
|
2998
|
+
"name": "ImporterMain"
|
|
3177
2999
|
},
|
|
3178
3000
|
{
|
|
3179
3001
|
"__schema": "TypeRefSchema",
|
|
@@ -3182,11 +3004,7 @@
|
|
|
3182
3004
|
"line": 353,
|
|
3183
3005
|
"character": 5
|
|
3184
3006
|
},
|
|
3185
|
-
"name": "DependencyResolverMain"
|
|
3186
|
-
"componentId": {
|
|
3187
|
-
"scope": "teambit.dependencies",
|
|
3188
|
-
"name": "dependency-resolver"
|
|
3189
|
-
}
|
|
3007
|
+
"name": "DependencyResolverMain"
|
|
3190
3008
|
},
|
|
3191
3009
|
{
|
|
3192
3010
|
"__schema": "TypeRefSchema",
|
|
@@ -3195,11 +3013,7 @@
|
|
|
3195
3013
|
"line": 354,
|
|
3196
3014
|
"character": 5
|
|
3197
3015
|
},
|
|
3198
|
-
"name": "IssuesMain"
|
|
3199
|
-
"componentId": {
|
|
3200
|
-
"scope": "teambit.component",
|
|
3201
|
-
"name": "issues"
|
|
3202
|
-
}
|
|
3016
|
+
"name": "IssuesMain"
|
|
3203
3017
|
}
|
|
3204
3018
|
]
|
|
3205
3019
|
},
|
|
@@ -3349,12 +3163,7 @@
|
|
|
3349
3163
|
"line": 7,
|
|
3350
3164
|
"character": 27
|
|
3351
3165
|
},
|
|
3352
|
-
"name": "ComponentIdList"
|
|
3353
|
-
"componentId": {
|
|
3354
|
-
"scope": "teambit.component",
|
|
3355
|
-
"name": "component-id",
|
|
3356
|
-
"version": "1.2.0"
|
|
3357
|
-
}
|
|
3166
|
+
"name": "ComponentIdList"
|
|
3358
3167
|
},
|
|
3359
3168
|
"isOptional": true,
|
|
3360
3169
|
"isSpread": false
|
|
@@ -3374,12 +3183,7 @@
|
|
|
3374
3183
|
"line": 8,
|
|
3375
3184
|
"character": 25
|
|
3376
3185
|
},
|
|
3377
|
-
"name": "ComponentIdList"
|
|
3378
|
-
"componentId": {
|
|
3379
|
-
"scope": "teambit.component",
|
|
3380
|
-
"name": "component-id",
|
|
3381
|
-
"version": "1.2.0"
|
|
3382
|
-
}
|
|
3186
|
+
"name": "ComponentIdList"
|
|
3383
3187
|
},
|
|
3384
3188
|
"isOptional": true,
|
|
3385
3189
|
"isSpread": false
|
|
@@ -3399,12 +3203,7 @@
|
|
|
3399
3203
|
"line": 9,
|
|
3400
3204
|
"character": 26
|
|
3401
3205
|
},
|
|
3402
|
-
"name": "ComponentIdList"
|
|
3403
|
-
"componentId": {
|
|
3404
|
-
"scope": "teambit.component",
|
|
3405
|
-
"name": "component-id",
|
|
3406
|
-
"version": "1.2.0"
|
|
3407
|
-
}
|
|
3206
|
+
"name": "ComponentIdList"
|
|
3408
3207
|
},
|
|
3409
3208
|
"isOptional": true,
|
|
3410
3209
|
"isSpread": false
|
|
@@ -3464,12 +3263,7 @@
|
|
|
3464
3263
|
"line": 11,
|
|
3465
3264
|
"character": 23
|
|
3466
3265
|
},
|
|
3467
|
-
"name": "ComponentIdList"
|
|
3468
|
-
"componentId": {
|
|
3469
|
-
"scope": "teambit.component",
|
|
3470
|
-
"name": "component-id",
|
|
3471
|
-
"version": "1.2.0"
|
|
3472
|
-
}
|
|
3266
|
+
"name": "ComponentIdList"
|
|
3473
3267
|
},
|
|
3474
3268
|
"isOptional": true,
|
|
3475
3269
|
"isSpread": false
|
|
@@ -3509,7 +3303,7 @@
|
|
|
3509
3303
|
"_legacy": {
|
|
3510
3304
|
"scope": "teambit.component",
|
|
3511
3305
|
"name": "remove",
|
|
3512
|
-
"version": "1.0.
|
|
3306
|
+
"version": "1.0.228"
|
|
3513
3307
|
},
|
|
3514
3308
|
"_scope": "teambit.component"
|
|
3515
3309
|
}
|
|
@@ -3562,7 +3356,7 @@
|
|
|
3562
3356
|
"componentId": {
|
|
3563
3357
|
"scope": "teambit.component",
|
|
3564
3358
|
"name": "remove",
|
|
3565
|
-
"version": "1.0.
|
|
3359
|
+
"version": "1.0.228"
|
|
3566
3360
|
},
|
|
3567
3361
|
"taggedModuleExports": []
|
|
3568
3362
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/remove",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.228",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/component/remove",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.component",
|
|
8
8
|
"name": "remove",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.228"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"chalk": "2.4.2",
|
|
@@ -18,20 +18,20 @@
|
|
|
18
18
|
"@teambit/bit-error": "0.0.404",
|
|
19
19
|
"@teambit/component-id": "1.2.0",
|
|
20
20
|
"@teambit/harmony": "0.4.6",
|
|
21
|
-
"@teambit/cli": "0.0.
|
|
22
|
-
"@teambit/workspace": "1.0.
|
|
23
|
-
"@teambit/component": "1.0.
|
|
21
|
+
"@teambit/cli": "0.0.861",
|
|
22
|
+
"@teambit/workspace": "1.0.228",
|
|
23
|
+
"@teambit/component": "1.0.228",
|
|
24
24
|
"@teambit/component-issues": "0.0.143",
|
|
25
|
-
"@teambit/dependency-resolver": "1.0.
|
|
26
|
-
"@teambit/importer": "1.0.
|
|
27
|
-
"@teambit/issues": "1.0.
|
|
28
|
-
"@teambit/logger": "0.0.
|
|
25
|
+
"@teambit/dependency-resolver": "1.0.228",
|
|
26
|
+
"@teambit/importer": "1.0.228",
|
|
27
|
+
"@teambit/issues": "1.0.228",
|
|
28
|
+
"@teambit/logger": "0.0.954"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/lodash": "4.14.165",
|
|
32
32
|
"@types/mocha": "9.1.0",
|
|
33
33
|
"chai": "4.3.0",
|
|
34
|
-
"@teambit/harmony.envs.core-aspect-env": "0.0.
|
|
34
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.30"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@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,25 @@
|
|
|
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.861"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@1.0.228"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component@1.0.228"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.scope_importer@1.0.228"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_issues@1.0.228"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_logger@0.0.954"
|
|
58
|
+
}
|
|
38
59
|
]
|
|
39
60
|
}
|
package/dist/delete-cmd.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from '@teambit/cli';
|
|
2
|
-
import { Workspace } from '@teambit/workspace';
|
|
3
|
-
import { RemoveMain } from './remove.main.runtime';
|
|
4
|
-
export declare class DeleteCmd implements Command {
|
|
5
|
-
private remove;
|
|
6
|
-
private workspace?;
|
|
7
|
-
name: string;
|
|
8
|
-
description: string;
|
|
9
|
-
extendedDescription: string;
|
|
10
|
-
arguments: {
|
|
11
|
-
name: string;
|
|
12
|
-
description: string;
|
|
13
|
-
}[];
|
|
14
|
-
group: string;
|
|
15
|
-
helpUrl: string;
|
|
16
|
-
skipWorkspace: boolean;
|
|
17
|
-
alias: string;
|
|
18
|
-
options: CommandOptions;
|
|
19
|
-
loader: boolean;
|
|
20
|
-
remoteOp: boolean;
|
|
21
|
-
constructor(remove: RemoveMain, workspace?: Workspace | undefined);
|
|
22
|
-
report([componentsPattern]: [string], { force, lane, updateMain, hard, silent, }: {
|
|
23
|
-
force?: boolean;
|
|
24
|
-
lane?: boolean;
|
|
25
|
-
updateMain?: boolean;
|
|
26
|
-
hard?: boolean;
|
|
27
|
-
silent?: boolean;
|
|
28
|
-
}): Promise<string>;
|
|
29
|
-
private paintArray;
|
|
30
|
-
private removePrompt;
|
|
31
|
-
}
|
package/dist/index.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { RemoveAspect } from './remove.aspect';
|
|
2
|
-
export type { RemoveMain, RemoveInfo } from './remove.main.runtime';
|
|
3
|
-
export type { RemovedLocalObjects } from './removed-local-objects';
|
|
4
|
-
export { removeTemplate } from './remove-template';
|
|
5
|
-
export default RemoveAspect;
|
|
6
|
-
export { RemoveAspect };
|
package/dist/recover-cmd.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from '@teambit/cli';
|
|
2
|
-
import { RemoveMain } from './remove.main.runtime';
|
|
3
|
-
export type RecoverOptions = {
|
|
4
|
-
skipDependencyInstallation?: boolean;
|
|
5
|
-
skipWriteConfigFiles?: boolean;
|
|
6
|
-
};
|
|
7
|
-
export declare class RecoverCmd implements Command {
|
|
8
|
-
private remove;
|
|
9
|
-
name: string;
|
|
10
|
-
description: string;
|
|
11
|
-
group: string;
|
|
12
|
-
options: CommandOptions;
|
|
13
|
-
loader: boolean;
|
|
14
|
-
constructor(remove: RemoveMain);
|
|
15
|
-
report([componentName]: [string], options: RecoverOptions): Promise<string>;
|
|
16
|
-
}
|
package/dist/remove-cmd.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from '@teambit/cli';
|
|
2
|
-
import { Workspace } from '@teambit/workspace';
|
|
3
|
-
import { RemoveMain } from './remove.main.runtime';
|
|
4
|
-
export declare class RemoveCmd implements Command {
|
|
5
|
-
private remove;
|
|
6
|
-
private workspace?;
|
|
7
|
-
name: string;
|
|
8
|
-
description: string;
|
|
9
|
-
extendedDescription: string;
|
|
10
|
-
arguments: {
|
|
11
|
-
name: string;
|
|
12
|
-
description: string;
|
|
13
|
-
}[];
|
|
14
|
-
group: string;
|
|
15
|
-
helpUrl: string;
|
|
16
|
-
skipWorkspace: boolean;
|
|
17
|
-
alias: string;
|
|
18
|
-
options: CommandOptions;
|
|
19
|
-
loader: boolean;
|
|
20
|
-
examples: {
|
|
21
|
-
cmd: string;
|
|
22
|
-
description: string;
|
|
23
|
-
}[];
|
|
24
|
-
remoteOp: boolean;
|
|
25
|
-
constructor(remove: RemoveMain, workspace?: Workspace | undefined);
|
|
26
|
-
report([componentsPattern]: [string], { force, track, silent, keepFiles, }: {
|
|
27
|
-
force?: boolean;
|
|
28
|
-
track?: boolean;
|
|
29
|
-
silent?: boolean;
|
|
30
|
-
keepFiles?: boolean;
|
|
31
|
-
}): Promise<string>;
|
|
32
|
-
private removePrompt;
|
|
33
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Workspace } from '@teambit/workspace';
|
|
2
|
-
import { ComponentIdList } from '@teambit/component-id';
|
|
3
|
-
import RemovedObjects from '@teambit/legacy/dist/scope/removed-components';
|
|
4
|
-
import { RemovedLocalObjects } from './removed-local-objects';
|
|
5
|
-
export type RemoveComponentsResult = {
|
|
6
|
-
localResult: RemovedLocalObjects;
|
|
7
|
-
remoteResult: RemovedObjects[];
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* Remove components local and remote
|
|
11
|
-
* splits array of ids into local and remote and removes according to flags
|
|
12
|
-
* @param {string[]} ids - list of remote component ids to delete
|
|
13
|
-
* @param {boolean} force - delete component that are used by other components.
|
|
14
|
-
* @param {boolean} remote - delete component from a remote scope
|
|
15
|
-
* @param {boolean} track - keep tracking local staged components in bitmap.
|
|
16
|
-
* @param {boolean} deleteFiles - delete local added files from fs.
|
|
17
|
-
*/
|
|
18
|
-
export declare function removeComponents({ workspace, ids, force, remote, track, deleteFiles, }: {
|
|
19
|
-
workspace?: Workspace;
|
|
20
|
-
ids: ComponentIdList;
|
|
21
|
-
force: boolean;
|
|
22
|
-
remote: boolean;
|
|
23
|
-
track: boolean;
|
|
24
|
-
deleteFiles: boolean;
|
|
25
|
-
}): Promise<RemoveComponentsResult>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare function removeTemplate({ dependentBits, modifiedComponents, removedComponentIds, missingComponents, removedFromLane }: {
|
|
2
|
-
dependentBits: any;
|
|
3
|
-
modifiedComponents?: never[] | undefined;
|
|
4
|
-
removedComponentIds: any;
|
|
5
|
-
missingComponents: any;
|
|
6
|
-
removedFromLane: any;
|
|
7
|
-
}, isRemote: any): string;
|
package/dist/remove.aspect.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Component, ShowFragment } from '@teambit/component';
|
|
2
|
-
import { RemoveMain } from './remove.main.runtime';
|
|
3
|
-
export declare class RemoveFragment implements ShowFragment {
|
|
4
|
-
private remove;
|
|
5
|
-
constructor(remove: RemoveMain);
|
|
6
|
-
title: string;
|
|
7
|
-
renderRow(component: Component): Promise<{
|
|
8
|
-
title: string;
|
|
9
|
-
content: string;
|
|
10
|
-
}>;
|
|
11
|
-
json(component: Component): Promise<{
|
|
12
|
-
title: string;
|
|
13
|
-
json: import("./remove.main.runtime").RemoveInfo;
|
|
14
|
-
}>;
|
|
15
|
-
weight: number;
|
|
16
|
-
}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { CLIMain } from '@teambit/cli';
|
|
2
|
-
import { Logger, LoggerMain } from '@teambit/logger';
|
|
3
|
-
import { Workspace } from '@teambit/workspace';
|
|
4
|
-
import { ComponentID } from '@teambit/component-id';
|
|
5
|
-
import { ImporterMain } from '@teambit/importer';
|
|
6
|
-
import { DependencyResolverMain } from '@teambit/dependency-resolver';
|
|
7
|
-
import { IssuesMain } from '@teambit/issues';
|
|
8
|
-
import { Component, ComponentMain } from '@teambit/component';
|
|
9
|
-
import { RemoveComponentsResult } from './remove-components';
|
|
10
|
-
import { RecoverOptions } from './recover-cmd';
|
|
11
|
-
export type RemoveInfo = {
|
|
12
|
-
removed: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* whether to remove the component from default lane once merged
|
|
15
|
-
*/
|
|
16
|
-
removeOnMain?: boolean;
|
|
17
|
-
};
|
|
18
|
-
export declare class RemoveMain {
|
|
19
|
-
private workspace;
|
|
20
|
-
logger: Logger;
|
|
21
|
-
private importer;
|
|
22
|
-
private depResolver;
|
|
23
|
-
constructor(workspace: Workspace, logger: Logger, importer: ImporterMain, depResolver: DependencyResolverMain);
|
|
24
|
-
remove({ componentsPattern, force, remote, track, deleteFiles, }: {
|
|
25
|
-
componentsPattern: string;
|
|
26
|
-
force?: boolean;
|
|
27
|
-
remote?: boolean;
|
|
28
|
-
track?: boolean;
|
|
29
|
-
deleteFiles?: boolean;
|
|
30
|
-
}): Promise<RemoveComponentsResult>;
|
|
31
|
-
/**
|
|
32
|
-
* remove components from the workspace.
|
|
33
|
-
*/
|
|
34
|
-
removeLocallyByIds(ids: ComponentID[], { force, reasonForRemoval }?: {
|
|
35
|
-
force?: boolean;
|
|
36
|
-
reasonForRemoval?: string;
|
|
37
|
-
}): Promise<RemoveComponentsResult>;
|
|
38
|
-
markRemoveComps(componentIds: ComponentID[], shouldUpdateMain?: boolean): Promise<ComponentID[]>;
|
|
39
|
-
deleteComps(componentsPattern: string, opts?: {
|
|
40
|
-
updateMain?: boolean;
|
|
41
|
-
}): Promise<ComponentID[]>;
|
|
42
|
-
/**
|
|
43
|
-
* recover a soft-removed component.
|
|
44
|
-
* there are 4 different scenarios.
|
|
45
|
-
* 1. a component was just soft-removed, it wasn't snapped yet. so it's now in .bitmap with the "removed" aspect entry.
|
|
46
|
-
* 1.a. the component still exists in the local scope. no need to import. write it from there.
|
|
47
|
-
* 1.b. the component doesn't exist in the local scope. import it.
|
|
48
|
-
* 2. soft-removed and then snapped. It's not in .bitmap now.
|
|
49
|
-
* 3. soft-removed, snapped, exported. it's not in .bitmap now.
|
|
50
|
-
* 4. a soft-removed components was imported, so it's now in .bitmap without the "removed" aspect entry.
|
|
51
|
-
* 5. workspace is empty. the soft-removed component is on the remote.
|
|
52
|
-
* returns `true` if it was recovered. `false` if the component wasn't soft-removed, so nothing to recover from.
|
|
53
|
-
*/
|
|
54
|
-
recover(compIdStr: string, options: RecoverOptions): Promise<boolean>;
|
|
55
|
-
private throwForMainComponentWhenOnLane;
|
|
56
|
-
getRemoveInfo(component: Component): RemoveInfo;
|
|
57
|
-
isRemoved(component: Component): boolean;
|
|
58
|
-
/**
|
|
59
|
-
* performant version of isRemoved() in case the component object is not available and loading it is expensive.
|
|
60
|
-
*/
|
|
61
|
-
isRemovedByIdWithoutLoadingComponent(componentId: ComponentID): Promise<boolean>;
|
|
62
|
-
/**
|
|
63
|
-
* get components that were soft-removed and tagged/snapped/merged but not exported yet.
|
|
64
|
-
*/
|
|
65
|
-
getRemovedStaged(): Promise<ComponentID[]>;
|
|
66
|
-
addRemovedDependenciesIssues(components: Component[]): Promise<void>;
|
|
67
|
-
private addRemovedDepIssue;
|
|
68
|
-
private getRemovedStagedFromMain;
|
|
69
|
-
private getRemovedStagedFromLane;
|
|
70
|
-
private getLocalBitIdsToRemove;
|
|
71
|
-
private getRemoteBitIdsToRemove;
|
|
72
|
-
static slots: never[];
|
|
73
|
-
static dependencies: import("@teambit/harmony").Aspect[];
|
|
74
|
-
static runtime: import("@teambit/harmony").RuntimeDefinition;
|
|
75
|
-
static provider([workspace, cli, loggerMain, componentAspect, importerMain, depResolver, issues]: [
|
|
76
|
-
Workspace,
|
|
77
|
-
CLIMain,
|
|
78
|
-
LoggerMain,
|
|
79
|
-
ComponentMain,
|
|
80
|
-
ImporterMain,
|
|
81
|
-
DependencyResolverMain,
|
|
82
|
-
IssuesMain
|
|
83
|
-
]): Promise<RemoveMain>;
|
|
84
|
-
}
|
|
85
|
-
export default RemoveMain;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ComponentIdList } from '@teambit/component-id';
|
|
2
|
-
import RemovedObjects from '@teambit/legacy/dist/scope/removed-components';
|
|
3
|
-
export declare class RemovedLocalObjects extends RemovedObjects {
|
|
4
|
-
modifiedComponents: ComponentIdList;
|
|
5
|
-
constructor(removedComponentIds?: ComponentIdList, missingComponents?: ComponentIdList, modifiedComponents?: ComponentIdList, dependentBits?: Record<string, any>, removedFromLane?: ComponentIdList);
|
|
6
|
-
}
|
|
File without changes
|