@teambit/version-history 0.0.18 → 0.0.20
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 +35 -115
- package/package.json +7 -7
- package/tsconfig.json +13 -1
- package/dist/build-version-history-action.d.ts +0 -13
- package/dist/index.d.ts +0 -4
- package/dist/version-history-cmd.d.ts +0 -62
- package/dist/version-history.aspect.d.ts +0 -2
- package/dist/version-history.main.runtime.d.ts +0 -39
- /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.scope/version-history@0.0.
|
|
3
|
+
<testsuite name="teambit.scope/version-history@0.0.20" tests="0" failures="0" errors="0" skipped="0"/>
|
|
4
4
|
</testsuites>
|
package/artifacts/schema.json
CHANGED
|
@@ -48,11 +48,7 @@
|
|
|
48
48
|
"line": 28,
|
|
49
49
|
"character": 30
|
|
50
50
|
},
|
|
51
|
-
"name": "ScopeMain"
|
|
52
|
-
"componentId": {
|
|
53
|
-
"scope": "teambit.scope",
|
|
54
|
-
"name": "scope"
|
|
55
|
-
}
|
|
51
|
+
"name": "ScopeMain"
|
|
56
52
|
},
|
|
57
53
|
"isOptional": false,
|
|
58
54
|
"isSpread": false
|
|
@@ -72,11 +68,7 @@
|
|
|
72
68
|
"line": 28,
|
|
73
69
|
"character": 57
|
|
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
|
|
@@ -118,12 +110,7 @@
|
|
|
118
110
|
"line": 30,
|
|
119
111
|
"character": 19
|
|
120
112
|
},
|
|
121
|
-
"name": "ComponentID"
|
|
122
|
-
"componentId": {
|
|
123
|
-
"scope": "teambit.component",
|
|
124
|
-
"name": "component-id",
|
|
125
|
-
"version": "1.2.0"
|
|
126
|
-
}
|
|
113
|
+
"name": "ComponentID"
|
|
127
114
|
},
|
|
128
115
|
"isOptional": false,
|
|
129
116
|
"isSpread": false
|
|
@@ -143,8 +130,7 @@
|
|
|
143
130
|
"line": 30,
|
|
144
131
|
"character": 41
|
|
145
132
|
},
|
|
146
|
-
"name": "BuildOptions"
|
|
147
|
-
"internalFilePath": "version-history-cmd.ts"
|
|
133
|
+
"name": "BuildOptions"
|
|
148
134
|
},
|
|
149
135
|
"isOptional": true,
|
|
150
136
|
"defaultValue": "{}",
|
|
@@ -167,8 +153,7 @@
|
|
|
167
153
|
"line": 30,
|
|
168
154
|
"character": 69
|
|
169
155
|
},
|
|
170
|
-
"name": "BuildResult"
|
|
171
|
-
"internalFilePath": "version-history.main.runtime.ts"
|
|
156
|
+
"name": "BuildResult"
|
|
172
157
|
}
|
|
173
158
|
]
|
|
174
159
|
},
|
|
@@ -221,8 +206,7 @@
|
|
|
221
206
|
"line": 88,
|
|
222
207
|
"character": 35
|
|
223
208
|
},
|
|
224
|
-
"name": "ShowOptions"
|
|
225
|
-
"internalFilePath": "version-history-cmd.ts"
|
|
209
|
+
"name": "ShowOptions"
|
|
226
210
|
},
|
|
227
211
|
"isOptional": false,
|
|
228
212
|
"isSpread": false
|
|
@@ -251,8 +235,7 @@
|
|
|
251
235
|
"line": 88,
|
|
252
236
|
"character": 57
|
|
253
237
|
},
|
|
254
|
-
"name": "ShowResult"
|
|
255
|
-
"internalFilePath": "version-history.main.runtime.ts"
|
|
238
|
+
"name": "ShowResult"
|
|
256
239
|
}
|
|
257
240
|
}
|
|
258
241
|
]
|
|
@@ -286,12 +269,7 @@
|
|
|
286
269
|
"line": 100,
|
|
287
270
|
"character": 17
|
|
288
271
|
},
|
|
289
|
-
"name": "ComponentID"
|
|
290
|
-
"componentId": {
|
|
291
|
-
"scope": "teambit.component",
|
|
292
|
-
"name": "component-id",
|
|
293
|
-
"version": "1.2.0"
|
|
294
|
-
}
|
|
272
|
+
"name": "ComponentID"
|
|
295
273
|
},
|
|
296
274
|
"isOptional": false,
|
|
297
275
|
"isSpread": false
|
|
@@ -313,8 +291,7 @@
|
|
|
313
291
|
"line": 100,
|
|
314
292
|
"character": 39
|
|
315
293
|
},
|
|
316
|
-
"name": "VersionHistory"
|
|
317
|
-
"packageName": "@teambit/legacy/dist/scope/models"
|
|
294
|
+
"name": "VersionHistory"
|
|
318
295
|
}
|
|
319
296
|
]
|
|
320
297
|
},
|
|
@@ -389,8 +366,7 @@
|
|
|
389
366
|
"line": 107,
|
|
390
367
|
"character": 65
|
|
391
368
|
},
|
|
392
|
-
"name": "VersionHistoryGraph"
|
|
393
|
-
"packageName": "@teambit/legacy/dist/scope/models/version-history"
|
|
369
|
+
"name": "VersionHistoryGraph"
|
|
394
370
|
}
|
|
395
371
|
]
|
|
396
372
|
},
|
|
@@ -463,8 +439,7 @@
|
|
|
463
439
|
"line": 130,
|
|
464
440
|
"character": 14
|
|
465
441
|
},
|
|
466
|
-
"name": "BuildOptions"
|
|
467
|
-
"internalFilePath": "version-history-cmd.ts"
|
|
442
|
+
"name": "BuildOptions"
|
|
468
443
|
},
|
|
469
444
|
"isOptional": false,
|
|
470
445
|
"isSpread": false
|
|
@@ -521,8 +496,7 @@
|
|
|
521
496
|
"line": 131,
|
|
522
497
|
"character": 33
|
|
523
498
|
},
|
|
524
|
-
"name": "BuildResult"
|
|
525
|
-
"internalFilePath": "version-history.main.runtime.ts"
|
|
499
|
+
"name": "BuildResult"
|
|
526
500
|
}
|
|
527
501
|
}
|
|
528
502
|
]
|
|
@@ -578,8 +552,7 @@
|
|
|
578
552
|
"line": 139,
|
|
579
553
|
"character": 50
|
|
580
554
|
},
|
|
581
|
-
"name": "BuildOptions"
|
|
582
|
-
"internalFilePath": "version-history-cmd.ts"
|
|
555
|
+
"name": "BuildOptions"
|
|
583
556
|
},
|
|
584
557
|
"isOptional": false,
|
|
585
558
|
"isSpread": false
|
|
@@ -636,8 +609,7 @@
|
|
|
636
609
|
"line": 139,
|
|
637
610
|
"character": 92
|
|
638
611
|
},
|
|
639
|
-
"name": "BuildResult"
|
|
640
|
-
"internalFilePath": "version-history.main.runtime.ts"
|
|
612
|
+
"name": "BuildResult"
|
|
641
613
|
}
|
|
642
614
|
}
|
|
643
615
|
]
|
|
@@ -744,11 +716,7 @@
|
|
|
744
716
|
"line": 160,
|
|
745
717
|
"character": 52
|
|
746
718
|
},
|
|
747
|
-
"name": "CLIMain"
|
|
748
|
-
"componentId": {
|
|
749
|
-
"scope": "teambit.harmony",
|
|
750
|
-
"name": "cli"
|
|
751
|
-
}
|
|
719
|
+
"name": "CLIMain"
|
|
752
720
|
},
|
|
753
721
|
{
|
|
754
722
|
"__schema": "TypeRefSchema",
|
|
@@ -757,11 +725,7 @@
|
|
|
757
725
|
"line": 160,
|
|
758
726
|
"character": 61
|
|
759
727
|
},
|
|
760
|
-
"name": "ScopeMain"
|
|
761
|
-
"componentId": {
|
|
762
|
-
"scope": "teambit.scope",
|
|
763
|
-
"name": "scope"
|
|
764
|
-
}
|
|
728
|
+
"name": "ScopeMain"
|
|
765
729
|
},
|
|
766
730
|
{
|
|
767
731
|
"__schema": "TypeRefSchema",
|
|
@@ -770,11 +734,7 @@
|
|
|
770
734
|
"line": 160,
|
|
771
735
|
"character": 72
|
|
772
736
|
},
|
|
773
|
-
"name": "LoggerMain"
|
|
774
|
-
"componentId": {
|
|
775
|
-
"scope": "teambit.harmony",
|
|
776
|
-
"name": "logger"
|
|
777
|
-
}
|
|
737
|
+
"name": "LoggerMain"
|
|
778
738
|
}
|
|
779
739
|
]
|
|
780
740
|
},
|
|
@@ -883,11 +843,7 @@
|
|
|
883
843
|
"line": 28,
|
|
884
844
|
"character": 30
|
|
885
845
|
},
|
|
886
|
-
"name": "ScopeMain"
|
|
887
|
-
"componentId": {
|
|
888
|
-
"scope": "teambit.scope",
|
|
889
|
-
"name": "scope"
|
|
890
|
-
}
|
|
846
|
+
"name": "ScopeMain"
|
|
891
847
|
},
|
|
892
848
|
"isOptional": false,
|
|
893
849
|
"isSpread": false
|
|
@@ -907,11 +863,7 @@
|
|
|
907
863
|
"line": 28,
|
|
908
864
|
"character": 57
|
|
909
865
|
},
|
|
910
|
-
"name": "Logger"
|
|
911
|
-
"componentId": {
|
|
912
|
-
"scope": "teambit.harmony",
|
|
913
|
-
"name": "logger"
|
|
914
|
-
}
|
|
866
|
+
"name": "Logger"
|
|
915
867
|
},
|
|
916
868
|
"isOptional": false,
|
|
917
869
|
"isSpread": false
|
|
@@ -953,12 +905,7 @@
|
|
|
953
905
|
"line": 30,
|
|
954
906
|
"character": 19
|
|
955
907
|
},
|
|
956
|
-
"name": "ComponentID"
|
|
957
|
-
"componentId": {
|
|
958
|
-
"scope": "teambit.component",
|
|
959
|
-
"name": "component-id",
|
|
960
|
-
"version": "1.2.0"
|
|
961
|
-
}
|
|
908
|
+
"name": "ComponentID"
|
|
962
909
|
},
|
|
963
910
|
"isOptional": false,
|
|
964
911
|
"isSpread": false
|
|
@@ -978,8 +925,7 @@
|
|
|
978
925
|
"line": 30,
|
|
979
926
|
"character": 41
|
|
980
927
|
},
|
|
981
|
-
"name": "BuildOptions"
|
|
982
|
-
"internalFilePath": "version-history-cmd.ts"
|
|
928
|
+
"name": "BuildOptions"
|
|
983
929
|
},
|
|
984
930
|
"isOptional": true,
|
|
985
931
|
"defaultValue": "{}",
|
|
@@ -1002,8 +948,7 @@
|
|
|
1002
948
|
"line": 30,
|
|
1003
949
|
"character": 69
|
|
1004
950
|
},
|
|
1005
|
-
"name": "BuildResult"
|
|
1006
|
-
"internalFilePath": "version-history.main.runtime.ts"
|
|
951
|
+
"name": "BuildResult"
|
|
1007
952
|
}
|
|
1008
953
|
]
|
|
1009
954
|
},
|
|
@@ -1056,8 +1001,7 @@
|
|
|
1056
1001
|
"line": 88,
|
|
1057
1002
|
"character": 35
|
|
1058
1003
|
},
|
|
1059
|
-
"name": "ShowOptions"
|
|
1060
|
-
"internalFilePath": "version-history-cmd.ts"
|
|
1004
|
+
"name": "ShowOptions"
|
|
1061
1005
|
},
|
|
1062
1006
|
"isOptional": false,
|
|
1063
1007
|
"isSpread": false
|
|
@@ -1086,8 +1030,7 @@
|
|
|
1086
1030
|
"line": 88,
|
|
1087
1031
|
"character": 57
|
|
1088
1032
|
},
|
|
1089
|
-
"name": "ShowResult"
|
|
1090
|
-
"internalFilePath": "version-history.main.runtime.ts"
|
|
1033
|
+
"name": "ShowResult"
|
|
1091
1034
|
}
|
|
1092
1035
|
}
|
|
1093
1036
|
]
|
|
@@ -1121,12 +1064,7 @@
|
|
|
1121
1064
|
"line": 100,
|
|
1122
1065
|
"character": 17
|
|
1123
1066
|
},
|
|
1124
|
-
"name": "ComponentID"
|
|
1125
|
-
"componentId": {
|
|
1126
|
-
"scope": "teambit.component",
|
|
1127
|
-
"name": "component-id",
|
|
1128
|
-
"version": "1.2.0"
|
|
1129
|
-
}
|
|
1067
|
+
"name": "ComponentID"
|
|
1130
1068
|
},
|
|
1131
1069
|
"isOptional": false,
|
|
1132
1070
|
"isSpread": false
|
|
@@ -1148,8 +1086,7 @@
|
|
|
1148
1086
|
"line": 100,
|
|
1149
1087
|
"character": 39
|
|
1150
1088
|
},
|
|
1151
|
-
"name": "VersionHistory"
|
|
1152
|
-
"packageName": "@teambit/legacy/dist/scope/models"
|
|
1089
|
+
"name": "VersionHistory"
|
|
1153
1090
|
}
|
|
1154
1091
|
]
|
|
1155
1092
|
},
|
|
@@ -1224,8 +1161,7 @@
|
|
|
1224
1161
|
"line": 107,
|
|
1225
1162
|
"character": 65
|
|
1226
1163
|
},
|
|
1227
|
-
"name": "VersionHistoryGraph"
|
|
1228
|
-
"packageName": "@teambit/legacy/dist/scope/models/version-history"
|
|
1164
|
+
"name": "VersionHistoryGraph"
|
|
1229
1165
|
}
|
|
1230
1166
|
]
|
|
1231
1167
|
},
|
|
@@ -1298,8 +1234,7 @@
|
|
|
1298
1234
|
"line": 130,
|
|
1299
1235
|
"character": 14
|
|
1300
1236
|
},
|
|
1301
|
-
"name": "BuildOptions"
|
|
1302
|
-
"internalFilePath": "version-history-cmd.ts"
|
|
1237
|
+
"name": "BuildOptions"
|
|
1303
1238
|
},
|
|
1304
1239
|
"isOptional": false,
|
|
1305
1240
|
"isSpread": false
|
|
@@ -1356,8 +1291,7 @@
|
|
|
1356
1291
|
"line": 131,
|
|
1357
1292
|
"character": 33
|
|
1358
1293
|
},
|
|
1359
|
-
"name": "BuildResult"
|
|
1360
|
-
"internalFilePath": "version-history.main.runtime.ts"
|
|
1294
|
+
"name": "BuildResult"
|
|
1361
1295
|
}
|
|
1362
1296
|
}
|
|
1363
1297
|
]
|
|
@@ -1413,8 +1347,7 @@
|
|
|
1413
1347
|
"line": 139,
|
|
1414
1348
|
"character": 50
|
|
1415
1349
|
},
|
|
1416
|
-
"name": "BuildOptions"
|
|
1417
|
-
"internalFilePath": "version-history-cmd.ts"
|
|
1350
|
+
"name": "BuildOptions"
|
|
1418
1351
|
},
|
|
1419
1352
|
"isOptional": false,
|
|
1420
1353
|
"isSpread": false
|
|
@@ -1471,8 +1404,7 @@
|
|
|
1471
1404
|
"line": 139,
|
|
1472
1405
|
"character": 92
|
|
1473
1406
|
},
|
|
1474
|
-
"name": "BuildResult"
|
|
1475
|
-
"internalFilePath": "version-history.main.runtime.ts"
|
|
1407
|
+
"name": "BuildResult"
|
|
1476
1408
|
}
|
|
1477
1409
|
}
|
|
1478
1410
|
]
|
|
@@ -1579,11 +1511,7 @@
|
|
|
1579
1511
|
"line": 160,
|
|
1580
1512
|
"character": 52
|
|
1581
1513
|
},
|
|
1582
|
-
"name": "CLIMain"
|
|
1583
|
-
"componentId": {
|
|
1584
|
-
"scope": "teambit.harmony",
|
|
1585
|
-
"name": "cli"
|
|
1586
|
-
}
|
|
1514
|
+
"name": "CLIMain"
|
|
1587
1515
|
},
|
|
1588
1516
|
{
|
|
1589
1517
|
"__schema": "TypeRefSchema",
|
|
@@ -1592,11 +1520,7 @@
|
|
|
1592
1520
|
"line": 160,
|
|
1593
1521
|
"character": 61
|
|
1594
1522
|
},
|
|
1595
|
-
"name": "ScopeMain"
|
|
1596
|
-
"componentId": {
|
|
1597
|
-
"scope": "teambit.scope",
|
|
1598
|
-
"name": "scope"
|
|
1599
|
-
}
|
|
1523
|
+
"name": "ScopeMain"
|
|
1600
1524
|
},
|
|
1601
1525
|
{
|
|
1602
1526
|
"__schema": "TypeRefSchema",
|
|
@@ -1605,11 +1529,7 @@
|
|
|
1605
1529
|
"line": 160,
|
|
1606
1530
|
"character": 72
|
|
1607
1531
|
},
|
|
1608
|
-
"name": "LoggerMain"
|
|
1609
|
-
"componentId": {
|
|
1610
|
-
"scope": "teambit.harmony",
|
|
1611
|
-
"name": "logger"
|
|
1612
|
-
}
|
|
1532
|
+
"name": "LoggerMain"
|
|
1613
1533
|
}
|
|
1614
1534
|
]
|
|
1615
1535
|
},
|
|
@@ -1908,7 +1828,7 @@
|
|
|
1908
1828
|
"componentId": {
|
|
1909
1829
|
"scope": "teambit.scope",
|
|
1910
1830
|
"name": "version-history",
|
|
1911
|
-
"version": "0.0.
|
|
1831
|
+
"version": "0.0.20"
|
|
1912
1832
|
},
|
|
1913
1833
|
"taggedModuleExports": []
|
|
1914
1834
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/version-history",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/scope/version-history",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.scope",
|
|
8
8
|
"name": "version-history",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.20"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"chalk": "2.4.2",
|
|
@@ -14,18 +14,18 @@
|
|
|
14
14
|
"@teambit/harmony": "0.4.6",
|
|
15
15
|
"@teambit/bit-error": "0.0.404",
|
|
16
16
|
"@teambit/component-id": "1.2.0",
|
|
17
|
-
"@teambit/cli": "0.0.
|
|
18
|
-
"@teambit/logger": "0.0.
|
|
19
|
-
"@teambit/scope": "1.0.
|
|
17
|
+
"@teambit/cli": "0.0.861",
|
|
18
|
+
"@teambit/logger": "0.0.954",
|
|
19
|
+
"@teambit/scope": "1.0.228"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/lodash": "4.14.165",
|
|
23
23
|
"@types/mocha": "10.0.1",
|
|
24
24
|
"chai": "4.3.0",
|
|
25
|
-
"@teambit/harmony.envs.core-aspect-env": "0.0.
|
|
25
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.30"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@teambit/legacy": "1.0.
|
|
28
|
+
"@teambit/legacy": "1.0.682"
|
|
29
29
|
},
|
|
30
30
|
"license": "Apache-2.0",
|
|
31
31
|
"optionalDependencies": {},
|
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,16 @@
|
|
|
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.harmony_logger@0.0.954"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.scope_scope@1.0.228"
|
|
49
|
+
}
|
|
38
50
|
]
|
|
39
51
|
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { BuildOptions } from './version-history-cmd';
|
|
2
|
-
import { VersionHistoryMain } from './version-history.main.runtime';
|
|
3
|
-
export declare class BuildVersionHistoryAction {
|
|
4
|
-
private versionHistory;
|
|
5
|
-
name: string;
|
|
6
|
-
constructor(versionHistory: VersionHistoryMain);
|
|
7
|
-
execute(options: BuildOptions): Promise<{
|
|
8
|
-
[idStr: string]: {
|
|
9
|
-
err?: Error | undefined;
|
|
10
|
-
added?: string[] | undefined;
|
|
11
|
-
};
|
|
12
|
-
}>;
|
|
13
|
-
}
|
package/dist/index.d.ts
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from '@teambit/cli';
|
|
2
|
-
import { VersionHistoryMain } from './version-history.main.runtime';
|
|
3
|
-
export declare class VersionHistoryCmd implements Command {
|
|
4
|
-
name: string;
|
|
5
|
-
alias: string;
|
|
6
|
-
description: string;
|
|
7
|
-
options: never[];
|
|
8
|
-
group: string;
|
|
9
|
-
commands: Command[];
|
|
10
|
-
report([unrecognizedSubcommand]: [string]): Promise<string>;
|
|
11
|
-
}
|
|
12
|
-
export type BuildOptions = {
|
|
13
|
-
fromSnap?: string;
|
|
14
|
-
deleteExisting?: boolean;
|
|
15
|
-
remote?: string;
|
|
16
|
-
pattern?: string;
|
|
17
|
-
fromAllLanes?: boolean;
|
|
18
|
-
};
|
|
19
|
-
export declare class VersionHistoryBuildCmd implements Command {
|
|
20
|
-
private versionHistoryMain;
|
|
21
|
-
name: string;
|
|
22
|
-
description: string;
|
|
23
|
-
arguments: {
|
|
24
|
-
name: string;
|
|
25
|
-
description: string;
|
|
26
|
-
}[];
|
|
27
|
-
options: CommandOptions;
|
|
28
|
-
group: string;
|
|
29
|
-
constructor(versionHistoryMain: VersionHistoryMain);
|
|
30
|
-
report([pattern]: [string], opts: BuildOptions): Promise<string>;
|
|
31
|
-
}
|
|
32
|
-
export declare class VersionHistoryGraphCmd implements Command {
|
|
33
|
-
private versionHistoryMain;
|
|
34
|
-
name: string;
|
|
35
|
-
alias: string;
|
|
36
|
-
description: string;
|
|
37
|
-
options: CommandOptions;
|
|
38
|
-
group: string;
|
|
39
|
-
commands: Command[];
|
|
40
|
-
constructor(versionHistoryMain: VersionHistoryMain);
|
|
41
|
-
report([id]: [string], { shortHash, mark, png, layout, }: {
|
|
42
|
-
shortHash?: boolean;
|
|
43
|
-
mark?: string;
|
|
44
|
-
png?: boolean;
|
|
45
|
-
layout?: string;
|
|
46
|
-
}): Promise<string>;
|
|
47
|
-
}
|
|
48
|
-
export type ShowOptions = {
|
|
49
|
-
shortHash?: boolean;
|
|
50
|
-
};
|
|
51
|
-
export declare class VersionHistoryShowCmd implements Command {
|
|
52
|
-
private versionHistoryMain;
|
|
53
|
-
name: string;
|
|
54
|
-
alias: string;
|
|
55
|
-
description: string;
|
|
56
|
-
options: CommandOptions;
|
|
57
|
-
group: string;
|
|
58
|
-
commands: Command[];
|
|
59
|
-
constructor(versionHistoryMain: VersionHistoryMain);
|
|
60
|
-
report([id]: [string], { shortHash }: ShowOptions): Promise<string>;
|
|
61
|
-
json([id]: [string]): Promise<Record<string, any>>;
|
|
62
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { CLIMain } from '@teambit/cli';
|
|
2
|
-
import { BuildOptions, ShowOptions } from './version-history-cmd';
|
|
3
|
-
import { ScopeMain } from '@teambit/scope';
|
|
4
|
-
import { ComponentID } from '@teambit/component-id';
|
|
5
|
-
import { VersionHistory } from '@teambit/legacy/dist/scope/models';
|
|
6
|
-
import { Logger, LoggerMain } from '@teambit/logger';
|
|
7
|
-
import { VersionHistoryGraph } from '@teambit/legacy/dist/scope/models/version-history';
|
|
8
|
-
type BuildResult = {
|
|
9
|
-
err?: Error;
|
|
10
|
-
added?: string[];
|
|
11
|
-
};
|
|
12
|
-
type ShowResult = {
|
|
13
|
-
node: string;
|
|
14
|
-
pointers: string[];
|
|
15
|
-
edges: Array<{
|
|
16
|
-
hash: string;
|
|
17
|
-
type: string;
|
|
18
|
-
}>;
|
|
19
|
-
};
|
|
20
|
-
export declare class VersionHistoryMain {
|
|
21
|
-
private scope;
|
|
22
|
-
private logger;
|
|
23
|
-
constructor(scope: ScopeMain, logger: Logger);
|
|
24
|
-
build(id: ComponentID, options?: BuildOptions): Promise<BuildResult>;
|
|
25
|
-
show(id: string, options: ShowOptions): Promise<ShowResult[]>;
|
|
26
|
-
get(id: ComponentID): Promise<VersionHistory>;
|
|
27
|
-
generateGraph(id: string, shortHash?: boolean): Promise<VersionHistoryGraph>;
|
|
28
|
-
buildOnRemote(remote: string, pattern: string, options: BuildOptions): Promise<{
|
|
29
|
-
[idStr: string]: BuildResult;
|
|
30
|
-
}>;
|
|
31
|
-
buildByPattern(pattern: string, options: BuildOptions): Promise<{
|
|
32
|
-
[idStr: string]: BuildResult;
|
|
33
|
-
}>;
|
|
34
|
-
static slots: never[];
|
|
35
|
-
static dependencies: import("@teambit/harmony").Aspect[];
|
|
36
|
-
static runtime: import("@teambit/harmony").RuntimeDefinition;
|
|
37
|
-
static provider([cli, scope, loggerMain]: [CLIMain, ScopeMain, LoggerMain]): Promise<VersionHistoryMain>;
|
|
38
|
-
}
|
|
39
|
-
export default VersionHistoryMain;
|
|
File without changes
|