@teambit/export 1.0.226 → 1.0.228

Sign up to get free protection for your applications and to get access to all the features.
@@ -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/export@1.0.226" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.scope/export@1.0.228" 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.scope/export-preview"]=t():e["teambit.scope/export-preview"]=t()}(self,(()=>(()=>{"use strict";var e={55919:(e,t,o)=>{var r={id:"teambit.scope/export@1.0.226",homepage:"https://bit.cloud/teambit/scope/export",exported:!0};function n(){const e=i(o(41594));return n=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,n.__bit_component=r,i.__bit_component=r;const p=()=>n().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},n().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/export.svg"}));p.__bit_component=r,t.Logo=p},41594:e=>{e.exports=React}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},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 r={};return(()=>{o.r(r),o.d(r,{compositions:()=>u,compositions_metadata:()=>l,overview:()=>f});var e={};o.r(e),o.d(e,{default:()=>d});var t=o(55919);o(41594);const n=MdxJsReact,i=TeambitMdxUiMdxScopeContext;var p=["components"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},c.apply(this,arguments)}var s={},a="wrapper";function d(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o,r,n={},i=Object.keys(e);for(r=0;r<i.length;r++)o=i[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(e,p);return(0,n.mdx)(a,c({},s,o,{components:t,mdxType:"MDXLayout"}),(0,n.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}d.isMDXComponent=!0;const u=[t],f=[e],l={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),r})()));
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.scope/export-preview"]=t():e["teambit.scope/export-preview"]=t()}(self,(()=>(()=>{"use strict";var e={31961:(e,t,o)=>{var r={id:"teambit.scope/export@1.0.228",homepage:"https://bit.cloud/teambit/scope/export",exported:!0};function n(){const e=i(o(41594));return n=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,n.__bit_component=r,i.__bit_component=r;const p=()=>n().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},n().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/export.svg"}));p.__bit_component=r,t.Logo=p},41594:e=>{e.exports=React}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},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 r={};return(()=>{o.r(r),o.d(r,{compositions:()=>u,compositions_metadata:()=>l,overview:()=>f});var e={};o.r(e),o.d(e,{default:()=>d});var t=o(31961);o(41594);const n=MdxJsReact,i=TeambitMdxUiMdxScopeContext;var p=["components"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},c.apply(this,arguments)}var s={},a="wrapper";function d(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o,r,n={},i=Object.keys(e);for(r=0;r<i.length;r++)o=i[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(e,p);return(0,n.mdx)(a,c({},s,o,{components:t,mdxType:"MDXLayout"}),(0,n.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}d.isMDXComponent=!0;const u=[t],f=[e],l={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),r})()));
@@ -48,11 +48,7 @@
48
48
  "line": 95,
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": 96,
73
69
  "character": 21
74
70
  },
75
- "name": "RemoveMain",
76
- "componentId": {
77
- "scope": "teambit.component",
78
- "name": "remove"
79
- }
71
+ "name": "RemoveMain"
80
72
  },
81
73
  "isOptional": false,
82
74
  "isSpread": false
@@ -96,11 +88,7 @@
96
88
  "line": 97,
97
89
  "character": 26
98
90
  },
99
- "name": "DependencyResolverMain",
100
- "componentId": {
101
- "scope": "teambit.dependencies",
102
- "name": "dependency-resolver"
103
- }
91
+ "name": "DependencyResolverMain"
104
92
  },
105
93
  "isOptional": false,
106
94
  "isSpread": false
@@ -120,11 +108,7 @@
120
108
  "line": 98,
121
109
  "character": 21
122
110
  },
123
- "name": "Logger",
124
- "componentId": {
125
- "scope": "teambit.harmony",
126
- "name": "logger"
127
- }
111
+ "name": "Logger"
128
112
  },
129
113
  "isOptional": false,
130
114
  "isSpread": false
@@ -144,11 +128,7 @@
144
128
  "line": 99,
145
129
  "character": 20
146
130
  },
147
- "name": "EjectMain",
148
- "componentId": {
149
- "scope": "teambit.workspace",
150
- "name": "eject"
151
- }
131
+ "name": "EjectMain"
152
132
  },
153
133
  "isOptional": false,
154
134
  "isSpread": false
@@ -190,8 +170,7 @@
190
170
  "line": 102,
191
171
  "character": 24
192
172
  },
193
- "name": "ExportParams",
194
- "internalFilePath": "export.main.runtime.ts"
173
+ "name": "ExportParams"
195
174
  },
196
175
  "isOptional": true,
197
176
  "defaultValue": "{}",
@@ -320,8 +299,7 @@
320
299
  "line": 249,
321
300
  "character": 18
322
301
  },
