@teambit/export 1.0.227 → 1.0.229

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.227" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.scope/export@1.0.229" 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={77516:(e,t,o)=>{var r={id:"teambit.scope/export@1.0.227",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(77516);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={7391:(e,t,o)=>{var r={id:"teambit.scope/export@1.0.229",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(7391);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,7 +48,11 @@
48
48
  "line": 95,
49
49
  "character": 24
50
50
  },
51
- "name": "Workspace"
51
+ "name": "Workspace",
52
+ "componentId": {
53
+ "scope": "teambit.workspace",
54
+ "name": "workspace"
55
+ }
52
56
  },
53
57
  "isOptional": false,
54
58
  "isSpread": false
@@ -68,7 +72,11 @@
68
72
  "line": 96,
69
73
  "character": 21
70
74
  },
71
- "name": "RemoveMain"
75
+ "name": "RemoveMain",
76
+ "componentId": {
77
+ "scope": "teambit.component",
78
+ "name": "remove"
79
+ }
72
80
  },
73
81
  "isOptional": false,
74
82
  "isSpread": false
@@ -88,7 +96,11 @@
88
96
  "line": 97,
89
97
  "character": 26
90
98
  },
91
- "name": "DependencyResolverMain"
99
+ "name": "DependencyResolverMain",
100
+ "componentId": {
101
+ "scope": "teambit.dependencies",
102
+ "name": "dependency-resolver"
103
+ }
92
104
  },
93
105
  "isOptional": false,
94
106
  "isSpread": false
@@ -108,7 +120,11 @@
108
120
  "line": 98,
109
121
  "character": 21
110
122
  },
111
- "name": "Logger"
123
+ "name": "Logger",
124
+ "componentId": {
125
+ "scope": "teambit.harmony",
126
+ "name": "logger"
127
+ }
112
128
  },
113
129
  "isOptional": false,
114
130
  "isSpread": false
@@ -128,7 +144,11 @@
128
144
  "line": 99,
129
145
  "character": 20
130
146
  },
131
- "name": "EjectMain"
147
+ "name": "EjectMain",
148
+ "componentId": {
149
+ "scope": "teambit.workspace",
150
+ "name": "eject"
151
+ }
132
152
  },
133
153
  "isOptional": false,
134
154
  "isSpread": false
@@ -170,7 +190,8 @@
170
190
  "line": 102,
171
191
  "character": 24
172
192
  },
173
- "name": "ExportParams"
193
+ "name": "ExportParams",
194
+ "internalFilePath": "export.main.runtime.ts"
174
195
  },
175
196
  "isOptional": true,
176
197
  "defaultValue": "{}",
@@ -299,7 +320,8 @@
299
320
  "line": 249,
300
321
  "character": 18
301
322
  },
302
- "name": "Lane"
323
+ "name": "Lane",
324
+ "packageName": "@teambit/legacy/dist/scope/models"
303
325
  },
304
326
  "isOptional": true
305
327
  },
@@ -503,7 +525,8 @@
503
525
  "line": 258,
504
526
  "character": 20
505
527
  },
506
- "name": "ExportOrigin"
528
+ "name": "ExportOrigin",
529
+ "packageName": "@teambit/legacy/dist/scope/network/http/http"
507
530
  },
508
531
  "isOptional": true
509
532
  }
@@ -573,7 +596,8 @@
573
596
  "line": 249,
574
597
  "character": 18
575
598
  },
576
- "name": "Lane"
599
+ "name": "Lane",
600
+ "packageName": "@teambit/legacy/dist/scope/models"
577
601
  },
578
602
  "isOptional": true
579
603
  },
@@ -777,7 +801,8 @@
777
801
  "line": 258,
778
802
  "character": 20
779
803
  },
780
- "name": "ExportOrigin"
804
+ "name": "ExportOrigin",
805
+ "packageName": "@teambit/legacy/dist/scope/network/http/http"
781
806
  },
782
807
  "isOptional": true
783
808
  }
@@ -875,7 +900,12 @@
875
900
  "line": 262,
876
901
  "character": 21
877
902
  },
