@teambit/forking 1.0.226 → 1.0.227

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.component/forking@1.0.226" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.component/forking@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/forking-preview"]=t():e["teambit.component/forking-preview"]=t()}(self,(()=>(()=>{"use strict";var e={8884:(e,t,o)=>{var n={id:"teambit.component/forking@1.0.226",homepage:"https://bit.cloud/teambit/component/forking",exported:!0};function r(){const e=i(o(41594));return r=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=n,i.__bit_component=n;const p=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/forking.svg"}));p.__bit_component=n,t.Logo=p},41594:e=>{e.exports=React}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.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:()=>l,overview:()=>u});var e={};o.r(e),o.d(e,{default:()=>f});var t=o(8884);o(41594);const r=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 n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},c.apply(this,arguments)}var a={},s="wrapper";function f(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={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,p);return(0,r.mdx)(s,c({},a,o,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}f.isMDXComponent=!0;const d=[t],u=[e],l={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),n})()));
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/forking-preview"]=t():e["teambit.component/forking-preview"]=t()}(self,(()=>(()=>{"use strict";var e={91781:(e,t,o)=>{var n={id:"teambit.component/forking@1.0.227",homepage:"https://bit.cloud/teambit/component/forking",exported:!0};function r(){const e=i(o(41594));return r=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=n,i.__bit_component=n;const p=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/forking.svg"}));p.__bit_component=n,t.Logo=p},41594:e=>{e.exports=React}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.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:()=>l,overview:()=>u});var e={};o.r(e),o.d(e,{default:()=>f});var t=o(91781);o(41594);const r=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 n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},c.apply(this,arguments)}var a={},s="wrapper";function f(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={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,p);return(0,r.mdx)(s,c({},a,o,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}f.isMDXComponent=!0;const d=[t],u=[e],l={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),n})()));
@@ -48,11 +48,7 @@
48
48
  "line": 53,
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": 54,
73
69
  "character": 22
74
70
  },
75
- "name": "InstallMain",
76
- "componentId": {
77
- "scope": "teambit.workspace",
78
- "name": "install"
79
- }
71
+ "name": "InstallMain"
80
72
  },
81
73
  "isOptional": false,
82
74
  "isSpread": false
@@ -96,11 +88,7 @@
96
88
  "line": 55,
97
89
  "character": 33
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": 56,
121
109
  "character": 33
122
110
  },
123
- "name": "NewComponentHelperMain",
124
- "componentId": {
125
- "scope": "teambit.component",
126
- "name": "new-component-helper"
127
- }
111
+ "name": "NewComponentHelperMain"
128
112
  },
129
113
  "isOptional": false,
130
114
  "isSpread": false
@@ -144,11 +128,7 @@
144
128
  "line": 57,
145
129
  "character": 26
146
130
  },
147
- "name": "RefactoringMain",
148
- "componentId": {
149
- "scope": "teambit.component",
150
- "name": "refactoring"
151
- }
131
+ "name": "RefactoringMain"
152
132
  },
153
133
  "isOptional": false,
154
134
  "isSpread": false
@@ -168,11 +148,7 @@
168
148
  "line": 58,
169
149
  "character": 18
170
150
  },
171
- "name": "PkgMain",
172
- "componentId": {
173
- "scope": "teambit.pkg",
174
- "name": "pkg"
175
- }
151
+ "name": "PkgMain"
176
152
  },
177
153
  "isOptional": false,
178
154
  "isSpread": false
@@ -264,8 +240,7 @@
264
240
  "line": 66,
265
241
  "character": 61
266
242
  },
267
- "name": "ForkOptions",
268
- "internalFilePath": "fork.cmd.ts"
243
+ "name": "ForkOptions"
269
244
  },
270
245
  "isOptional": true,
271
246
  "isSpread": false
@@ -287,12 +262,7 @@
287
262
  "line": 66,
288
263
  "character": 83
289
264
  },
290
- "name": "ComponentID",
291
- "componentId": {
292
- "scope": "teambit.component",
293
- "name": "component-id",
294
- "version": "1.2.0"
295
- }
265
+ "name": "ComponentID"
296
266
  }
297
267
  ]
298
268
  },
@@ -335,11 +305,7 @@
335
305
  "line": 84,
336
306
  "character": 26
337
307
  },