323
- "name": "Lane",
324
- "packageName": "@teambit/legacy/dist/scope/models"
302
+ "name": "Lane"
325
303
  },
326
304
  "isOptional": true
327
305
  },
@@ -525,8 +503,7 @@
525
503
  "line": 258,
526
504
  "character": 20
527
505
  },
528
- "name": "ExportOrigin",
529
- "packageName": "@teambit/legacy/dist/scope/network/http/http"
506
+ "name": "ExportOrigin"
530
507
  },
531
508
  "isOptional": true
532
509
  }
@@ -596,8 +573,7 @@
596
573
  "line": 249,
597
574
  "character": 18
598
575
  },
599
- "name": "Lane",
600
- "packageName": "@teambit/legacy/dist/scope/models"
576
+ "name": "Lane"
601
577
  },
602
578
  "isOptional": true
603
579
  },
@@ -801,8 +777,7 @@
801
777
  "line": 258,
802
778
  "character": 20
803
779
  },
804
- "name": "ExportOrigin",
805
- "packageName": "@teambit/legacy/dist/scope/network/http/http"
780
+ "name": "ExportOrigin"
806
781
  },
807
782
  "isOptional": true
808
783
  }
@@ -900,12 +875,7 @@
900
875
  "line": 262,
901
876
  "character": 21
902
877
  },
903
- "name": "ComponentID",
904
- "componentId": {
905
- "scope": "teambit.component",
906
- "name": "component-id",
907
- "version": "1.2.0"
908
- }
878
+ "name": "ComponentID"
909
879
  }
910
880
  },
911
881
  "isOptional": false
@@ -1021,11 +991,7 @@
1021
991
  "line": 870,
1022
992
  "character": 5
1023
993
  },
1024
- "name": "CLIMain",
1025
- "componentId": {
1026
- "scope": "teambit.harmony",
1027
- "name": "cli"
1028
- }
994
+ "name": "CLIMain"
1029
995
  },
1030
996
  {
1031
997
  "__schema": "TypeRefSchema",
@@ -1034,11 +1000,7 @@
1034
1000
  "line": 871,
1035
1001
  "character": 5
1036
1002
  },
1037
- "name": "ScopeMain",
1038
- "componentId": {
1039
- "scope": "teambit.scope",
1040
- "name": "scope"
1041
- }
1003
+ "name": "ScopeMain"
1042
1004
  },
1043
1005
  {
1044
1006
  "__schema": "TypeRefSchema",
@@ -1047,11 +1009,7 @@
1047
1009
  "line": 872,
1048
1010
  "character": 5
1049
1011
  },
1050
- "name": "Workspace",
1051
- "componentId": {
1052
- "scope": "teambit.workspace",
1053
- "name": "workspace"
1054
- }
1012
+ "name": "Workspace"
1055
1013
  },
1056
1014
  {
1057
1015
  "__schema": "TypeRefSchema",
@@ -1060,11 +1018,7 @@
1060
1018
  "line": 873,
1061
1019
  "character": 5
1062
1020
  },
1063
- "name": "RemoveMain",
1064
- "componentId": {
1065
- "scope": "teambit.component",
1066
- "name": "remove"
1067
- }
1021
+ "name": "RemoveMain"
1068
1022
  },
1069
1023
  {
1070
1024
  "__schema": "TypeRefSchema",
@@ -1073,11 +1027,7 @@
1073
1027
  "line": 874,
1074
1028
  "character": 5
1075
1029
  },
1076
- "name": "DependencyResolverMain",
1077
- "componentId": {
1078
- "scope": "teambit.dependencies",
1079
- "name": "dependency-resolver"
1080
- }
1030
+ "name": "DependencyResolverMain"
1081
1031
  },
1082
1032
  {
1083
1033
  "__schema": "TypeRefSchema",
@@ -1086,11 +1036,7 @@
1086
1036
  "line": 875,
1087
1037
  "character": 5
1088
1038
  },
1089
- "name": "LoggerMain",
1090
- "componentId": {
1091
- "scope": "teambit.harmony",
1092
- "name": "logger"
1093
- }
1039
+ "name": "LoggerMain"
1094
1040
  },
1095
1041
  {
1096
1042
  "__schema": "TypeRefSchema",
@@ -1099,11 +1045,7 @@
1099
1045
  "line": 876,
1100
1046
  "character": 5
1101
1047
  },
1102
- "name": "EjectMain",
1103
- "componentId": {
1104
- "scope": "teambit.workspace",
1105
- "name": "eject"
1106
- }
1048
+ "name": "EjectMain"
1107
1049
  }
1108
1050
  ]
1109
1051
  },
@@ -1162,12 +1104,7 @@
1162
1104
  "line": 84,
1163
1105
  "character": 21
1164
1106
  },