878
- "name": "ComponentID"
903
+ "name": "ComponentID",
904
+ "componentId": {
905
+ "scope": "teambit.component",
906
+ "name": "component-id",
907
+ "version": "1.2.0"
908
+ }
879
909
  }
880
910
  },
881
911
  "isOptional": false
@@ -991,7 +1021,11 @@
991
1021
  "line": 870,
992
1022
  "character": 5
993
1023
  },
994
- "name": "CLIMain"
1024
+ "name": "CLIMain",
1025
+ "componentId": {
1026
+ "scope": "teambit.harmony",
1027
+ "name": "cli"
1028
+ }
995
1029
  },
996
1030
  {
997
1031
  "__schema": "TypeRefSchema",
@@ -1000,7 +1034,11 @@
1000
1034
  "line": 871,
1001
1035
  "character": 5
1002
1036
  },
1003
- "name": "ScopeMain"
1037
+ "name": "ScopeMain",
1038
+ "componentId": {
1039
+ "scope": "teambit.scope",
1040
+ "name": "scope"
1041
+ }
1004
1042
  },
1005
1043
  {
1006
1044
  "__schema": "TypeRefSchema",
@@ -1009,7 +1047,11 @@
1009
1047
  "line": 872,
1010
1048
  "character": 5
1011
1049
  },
1012
- "name": "Workspace"
1050
+ "name": "Workspace",
1051
+ "componentId": {
1052
+ "scope": "teambit.workspace",
1053
+ "name": "workspace"
1054
+ }
1013
1055
  },
1014
1056
  {
1015
1057
  "__schema": "TypeRefSchema",
@@ -1018,7 +1060,11 @@
1018
1060
  "line": 873,
1019
1061
  "character": 5
1020
1062
  },
1021
- "name": "RemoveMain"
1063
+ "name": "RemoveMain",
1064
+ "componentId": {
1065
+ "scope": "teambit.component",
1066
+ "name": "remove"
1067
+ }
1022
1068
  },
1023
1069
  {
1024
1070
  "__schema": "TypeRefSchema",
@@ -1027,7 +1073,11 @@
1027
1073
  "line": 874,
1028
1074
  "character": 5
1029
1075
  },
1030
- "name": "DependencyResolverMain"
1076
+ "name": "DependencyResolverMain",
1077
+ "componentId": {
1078
+ "scope": "teambit.dependencies",
1079
+ "name": "dependency-resolver"
1080
+ }
1031
1081
  },
1032
1082
  {
1033
1083
  "__schema": "TypeRefSchema",
@@ -1036,7 +1086,11 @@
1036
1086
  "line": 875,
1037
1087
  "character": 5
1038
1088
  },
1039
- "name": "LoggerMain"
1089
+ "name": "LoggerMain",
1090
+ "componentId": {
1091
+ "scope": "teambit.harmony",
1092
+ "name": "logger"
1093
+ }
1040
1094
  },
1041
1095
  {
1042
1096
  "__schema": "TypeRefSchema",
@@ -1045,7 +1099,11 @@
1045
1099
  "line": 876,
1046
1100
  "character": 5
1047
1101
  },
1048
- "name": "EjectMain"
1102
+ "name": "EjectMain",
1103
+ "componentId": {
1104
+ "scope": "teambit.workspace",
1105
+ "name": "eject"
1106
+ }
1049
1107
  }
1050
1108
  ]
1051
1109
  },
@@ -1104,7 +1162,12 @@
1104
1162
  "line": 84,
1105
1163
  "character": 21
1106
1164
  },
1107
- "name": "ComponentID"
1165
+ "name": "ComponentID",
1166
+ "componentId": {
1167
+ "scope": "teambit.component",
1168
+ "name": "component-id",
1169
+ "version": "1.2.0"
1170
+ }
1108
1171
  }
1109
1172
  },
1110
1173
  "isOptional": false
@@ -1157,7 +1220,12 @@
1157
1220
  "line": 86,
1158
1221
  "character": 17
1159
1222
  },
1160
- "name": "ComponentID"
1223
+ "name": "ComponentID",
1224
+ "componentId": {
1225
+ "scope": "teambit.component",
1226
+ "name": "component-id",
1227
+ "version": "1.2.0"
1228
+ }
1161
1229
  }