338
- "name": "Component",
339
- "componentId": {
340
- "scope": "teambit.component",
341
- "name": "component"
342
- }
308
+ "name": "Component"
343
309
  },
344
310
  "isOptional": false,
345
311
  "isSpread": false
@@ -360,8 +326,7 @@
360
326
  "line": 84,
361
327
  "character": 38
362
328
  },
363
- "name": "ForkInfo",
364
- "internalFilePath": "forking.main.runtime.ts"
329
+ "name": "ForkInfo"
365
330
  },
366
331
  {
367
332
  "__schema": "LiteralTypeSchema",
@@ -401,8 +366,7 @@
401
366
  "line": 92,
402
367
  "character": 50
403
368
  },
404
- "name": "MultipleComponentsToFork",
405
- "internalFilePath": "forking.main.runtime.ts"
369
+ "name": "MultipleComponentsToFork"
406
370
  },
407
371
  "isOptional": false,
408
372
  "isSpread": false
@@ -422,8 +386,7 @@
422
386
  "line": 92,
423
387
  "character": 85
424
388
  },
425
- "name": "MultipleForkOptions",
426
- "internalFilePath": "forking.main.runtime.ts"
389
+ "name": "MultipleForkOptions"
427
390
  },
428
391
  "isOptional": true,
429
392
  "defaultValue": "{}",
@@ -538,8 +501,7 @@
538
501
  "line": 191,
539
502
  "character": 15
540
503
  },
541
- "name": "ScopeForkOptions",
542
- "internalFilePath": "scope-fork.cmd.ts"
504
+ "name": "ScopeForkOptions"
543
505
  },
544
506
  "isOptional": true,
545
507
  "isSpread": false
@@ -568,12 +530,7 @@
568
530
  "line": 192,
569
531
  "character": 14
570
532
  },
571
- "name": "ComponentID",
572
- "componentId": {
573
- "scope": "teambit.component",
574
- "name": "component-id",
575
- "version": "1.2.0"
576
- }
533
+ "name": "ComponentID"
577
534
  }
578
535
  }
579
536
  ]
@@ -678,11 +635,7 @@
678
635
  "line": 374,
679
636
  "character": 5
680
637
  },
681
- "name": "CLIMain",
682
- "componentId": {
683
- "scope": "teambit.harmony",
684
- "name": "cli"
685
- }
638
+ "name": "CLIMain"
686
639
  },
687
640
  {
688
641
  "__schema": "TypeRefSchema",
@@ -691,11 +644,7 @@
691
644
  "line": 375,
692
645
  "character": 5
693
646
  },
694
- "name": "Workspace",
695
- "componentId": {
696
- "scope": "teambit.workspace",
697
- "name": "workspace"
698
- }
647
+ "name": "Workspace"
699
648
  },
700
649
  {
701
650
  "__schema": "TypeRefSchema",
@@ -704,11 +653,7 @@
704
653
  "line": 376,
705
654
  "character": 5
706
655
  },
707
- "name": "DependencyResolverMain",
708
- "componentId": {
709
- "scope": "teambit.dependencies",
710
- "name": "dependency-resolver"
711
- }
656
+ "name": "DependencyResolverMain"
712
657
  },
713
658
  {
714
659
  "__schema": "TypeRefSchema",
@@ -717,11 +662,7 @@
717
662
  "line": 377,
718
663
  "character": 5
719
664
  },
720
- "name": "ComponentMain",
721
- "componentId": {
722
- "scope": "teambit.component",
723
- "name": "component"
724
- }
665
+ "name": "ComponentMain"
725
666
  },
726
667
  {
727
668
  "__schema": "TypeRefSchema",
@@ -730,11 +671,7 @@
730
671
  "line": 378,
731
672
  "character": 5
732
673
  },
733
- "name": "NewComponentHelperMain",
734
- "componentId": {
735
- "scope": "teambit.component",
736
- "name": "new-component-helper"
737
- }
674
+ "name": "NewComponentHelperMain"
738
675
  },
739
676
  {
740
677
  "__schema": "TypeRefSchema",
@@ -743,11 +680,7 @@
743
680
  "line": 379,
744
681
  "character": 5
745
682
  },
746
- "name": "GraphqlMain",
747
- "componentId": {
748
- "scope": "teambit.harmony",
749
- "name": "graphql"
750
- }
683
+ "name": "GraphqlMain"
751
684
  },