1165
- "name": "ComponentID",
1166
- "componentId": {
1167
- "scope": "teambit.component",
1168
- "name": "component-id",
1169
- "version": "1.2.0"
1170
- }
1107
+ "name": "ComponentID"
1171
1108
  }
1172
1109
  },
1173
1110
  "isOptional": false
@@ -1220,12 +1157,7 @@
1220
1157
  "line": 86,
1221
1158
  "character": 17
1222
1159
  },
1223
- "name": "ComponentID",
1224
- "componentId": {
1225
- "scope": "teambit.component",
1226
- "name": "component-id",
1227
- "version": "1.2.0"
1228
- }
1160
+ "name": "ComponentID"
1229
1161
  }
1230
1162
  },
1231
1163
  "isOptional": false
@@ -1253,12 +1185,7 @@
1253
1185
  "line": 87,
1254
1186
  "character": 18
1255
1187
  },
1256
- "name": "ComponentID",
1257
- "componentId": {
1258
- "scope": "teambit.component",
1259
- "name": "component-id",
1260
- "version": "1.2.0"
1261
- }
1188
+ "name": "ComponentID"
1262
1189
  }
1263
1190
  },
1264
1191
  "isOptional": false
@@ -1286,8 +1213,7 @@
1286
1213
  "line": 88,
1287
1214
  "character": 18
1288
1215
  },
1289
- "name": "Lane",
1290
- "packageName": "@teambit/legacy/dist/scope/models"
1216
+ "name": "Lane"
1291
1217
  }
1292
1218
  },
1293
1219
  "isOptional": false
@@ -1344,11 +1270,7 @@
1344
1270
  "line": 90,
1345
1271
  "character": 17
1346
1272
  },
1347
- "name": "EjectResults",
1348
- "componentId": {
1349
- "scope": "teambit.workspace",
1350
- "name": "eject"
1351
- }
1273
+ "name": "EjectResults"
1352
1274
  },
1353
1275
  {
1354
1276
  "__schema": "KeywordTypeSchema",
@@ -1490,7 +1412,7 @@
1490
1412
  "line": 56,
1491
1413
  "character": 37
1492
1414
  },
1493
- "signature": "(id: \u001b[2m(component: teambit.component/component-id)\u001b[22m ComponentID): \u001b[2m(component: teambit.component/component-id)\u001b[22m ComponentID",
1415
+ "signature": "(id: ComponentID): ComponentID",
1494
1416
  "name": "",
1495
1417
  "params": [
1496
1418
  {
@@ -1508,12 +1430,7 @@
1508
1430
  "line": 56,
1509
1431
  "character": 42
1510
1432
  },
1511
- "name": "ComponentID",
1512
- "componentId": {
1513
- "scope": "teambit.component",
1514
- "name": "component-id",
1515
- "version": "1.2.0"
1516
- }
1433
+ "name": "ComponentID"
1517
1434
  },
1518
1435
  "isOptional": false,
1519
1436
  "isSpread": false
@@ -1526,12 +1443,7 @@
1526
1443
  "line": 56,
1527
1444
  "character": 58
1528
1445
  },
1529
- "name": "ComponentID",
1530
- "componentId": {
1531
- "scope": "teambit.component",
1532
- "name": "component-id",
1533
- "version": "1.2.0"
1534
- }
1446
+ "name": "ComponentID"
1535
1447
  },
1536
1448
  "modifiers": []
1537
1449
  }
@@ -1569,12 +1481,7 @@
1569
1481
  "line": 84,
1570
1482
  "character": 21
1571
1483
  },
1572
- "name": "ComponentID",
1573
- "componentId": {
1574
- "scope": "teambit.component",
1575
- "name": "component-id",
1576
- "version": "1.2.0"
1577
- }
1484
+ "name": "ComponentID"
1578
1485
  }
1579
1486
  },
1580
1487
  "isOptional": false
@@ -1627,12 +1534,7 @@
1627
1534
  "line": 86,
1628
1535
  "character": 17
1629
1536
  },
1630
- "name": "ComponentID",
1631
- "componentId": {
1632
- "scope": "teambit.component",
1633
- "name": "component-id",
1634
- "version": "1.2.0"
1635
- }
1537
+ "name": "ComponentID"
1636
1538
  }
1637
1539
  },
1638
1540
  "isOptional": false
@@ -1660,12 +1562,7 @@
1660
1562
  "line": 87,
1661
1563
  "character": 18
1662
1564
  },
1663
- "name": "ComponentID",
1664
- "componentId": {
1665
- "scope": "teambit.component",
1666
- "name": "component-id",
1667
- "version": "1.2.0"
1668
- }
1565
+ "name": "ComponentID"
1669
1566
  }
1670
1567
  },