1162
1230
  },
1163
1231
  "isOptional": false
@@ -1185,7 +1253,12 @@
1185
1253
  "line": 87,
1186
1254
  "character": 18
1187
1255
  },
1188
- "name": "ComponentID"
1256
+ "name": "ComponentID",
1257
+ "componentId": {
1258
+ "scope": "teambit.component",
1259
+ "name": "component-id",
1260
+ "version": "1.2.0"
1261
+ }
1189
1262
  }
1190
1263
  },
1191
1264
  "isOptional": false
@@ -1213,7 +1286,8 @@
1213
1286
  "line": 88,
1214
1287
  "character": 18
1215
1288
  },
1216
- "name": "Lane"
1289
+ "name": "Lane",
1290
+ "packageName": "@teambit/legacy/dist/scope/models"
1217
1291
  }
1218
1292
  },
1219
1293
  "isOptional": false
@@ -1270,7 +1344,11 @@
1270
1344
  "line": 90,
1271
1345
  "character": 17
1272
1346
  },
1273
- "name": "EjectResults"
1347
+ "name": "EjectResults",
1348
+ "componentId": {
1349
+ "scope": "teambit.workspace",
1350
+ "name": "eject"
1351
+ }
1274
1352
  },
1275
1353
  {
1276
1354
  "__schema": "KeywordTypeSchema",
@@ -1412,7 +1490,7 @@
1412
1490
  "line": 56,
1413
1491
  "character": 37
1414
1492
  },
1415
- "signature": "(id: ComponentID): ComponentID",
1493
+ "signature": "(id: \u001b[2m(component: teambit.component/component-id)\u001b[22m ComponentID): \u001b[2m(component: teambit.component/component-id)\u001b[22m ComponentID",
1416
1494
  "name": "",
1417
1495
  "params": [
1418
1496
  {
@@ -1430,7 +1508,12 @@
1430
1508
  "line": 56,
1431
1509
  "character": 42
1432
1510
  },
1433
- "name": "ComponentID"
1511
+ "name": "ComponentID",
1512
+ "componentId": {
1513
+ "scope": "teambit.component",
1514
+ "name": "component-id",
1515
+ "version": "1.2.0"
1516
+ }
1434
1517
  },
1435
1518
  "isOptional": false,
1436
1519
  "isSpread": false
@@ -1443,7 +1526,12 @@
1443
1526
  "line": 56,
1444
1527
  "character": 58
1445
1528
  },
1446
- "name": "ComponentID"
1529
+ "name": "ComponentID",
1530
+ "componentId": {
1531
+ "scope": "teambit.component",
1532
+ "name": "component-id",
1533
+ "version": "1.2.0"
1534
+ }
1447
1535
  },
1448
1536
  "modifiers": []
1449
1537
  }
@@ -1481,7 +1569,12 @@
1481
1569
  "line": 84,
1482
1570
  "character": 21
1483
1571
  },
1484
- "name": "ComponentID"
1572
+ "name": "ComponentID",
1573
+ "componentId": {
1574
+ "scope": "teambit.component",
1575
+ "name": "component-id",
1576
+ "version": "1.2.0"
1577
+ }
1485
1578
  }
1486
1579
  },
1487
1580
  "isOptional": false
@@ -1534,7 +1627,12 @@
1534
1627
  "line": 86,
1535
1628
  "character": 17
1536
1629
  },
1537
- "name": "ComponentID"
1630
+ "name": "ComponentID",
1631
+ "componentId": {
1632
+ "scope": "teambit.component",
1633
+ "name": "component-id",
1634
+ "version": "1.2.0"
1635
+ }
1538
1636
  }
1539
1637
  },
1540
1638
  "isOptional": false
@@ -1562,7 +1660,12 @@
1562
1660
  "line": 87,
1563
1661
  "character": 18
1564
1662
  },
1565
- "name": "ComponentID"
1663
+ "name": "ComponentID",
1664
+ "componentId": {
1665
+ "scope": "teambit.component",
1666
+ "name": "component-id",
1667
+ "version": "1.2.0"
1668
+ }
1566
1669
  }
1567
1670
  },
1568
1671
  "isOptional": false