752
685
  {
753
686
  "__schema": "TypeRefSchema",
@@ -756,11 +689,7 @@
756
689
  "line": 380,
757
690
  "character": 5
758
691
  },
759
- "name": "RefactoringMain",
760
- "componentId": {
761
- "scope": "teambit.component",
762
- "name": "refactoring"
763
- }
692
+ "name": "RefactoringMain"
764
693
  },
765
694
  {
766
695
  "__schema": "TypeRefSchema",
@@ -769,11 +698,7 @@
769
698
  "line": 381,
770
699
  "character": 5
771
700
  },
772
- "name": "PkgMain",
773
- "componentId": {
774
- "scope": "teambit.pkg",
775
- "name": "pkg"
776
- }
701
+ "name": "PkgMain"
777
702
  },
778
703
  {
779
704
  "__schema": "TypeRefSchema",
@@ -782,11 +707,7 @@
782
707
  "line": 382,
783
708
  "character": 5
784
709
  },
785
- "name": "InstallMain",
786
- "componentId": {
787
- "scope": "teambit.workspace",
788
- "name": "install"
789
- }
710
+ "name": "InstallMain"
790
711
  }
791
712
  ]
792
713
  },
@@ -940,11 +861,7 @@
940
861
  "line": 53,
941
862
  "character": 24
942
863
  },
943
- "name": "Workspace",
944
- "componentId": {
945
- "scope": "teambit.workspace",
946
- "name": "workspace"
947
- }
864
+ "name": "Workspace"
948
865
  },
949
866
  "isOptional": false,
950
867
  "isSpread": false
@@ -964,11 +881,7 @@
964
881
  "line": 54,
965
882
  "character": 22
966
883
  },
967
- "name": "InstallMain",
968
- "componentId": {
969
- "scope": "teambit.workspace",
970
- "name": "install"
971
- }
884
+ "name": "InstallMain"
972
885
  },
973
886
  "isOptional": false,
974
887
  "isSpread": false
@@ -988,11 +901,7 @@
988
901
  "line": 55,
989
902
  "character": 33
990
903
  },
991
- "name": "DependencyResolverMain",
992
- "componentId": {
993
- "scope": "teambit.dependencies",
994
- "name": "dependency-resolver"
995
- }
904
+ "name": "DependencyResolverMain"
996
905
  },
997
906
  "isOptional": false,
998
907
  "isSpread": false
@@ -1012,11 +921,7 @@
1012
921
  "line": 56,
1013
922
  "character": 33
1014
923
  },
1015
- "name": "NewComponentHelperMain",
1016
- "componentId": {
1017
- "scope": "teambit.component",
1018
- "name": "new-component-helper"
1019
- }
924
+ "name": "NewComponentHelperMain"
1020
925
  },
1021
926
  "isOptional": false,
1022
927
  "isSpread": false
@@ -1036,11 +941,7 @@
1036
941
  "line": 57,
1037
942
  "character": 26
1038
943
  },
1039
- "name": "RefactoringMain",
1040
- "componentId": {
1041
- "scope": "teambit.component",
1042
- "name": "refactoring"
1043
- }
944
+ "name": "RefactoringMain"
1044
945
  },
1045
946
  "isOptional": false,
1046
947
  "isSpread": false
@@ -1060,11 +961,7 @@
1060
961
  "line": 58,
1061
962
  "character": 18
1062
963
  },
1063
- "name": "PkgMain",
1064
- "componentId": {
1065
- "scope": "teambit.pkg",
1066
- "name": "pkg"
1067
- }
964
+ "name": "PkgMain"
1068
965
  },
1069
966
  "isOptional": false,
1070
967
  "isSpread": false
@@ -1156,8 +1053,7 @@
1156
1053
  "line": 66,
1157
1054
  "character": 61
1158
1055
  },
1159
- "name": "ForkOptions",
1160
- "internalFilePath": "fork.cmd.ts"
1056
+ "name": "ForkOptions"
1161
1057
  },
1162
1058
  "isOptional": true,
1163
1059
  "isSpread": false
@@ -1179,12 +1075,7 @@
1179
1075
  "line": 66,
1180
1076
  "character": 83
1181
1077
  },
1182
- "name": "ComponentID",
1183
- "componentId": {
1184
- "scope": "teambit.component",
1185
- "name": "component-id",
1186
- "version": "1.2.0"
1187
- }
1078
+ "name": "ComponentID"
1188
1079
  }