1671
1568
  "isOptional": false
@@ -1693,8 +1590,7 @@
1693
1590
  "line": 88,
1694
1591
  "character": 18
1695
1592
  },
1696
- "name": "Lane",
1697
- "packageName": "@teambit/legacy/dist/scope/models"
1593
+ "name": "Lane"
1698
1594
  }
1699
1595
  },
1700
1596
  "isOptional": false
@@ -1751,11 +1647,7 @@
1751
1647
  "line": 90,
1752
1648
  "character": 17
1753
1649
  },
1754
- "name": "EjectResults",
1755
- "componentId": {
1756
- "scope": "teambit.workspace",
1757
- "name": "eject"
1758
- }
1650
+ "name": "EjectResults"
1759
1651
  },
1760
1652
  {
1761
1653
  "__schema": "KeywordTypeSchema",
@@ -1808,11 +1700,7 @@
1808
1700
  "line": 95,
1809
1701
  "character": 24
1810
1702
  },
1811
- "name": "Workspace",
1812
- "componentId": {
1813
- "scope": "teambit.workspace",
1814
- "name": "workspace"
1815
- }
1703
+ "name": "Workspace"
1816
1704
  },
1817
1705
  "isOptional": false,
1818
1706
  "isSpread": false
@@ -1832,11 +1720,7 @@
1832
1720
  "line": 96,
1833
1721
  "character": 21
1834
1722
  },
1835
- "name": "RemoveMain",
1836
- "componentId": {
1837
- "scope": "teambit.component",
1838
- "name": "remove"
1839
- }
1723
+ "name": "RemoveMain"
1840
1724
  },
1841
1725
  "isOptional": false,
1842
1726
  "isSpread": false
@@ -1856,11 +1740,7 @@
1856
1740
  "line": 97,
1857
1741
  "character": 26
1858
1742
  },
1859
- "name": "DependencyResolverMain",
1860
- "componentId": {
1861
- "scope": "teambit.dependencies",
1862
- "name": "dependency-resolver"
1863
- }
1743
+ "name": "DependencyResolverMain"
1864
1744
  },
1865
1745
  "isOptional": false,
1866
1746
  "isSpread": false
@@ -1880,11 +1760,7 @@
1880
1760
  "line": 98,
1881
1761
  "character": 21
1882
1762
  },
1883
- "name": "Logger",
1884
- "componentId": {
1885
- "scope": "teambit.harmony",
1886
- "name": "logger"
1887
- }
1763
+ "name": "Logger"
1888
1764
  },
1889
1765
  "isOptional": false,
1890
1766
  "isSpread": false
@@ -1904,11 +1780,7 @@
1904
1780
  "line": 99,
1905
1781
  "character": 20
1906
1782
  },
1907
- "name": "EjectMain",
1908
- "componentId": {
1909
- "scope": "teambit.workspace",
1910
- "name": "eject"
1911
- }
1783
+ "name": "EjectMain"
1912
1784
  },
1913
1785
  "isOptional": false,
1914
1786
  "isSpread": false
@@ -1950,8 +1822,7 @@
1950
1822
  "line": 102,
1951
1823
  "character": 24
1952
1824
  },
1953
- "name": "ExportParams",
1954
- "internalFilePath": "export.main.runtime.ts"
1825
+ "name": "ExportParams"
1955
1826
  },
1956
1827
  "isOptional": true,
1957
1828
  "defaultValue": "{}",
@@ -2080,8 +1951,7 @@
2080
1951
  "line": 249,
2081
1952
  "character": 18
2082
1953
  },
2083
- "name": "Lane",
2084
- "packageName": "@teambit/legacy/dist/scope/models"
1954
+ "name": "Lane"
2085
1955
  },
2086
1956
  "isOptional": true
2087
1957
  },
@@ -2285,8 +2155,7 @@
2285
2155
  "line": 258,
2286
2156
  "character": 20
2287
2157
  },
2288
- "name": "ExportOrigin",
2289
- "packageName": "@teambit/legacy/dist/scope/network/http/http"
2158
+ "name": "ExportOrigin"
2290
2159
  },
2291
2160
  "isOptional": true
2292
2161
  }
@@ -2356,8 +2225,7 @@
2356
2225
  "line": 249,
2357
2226
  "character": 18
2358
2227
  },
2359
- "name": "Lane",
2360
- "packageName": "@teambit/legacy/dist/scope/models"
2228
+ "name": "Lane"
2361
2229
  },
2362
2230
  "isOptional": true
2363
2231
  },
@@ -2561,8 +2429,7 @@
2561
2429
  "line": 258,
2562
2430
  "character": 20
2563
2431
  },