@@ -1590,7 +1693,8 @@
1590
1693
  "line": 88,
1591
1694
  "character": 18
1592
1695
  },
1593
- "name": "Lane"
1696
+ "name": "Lane",
1697
+ "packageName": "@teambit/legacy/dist/scope/models"
1594
1698
  }
1595
1699
  },
1596
1700
  "isOptional": false
@@ -1647,7 +1751,11 @@
1647
1751
  "line": 90,
1648
1752
  "character": 17
1649
1753
  },
1650
- "name": "EjectResults"
1754
+ "name": "EjectResults",
1755
+ "componentId": {
1756
+ "scope": "teambit.workspace",
1757
+ "name": "eject"
1758
+ }
1651
1759
  },
1652
1760
  {
1653
1761
  "__schema": "KeywordTypeSchema",
@@ -1700,7 +1808,11 @@
1700
1808
  "line": 95,
1701
1809
  "character": 24
1702
1810
  },
1703
- "name": "Workspace"
1811
+ "name": "Workspace",
1812
+ "componentId": {
1813
+ "scope": "teambit.workspace",
1814
+ "name": "workspace"
1815
+ }
1704
1816
  },
1705
1817
  "isOptional": false,
1706
1818
  "isSpread": false
@@ -1720,7 +1832,11 @@
1720
1832
  "line": 96,
1721
1833
  "character": 21
1722
1834
  },
1723
- "name": "RemoveMain"
1835
+ "name": "RemoveMain",
1836
+ "componentId": {
1837
+ "scope": "teambit.component",
1838
+ "name": "remove"
1839
+ }
1724
1840
  },
1725
1841
  "isOptional": false,
1726
1842
  "isSpread": false
@@ -1740,7 +1856,11 @@
1740
1856
  "line": 97,
1741
1857
  "character": 26
1742
1858
  },
1743
- "name": "DependencyResolverMain"
1859
+ "name": "DependencyResolverMain",
1860
+ "componentId": {
1861
+ "scope": "teambit.dependencies",
1862
+ "name": "dependency-resolver"
1863
+ }
1744
1864
  },
1745
1865
  "isOptional": false,
1746
1866
  "isSpread": false
@@ -1760,7 +1880,11 @@
1760
1880
  "line": 98,
1761
1881
  "character": 21
1762
1882
  },
1763
- "name": "Logger"
1883
+ "name": "Logger",
1884
+ "componentId": {
1885
+ "scope": "teambit.harmony",
1886
+ "name": "logger"
1887
+ }
1764
1888
  },
1765
1889
  "isOptional": false,
1766
1890
  "isSpread": false
@@ -1780,7 +1904,11 @@
1780
1904
  "line": 99,
1781
1905
  "character": 20
1782
1906
  },
1783
- "name": "EjectMain"
1907
+ "name": "EjectMain",
1908
+ "componentId": {
1909
+ "scope": "teambit.workspace",
1910
+ "name": "eject"
1911
+ }
1784
1912
  },
1785
1913
  "isOptional": false,
1786
1914
  "isSpread": false
@@ -1822,7 +1950,8 @@
1822
1950
  "line": 102,
1823
1951
  "character": 24
1824
1952
  },
1825
- "name": "ExportParams"
1953
+ "name": "ExportParams",
1954
+ "internalFilePath": "export.main.runtime.ts"
1826
1955
  },
1827
1956
  "isOptional": true,
1828
1957
  "defaultValue": "{}",
@@ -1951,7 +2080,8 @@
1951
2080
  "line": 249,
1952
2081
  "character": 18
1953
2082
  },
1954
- "name": "Lane"
2083
+ "name": "Lane",
2084
+ "packageName": "@teambit/legacy/dist/scope/models"
1955
2085
  },
1956
2086
  "isOptional": true
1957
2087
  },
@@ -2155,7 +2285,8 @@
2155
2285
  "line": 258,
2156
2286
  "character": 20
2157
2287
  },
2158
- "name": "ExportOrigin"
2288
+ "name": "ExportOrigin",
2289
+ "packageName": "@teambit/legacy/dist/scope/network/http/http"
2159
2290
  },
2160
2291
  "isOptional": true
2161
2292
  }