1189
1080
  ]
1190
1081
  },
@@ -1227,11 +1118,7 @@
1227
1118
  "line": 84,
1228
1119
  "character": 26
1229
1120
  },
1230
- "name": "Component",
1231
- "componentId": {
1232
- "scope": "teambit.component",
1233
- "name": "component"
1234
- }
1121
+ "name": "Component"
1235
1122
  },
1236
1123
  "isOptional": false,
1237
1124
  "isSpread": false
@@ -1252,8 +1139,7 @@
1252
1139
  "line": 84,
1253
1140
  "character": 38
1254
1141
  },
1255
- "name": "ForkInfo",
1256
- "internalFilePath": "forking.main.runtime.ts"
1142
+ "name": "ForkInfo"
1257
1143
  },
1258
1144
  {
1259
1145
  "__schema": "LiteralTypeSchema",
@@ -1293,8 +1179,7 @@
1293
1179
  "line": 92,
1294
1180
  "character": 50
1295
1181
  },
1296
- "name": "MultipleComponentsToFork",
1297
- "internalFilePath": "forking.main.runtime.ts"
1182
+ "name": "MultipleComponentsToFork"
1298
1183
  },
1299
1184
  "isOptional": false,
1300
1185
  "isSpread": false
@@ -1314,8 +1199,7 @@
1314
1199
  "line": 92,
1315
1200
  "character": 85
1316
1201
  },
1317
- "name": "MultipleForkOptions",
1318
- "internalFilePath": "forking.main.runtime.ts"
1202
+ "name": "MultipleForkOptions"
1319
1203
  },
1320
1204
  "isOptional": true,
1321
1205
  "defaultValue": "{}",
@@ -1430,8 +1314,7 @@
1430
1314
  "line": 191,
1431
1315
  "character": 15
1432
1316
  },
1433
- "name": "ScopeForkOptions",
1434
- "internalFilePath": "scope-fork.cmd.ts"
1317
+ "name": "ScopeForkOptions"
1435
1318
  },
1436
1319
  "isOptional": true,
1437
1320
  "isSpread": false
@@ -1460,12 +1343,7 @@
1460
1343
  "line": 192,
1461
1344
  "character": 14
1462
1345
  },
1463
- "name": "ComponentID",
1464
- "componentId": {
1465
- "scope": "teambit.component",
1466
- "name": "component-id",
1467
- "version": "1.2.0"
1468
- }
1346
+ "name": "ComponentID"
1469
1347
  }
1470
1348
  }
1471
1349
  ]
@@ -1570,11 +1448,7 @@
1570
1448
  "line": 374,
1571
1449
  "character": 5
1572
1450
  },
1573
- "name": "CLIMain",
1574
- "componentId": {
1575
- "scope": "teambit.harmony",
1576
- "name": "cli"
1577
- }
1451
+ "name": "CLIMain"
1578
1452
  },
1579
1453
  {
1580
1454
  "__schema": "TypeRefSchema",
@@ -1583,11 +1457,7 @@
1583
1457
  "line": 375,
1584
1458
  "character": 5
1585
1459
  },
1586
- "name": "Workspace",
1587
- "componentId": {
1588
- "scope": "teambit.workspace",
1589
- "name": "workspace"
1590
- }
1460
+ "name": "Workspace"
1591
1461
  },
1592
1462
  {
1593
1463
  "__schema": "TypeRefSchema",
@@ -1596,11 +1466,7 @@
1596
1466
  "line": 376,
1597
1467
  "character": 5
1598
1468
  },
1599
- "name": "DependencyResolverMain",
1600
- "componentId": {
1601
- "scope": "teambit.dependencies",
1602
- "name": "dependency-resolver"
1603
- }
1469
+ "name": "DependencyResolverMain"
1604
1470
  },
1605
1471
  {
1606
1472
  "__schema": "TypeRefSchema",
@@ -1609,11 +1475,7 @@
1609
1475
  "line": 377,
1610
1476
  "character": 5
1611
1477
  },
1612
- "name": "ComponentMain",
1613
- "componentId": {
1614
- "scope": "teambit.component",
1615
- "name": "component"
1616
- }
1478
+ "name": "ComponentMain"
1617
1479
  },
1618
1480
  {
1619
1481
  "__schema": "TypeRefSchema",
@@ -1622,11 +1484,7 @@
1622
1484
  "line": 378,
1623
1485
  "character": 5
1624
1486
  },