2564
- "name": "ExportOrigin",
2565
- "packageName": "@teambit/legacy/dist/scope/network/http/http"
2432
+ "name": "ExportOrigin"
2566
2433
  },
2567
2434
  "isOptional": true
2568
2435
  }
@@ -2660,12 +2527,7 @@
2660
2527
  "line": 262,
2661
2528
  "character": 21
2662
2529
  },
2663
- "name": "ComponentID",
2664
- "componentId": {
2665
- "scope": "teambit.component",
2666
- "name": "component-id",
2667
- "version": "1.2.0"
2668
- }
2530
+ "name": "ComponentID"
2669
2531
  }
2670
2532
  },
2671
2533
  "isOptional": false
@@ -2781,11 +2643,7 @@
2781
2643
  "line": 870,
2782
2644
  "character": 5
2783
2645
  },
2784
- "name": "CLIMain",
2785
- "componentId": {
2786
- "scope": "teambit.harmony",
2787
- "name": "cli"
2788
- }
2646
+ "name": "CLIMain"
2789
2647
  },
2790
2648
  {
2791
2649
  "__schema": "TypeRefSchema",
@@ -2794,11 +2652,7 @@
2794
2652
  "line": 871,
2795
2653
  "character": 5
2796
2654
  },
2797
- "name": "ScopeMain",
2798
- "componentId": {
2799
- "scope": "teambit.scope",
2800
- "name": "scope"
2801
- }
2655
+ "name": "ScopeMain"
2802
2656
  },
2803
2657
  {
2804
2658
  "__schema": "TypeRefSchema",
@@ -2807,11 +2661,7 @@
2807
2661
  "line": 872,
2808
2662
  "character": 5
2809
2663
  },
2810
- "name": "Workspace",
2811
- "componentId": {
2812
- "scope": "teambit.workspace",
2813
- "name": "workspace"
2814
- }
2664
+ "name": "Workspace"
2815
2665
  },
2816
2666
  {
2817
2667
  "__schema": "TypeRefSchema",
@@ -2820,11 +2670,7 @@
2820
2670
  "line": 873,
2821
2671
  "character": 5
2822
2672
  },
2823
- "name": "RemoveMain",
2824
- "componentId": {
2825
- "scope": "teambit.component",
2826
- "name": "remove"
2827
- }
2673
+ "name": "RemoveMain"
2828
2674
  },
2829
2675
  {
2830
2676
  "__schema": "TypeRefSchema",
@@ -2833,11 +2679,7 @@
2833
2679
  "line": 874,
2834
2680
  "character": 5
2835
2681
  },
2836
- "name": "DependencyResolverMain",
2837
- "componentId": {
2838
- "scope": "teambit.dependencies",
2839
- "name": "dependency-resolver"
2840
- }
2682
+ "name": "DependencyResolverMain"
2841
2683
  },
2842
2684
  {
2843
2685
  "__schema": "TypeRefSchema",
@@ -2846,11 +2688,7 @@
2846
2688
  "line": 875,
2847
2689
  "character": 5
2848
2690
  },
2849
- "name": "LoggerMain",
2850
- "componentId": {
2851
- "scope": "teambit.harmony",
2852
- "name": "logger"
2853
- }
2691
+ "name": "LoggerMain"
2854
2692
  },
2855
2693
  {
2856
2694
  "__schema": "TypeRefSchema",
@@ -2859,11 +2697,7 @@
2859
2697
  "line": 876,
2860
2698
  "character": 5
2861
2699
  },
2862
- "name": "EjectMain",
2863
- "componentId": {
2864
- "scope": "teambit.workspace",
2865
- "name": "eject"
2866
- }
2700
+ "name": "EjectMain"
2867
2701
  }
2868
2702
  ]
2869
2703
  },
@@ -2914,8 +2748,7 @@
2914
2748
  "line": 939,
2915
2749
  "character": 53
2916
2750
  },
2917
- "name": "Consumer",
2918
- "packageName": "@teambit/legacy/dist/consumer"
2751
+ "name": "Consumer"
2919
2752
  },
2920
2753
  "isOptional": false,
2921
2754
  "isSpread": false
@@ -3039,8 +2872,7 @@
3039
2872
  "line": 58,
3040
2873
  "character": 71
3041
2874
  },
3042
- "name": "BitObject",
3043
- "packageName": "@teambit/legacy/dist/scope/objects"
2875
+ "name": "BitObject"
3044
2876
  }
3045
2877
  },
3046
2878
  "isOptional": false
@@ -3099,8 +2931,7 @@
3099
2931
  "line": 59,
3100
2932
  "character": 44
3101
2933
  },
3102
- "name": "ObjectList",
3103
- "packageName": "@teambit/legacy/dist/scope/objects/object-list"
2934
+ "name": "ObjectList"
3104
2935
  }