@@ -2225,7 +2356,8 @@
2225
2356
  "line": 249,
2226
2357
  "character": 18
2227
2358
  },
2228
- "name": "Lane"
2359
+ "name": "Lane",
2360
+ "packageName": "@teambit/legacy/dist/scope/models"
2229
2361
  },
2230
2362
  "isOptional": true
2231
2363
  },
@@ -2429,7 +2561,8 @@
2429
2561
  "line": 258,
2430
2562
  "character": 20
2431
2563
  },
2432
- "name": "ExportOrigin"
2564
+ "name": "ExportOrigin",
2565
+ "packageName": "@teambit/legacy/dist/scope/network/http/http"
2433
2566
  },
2434
2567
  "isOptional": true
2435
2568
  }
@@ -2527,7 +2660,12 @@
2527
2660
  "line": 262,
2528
2661
  "character": 21
2529
2662
  },
2530
- "name": "ComponentID"
2663
+ "name": "ComponentID",
2664
+ "componentId": {
2665
+ "scope": "teambit.component",
2666
+ "name": "component-id",
2667
+ "version": "1.2.0"
2668
+ }
2531
2669
  }
2532
2670
  },
2533
2671
  "isOptional": false
@@ -2643,7 +2781,11 @@
2643
2781
  "line": 870,
2644
2782
  "character": 5
2645
2783
  },
2646
- "name": "CLIMain"
2784
+ "name": "CLIMain",
2785
+ "componentId": {
2786
+ "scope": "teambit.harmony",
2787
+ "name": "cli"
2788
+ }
2647
2789
  },
2648
2790
  {
2649
2791
  "__schema": "TypeRefSchema",
@@ -2652,7 +2794,11 @@
2652
2794
  "line": 871,
2653
2795
  "character": 5
2654
2796
  },
2655
- "name": "ScopeMain"
2797
+ "name": "ScopeMain",
2798
+ "componentId": {
2799
+ "scope": "teambit.scope",
2800
+ "name": "scope"
2801
+ }
2656
2802
  },
2657
2803
  {
2658
2804
  "__schema": "TypeRefSchema",
@@ -2661,7 +2807,11 @@
2661
2807
  "line": 872,
2662
2808
  "character": 5
2663
2809
  },
2664
- "name": "Workspace"
2810
+ "name": "Workspace",
2811
+ "componentId": {
2812
+ "scope": "teambit.workspace",
2813
+ "name": "workspace"
2814
+ }
2665
2815
  },
2666
2816
  {
2667
2817
  "__schema": "TypeRefSchema",
@@ -2670,7 +2820,11 @@
2670
2820
  "line": 873,
2671
2821
  "character": 5
2672
2822
  },
2673
- "name": "RemoveMain"
2823
+ "name": "RemoveMain",
2824
+ "componentId": {
2825
+ "scope": "teambit.component",
2826
+ "name": "remove"
2827
+ }
2674
2828
  },
2675
2829
  {
2676
2830
  "__schema": "TypeRefSchema",
@@ -2679,7 +2833,11 @@
2679
2833
  "line": 874,
2680
2834
  "character": 5
2681
2835
  },
2682
- "name": "DependencyResolverMain"
2836
+ "name": "DependencyResolverMain",
2837
+ "componentId": {
2838
+ "scope": "teambit.dependencies",
2839
+ "name": "dependency-resolver"
2840
+ }
2683
2841
  },
2684
2842
  {
2685
2843
  "__schema": "TypeRefSchema",
@@ -2688,7 +2846,11 @@
2688
2846
  "line": 875,
2689
2847
  "character": 5
2690
2848
  },
2691
- "name": "LoggerMain"
2849
+ "name": "LoggerMain",
2850
+ "componentId": {
2851
+ "scope": "teambit.harmony",
2852
+ "name": "logger"
2853
+ }
2692
2854
  },
2693
2855
  {
2694
2856
  "__schema": "TypeRefSchema",
@@ -2697,7 +2859,11 @@
2697
2859
  "line": 876,
2698
2860
  "character": 5
2699
2861
  },
2700
- "name": "EjectMain"
2862
+ "name": "EjectMain",
2863
+ "componentId": {
2864
+ "scope": "teambit.workspace",
2865
+ "name": "eject"
2866
+ }
2701
2867
  }