1625
- "name": "NewComponentHelperMain",
1626
- "componentId": {
1627
- "scope": "teambit.component",
1628
- "name": "new-component-helper"
1629
- }
1487
+ "name": "NewComponentHelperMain"
1630
1488
  },
1631
1489
  {
1632
1490
  "__schema": "TypeRefSchema",
@@ -1635,11 +1493,7 @@
1635
1493
  "line": 379,
1636
1494
  "character": 5
1637
1495
  },
1638
- "name": "GraphqlMain",
1639
- "componentId": {
1640
- "scope": "teambit.harmony",
1641
- "name": "graphql"
1642
- }
1496
+ "name": "GraphqlMain"
1643
1497
  },
1644
1498
  {
1645
1499
  "__schema": "TypeRefSchema",
@@ -1648,11 +1502,7 @@
1648
1502
  "line": 380,
1649
1503
  "character": 5
1650
1504
  },
1651
- "name": "RefactoringMain",
1652
- "componentId": {
1653
- "scope": "teambit.component",
1654
- "name": "refactoring"
1655
- }
1505
+ "name": "RefactoringMain"
1656
1506
  },
1657
1507
  {
1658
1508
  "__schema": "TypeRefSchema",
@@ -1661,11 +1511,7 @@
1661
1511
  "line": 381,
1662
1512
  "character": 5
1663
1513
  },
1664
- "name": "PkgMain",
1665
- "componentId": {
1666
- "scope": "teambit.pkg",
1667
- "name": "pkg"
1668
- }
1514
+ "name": "PkgMain"
1669
1515
  },
1670
1516
  {
1671
1517
  "__schema": "TypeRefSchema",
@@ -1674,11 +1520,7 @@
1674
1520
  "line": 382,
1675
1521
  "character": 5
1676
1522
  },
1677
- "name": "InstallMain",
1678
- "componentId": {
1679
- "scope": "teambit.workspace",
1680
- "name": "install"
1681
- }
1523
+ "name": "InstallMain"
1682
1524
  }
1683
1525
  ]
1684
1526
  },
@@ -1982,11 +1824,7 @@
1982
1824
  "line": 41,
1983
1825
  "character": 12
1984
1826
  },
1985
- "name": "ComponentConfig",
1986
- "componentId": {
1987
- "scope": "teambit.generator",
1988
- "name": "generator"
1989
- }
1827
+ "name": "ComponentConfig"
1990
1828
  },
1991
1829
  "isOptional": true
1992
1830
  }
@@ -2148,7 +1986,7 @@
2148
1986
  "componentId": {
2149
1987
  "scope": "teambit.component",
2150
1988
  "name": "forking",
2151
- "version": "1.0.226"
1989
+ "version": "1.0.227"
2152
1990
  },
2153
1991
  "taggedModuleExports": []
2154
1992
  }
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_forking@1.0.226/dist/forking.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_forking@1.0.226/dist/forking.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_forking@1.0.227/dist/forking.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_forking@1.0.227/dist/forking.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/forking",
3
- "version": "1.0.226",
3
+ "version": "1.0.227",
4
4
  "homepage": "https://bit.cloud/teambit/component/forking",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.component",
8
8
  "name": "forking",
9
- "version": "1.0.226"
9
+ "version": "1.0.227"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -18,25 +18,25 @@
18
18
  "@teambit/bit-error": "0.0.404",
19
19
  "@teambit/component-id": "1.2.0",
20
20
  "@teambit/component-version": "1.0.3",
21
- "@teambit/cli": "0.0.859",
22
- "@teambit/generator": "1.0.227",
23
- "@teambit/component": "1.0.226",
24
- "@teambit/graphql": "1.0.226",
21
+ "@teambit/cli": "0.0.860",
22
+ "@teambit/generator": "1.0.228",
23
+ "@teambit/component": "1.0.227",
24
+ "@teambit/graphql": "1.0.227",
25
25
  "@teambit/component-package-version": "0.0.433",