3105
2936
  }
3106
2937
  ]
@@ -3220,8 +3051,7 @@
3220
3051
  "line": 65,
3221
3052
  "character": 33
3222
3053
  },
3223
- "name": "ObjectsPerRemote",
3224
- "internalFilePath": "export.main.runtime.ts"
3054
+ "name": "ObjectsPerRemote"
3225
3055
  },
3226
3056
  {
3227
3057
  "__schema": "TypeLiteralSchema",
@@ -3300,8 +3130,7 @@
3300
3130
  "line": 68,
3301
3131
  "character": 25
3302
3132
  },
3303
- "name": "ModelComponentAndObjects",
3304
- "internalFilePath": "export.main.runtime.ts"
3133
+ "name": "ModelComponentAndObjects"
3305
3134
  }
3306
3135
  },
3307
3136
  "isOptional": false
@@ -3583,8 +3412,7 @@
3583
3412
  "line": 891,
3584
3413
  "character": 37
3585
3414
  },
3586
- "name": "BitMap",
3587
- "packageName": "@teambit/legacy/dist/consumer/bit-map/bit-map"
3415
+ "name": "BitMap"
3588
3416
  },
3589
3417
  "isOptional": false,
3590
3418
  "isSpread": false
@@ -3604,12 +3432,7 @@
3604
3432
  "line": 891,
3605
3433
  "character": 60
3606
3434
  },
3607
- "name": "ComponentIdList",
3608
- "componentId": {
3609
- "scope": "teambit.component",
3610
- "name": "component-id",
3611
- "version": "1.2.0"
3612
- }
3435
+ "name": "ComponentIdList"
3613
3436
  },
3614
3437
  "isOptional": false,
3615
3438
  "isSpread": false
@@ -3629,12 +3452,7 @@
3629
3452
  "line": 891,
3630
3453
  "character": 78
3631
3454
  },
3632
- "name": "ComponentID",
3633
- "componentId": {
3634
- "scope": "teambit.component",
3635
- "name": "component-id",
3636
- "version": "1.2.0"
3637
- }
3455
+ "name": "ComponentID"
3638
3456
  }
3639
3457
  },
3640
3458
  "modifiers": []
@@ -3664,8 +3482,7 @@
3664
3482
  "line": 900,
3665
3483
  "character": 38
3666
3484
  },
3667
- "name": "Consumer",
3668
- "packageName": "@teambit/legacy/dist/consumer"
3485
+ "name": "Consumer"
3669
3486
  },
3670
3487
  "isOptional": false,
3671
3488
  "isSpread": false
@@ -3707,12 +3524,7 @@
3707
3524
  "line": 900,
3708
3525
  "character": 69
3709
3526
  },
3710
- "name": "ComponentID",
3711
- "componentId": {
3712
- "scope": "teambit.component",
3713
- "name": "component-id",
3714
- "version": "1.2.0"
3715
- }
3527
+ "name": "ComponentID"
3716
3528
  }
3717
3529
  ]
3718
3530
  },
@@ -3745,8 +3557,7 @@
3745
3557
  "line": 910,
3746
3558
  "character": 45
3747
3559
  },
3748
- "name": "Lane",
3749
- "packageName": "@teambit/legacy/dist/scope/models"
3560
+ "name": "Lane"
3750
3561
  },
3751
3562
  "isOptional": false,
3752
3563
  "isSpread": false
@@ -3789,8 +3600,7 @@
3789
3600
  "line": 926,
3790
3601
  "character": 49
3791
3602
  },
3792
- "name": "Consumer",
3793
- "packageName": "@teambit/legacy/dist/consumer"
3603
+ "name": "Consumer"
3794
3604
  },
3795
3605
  "isOptional": false,
3796
3606
  "isSpread": false
@@ -3810,8 +3620,7 @@
3810
3620
  "line": 926,
3811
3621
  "character": 65
3812
3622
  },
3813
- "name": "Lane",
3814
- "packageName": "@teambit/legacy/dist/scope/models"
3623
+ "name": "Lane"
3815
3624
  },
3816
3625
  "isOptional": false,
3817
3626
  "isSpread": false
@@ -3873,7 +3682,7 @@
3873
3682
  "componentId": {
3874
3683
  "scope": "teambit.scope",
3875
3684
  "name": "export",
3876
- "version": "1.0.226"
3685
+ "version": "1.0.228"
3877
3686
  },
3878
3687
  "taggedModuleExports": []
3879
3688
  }
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.scope_export@1.0.226/dist/export.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.scope_export@1.0.226/dist/export.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.scope_export@1.0.228/dist/export.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.scope_export@1.0.228/dist/export.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/export",
3
- "version": "1.0.226",
3
+ "version": "1.0.228",
4
4
  "homepage": "https://bit.cloud/teambit/scope/export",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.scope",