2702
2868
  ]
2703
2869
  },
@@ -2748,7 +2914,8 @@
2748
2914
  "line": 939,
2749
2915
  "character": 53
2750
2916
  },
2751
- "name": "Consumer"
2917
+ "name": "Consumer",
2918
+ "packageName": "@teambit/legacy/dist/consumer"
2752
2919
  },
2753
2920
  "isOptional": false,
2754
2921
  "isSpread": false
@@ -2872,7 +3039,8 @@
2872
3039
  "line": 58,
2873
3040
  "character": 71
2874
3041
  },
2875
- "name": "BitObject"
3042
+ "name": "BitObject",
3043
+ "packageName": "@teambit/legacy/dist/scope/objects"
2876
3044
  }
2877
3045
  },
2878
3046
  "isOptional": false
@@ -2931,7 +3099,8 @@
2931
3099
  "line": 59,
2932
3100
  "character": 44
2933
3101
  },
2934
- "name": "ObjectList"
3102
+ "name": "ObjectList",
3103
+ "packageName": "@teambit/legacy/dist/scope/objects/object-list"
2935
3104
  }
2936
3105
  }
2937
3106
  ]
@@ -3051,7 +3220,8 @@
3051
3220
  "line": 65,
3052
3221
  "character": 33
3053
3222
  },
3054
- "name": "ObjectsPerRemote"
3223
+ "name": "ObjectsPerRemote",
3224
+ "internalFilePath": "export.main.runtime.ts"
3055
3225
  },
3056
3226
  {
3057
3227
  "__schema": "TypeLiteralSchema",
@@ -3130,7 +3300,8 @@
3130
3300
  "line": 68,
3131
3301
  "character": 25
3132
3302
  },
3133
- "name": "ModelComponentAndObjects"
3303
+ "name": "ModelComponentAndObjects",
3304
+ "internalFilePath": "export.main.runtime.ts"
3134
3305
  }
3135
3306
  },
3136
3307
  "isOptional": false
@@ -3412,7 +3583,8 @@
3412
3583
  "line": 891,
3413
3584
  "character": 37
3414
3585
  },
3415
- "name": "BitMap"
3586
+ "name": "BitMap",
3587
+ "packageName": "@teambit/legacy/dist/consumer/bit-map/bit-map"
3416
3588
  },
3417
3589
  "isOptional": false,
3418
3590
  "isSpread": false
@@ -3432,7 +3604,12 @@
3432
3604
  "line": 891,
3433
3605
  "character": 60
3434
3606
  },
3435
- "name": "ComponentIdList"
3607
+ "name": "ComponentIdList",
3608
+ "componentId": {
3609
+ "scope": "teambit.component",
3610
+ "name": "component-id",
3611
+ "version": "1.2.0"
3612
+ }
3436
3613
  },
3437
3614
  "isOptional": false,
3438
3615
  "isSpread": false
@@ -3452,7 +3629,12 @@
3452
3629
  "line": 891,
3453
3630
  "character": 78
3454
3631
  },
3455
- "name": "ComponentID"
3632
+ "name": "ComponentID",
3633
+ "componentId": {
3634
+ "scope": "teambit.component",
3635
+ "name": "component-id",
3636
+ "version": "1.2.0"
3637
+ }
3456
3638
  }
3457
3639
  },
3458
3640
  "modifiers": []
@@ -3482,7 +3664,8 @@
3482
3664
  "line": 900,
3483
3665
  "character": 38
3484
3666
  },
3485
- "name": "Consumer"
3667
+ "name": "Consumer",
3668
+ "packageName": "@teambit/legacy/dist/consumer"
3486
3669
  },
3487
3670
  "isOptional": false,
3488
3671
  "isSpread": false
@@ -3524,7 +3707,12 @@
3524
3707
  "line": 900,
3525
3708
  "character": 69
3526
3709
  },
3527
- "name": "ComponentID"
3710
+ "name": "ComponentID",
3711
+ "componentId": {
3712
+ "scope": "teambit.component",
3713
+ "name": "component-id",
3714
+ "version": "1.2.0"
3715
+ }
3528
3716
  }