26
- "@teambit/dependency-resolver": "1.0.226",
27
- "@teambit/install": "1.0.226",
28
- "@teambit/new-component-helper": "1.0.226",
29
- "@teambit/pkg": "1.0.226",
30
- "@teambit/refactoring": "1.0.226",
31
- "@teambit/typescript": "1.0.226",
32
- "@teambit/workspace": "1.0.226"
26
+ "@teambit/dependency-resolver": "1.0.227",
27
+ "@teambit/install": "1.0.227",
28
+ "@teambit/new-component-helper": "1.0.227",
29
+ "@teambit/pkg": "1.0.227",
30
+ "@teambit/refactoring": "1.0.227",
31
+ "@teambit/typescript": "1.0.227",
32
+ "@teambit/workspace": "1.0.227"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/lodash": "4.14.165",
36
36
  "@types/semver": "7.3.4",
37
37
  "@types/mocha": "9.1.0",
38
38
  "chai": "4.3.0",
39
- "@teambit/harmony.envs.core-aspect-env": "0.0.27"
39
+ "@teambit/harmony.envs.core-aspect-env": "0.0.30"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "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,37 @@
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.860"
43
+ },
44
+ {
45
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.generator_generator@1.0.228"
46
+ },
47
+ {
48
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component@1.0.227"
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.workspace_install@1.0.227"
55
+ },
56
+ {
57
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_new-component-helper@1.0.227"
58
+ },
59
+ {
60
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.pkg_pkg@1.0.227"
61
+ },
62
+ {
63
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_refactoring@1.0.227"
64
+ },
65
+ {
66
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.typescript_typescript@1.0.227"
67
+ },
68
+ {
69
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@1.0.227"
70
+ }
38
71
  ]
39
72
  }