8
8
  "name": "export",
9
- "version": "1.0.226"
9
+ "version": "1.0.228"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -18,21 +18,21 @@
18
18
  "@teambit/bit-error": "0.0.404",
19
19
  "@teambit/component-id": "1.2.0",
20
20
  "@teambit/lane-id": "0.0.311",
21
- "@teambit/cli": "0.0.859",
22
- "@teambit/eject": "1.0.226",
23
- "@teambit/dependency-resolver": "1.0.226",
24
- "@teambit/logger": "0.0.952",
25
- "@teambit/remove": "1.0.226",
26
- "@teambit/scope": "1.0.226",
21
+ "@teambit/cli": "0.0.861",
22
+ "@teambit/eject": "1.0.228",
23
+ "@teambit/dependency-resolver": "1.0.228",
24
+ "@teambit/logger": "0.0.954",
25
+ "@teambit/remove": "1.0.228",
26
+ "@teambit/scope": "1.0.228",
27
27
  "@teambit/workspace.modules.node-modules-linker": "0.0.167",
28
- "@teambit/workspace": "1.0.226"
28
+ "@teambit/workspace": "1.0.228"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/lodash": "4.14.165",
32
32
  "@types/fs-extra": "9.0.7",
33
33
  "@types/mocha": "9.1.0",
34
34
  "chai": "4.3.0",
35
- "@teambit/harmony.envs.core-aspect-env": "0.0.27"
35
+ "@teambit/harmony.envs.core-aspect-env": "0.0.30"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "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,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_eject@1.0.228"
46
+ },
47
+ {
48
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_logger@0.0.954"
49
+ },
50
+ {
51
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_remove@1.0.228"
52
+ },
53
+ {
54
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.scope_scope@1.0.228"
55
+ },
56
+ {
57
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@1.0.228"
58
+ }
38
59
  ]
39
60
  }
