@teambit/component-compare 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.
- package/artifacts/__bit_junit.xml +1 -1
- package/artifacts/preview/teambit_component_component_compare-preview.js +1 -1
- package/artifacts/schema.json +70 -295
- package/dist/{preview-1712632644937.js → preview-1712719054377.js} +2 -2
- package/package.json +13 -13
- package/tsconfig.json +31 -1
- package/dist/component-compare-aspects.section.d.ts +0 -26
- package/dist/component-compare-changelog.section.d.ts +0 -24
- package/dist/component-compare.aspect.d.ts +0 -3
- package/dist/component-compare.compositions.d.ts +0 -1
- package/dist/component-compare.graphql.d.ts +0 -42
- package/dist/component-compare.main.runtime.d.ts +0 -57
- package/dist/component-compare.section.d.ts +0 -16
- package/dist/component-compare.ui.runtime.d.ts +0 -46
- package/dist/diff-cmd.d.ts +0 -25
- package/dist/index.d.ts +0 -5
|
@@ -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/component-compare@1.0.
|
|
3
|
+
<testsuite name="teambit.component/component-compare@1.0.227" tests="0" failures="0" errors="0" skipped="0"/>
|
|
4
4
|
</testsuites>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.component/component-compare-preview"]=t():e["teambit.component/component-compare-preview"]=t()}(self,(()=>(()=>{"use strict";var e={
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.component/component-compare-preview"]=t():e["teambit.component/component-compare-preview"]=t()}(self,(()=>(()=>{"use strict";var e={44806:(e,t,o)=>{var n={id:"teambit.component/component-compare@1.0.227",homepage:"https://bit.cloud/teambit/component/component-compare",exported:!0};function r(){const e=a(o(41594));return r=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=n,a.__bit_component=n;const i=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/bit-icons/compare.svg"}));i.__bit_component=n,t.Logo=i},41594:e=>{e.exports=React}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,o),a.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{o.r(n),o.d(n,{compositions:()=>d,compositions_metadata:()=>u,overview:()=>l});var e={};o.r(e),o.d(e,{default:()=>s});var t=o(44806);o(41594);const r=MdxJsReact,a=TeambitMdxUiMdxScopeContext;var i=["components"];function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},p.apply(this,arguments)}var c={},m="wrapper";function s(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)o=a[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)o=a[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,i);return(0,r.mdx)(m,p({},c,o,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(a.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"},(0,r.mdx)("p",null,(0,r.mdx)("a",{parentName:"p",href:"https://bit.cloud/blog/introducing-a-new-feature-component-compare-l4qyxtoo?baseVersion=0.0.5"},"Introducing Component Compare")),(0,r.mdx)("p",null,"Component Compare allows users to compare two component versions. It provides a unified view of all the following differences,"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},"Code: Modifications made to the source code of the component."),(0,r.mdx)("li",{parentName:"ul"},"Composition: Changes made to how the component looks visually."),(0,r.mdx)("li",{parentName:"ul"},"Tests: Changes made to how the component is tested."),(0,r.mdx)("li",{parentName:"ul"},"Dependencies: Changes made to the component's dependency graph."),(0,r.mdx)("li",{parentName:"ul"},"Overview: Changes to the auto-generated documentation for the component."),(0,r.mdx)("li",{parentName:"ul"},"Aspects: Changes made to the extensions for the component."),(0,r.mdx)("li",{parentName:"ul"},"Changelog: Changes exported between the two selected versions"))))}s.isMDXComponent=!0;const d=[t],l=[e],u={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),n})()));
|
package/artifacts/schema.json
CHANGED
|
@@ -48,11 +48,7 @@
|
|
|
48
48
|
"line": 46,
|
|
49
49
|
"character": 30
|
|
50
50
|
},
|
|
51
|
-
"name": "ComponentMain"
|
|
52
|
-
"componentId": {
|
|
53
|
-
"scope": "teambit.component",
|
|
54
|
-
"name": "component"
|
|
55
|
-
}
|
|
51
|
+
"name": "ComponentMain"
|
|
56
52
|
},
|
|
57
53
|
"isOptional": false,
|
|
58
54
|
"isSpread": false
|
|
@@ -72,11 +68,7 @@
|
|
|
72
68
|
"line": 47,
|
|
73
69
|
"character": 20
|
|
74
70
|
},
|
|
75
|
-
"name": "ScopeMain"
|
|
76
|
-
"componentId": {
|
|
77
|
-
"scope": "teambit.scope",
|
|
78
|
-
"name": "scope"
|
|
79
|
-
}
|
|
71
|
+
"name": "ScopeMain"
|
|
80
72
|
},
|
|
81
73
|
"isOptional": false,
|
|
82
74
|
"isSpread": false
|
|
@@ -96,11 +88,7 @@
|
|
|
96
88
|
"line": 48,
|
|
97
89
|
"character": 21
|
|
98
90
|
},
|
|
99
|
-
"name": "Logger"
|
|
100
|
-
"componentId": {
|
|
101
|
-
"scope": "teambit.harmony",
|
|
102
|
-
"name": "logger"
|
|
103
|
-
}
|
|
91
|
+
"name": "Logger"
|
|
104
92
|
},
|
|
105
93
|
"isOptional": false,
|
|
106
94
|
"isSpread": false
|
|
@@ -120,11 +108,7 @@
|
|
|
120
108
|
"line": 49,
|
|
121
109
|
"character": 21
|
|
122
110
|
},
|
|
123
|
-
"name": "TesterMain"
|
|
124
|
-
"componentId": {
|
|
125
|
-
"scope": "teambit.defender",
|
|
126
|
-
"name": "tester"
|
|
127
|
-
}
|
|
111
|
+
"name": "TesterMain"
|
|
128
112
|
},
|
|
129
113
|
"isOptional": false,
|
|
130
114
|
"isSpread": false
|
|
@@ -144,11 +128,7 @@
|
|
|
144
128
|
"line": 50,
|
|
145
129
|
"character": 26
|
|
146
130
|
},
|
|
147
|
-
"name": "DependencyResolverMain"
|
|
148
|
-
"componentId": {
|
|
149
|
-
"scope": "teambit.dependencies",
|
|
150
|
-
"name": "dependency-resolver"
|
|
151
|
-
}
|
|
131
|
+
"name": "DependencyResolverMain"
|
|
152
132
|
},
|
|
153
133
|
"isOptional": false,
|
|
154
134
|
"isSpread": false
|
|
@@ -168,11 +148,7 @@
|
|
|
168
148
|
"line": 51,
|
|
169
149
|
"character": 25
|
|
170
150
|
},
|
|
171
|
-
"name": "Workspace"
|
|
172
|
-
"componentId": {
|
|
173
|
-
"scope": "teambit.workspace",
|
|
174
|
-
"name": "workspace"
|
|
175
|
-
}
|
|
151
|
+
"name": "Workspace"
|
|
176
152
|
},
|
|
177
153
|
"isOptional": true,
|
|
178
154
|
"isSpread": false
|
|
@@ -256,8 +232,7 @@
|
|
|
256
232
|
"line": 54,
|
|
257
233
|
"character": 67
|
|
258
234
|
},
|
|
259
|
-
"name": "ComponentCompareResult"
|
|
260
|
-
"internalFilePath": "component-compare.main.runtime.ts"
|
|
235
|
+
"name": "ComponentCompareResult"
|
|
261
236
|
}
|
|
262
237
|
]
|
|
263
238
|
},
|
|
@@ -511,8 +486,7 @@
|
|
|
511
486
|
"line": 123,
|
|
512
487
|
"character": 51
|
|
513
488
|
},
|
|
514
|
-
"name": "ConfigDiff"
|
|
515
|
-
"internalFilePath": "component-compare.main.runtime.ts"
|
|
489
|
+
"name": "ConfigDiff"
|
|
516
490
|
}
|
|
517
491
|
]
|
|
518
492
|
},
|
|
@@ -545,11 +519,7 @@
|
|
|
545
519
|
"line": 132,
|
|
546
520
|
"character": 49
|
|
547
521
|
},
|
|
548
|
-
"name": "Component"
|
|
549
|
-
"componentId": {
|
|
550
|
-
"scope": "teambit.component",
|
|
551
|
-
"name": "component"
|
|
552
|
-
}
|
|
522
|
+
"name": "Component"
|
|
553
523
|
},
|
|
554
524
|
"isOptional": false,
|
|
555
525
|
"isSpread": false
|
|
@@ -593,8 +563,7 @@
|
|
|
593
563
|
"line": 243,
|
|
594
564
|
"character": 21
|
|
595
565
|
},
|
|
596
|
-
"name": "ModelComponent"
|
|
597
|
-
"packageName": "@teambit/legacy/dist/scope/models"
|
|
566
|
+
"name": "ModelComponent"
|
|
598
567
|
},
|
|
599
568
|
"isOptional": false,
|
|
600
569
|
"isSpread": false
|
|
@@ -614,8 +583,7 @@
|
|
|
614
583
|
"line": 244,
|
|
615
584
|
"character": 24
|
|
616
585
|
},
|
|
617
|
-
"name": "Version"
|
|
618
|
-
"packageName": "@teambit/legacy/dist/scope/models"
|
|
586
|
+
"name": "Version"
|
|
619
587
|
},
|
|
620
588
|
"isOptional": false,
|
|
621
589
|
"isSpread": false
|
|
@@ -635,8 +603,7 @@
|
|
|
635
603
|
"line": 245,
|
|
636
604
|
"character": 22
|
|
637
605
|
},
|
|
638
|
-
"name": "Version"
|
|
639
|
-
"packageName": "@teambit/legacy/dist/scope/models"
|
|
606
|
+
"name": "Version"
|
|
640
607
|
},
|
|
641
608
|
"isOptional": false,
|
|
642
609
|
"isSpread": false
|
|
@@ -696,8 +663,7 @@
|
|
|
696
663
|
"line": 248,
|
|
697
664
|
"character": 15
|
|
698
665
|
},
|
|
699
|
-
"name": "DiffOptions"
|
|
700
|
-
"packageName": "@teambit/legacy/dist/consumer/component-ops/components-diff"
|
|
666
|
+
"name": "DiffOptions"
|
|
701
667
|
},
|
|
702
668
|
"isOptional": false,
|
|
703
669
|
"isSpread": false
|
|
@@ -812,11 +778,7 @@
|
|
|
812
778
|
"line": 291,
|
|
813
779
|
"character": 5
|
|
814
780
|
},
|
|
815
|
-
"name": "GraphqlMain"
|
|
816
|
-
"componentId": {
|
|
817
|
-
"scope": "teambit.harmony",
|
|
818
|
-
"name": "graphql"
|
|
819
|
-
}
|
|
781
|
+
"name": "GraphqlMain"
|
|
820
782
|
},
|
|
821
783
|
{
|
|
822
784
|
"__schema": "TypeRefSchema",
|
|
@@ -825,11 +787,7 @@
|
|
|
825
787
|
"line": 292,
|
|
826
788
|
"character": 5
|
|
827
789
|
},
|
|
828
|
-
"name": "ComponentMain"
|
|
829
|
-
"componentId": {
|
|
830
|
-
"scope": "teambit.component",
|
|
831
|
-
"name": "component"
|
|
832
|
-
}
|
|
790
|
+
"name": "ComponentMain"
|
|
833
791
|
},
|
|
834
792
|
{
|
|
835
793
|
"__schema": "TypeRefSchema",
|
|
@@ -838,11 +796,7 @@
|
|
|
838
796
|
"line": 293,
|
|
839
797
|
"character": 5
|
|
840
798
|
},
|
|
841
|
-
"name": "ScopeMain"
|
|
842
|
-
"componentId": {
|
|
843
|
-
"scope": "teambit.scope",
|
|
844
|
-
"name": "scope"
|
|
845
|
-
}
|
|
799
|
+
"name": "ScopeMain"
|
|
846
800
|
},
|
|
847
801
|
{
|
|
848
802
|
"__schema": "TypeRefSchema",
|
|
@@ -851,11 +805,7 @@
|
|
|
851
805
|
"line": 294,
|
|
852
806
|
"character": 5
|
|
853
807
|
},
|
|
854
|
-
"name": "LoggerMain"
|
|
855
|
-
"componentId": {
|
|
856
|
-
"scope": "teambit.harmony",
|
|
857
|
-
"name": "logger"
|
|
858
|
-
}
|
|
808
|
+
"name": "LoggerMain"
|
|
859
809
|
},
|
|
860
810
|
{
|
|
861
811
|
"__schema": "TypeRefSchema",
|
|
@@ -864,11 +814,7 @@
|
|
|
864
814
|
"line": 295,
|
|
865
815
|
"character": 5
|
|
866
816
|
},
|
|
867
|
-
"name": "CLIMain"
|
|
868
|
-
"componentId": {
|
|
869
|
-
"scope": "teambit.harmony",
|
|
870
|
-
"name": "cli"
|
|
871
|
-
}
|
|
817
|
+
"name": "CLIMain"
|
|
872
818
|
},
|
|
873
819
|
{
|
|
874
820
|
"__schema": "TypeRefSchema",
|
|
@@ -877,11 +823,7 @@
|
|
|
877
823
|
"line": 296,
|
|
878
824
|
"character": 5
|
|
879
825
|
},
|
|
880
|
-
"name": "Workspace"
|
|
881
|
-
"componentId": {
|
|
882
|
-
"scope": "teambit.workspace",
|
|
883
|
-
"name": "workspace"
|
|
884
|
-
}
|
|
826
|
+
"name": "Workspace"
|
|
885
827
|
},
|
|
886
828
|
{
|
|
887
829
|
"__schema": "TypeRefSchema",
|
|
@@ -890,11 +832,7 @@
|
|
|
890
832
|
"line": 297,
|
|
891
833
|
"character": 5
|
|
892
834
|
},
|
|
893
|
-
"name": "TesterMain"
|
|
894
|
-
"componentId": {
|
|
895
|
-
"scope": "teambit.defender",
|
|
896
|
-
"name": "tester"
|
|
897
|
-
}
|
|
835
|
+
"name": "TesterMain"
|
|
898
836
|
},
|
|
899
837
|
{
|
|
900
838
|
"__schema": "TypeRefSchema",
|
|
@@ -903,11 +841,7 @@
|
|
|
903
841
|
"line": 298,
|
|
904
842
|
"character": 5
|
|
905
843
|
},
|
|
906
|
-
"name": "DependencyResolverMain"
|
|
907
|
-
"componentId": {
|
|
908
|
-
"scope": "teambit.dependencies",
|
|
909
|
-
"name": "dependency-resolver"
|
|
910
|
-
}
|
|
844
|
+
"name": "DependencyResolverMain"
|
|
911
845
|
}
|
|
912
846
|
]
|
|
913
847
|
},
|
|
@@ -1008,12 +942,7 @@
|
|
|
1008
942
|
"line": 23,
|
|
1009
943
|
"character": 24
|
|
1010
944
|
},
|
|
1011
|
-
"name": "RouteSlot"
|
|
1012
|
-
"componentId": {
|
|
1013
|
-
"scope": "teambit.ui-foundation",
|
|
1014
|
-
"name": "ui/react-router/slot-router",
|
|
1015
|
-
"version": "0.0.508"
|
|
1016
|
-
}
|
|
945
|
+
"name": "RouteSlot"
|
|
1017
946
|
},
|
|
1018
947
|
"isOptional": false,
|
|
1019
948
|
"isSpread": false
|
|
@@ -1033,11 +962,7 @@
|
|
|
1033
962
|
"line": 24,
|
|
1034
963
|
"character": 21
|
|
1035
964
|
},
|
|
1036
|
-
"name": "ComponentUI"
|
|
1037
|
-
"componentId": {
|
|
1038
|
-
"scope": "teambit.component",
|
|
1039
|
-
"name": "component"
|
|
1040
|
-
}
|
|
965
|
+
"name": "ComponentUI"
|
|
1041
966
|
},
|
|
1042
967
|
"isOptional": false,
|
|
1043
968
|
"isSpread": false
|
|
@@ -1213,12 +1138,7 @@
|
|
|
1213
1138
|
"line": 57,
|
|
1214
1139
|
"character": 27
|
|
1215
1140
|
},
|
|
1216
|
-
"name": "TabItem"
|
|
1217
|
-
"componentId": {
|
|
1218
|
-
"scope": "teambit.component",
|
|
1219
|
-
"name": "ui/component-compare/models/component-compare-props",
|
|
1220
|
-
"version": "0.0.105"
|
|
1221
|
-
}
|
|
1141
|
+
"name": "TabItem"
|
|
1222
1142
|
},
|
|
1223
1143
|
{
|
|
1224
1144
|
"__schema": "TypeRefSchema",
|
|
@@ -1236,12 +1156,7 @@
|
|
|
1236
1156
|
"line": 57,
|
|
1237
1157
|
"character": 43
|
|
1238
1158
|
},
|
|
1239
|
-
"name": "TabItem"
|
|
1240
|
-
"componentId": {
|
|
1241
|
-
"scope": "teambit.component",
|
|
1242
|
-
"name": "ui/component-compare/models/component-compare-props",
|
|
1243
|
-
"version": "0.0.105"
|
|
1244
|
-
}
|
|
1159
|
+
"name": "TabItem"
|
|
1245
1160
|
}
|
|
1246
1161
|
]
|
|
1247
1162
|
}
|
|
@@ -1294,8 +1209,7 @@
|
|
|
1294
1209
|
"line": 66,
|
|
1295
1210
|
"character": 26
|
|
1296
1211
|
},
|
|
1297
|
-
"name": "RouteProps"
|
|
1298
|
-
"packageName": "react-router-dom"
|
|
1212
|
+
"name": "RouteProps"
|
|
1299
1213
|
}
|
|
1300
1214
|
},
|
|
1301
1215
|
"isOptional": false,
|
|
@@ -1403,11 +1317,7 @@
|
|
|
1403
1317
|
"line": 102,
|
|
1404
1318
|
"character": 21
|
|
1405
1319
|
},
|
|
1406
|
-
"name": "ComponentUI"
|
|
1407
|
-
"componentId": {
|
|
1408
|
-
"scope": "teambit.component",
|
|
1409
|
-
"name": "component"
|
|
1410
|
-
}
|
|
1320
|
+
"name": "ComponentUI"
|
|
1411
1321
|
}
|
|
1412
1322
|
]
|
|
1413
1323
|
},
|
|
@@ -1466,12 +1376,7 @@
|
|
|
1466
1376
|
"line": 104,
|
|
1467
1377
|
"character": 53
|
|
1468
1378
|
},
|
|
1469
|
-
"name": "RouteSlot"
|
|
1470
|
-
"componentId": {
|
|
1471
|
-
"scope": "teambit.ui-foundation",
|
|
1472
|
-
"name": "ui/react-router/slot-router",
|
|
1473
|
-
"version": "0.0.508"
|
|
1474
|
-
}
|
|
1379
|
+
"name": "RouteSlot"
|
|
1475
1380
|
}
|
|
1476
1381
|
]
|
|
1477
1382
|
},
|
|
@@ -1493,12 +1398,7 @@
|
|
|
1493
1398
|
"line": 105,
|
|
1494
1399
|
"character": 14
|
|
1495
1400
|
},
|
|
1496
|
-
"name": "Harmony"
|
|
1497
|
-
"componentId": {
|
|
1498
|
-
"scope": "teambit.harmony",
|
|
1499
|
-
"name": "harmony",
|
|
1500
|
-
"version": "0.4.6"
|
|
1501
|
-
}
|
|
1401
|
+
"name": "Harmony"
|
|
1502
1402
|
},
|
|
1503
1403
|
"isOptional": false,
|
|
1504
1404
|
"isSpread": false
|
|
@@ -1539,11 +1439,6 @@
|
|
|
1539
1439
|
"character": 39
|
|
1540
1440
|
},
|
|
1541
1441
|
"name": "SlotRegistry",
|
|
1542
|
-
"componentId": {
|
|
1543
|
-
"scope": "teambit.harmony",
|
|
1544
|
-
"name": "harmony",
|
|
1545
|
-
"version": "0.4.6"
|
|
1546
|
-
},
|
|
1547
1442
|
"typeArgs": [
|
|
1548
1443
|
{
|
|
1549
1444
|
"__schema": "TypeRefSchema",
|
|
@@ -1552,8 +1447,7 @@
|
|
|
1552
1447
|
"line": 18,
|
|
1553
1448
|
"character": 52
|
|
1554
1449
|
},
|
|
1555
|
-
"name": "ComponentCompareNav"
|
|
1556
|
-
"internalFilePath": "component-compare.ui.runtime.tsx"
|
|
1450
|
+
"name": "ComponentCompareNav"
|
|
1557
1451
|
}
|
|
1558
1452
|
]
|
|
1559
1453
|
}
|
|
@@ -1666,8 +1560,7 @@
|
|
|
1666
1560
|
"line": 33,
|
|
1667
1561
|
"character": 9
|
|
1668
1562
|
},
|
|
1669
|
-
"name": "FileDiff"
|
|
1670
|
-
"packageName": "@teambit/legacy/dist/consumer/component-ops/components-diff"
|
|
1563
|
+
"name": "FileDiff"
|
|
1671
1564
|
}
|
|
1672
1565
|
},
|
|
1673
1566
|
"isOptional": false
|
|
@@ -1695,8 +1588,7 @@
|
|
|
1695
1588
|
"line": 34,
|
|
1696
1589
|
"character": 11
|
|
1697
1590
|
},
|
|
1698
|
-
"name": "FieldsDiff"
|
|
1699
|
-
"packageName": "@teambit/legacy/dist/consumer/component-ops/components-diff"
|
|
1591
|
+
"name": "FieldsDiff"
|
|
1700
1592
|
}
|
|
1701
1593
|
},
|
|
1702
1594
|
"isOptional": false
|
|
@@ -1724,8 +1616,7 @@
|
|
|
1724
1616
|
"line": 35,
|
|
1725
1617
|
"character": 10
|
|
1726
1618
|
},
|
|
1727
|
-
"name": "FileDiff"
|
|
1728
|
-
"packageName": "@teambit/legacy/dist/consumer/component-ops/components-diff"
|
|
1619
|
+
"name": "FileDiff"
|
|
1729
1620
|
}
|
|
1730
1621
|
},
|
|
1731
1622
|
"isOptional": false
|
|
@@ -1768,11 +1659,7 @@
|
|
|
1768
1659
|
"line": 46,
|
|
1769
1660
|
"character": 30
|
|
1770
1661
|
},
|
|
1771
|
-
"name": "ComponentMain"
|
|
1772
|
-
"componentId": {
|
|
1773
|
-
"scope": "teambit.component",
|
|
1774
|
-
"name": "component"
|
|
1775
|
-
}
|
|
1662
|
+
"name": "ComponentMain"
|
|
1776
1663
|
},
|
|
1777
1664
|
"isOptional": false,
|
|
1778
1665
|
"isSpread": false
|
|
@@ -1792,11 +1679,7 @@
|
|
|
1792
1679
|
"line": 47,
|
|
1793
1680
|
"character": 20
|
|
1794
1681
|
},
|
|
1795
|
-
"name": "ScopeMain"
|
|
1796
|
-
"componentId": {
|
|
1797
|
-
"scope": "teambit.scope",
|
|
1798
|
-
"name": "scope"
|
|
1799
|
-
}
|
|
1682
|
+
"name": "ScopeMain"
|
|
1800
1683
|
},
|
|
1801
1684
|
"isOptional": false,
|
|
1802
1685
|
"isSpread": false
|
|
@@ -1816,11 +1699,7 @@
|
|
|
1816
1699
|
"line": 48,
|
|
1817
1700
|
"character": 21
|
|
1818
1701
|
},
|
|
1819
|
-
"name": "Logger"
|
|
1820
|
-
"componentId": {
|
|
1821
|
-
"scope": "teambit.harmony",
|
|
1822
|
-
"name": "logger"
|
|
1823
|
-
}
|
|
1702
|
+
"name": "Logger"
|
|
1824
1703
|
},
|
|
1825
1704
|
"isOptional": false,
|
|
1826
1705
|
"isSpread": false
|
|
@@ -1840,11 +1719,7 @@
|
|
|
1840
1719
|
"line": 49,
|
|
1841
1720
|
"character": 21
|
|
1842
1721
|
},
|
|
1843
|
-
"name": "TesterMain"
|
|
1844
|
-
"componentId": {
|
|
1845
|
-
"scope": "teambit.defender",
|
|
1846
|
-
"name": "tester"
|
|
1847
|
-
}
|
|
1722
|
+
"name": "TesterMain"
|
|
1848
1723
|
},
|
|
1849
1724
|
"isOptional": false,
|
|
1850
1725
|
"isSpread": false
|
|
@@ -1864,11 +1739,7 @@
|
|
|
1864
1739
|
"line": 50,
|
|
1865
1740
|
"character": 26
|
|
1866
1741
|
},
|
|
1867
|
-
"name": "DependencyResolverMain"
|
|
1868
|
-
"componentId": {
|
|
1869
|
-
"scope": "teambit.dependencies",
|
|
1870
|
-
"name": "dependency-resolver"
|
|
1871
|
-
}
|
|
1742
|
+
"name": "DependencyResolverMain"
|
|
1872
1743
|
},
|
|
1873
1744
|
"isOptional": false,
|
|
1874
1745
|
"isSpread": false
|
|
@@ -1888,11 +1759,7 @@
|
|
|
1888
1759
|
"line": 51,
|
|
1889
1760
|
"character": 25
|
|
1890
1761
|
},
|
|
1891
|
-
"name": "Workspace"
|
|
1892
|
-
"componentId": {
|
|
1893
|
-
"scope": "teambit.workspace",
|
|
1894
|
-
"name": "workspace"
|
|
1895
|
-
}
|
|
1762
|
+
"name": "Workspace"
|
|
1896
1763
|
},
|
|
1897
1764
|
"isOptional": true,
|
|
1898
1765
|
"isSpread": false
|
|
@@ -1976,8 +1843,7 @@
|
|
|
1976
1843
|
"line": 54,
|
|
1977
1844
|
"character": 67
|
|
1978
1845
|
},
|
|
1979
|
-
"name": "ComponentCompareResult"
|
|
1980
|
-
"internalFilePath": "component-compare.main.runtime.ts"
|
|
1846
|
+
"name": "ComponentCompareResult"
|
|
1981
1847
|
}
|
|
1982
1848
|
]
|
|
1983
1849
|
},
|
|
@@ -2231,8 +2097,7 @@
|
|
|
2231
2097
|
"line": 123,
|
|
2232
2098
|
"character": 51
|
|
2233
2099
|
},
|
|
2234
|
-
"name": "ConfigDiff"
|
|
2235
|
-
"internalFilePath": "component-compare.main.runtime.ts"
|
|
2100
|
+
"name": "ConfigDiff"
|
|
2236
2101
|
}
|
|
2237
2102
|
]
|
|
2238
2103
|
},
|
|
@@ -2265,11 +2130,7 @@
|
|
|
2265
2130
|
"line": 132,
|
|
2266
2131
|
"character": 49
|
|
2267
2132
|
},
|
|
2268
|
-
"name": "Component"
|
|
2269
|
-
"componentId": {
|
|
2270
|
-
"scope": "teambit.component",
|
|
2271
|
-
"name": "component"
|
|
2272
|
-
}
|
|
2133
|
+
"name": "Component"
|
|
2273
2134
|
},
|
|
2274
2135
|
"isOptional": false,
|
|
2275
2136
|
"isSpread": false
|
|
@@ -2313,8 +2174,7 @@
|
|
|
2313
2174
|
"line": 243,
|
|
2314
2175
|
"character": 21
|
|
2315
2176
|
},
|
|
2316
|
-
"name": "ModelComponent"
|
|
2317
|
-
"packageName": "@teambit/legacy/dist/scope/models"
|
|
2177
|
+
"name": "ModelComponent"
|
|
2318
2178
|
},
|
|
2319
2179
|
"isOptional": false,
|
|
2320
2180
|
"isSpread": false
|
|
@@ -2334,8 +2194,7 @@
|
|
|
2334
2194
|
"line": 244,
|
|
2335
2195
|
"character": 24
|
|
2336
2196
|
},
|
|
2337
|
-
"name": "Version"
|
|
2338
|
-
"packageName": "@teambit/legacy/dist/scope/models"
|
|
2197
|
+
"name": "Version"
|
|
2339
2198
|
},
|
|
2340
2199
|
"isOptional": false,
|
|
2341
2200
|
"isSpread": false
|
|
@@ -2355,8 +2214,7 @@
|
|
|
2355
2214
|
"line": 245,
|
|
2356
2215
|
"character": 22
|
|
2357
2216
|
},
|
|
2358
|
-
"name": "Version"
|
|
2359
|
-
"packageName": "@teambit/legacy/dist/scope/models"
|
|
2217
|
+
"name": "Version"
|
|
2360
2218
|
},
|
|
2361
2219
|
"isOptional": false,
|
|
2362
2220
|
"isSpread": false
|
|
@@ -2416,8 +2274,7 @@
|
|
|
2416
2274
|
"line": 248,
|
|
2417
2275
|
"character": 15
|
|
2418
2276
|
},
|
|
2419
|
-
"name": "DiffOptions"
|
|
2420
|
-
"packageName": "@teambit/legacy/dist/consumer/component-ops/components-diff"
|
|
2277
|
+
"name": "DiffOptions"
|
|
2421
2278
|
},
|
|
2422
2279
|
"isOptional": false,
|
|
2423
2280
|
"isSpread": false
|
|
@@ -2532,11 +2389,7 @@
|
|
|
2532
2389
|
"line": 291,
|
|
2533
2390
|
"character": 5
|
|
2534
2391
|
},
|
|
2535
|
-
"name": "GraphqlMain"
|
|
2536
|
-
"componentId": {
|
|
2537
|
-
"scope": "teambit.harmony",
|
|
2538
|
-
"name": "graphql"
|
|
2539
|
-
}
|
|
2392
|
+
"name": "GraphqlMain"
|
|
2540
2393
|
},
|
|
2541
2394
|
{
|
|
2542
2395
|
"__schema": "TypeRefSchema",
|
|
@@ -2545,11 +2398,7 @@
|
|
|
2545
2398
|
"line": 292,
|
|
2546
2399
|
"character": 5
|
|
2547
2400
|
},
|
|
2548
|
-
"name": "ComponentMain"
|
|
2549
|
-
"componentId": {
|
|
2550
|
-
"scope": "teambit.component",
|
|
2551
|
-
"name": "component"
|
|
2552
|
-
}
|
|
2401
|
+
"name": "ComponentMain"
|
|
2553
2402
|
},
|
|
2554
2403
|
{
|
|
2555
2404
|
"__schema": "TypeRefSchema",
|
|
@@ -2558,11 +2407,7 @@
|
|
|
2558
2407
|
"line": 293,
|
|
2559
2408
|
"character": 5
|
|
2560
2409
|
},
|
|
2561
|
-
"name": "ScopeMain"
|
|
2562
|
-
"componentId": {
|
|
2563
|
-
"scope": "teambit.scope",
|
|
2564
|
-
"name": "scope"
|
|
2565
|
-
}
|
|
2410
|
+
"name": "ScopeMain"
|
|
2566
2411
|
},
|
|
2567
2412
|
{
|
|
2568
2413
|
"__schema": "TypeRefSchema",
|
|
@@ -2571,11 +2416,7 @@
|
|
|
2571
2416
|
"line": 294,
|
|
2572
2417
|
"character": 5
|
|
2573
2418
|
},
|
|
2574
|
-
"name": "LoggerMain"
|
|
2575
|
-
"componentId": {
|
|
2576
|
-
"scope": "teambit.harmony",
|
|
2577
|
-
"name": "logger"
|
|
2578
|
-
}
|
|
2419
|
+
"name": "LoggerMain"
|
|
2579
2420
|
},
|
|
2580
2421
|
{
|
|
2581
2422
|
"__schema": "TypeRefSchema",
|
|
@@ -2584,11 +2425,7 @@
|
|
|
2584
2425
|
"line": 295,
|
|
2585
2426
|
"character": 5
|
|
2586
2427
|
},
|
|
2587
|
-
"name": "CLIMain"
|
|
2588
|
-
"componentId": {
|
|
2589
|
-
"scope": "teambit.harmony",
|
|
2590
|
-
"name": "cli"
|
|
2591
|
-
}
|
|
2428
|
+
"name": "CLIMain"
|
|
2592
2429
|
},
|
|
2593
2430
|
{
|
|
2594
2431
|
"__schema": "TypeRefSchema",
|
|
@@ -2597,11 +2434,7 @@
|
|
|
2597
2434
|
"line": 296,
|
|
2598
2435
|
"character": 5
|
|
2599
2436
|
},
|
|
2600
|
-
"name": "Workspace"
|
|
2601
|
-
"componentId": {
|
|
2602
|
-
"scope": "teambit.workspace",
|
|
2603
|
-
"name": "workspace"
|
|
2604
|
-
}
|
|
2437
|
+
"name": "Workspace"
|
|
2605
2438
|
},
|
|
2606
2439
|
{
|
|
2607
2440
|
"__schema": "TypeRefSchema",
|
|
@@ -2610,11 +2443,7 @@
|
|
|
2610
2443
|
"line": 297,
|
|
2611
2444
|
"character": 5
|
|
2612
2445
|
},
|
|
2613
|
-
"name": "TesterMain"
|
|
2614
|
-
"componentId": {
|
|
2615
|
-
"scope": "teambit.defender",
|
|
2616
|
-
"name": "tester"
|
|
2617
|
-
}
|
|
2446
|
+
"name": "TesterMain"
|
|
2618
2447
|
},
|
|
2619
2448
|
{
|
|
2620
2449
|
"__schema": "TypeRefSchema",
|
|
@@ -2623,11 +2452,7 @@
|
|
|
2623
2452
|
"line": 298,
|
|
2624
2453
|
"character": 5
|
|
2625
2454
|
},
|
|
2626
|
-
"name": "DependencyResolverMain"
|
|
2627
|
-
"componentId": {
|
|
2628
|
-
"scope": "teambit.dependencies",
|
|
2629
|
-
"name": "dependency-resolver"
|
|
2630
|
-
}
|
|
2455
|
+
"name": "DependencyResolverMain"
|
|
2631
2456
|
}
|
|
2632
2457
|
]
|
|
2633
2458
|
},
|
|
@@ -2798,8 +2623,7 @@
|
|
|
2798
2623
|
"line": 308,
|
|
2799
2624
|
"character": 30
|
|
2800
2625
|
},
|
|
2801
|
-
"name": "DiffResults"
|
|
2802
|
-
"packageName": "@teambit/legacy/dist/consumer/component-ops/components-diff"
|
|
2626
|
+
"name": "DiffResults"
|
|
2803
2627
|
},
|
|
2804
2628
|
"isOptional": false,
|
|
2805
2629
|
"isSpread": false
|
|
@@ -2841,8 +2665,7 @@
|
|
|
2841
2665
|
"line": 313,
|
|
2842
2666
|
"character": 15
|
|
2843
2667
|
},
|
|
2844
|
-
"name": "ConsumerComponent"
|
|
2845
|
-
"packageName": "@teambit/legacy/dist/consumer/component"
|
|
2668
|
+
"name": "ConsumerComponent"
|
|
2846
2669
|
},
|
|
2847
2670
|
"isOptional": false,
|
|
2848
2671
|
"isSpread": false
|
|
@@ -2862,8 +2685,7 @@
|
|
|
2862
2685
|
"line": 314,
|
|
2863
2686
|
"character": 15
|
|
2864
2687
|
},
|
|
2865
|
-
"name": "ConsumerComponent"
|
|
2866
|
-
"packageName": "@teambit/legacy/dist/consumer/component"
|
|
2688
|
+
"name": "ConsumerComponent"
|
|
2867
2689
|
},
|
|
2868
2690
|
"isOptional": false,
|
|
2869
2691
|
"isSpread": false
|
|
@@ -2883,8 +2705,7 @@
|
|
|
2883
2705
|
"line": 315,
|
|
2884
2706
|
"character": 15
|
|
2885
2707
|
},
|
|
2886
|
-
"name": "DiffResults"
|
|
2887
|
-
"packageName": "@teambit/legacy/dist/consumer/component-ops/components-diff"
|
|
2708
|
+
"name": "DiffResults"
|
|
2888
2709
|
},
|
|
2889
2710
|
"isOptional": false,
|
|
2890
2711
|
"isSpread": false
|
|
@@ -2904,8 +2725,7 @@
|
|
|
2904
2725
|
"line": 316,
|
|
2905
2726
|
"character": 13
|
|
2906
2727
|
},
|
|
2907
|
-
"name": "DiffOptions"
|
|
2908
|
-
"packageName": "@teambit/legacy/dist/consumer/component-ops/components-diff"
|
|
2728
|
+
"name": "DiffOptions"
|
|
2909
2729
|
},
|
|
2910
2730
|
"isOptional": false,
|
|
2911
2731
|
"isSpread": false
|
|
@@ -2969,12 +2789,7 @@
|
|
|
2969
2789
|
"line": 17,
|
|
2970
2790
|
"character": 41
|
|
2971
2791
|
},
|
|
2972
|
-
"name": "TabItem"
|
|
2973
|
-
"componentId": {
|
|
2974
|
-
"scope": "teambit.component",
|
|
2975
|
-
"name": "ui/component-compare/models/component-compare-props",
|
|
2976
|
-
"version": "0.0.105"
|
|
2977
|
-
}
|
|
2792
|
+
"name": "TabItem"
|
|
2978
2793
|
}
|
|
2979
2794
|
]
|
|
2980
2795
|
}
|
|
@@ -2996,11 +2811,6 @@
|
|
|
2996
2811
|
"character": 39
|
|
2997
2812
|
},
|
|
2998
2813
|
"name": "SlotRegistry",
|
|
2999
|
-
"componentId": {
|
|
3000
|
-
"scope": "teambit.harmony",
|
|
3001
|
-
"name": "harmony",
|
|
3002
|
-
"version": "0.4.6"
|
|
3003
|
-
},
|
|
3004
2814
|
"typeArgs": [
|
|
3005
2815
|
{
|
|
3006
2816
|
"__schema": "TypeRefSchema",
|
|
@@ -3009,8 +2819,7 @@
|
|
|
3009
2819
|
"line": 18,
|
|
3010
2820
|
"character": 52
|
|
3011
2821
|
},
|
|
3012
|
-
"name": "ComponentCompareNav"
|
|
3013
|
-
"internalFilePath": "component-compare.ui.runtime.tsx"
|
|
2822
|
+
"name": "ComponentCompareNav"
|
|
3014
2823
|
}
|
|
3015
2824
|
]
|
|
3016
2825
|
}
|
|
@@ -3090,12 +2899,7 @@
|
|
|
3090
2899
|
"line": 23,
|
|
3091
2900
|
"character": 24
|
|
3092
2901
|
},
|
|
3093
|
-
"name": "RouteSlot"
|
|
3094
|
-
"componentId": {
|
|
3095
|
-
"scope": "teambit.ui-foundation",
|
|
3096
|
-
"name": "ui/react-router/slot-router",
|
|
3097
|
-
"version": "0.0.508"
|
|
3098
|
-
}
|
|
2902
|
+
"name": "RouteSlot"
|
|
3099
2903
|
},
|
|
3100
2904
|
"isOptional": false,
|
|
3101
2905
|
"isSpread": false
|
|
@@ -3115,11 +2919,7 @@
|
|
|
3115
2919
|
"line": 24,
|
|
3116
2920
|
"character": 21
|
|
3117
2921
|
},
|
|
3118
|
-
"name": "ComponentUI"
|
|
3119
|
-
"componentId": {
|
|
3120
|
-
"scope": "teambit.component",
|
|
3121
|
-
"name": "component"
|
|
3122
|
-
}
|
|
2922
|
+
"name": "ComponentUI"
|
|
3123
2923
|
},
|
|
3124
2924
|
"isOptional": false,
|
|
3125
2925
|
"isSpread": false
|
|
@@ -3295,12 +3095,7 @@
|
|
|
3295
3095
|
"line": 57,
|
|
3296
3096
|
"character": 27
|
|
3297
3097
|
},
|
|
3298
|
-
"name": "TabItem"
|
|
3299
|
-
"componentId": {
|
|
3300
|
-
"scope": "teambit.component",
|
|
3301
|
-
"name": "ui/component-compare/models/component-compare-props",
|
|
3302
|
-
"version": "0.0.105"
|
|
3303
|
-
}
|
|
3098
|
+
"name": "TabItem"
|
|
3304
3099
|
},
|
|
3305
3100
|
{
|
|
3306
3101
|
"__schema": "TypeRefSchema",
|
|
@@ -3318,12 +3113,7 @@
|
|
|
3318
3113
|
"line": 57,
|
|
3319
3114
|
"character": 43
|
|
3320
3115
|
},
|
|
3321
|
-
"name": "TabItem"
|
|
3322
|
-
"componentId": {
|
|
3323
|
-
"scope": "teambit.component",
|
|
3324
|
-
"name": "ui/component-compare/models/component-compare-props",
|
|
3325
|
-
"version": "0.0.105"
|
|
3326
|
-
}
|
|
3116
|
+
"name": "TabItem"
|
|
3327
3117
|
}
|
|
3328
3118
|
]
|
|
3329
3119
|
}
|
|
@@ -3376,8 +3166,7 @@
|
|
|
3376
3166
|
"line": 66,
|
|
3377
3167
|
"character": 26
|
|
3378
3168
|
},
|
|
3379
|
-
"name": "RouteProps"
|
|
3380
|
-
"packageName": "react-router-dom"
|
|
3169
|
+
"name": "RouteProps"
|
|
3381
3170
|
}
|
|
3382
3171
|
},
|
|
3383
3172
|
"isOptional": false,
|
|
@@ -3485,11 +3274,7 @@
|
|
|
3485
3274
|
"line": 102,
|
|
3486
3275
|
"character": 21
|
|
3487
3276
|
},
|
|
3488
|
-
"name": "ComponentUI"
|
|
3489
|
-
"componentId": {
|
|
3490
|
-
"scope": "teambit.component",
|
|
3491
|
-
"name": "component"
|
|
3492
|
-
}
|
|
3277
|
+
"name": "ComponentUI"
|
|
3493
3278
|
}
|
|
3494
3279
|
]
|
|
3495
3280
|
},
|
|
@@ -3548,12 +3333,7 @@
|
|
|
3548
3333
|
"line": 104,
|
|
3549
3334
|
"character": 53
|
|
3550
3335
|
},
|
|
3551
|
-
"name": "RouteSlot"
|
|
3552
|
-
"componentId": {
|
|
3553
|
-
"scope": "teambit.ui-foundation",
|
|
3554
|
-
"name": "ui/react-router/slot-router",
|
|
3555
|
-
"version": "0.0.508"
|
|
3556
|
-
}
|
|
3336
|
+
"name": "RouteSlot"
|
|
3557
3337
|
}
|
|
3558
3338
|
]
|
|
3559
3339
|
},
|
|
@@ -3575,12 +3355,7 @@
|
|
|
3575
3355
|
"line": 105,
|
|
3576
3356
|
"character": 14
|
|
3577
3357
|
},
|
|
3578
|
-
"name": "Harmony"
|
|
3579
|
-
"componentId": {
|
|
3580
|
-
"scope": "teambit.harmony",
|
|
3581
|
-
"name": "harmony",
|
|
3582
|
-
"version": "0.4.6"
|
|
3583
|
-
}
|
|
3358
|
+
"name": "Harmony"
|
|
3584
3359
|
},
|
|
3585
3360
|
"isOptional": false,
|
|
3586
3361
|
"isSpread": false
|
|
@@ -3669,7 +3444,7 @@
|
|
|
3669
3444
|
"componentId": {
|
|
3670
3445
|
"scope": "teambit.component",
|
|
3671
3446
|
"name": "component-compare",
|
|
3672
|
-
"version": "1.0.
|
|
3447
|
+
"version": "1.0.227"
|
|
3673
3448
|
},
|
|
3674
3449
|
"taggedModuleExports": []
|
|
3675
3450
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component-compare@1.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component-compare@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component-compare@1.0.227/dist/component-compare.compositions.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component-compare@1.0.227/dist/component-compare.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/component-compare",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.227",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/component/component-compare",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.component",
|
|
8
8
|
"name": "component-compare",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.227"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"graphql-tag": "2.12.1",
|
|
@@ -19,25 +19,25 @@
|
|
|
19
19
|
"@teambit/component-id": "1.2.0",
|
|
20
20
|
"@teambit/component.ui.component-compare.compare-aspects.compare-aspects": "0.0.146",
|
|
21
21
|
"@teambit/component.ui.component-compare.models.component-compare-props": "0.0.105",
|
|
22
|
-
"@teambit/component": "1.0.
|
|
23
|
-
"@teambit/builder": "1.0.
|
|
24
|
-
"@teambit/cli": "0.0.
|
|
25
|
-
"@teambit/dependency-resolver": "1.0.
|
|
26
|
-
"@teambit/graphql": "1.0.
|
|
27
|
-
"@teambit/logger": "0.0.
|
|
28
|
-
"@teambit/scope": "1.0.
|
|
29
|
-
"@teambit/tester": "1.0.
|
|
30
|
-
"@teambit/workspace": "1.0.
|
|
22
|
+
"@teambit/component": "1.0.227",
|
|
23
|
+
"@teambit/builder": "1.0.227",
|
|
24
|
+
"@teambit/cli": "0.0.860",
|
|
25
|
+
"@teambit/dependency-resolver": "1.0.227",
|
|
26
|
+
"@teambit/graphql": "1.0.227",
|
|
27
|
+
"@teambit/logger": "0.0.953",
|
|
28
|
+
"@teambit/scope": "1.0.227",
|
|
29
|
+
"@teambit/tester": "1.0.227",
|
|
30
|
+
"@teambit/workspace": "1.0.227",
|
|
31
31
|
"@teambit/component.ui.component-compare.changelog": "0.0.180",
|
|
32
32
|
"@teambit/component.ui.component-compare.component-compare": "0.0.181",
|
|
33
33
|
"@teambit/ui-foundation.ui.react-router.slot-router": "0.0.508",
|
|
34
|
-
"@teambit/ui": "1.0.
|
|
34
|
+
"@teambit/ui": "1.0.227"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/lodash.flatten": "4.4.6",
|
|
38
38
|
"@types/mocha": "9.1.0",
|
|
39
39
|
"chai": "4.3.0",
|
|
40
|
-
"@teambit/harmony.envs.core-aspect-env": "0.0.
|
|
40
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.30"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": "^17.0.0 || ^18.0.0",
|
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,34 @@
|
|
|
35
36
|
"include": [
|
|
36
37
|
"**/*",
|
|
37
38
|
"**/*.json"
|
|
39
|
+
],
|
|
40
|
+
"references": [
|
|
41
|
+
{
|
|
42
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component@1.0.227"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.pipelines_builder@1.0.227"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_cli@0.0.860"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_graphql@1.0.227"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_logger@0.0.953"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.scope_scope@1.0.227"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.defender_tester@1.0.227"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@1.0.227"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_ui@1.0.227"
|
|
67
|
+
}
|
|
38
68
|
]
|
|
39
69
|
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { TabItem } from '@teambit/component.ui.component-compare.models.component-compare-props';
|
|
2
|
-
import { ChangeType } from '@teambit/component.ui.component-compare.models.component-compare-change-type';
|
|
3
|
-
import { Section } from '@teambit/component';
|
|
4
|
-
import { ComponentCompareUI } from './component-compare.ui.runtime';
|
|
5
|
-
export declare class AspectsCompareSection implements TabItem, Section {
|
|
6
|
-
private compareUI;
|
|
7
|
-
constructor(compareUI: ComponentCompareUI);
|
|
8
|
-
navigationLink: {
|
|
9
|
-
href: string;
|
|
10
|
-
displayName: string;
|
|
11
|
-
children: import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
};
|
|
13
|
-
props: {
|
|
14
|
-
href: string;
|
|
15
|
-
displayName: string;
|
|
16
|
-
children: import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
};
|
|
18
|
-
route: {
|
|
19
|
-
path: string;
|
|
20
|
-
element: import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
};
|
|
22
|
-
order: number;
|
|
23
|
-
widget: boolean;
|
|
24
|
-
changeType: ChangeType;
|
|
25
|
-
id: string;
|
|
26
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Section } from '@teambit/component';
|
|
2
|
-
import { TabItem } from '@teambit/component.ui.component-compare.models.component-compare-props';
|
|
3
|
-
import { ComponentCompareUI } from './component-compare.ui.runtime';
|
|
4
|
-
export declare class CompareChangelogSection implements Section, TabItem {
|
|
5
|
-
private compareUI;
|
|
6
|
-
constructor(compareUI: ComponentCompareUI);
|
|
7
|
-
navigationLink: {
|
|
8
|
-
href: string;
|
|
9
|
-
children: import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
displayName: string;
|
|
11
|
-
};
|
|
12
|
-
props: {
|
|
13
|
-
href: string;
|
|
14
|
-
children: import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
displayName: string;
|
|
16
|
-
};
|
|
17
|
-
route: {
|
|
18
|
-
path: string;
|
|
19
|
-
element: import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
};
|
|
21
|
-
order: number;
|
|
22
|
-
widget: boolean;
|
|
23
|
-
id: string;
|
|
24
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const Logo: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { ComponentCompareMain, ComponentCompareResult } from './component-compare.main.runtime';
|
|
2
|
-
export declare function componentCompareSchema(componentCompareMain: ComponentCompareMain): {
|
|
3
|
-
typeDefs: import("graphql").DocumentNode;
|
|
4
|
-
resolvers: {
|
|
5
|
-
ComponentHost: {
|
|
6
|
-
compareComponent: (_: any, { baseId, compareId }: {
|
|
7
|
-
baseId: string;
|
|
8
|
-
compareId: string;
|
|
9
|
-
}) => Promise<ComponentCompareResult>;
|
|
10
|
-
};
|
|
11
|
-
ComponentCompareResult: {
|
|
12
|
-
id: (result: ComponentCompareResult) => string;
|
|
13
|
-
code: (result: ComponentCompareResult, { fileName }: {
|
|
14
|
-
fileName?: string | undefined;
|
|
15
|
-
}) => {
|
|
16
|
-
fileName: string;
|
|
17
|
-
baseContent: string;
|
|
18
|
-
compareContent: string;
|
|
19
|
-
filePath: string;
|
|
20
|
-
diffOutput: string;
|
|
21
|
-
status: import("@teambit/legacy/dist/consumer/component-ops/components-diff").DiffStatus;
|
|
22
|
-
fromContent: string;
|
|
23
|
-
toContent: string;
|
|
24
|
-
}[];
|
|
25
|
-
tests: (result: ComponentCompareResult, { fileName }: {
|
|
26
|
-
fileName?: string | undefined;
|
|
27
|
-
}) => {
|
|
28
|
-
fileName: string;
|
|
29
|
-
baseContent: string;
|
|
30
|
-
compareContent: string;
|
|
31
|
-
filePath: string;
|
|
32
|
-
diffOutput: string;
|
|
33
|
-
status: import("@teambit/legacy/dist/consumer/component-ops/components-diff").DiffStatus;
|
|
34
|
-
fromContent: string;
|
|
35
|
-
toContent: string;
|
|
36
|
-
}[];
|
|
37
|
-
aspects: (result: ComponentCompareResult, { fieldName }: {
|
|
38
|
-
fieldName?: string | undefined;
|
|
39
|
-
}) => import("@teambit/legacy/dist/consumer/component-ops/components-diff").FieldsDiff[];
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { CLIMain } from '@teambit/cli';
|
|
2
|
-
import { Workspace } from '@teambit/workspace';
|
|
3
|
-
import { ScopeMain } from '@teambit/scope';
|
|
4
|
-
import { GraphqlMain } from '@teambit/graphql';
|
|
5
|
-
import { ModelComponent, Version } from '@teambit/legacy/dist/scope/models';
|
|
6
|
-
import { DependencyResolverMain } from '@teambit/dependency-resolver';
|
|
7
|
-
import { LoggerMain, Logger } from '@teambit/logger';
|
|
8
|
-
import { DiffOptions, DiffResults, FieldsDiff, FileDiff } from '@teambit/legacy/dist/consumer/component-ops/components-diff';
|
|
9
|
-
import { TesterMain } from '@teambit/tester';
|
|
10
|
-
import { Component, ComponentMain } from '@teambit/component';
|
|
11
|
-
export type ComponentCompareResult = {
|
|
12
|
-
id: string;
|
|
13
|
-
code: FileDiff[];
|
|
14
|
-
fields: FieldsDiff[];
|
|
15
|
-
tests: FileDiff[];
|
|
16
|
-
};
|
|
17
|
-
type ConfigDiff = {
|
|
18
|
-
version?: string;
|
|
19
|
-
dependencies?: string[];
|
|
20
|
-
aspects?: Record<string, any>;
|
|
21
|
-
};
|
|
22
|
-
export declare class ComponentCompareMain {
|
|
23
|
-
private componentAspect;
|
|
24
|
-
private scope;
|
|
25
|
-
private logger;
|
|
26
|
-
private tester;
|
|
27
|
-
private depResolver;
|
|
28
|
-
private workspace?;
|
|
29
|
-
constructor(componentAspect: ComponentMain, scope: ScopeMain, logger: Logger, tester: TesterMain, depResolver: DependencyResolverMain, workspace?: Workspace | undefined);
|
|
30
|
-
compare(baseIdStr: string, compareIdStr: string): Promise<ComponentCompareResult>;
|
|
31
|
-
diffByCLIValues(pattern?: string, version?: string, toVersion?: string, { verbose, table }?: {
|
|
32
|
-
verbose?: boolean;
|
|
33
|
-
table?: boolean;
|
|
34
|
-
}): Promise<any>;
|
|
35
|
-
getConfigForDiffById(id: string): Promise<ConfigDiff>;
|
|
36
|
-
getConfigForDiffByCompObject(component: Component): Promise<{
|
|
37
|
-
version: string;
|
|
38
|
-
dependencies: string[];
|
|
39
|
-
aspects: {};
|
|
40
|
-
}>;
|
|
41
|
-
private componentsDiff;
|
|
42
|
-
diffBetweenVersionsObjects(modelComponent: ModelComponent, fromVersionObject: Version, toVersionObject: Version, fromVersion: string, toVersion: string, diffOpts: DiffOptions): Promise<DiffResults>;
|
|
43
|
-
static slots: never[];
|
|
44
|
-
static dependencies: import("@teambit/harmony").Aspect[];
|
|
45
|
-
static runtime: import("@teambit/harmony").RuntimeDefinition;
|
|
46
|
-
static provider([graphql, component, scope, loggerMain, cli, workspace, tester, depResolver]: [
|
|
47
|
-
GraphqlMain,
|
|
48
|
-
ComponentMain,
|
|
49
|
-
ScopeMain,
|
|
50
|
-
LoggerMain,
|
|
51
|
-
CLIMain,
|
|
52
|
-
Workspace,
|
|
53
|
-
TesterMain,
|
|
54
|
-
DependencyResolverMain
|
|
55
|
-
]): Promise<ComponentCompareMain>;
|
|
56
|
-
}
|
|
57
|
-
export default ComponentCompareMain;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Section } from '@teambit/component';
|
|
2
|
-
import { ComponentCompareUI } from './component-compare.ui.runtime';
|
|
3
|
-
export declare class ComponentCompareSection implements Section {
|
|
4
|
-
private componentCompare;
|
|
5
|
-
constructor(componentCompare: ComponentCompareUI);
|
|
6
|
-
navigationLink: {
|
|
7
|
-
href: string;
|
|
8
|
-
displayName: string;
|
|
9
|
-
children: import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
};
|
|
11
|
-
route: {
|
|
12
|
-
path: string;
|
|
13
|
-
element: import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
};
|
|
15
|
-
order: number;
|
|
16
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { RouteProps } from 'react-router-dom';
|
|
3
|
-
import { Harmony, SlotRegistry } from '@teambit/harmony';
|
|
4
|
-
import { ComponentUI } from '@teambit/component';
|
|
5
|
-
import type { RouteSlot } from '@teambit/ui-foundation.ui.react-router.slot-router';
|
|
6
|
-
import { ComponentCompareProps, TabItem } from '@teambit/component.ui.component-compare.models.component-compare-props';
|
|
7
|
-
export type ComponentCompareNav = Array<TabItem>;
|
|
8
|
-
export type ComponentCompareNavSlot = SlotRegistry<ComponentCompareNav>;
|
|
9
|
-
export declare class ComponentCompareUI {
|
|
10
|
-
private host;
|
|
11
|
-
private navSlot;
|
|
12
|
-
private routeSlot;
|
|
13
|
-
private compUI;
|
|
14
|
-
constructor(host: string, navSlot: ComponentCompareNavSlot, routeSlot: RouteSlot, compUI: ComponentUI);
|
|
15
|
-
static runtime: import("@teambit/harmony").RuntimeDefinition;
|
|
16
|
-
static slots: (((registerFn: () => string) => SlotRegistry<ComponentCompareNavSlot>) | ((registerFn: () => string) => SlotRegistry<RouteSlot>))[];
|
|
17
|
-
static dependencies: import("@teambit/harmony").Aspect[];
|
|
18
|
-
getComponentComparePage: (props?: ComponentCompareProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
getAspectsComparePage: () => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
getChangelogComparePage: () => import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
registerNavigation(nav: TabItem | Array<TabItem>): this;
|
|
22
|
-
registerRoutes(routes: RouteProps[]): this;
|
|
23
|
-
get routes(): Map<string, RouteProps | RouteProps[]>;
|
|
24
|
-
get navLinks(): Map<string, ComponentCompareNav>;
|
|
25
|
-
get tabs(): {
|
|
26
|
-
id: string;
|
|
27
|
-
element: React.ReactNode;
|
|
28
|
-
order?: number | undefined;
|
|
29
|
-
displayName?: string | undefined;
|
|
30
|
-
props?: ({
|
|
31
|
-
replace?: boolean | undefined;
|
|
32
|
-
external?: boolean | undefined;
|
|
33
|
-
} & React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
34
|
-
activeClassName?: string | undefined;
|
|
35
|
-
activeStyle?: React.CSSProperties | undefined;
|
|
36
|
-
exact?: boolean | undefined;
|
|
37
|
-
strict?: boolean | undefined;
|
|
38
|
-
isActive?: (() => boolean) | undefined;
|
|
39
|
-
} & {
|
|
40
|
-
displayName?: string | undefined;
|
|
41
|
-
}) | undefined;
|
|
42
|
-
widget?: boolean | undefined;
|
|
43
|
-
changeType?: import("@teambit/component.ui.component-compare.models.component-compare-change-type").ChangeType | undefined;
|
|
44
|
-
}[];
|
|
45
|
-
static provider([componentUi]: [ComponentUI], _: any, [navSlot, routeSlot]: [ComponentCompareNavSlot, RouteSlot], harmony: Harmony): Promise<ComponentCompareUI>;
|
|
46
|
-
}
|
package/dist/diff-cmd.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from '@teambit/cli';
|
|
2
|
-
import { ComponentCompareMain } from './component-compare.main.runtime';
|
|
3
|
-
export declare class DiffCmd implements Command {
|
|
4
|
-
private componentCompareMain;
|
|
5
|
-
name: string;
|
|
6
|
-
group: string;
|
|
7
|
-
description: string;
|
|
8
|
-
helpUrl: string;
|
|
9
|
-
arguments: {
|
|
10
|
-
name: string;
|
|
11
|
-
description: string;
|
|
12
|
-
}[];
|
|
13
|
-
alias: string;
|
|
14
|
-
options: CommandOptions;
|
|
15
|
-
examples: {
|
|
16
|
-
cmd: string;
|
|
17
|
-
description: string;
|
|
18
|
-
}[];
|
|
19
|
-
loader: boolean;
|
|
20
|
-
constructor(componentCompareMain: ComponentCompareMain);
|
|
21
|
-
report([pattern, version, toVersion]: [string, string, string], { verbose, table }: {
|
|
22
|
-
verbose?: boolean;
|
|
23
|
-
table: boolean;
|
|
24
|
-
}): Promise<string>;
|
|
25
|
-
}
|
package/dist/index.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ComponentCompareAspect } from './component-compare.aspect';
|
|
2
|
-
export type { ComponentCompareMain } from './component-compare.main.runtime';
|
|
3
|
-
export type { ComponentCompareUI, ComponentCompareNavSlot } from './component-compare.ui.runtime';
|
|
4
|
-
export { ComponentCompareAspect };
|
|
5
|
-
export default ComponentCompareAspect;
|