3529
3717
  ]
3530
3718
  },
@@ -3557,7 +3745,8 @@
3557
3745
  "line": 910,
3558
3746
  "character": 45
3559
3747
  },
3560
- "name": "Lane"
3748
+ "name": "Lane",
3749
+ "packageName": "@teambit/legacy/dist/scope/models"
3561
3750
  },
3562
3751
  "isOptional": false,
3563
3752
  "isSpread": false
@@ -3600,7 +3789,8 @@
3600
3789
  "line": 926,
3601
3790
  "character": 49
3602
3791
  },
3603
- "name": "Consumer"
3792
+ "name": "Consumer",
3793
+ "packageName": "@teambit/legacy/dist/consumer"
3604
3794
  },
3605
3795
  "isOptional": false,
3606
3796
  "isSpread": false
@@ -3620,7 +3810,8 @@
3620
3810
  "line": 926,
3621
3811
  "character": 65
3622
3812
  },
3623
- "name": "Lane"
3813
+ "name": "Lane",
3814
+ "packageName": "@teambit/legacy/dist/scope/models"
3624
3815
  },
3625
3816
  "isOptional": false,
3626
3817
  "isSpread": false
@@ -3682,7 +3873,7 @@
3682
3873
  "componentId": {
3683
3874
  "scope": "teambit.scope",
3684
3875
  "name": "export",
3685
- "version": "1.0.227"
3876
+ "version": "1.0.229"
3686
3877
  },
3687
3878
  "taggedModuleExports": []
3688
3879
  }
@@ -0,0 +1,21 @@
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
+ }
@@ -0,0 +1,2 @@
1
+ import { Aspect } from '@teambit/harmony';
2
+ export declare const ExportAspect: Aspect;
@@ -0,0 +1 @@
1
+ export declare const Logo: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,103 @@
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;
@@ -0,0 +1,6 @@
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,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.scope_export@1.0.227/dist/export.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.scope_export@1.0.227/dist/export.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.scope_export@1.0.229/dist/export.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.scope_export@1.0.229/dist/export.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
@@ -0,0 +1,16 @@
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
+ }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/export",
3
- "version": "1.0.227",
3
+ "version": "1.0.229",
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.227"
9
+ "version": "1.0.229"
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.860",
22
- "@teambit/eject": "1.0.227",
23
- "@teambit/dependency-resolver": "1.0.227",
24
- "@teambit/logger": "0.0.953",
25
- "@teambit/remove": "1.0.227",
26
- "@teambit/scope": "1.0.227",
21
+ "@teambit/cli": "0.0.862",
22
+ "@teambit/eject": "1.0.229",
23
+ "@teambit/dependency-resolver": "1.0.229",
24
+ "@teambit/logger": "0.0.955",
25
+ "@teambit/remove": "1.0.229",
26
+ "@teambit/scope": "1.0.229",
27
27
  "@teambit/workspace.modules.node-modules-linker": "0.0.167",
28
- "@teambit/workspace": "1.0.227"
28
+ "@teambit/workspace": "1.0.229"
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.30"
35
+ "@teambit/harmony.envs.core-aspect-env": "0.0.33"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "react": "^17.0.0 || ^18.0.0",
package/tsconfig.json CHANGED
@@ -20,8 +20,7 @@
20
20
  "emitDeclarationOnly": true,
21
21
  "strict": true,
22
22
  "strictPropertyInitialization": false,
23
- "noImplicitAny": false,
24
- "composite": true
23
+ "noImplicitAny": false
25
24
  },
26
25
  "exclude": [
27
26
  "artifacts",
@@ -36,25 +35,5 @@
36
35
  "include": [
37
36
  "**/*",
38
37
  "**/*.json"
39
- ],
40
- "references": [
41
- {
42
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_cli@0.0.860"
43
- },
44
- {
45
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_eject@1.0.227"
46
- },
47
- {
48
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_logger@0.0.953"
49
- },
50
- {
51
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_remove@1.0.227"
52
- },
53
- {
54
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.scope_scope@1.0.227"
55
- },
56
- {
57
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@1.0.227"
58
- }
59
38
  ]
60
39
  }