@@ -1,21 +0,0 @@
1
- import { Command, CommandOptions } from '@teambit/cli';
2
- import { ExportMain, ExportResult } from './export.main.runtime';
3
- export declare class ExportCmd implements Command {
4
- private exportMain;
5
- name: string;
6
- description: string;
7
- arguments: {
8
- name: string;
9
- description: string;
10
- }[];
11
- extendedDescription: string;
12
- alias: string;
13
- helpUrl: string;
14
- options: CommandOptions;
15
- loader: boolean;
16
- group: string;
17
- remoteOp: boolean;
18
- constructor(exportMain: ExportMain);
19
- report([ids]: [string[]], { eject, all, allVersions, originDirectly, ignoreMissingArtifacts, resume, headOnly, forkLaneNewScope, openBrowser, }: any): Promise<string>;
20
- json([ids]: [string[]], { eject, all, allVersions, originDirectly, ignoreMissingArtifacts, resume, }: any): Promise<ExportResult>;
21
- }
@@ -1,2 +0,0 @@
1
- import { Aspect } from '@teambit/harmony';
2
- export declare const ExportAspect: Aspect;
@@ -1 +0,0 @@
1
- export declare const Logo: () => import("react/jsx-runtime").JSX.Element;
@@ -1,103 +0,0 @@
1
- import { CLIMain } from '@teambit/cli';
2
- import { ScopeMain } from '@teambit/scope';
3
- import { ComponentID, ComponentIdList } from '@teambit/component-id';
4
- import { Consumer } from '@teambit/legacy/dist/consumer';
5
- import { RemoveMain } from '@teambit/remove';
6
- import { Lane } from '@teambit/legacy/dist/scope/models';
7
- import { Scope } from '@teambit/legacy/dist/scope';
8
- import { Workspace } from '@teambit/workspace';
9
- import { Logger, LoggerMain } from '@teambit/logger';
10
- import { EjectMain, EjectResults } from '@teambit/eject';
11
- import { ExportOrigin } from '@teambit/legacy/dist/scope/network/http/http';
12
- import { DependencyResolverMain } from '@teambit/dependency-resolver';
13
- export type OnExportIdTransformer = (id: ComponentID) => ComponentID;
14
- type ExportParams = {
15
- ids?: string[];
16
- eject?: boolean;
17
- allVersions?: boolean;
18
- originDirectly?: boolean;
19
- includeNonStaged?: boolean;
20
- resumeExportId?: string | undefined;
21
- headOnly?: boolean;
22
- ignoreMissingArtifacts?: boolean;
23
- forkLaneNewScope?: boolean;
24
- };
25
- export interface ExportResult {
26
- nonExistOnBitMap: ComponentID[];
27
- removedIds: ComponentIdList;
28
- missingScope: ComponentID[];
29
- componentsIds: ComponentID[];
30
- exportedLanes: Lane[];
31
- rippleJobs: string[];
32
- ejectResults: EjectResults | undefined;
33
- }
34
- export declare class ExportMain {
35
- private workspace;
36
- private remove;
37
- private depResolver;
38
- private logger;
39
- private eject;
40
- constructor(workspace: Workspace, remove: RemoveMain, depResolver: DependencyResolverMain, logger: Logger, eject: EjectMain);
41
- export(params?: ExportParams): Promise<ExportResult>;
42
- private exportComponents;
43
- /**
44
- * the export process uses four steps. read more about it here: https://github.com/teambit/bit/pull/3371
45
- */
46
- exportMany({ scope, ids, // when exporting a lane, the ids are the lane component ids
47
- laneObject, allVersions, originDirectly, idsWithFutureScope, resumeExportId, throwForMissingArtifacts, isOnMain, exportHeadsOnly, // relevant when exporting from bare-scope, especially when re-exporting existing versions, the normal calculation based on getDivergeData won't work
48
- filterOutExistingVersions, // go to the remote and check whether the version exists there. if so, don't export it
49
- exportOrigin, }: {
50
- scope: Scope;
51
- ids: ComponentIdList;
52
- laneObject?: Lane;
53
- allVersions?: boolean;
54
- originDirectly?: boolean;
55
- idsWithFutureScope: ComponentIdList;
56
- resumeExportId?: string | undefined;
57
- throwForMissingArtifacts?: boolean;
58
- isOnMain?: boolean;
59
- exportHeadsOnly?: boolean;
60
- filterOutExistingVersions?: boolean;
61
- exportOrigin?: ExportOrigin;
62
- }): Promise<{
63
- exported: ComponentIdList;
64
- updatedLocally: ComponentIdList;
65
- newIdsOnRemote: ComponentID[];
66
- rippleJobs: string[];
67
- }>;
68
- private transformToOneObjectListWithScopeData;
69
- private ejectExportedComponents;
70
- private pushToRemotesCarefully;
71
- private pushRemotesPendingDir;
72
- private shouldPushToCentralHub;
73
- /**
74
- * Component and dependencies id changes:
75
- * When exporting components with dependencies to a bare-scope, some of the dependencies may be created locally and as
76
- * a result their scope-name is null. Before the bare-scope gets the components, convert these scope names
77
- * to the bare-scope name.
78
- *
79
- * This is the Harmony version of "convertToCorrectScope". No more codemod and no more hash changes.
80
- */
81
- private convertToCorrectScope;
82
- private removeFromStagedConfig;
83
- private getComponentsToExport;
84
- /**
85
- * remove the entire "idsWithFutureScope" thing. is not relevant anymore.
86
- */
87
- private getIdsWithFutureScope;
88
- private getLaneCompIdsToExport;
89
- private getRemovedStagedBitIds;
90
- static runtime: import("@teambit/harmony").RuntimeDefinition;
91
- static dependencies: import("@teambit/harmony").Aspect[];
92
- static provider([cli, scope, workspace, remove, depResolver, loggerMain, eject]: [
93
- CLIMain,
94
- ScopeMain,
95
- Workspace,
96
- RemoveMain,
97
- DependencyResolverMain,
98
- LoggerMain,
99
- EjectMain
100
- ]): Promise<ExportMain>;
101
- }
102
- export declare function isUserTryingToExportLanes(consumer: Consumer): boolean;
103
- export default ExportMain;
package/dist/index.d.ts DELETED
@@ -1,6 +0,0 @@
1
- export type { ExportMain, ExportResult } from './export.main.runtime';
2
- export { ExportAspect } from './export.aspect';
3
- export type { Network } from '@teambit/legacy/dist/scope/network/network';
4
- export type { PushOptions } from '@teambit/legacy/dist/api/scope/lib/put';
5
- export { ExportPersist, ExportValidate, RemovePendingDir, FetchMissingDeps } from '@teambit/legacy/dist/scope/actions';
6
- export { ObjectList } from '@teambit/legacy/dist/scope/objects/object-list';
@@ -1,16 +0,0 @@
1
- import { Command, CommandOptions } from '@teambit/cli';
2
- import { ScopeMain } from '@teambit/scope';
3
- export declare class ResumeExportCmd implements Command {
4
- private scope;
5
- name: string;
6
- description: string;
7
- extendedDescription: string;
8
- alias: string;
9
- options: CommandOptions;
10
- loader: boolean;
11
- group: string;
12
- private: boolean;
13
- remoteOp: boolean;
14
- constructor(scope: ScopeMain);
15
- report([exportId, remotes]: [string, string[]]): Promise<string>;
16
- }