@@ -1,39 +0,0 @@
1
- import { Command, CommandOptions } from '@teambit/cli';
2
- import { ComponentConfig } from '@teambit/generator';
3
- import { ForkingMain } from '.';
4
- export type ForkOptions = {
5
- scope?: string;
6
- path?: string;
7
- refactor?: boolean;
8
- skipDependencyInstallation?: boolean;
9
- skipConfig?: boolean;
10
- preserve?: boolean;
11
- noLink?: boolean;
12
- env?: string;
13
- config?: ComponentConfig;
14
- ast?: boolean;
15
- };
16
- export declare class ForkCmd implements Command {
17
- private forking;
18
- name: string;
19
- description: string;
20
- helpUrl: string;
21
- arguments: {
22
- name: string;
23
- description: string;
24
- }[];
25
- group: string;
26
- skipWorkspace: boolean;
27
- alias: string;
28
- options: CommandOptions;
29
- example: [
30
- {
31
- cmd: 'fork teambit.base-ui/input/button ui/button';
32
- description: "create a component named 'ui/button', forked from the remote 'input/button' component";
33
- }
34
- ];
35
- loader: boolean;
36
- remoteOp: boolean;
37
- constructor(forking: ForkingMain);
38
- report([sourceId, targetId]: [string, string], options: ForkOptions): Promise<string>;
39
- }
@@ -1,2 +0,0 @@
1
- import { Aspect } from '@teambit/harmony';
2
- export declare const ForkingAspect: Aspect;
@@ -1 +0,0 @@
1
- export declare const Logo: () => import("react/jsx-runtime").JSX.Element;
@@ -1,16 +0,0 @@
1
- import { Component, ShowFragment } from '@teambit/component';
2
- import { ForkingMain } from './forking.main.runtime';
3
- export declare class ForkingFragment implements ShowFragment {
4
- private forking;
5
- constructor(forking: ForkingMain);
6
- title: string;
7
- renderRow(component: Component): Promise<{
8
- title: string;
9
- content: string;
10
- }>;
11
- json(component: Component): Promise<{
12
- title: string;
13
- json: import("./forking.main.runtime").ForkInfo | null;
14
- }>;
15
- weight: number;
16
- }
@@ -1,3 +0,0 @@
1
- import { Schema } from '@teambit/graphql';
2
- import { ForkingMain } from './forking.main.runtime';
3
- export declare function forkingSchema(forking: ForkingMain): Schema;
@@ -1,86 +0,0 @@
1
- import { CLIMain } from '@teambit/cli';
2
- import { Component, ComponentMain } from '@teambit/component';
3
- import { DependencyResolverMain } from '@teambit/dependency-resolver';
4
- import { ComponentConfig } from '@teambit/generator';
5
- import { GraphqlMain } from '@teambit/graphql';
6
- import { InstallMain } from '@teambit/install';
7
- import { ComponentID, ComponentIdObj } from '@teambit/component-id';
8
- import { NewComponentHelperMain } from '@teambit/new-component-helper';
9
- import { PkgMain } from '@teambit/pkg';
10
- import { RefactoringMain } from '@teambit/refactoring';
11
- import { Workspace } from '@teambit/workspace';
12
- import { ForkOptions } from './fork.cmd';
13
- import { ScopeForkOptions } from './scope-fork.cmd';
14
- export type ForkInfo = {
15
- forkedFrom: ComponentID;
16
- };
17
- type MultipleComponentsToFork = Array<{
18
- sourceId: string;
19
- targetId?: string;
20
- targetScope?: string;
21
- path?: string;
22
- env?: string;
23
- config?: ComponentConfig;
24
- }>;
25
- type MultipleForkOptions = {
26
- refactor?: boolean;
27
- scope?: string;
28
- install?: boolean;
29
- ast?: boolean;
30
- };
31
- export declare class ForkingMain {
32
- private workspace;
33
- private install;
34
- private dependencyResolver;
35
- private newComponentHelper;
36
- private refactoring;
37
- private pkg;
38
- constructor(workspace: Workspace, install: InstallMain, dependencyResolver: DependencyResolverMain, newComponentHelper: NewComponentHelperMain, refactoring: RefactoringMain, pkg: PkgMain);
39
- /**
40
- * create a new copy of existing/remote component.
41
- * the new component holds a reference to the old one for future reference.
42
- * if refactor option is enable, change the source-code to update all dependencies with the new name.
43
- */
44
- fork(sourceId: string, targetId?: string, options?: ForkOptions): Promise<ComponentID>;
45
- /**
46
- * get the forking data, such as the source where a component was forked from
47
- */
48
- getForkInfo(component: Component): ForkInfo | null;
49
- forkMultipleFromRemote(componentsToFork: MultipleComponentsToFork, options?: MultipleForkOptions): Promise<void>;
50
- /**
51
- * sort the components to fork so that components without "env" prop will be forked first.
52
- * this way, if some components are envs, their "env" prop is empty and will be forked first, then components that
53
- * depends on them.
54
- * otherwise, forking the components first result in errors when loading them as their envs are missing at that point
55
- */
56
- private sortComponentsToFork;
57
- private refactorMultipleAndInstall;
58
- /**
59
- * fork all components of the given scope
60
- */
61
- forkScope(originalScope: string, newScope: string, pattern?: string, options?: ScopeForkOptions): Promise<ComponentID[]>;
62
- private forkExistingInWorkspace;
63
- private forkRemoteComponent;
64
- private saveDeps;
65
- private installDeps;
66
- private extractDeps;
67
- private getConfig;
68
- static slots: never[];
69
- static dependencies: import("@teambit/harmony").Aspect[];
70
- static runtime: import("@teambit/harmony").RuntimeDefinition;
71
- static provider([cli, workspace, dependencyResolver, componentMain, newComponentHelper, graphql, refactoring, pkg, install,]: [
72
- CLIMain,
73
- Workspace,
74
- DependencyResolverMain,
75
- ComponentMain,
76
- NewComponentHelperMain,
77
- GraphqlMain,
78
- RefactoringMain,
79
- PkgMain,
80
- InstallMain
81
- ]): Promise<ForkingMain>;
82
- }
83
- export type ForkConfig = {
84
- forkedFrom: ComponentIdObj;
85
- };
86
- export {};
package/dist/index.d.ts DELETED
@@ -1,4 +0,0 @@
1
- import { ForkingAspect } from './forking.aspect';
2
- export type { ForkingMain } from './forking.main.runtime';
3
- export default ForkingAspect;
4
- export { ForkingAspect };
@@ -1,20 +0,0 @@
1
- import { Command, CommandOptions } from '@teambit/cli';
2
- import { ForkingMain } from './forking.main.runtime';
3
- export type ScopeForkOptions = {
4
- ast?: boolean;
5
- skipDependencyInstallation?: boolean;
6
- };
7
- export declare class ScopeForkCmd implements Command {
8
- private forking;
9
- name: string;
10
- arguments: {
11
- name: string;
12
- description: string;
13
- }[];
14
- description: string;
15
- extendedDescription: string;
16
- options: CommandOptions;
17
- group: string;
18
- constructor(forking: ForkingMain);
19
- report([originalScope, newScope, pattern]: [string, string, string], options: ScopeForkOptions): Promise<string>;
20
- }