@teambit/refactoring 1.0.228 → 1.0.230

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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/refactoring@1.0.228" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.component/refactoring@1.0.230" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -48,7 +48,11 @@
48
48
  "line": 30,
49
49
  "character": 38
50
50
  },
51
- "name": "ComponentMain"
51
+ "name": "ComponentMain",
52
+ "componentId": {
53
+ "scope": "teambit.component",
54
+ "name": "component"
55
+ }
52
56
  },
53
57
  "isOptional": false,
54
58
  "isSpread": false
@@ -68,7 +72,11 @@
68
72
  "line": 30,
69
73
  "character": 66
70
74
  },
71
- "name": "PkgMain"
75
+ "name": "PkgMain",
76
+ "componentId": {
77
+ "scope": "teambit.pkg",
78
+ "name": "pkg"
79
+ }
72
80
  },
73
81
  "isOptional": false,
74
82
  "isSpread": false
@@ -88,7 +96,11 @@
88
96
  "line": 30,
89
97
  "character": 89
90
98
  },
91
- "name": "EnvsMain"
99
+ "name": "EnvsMain",
100
+ "componentId": {
101
+ "scope": "teambit.envs",
102
+ "name": "envs"
103
+ }
92
104
  },
93
105
  "isOptional": false,
94
106
  "isSpread": false
@@ -147,7 +159,11 @@
147
159
  "line": 38,
148
160
  "character": 17
149
161
  },
150
- "name": "Component"
162
+ "name": "Component",
163
+ "componentId": {
164
+ "scope": "teambit.component",
165
+ "name": "component"
166
+ }
151
167
  }
152
168
  },
153
169
  "isOptional": false,
@@ -176,7 +192,11 @@
176
192
  "line": 39,
177
193
  "character": 12
178
194
  },
179
- "name": "ComponentID"
195
+ "name": "ComponentID",
196
+ "componentId": {
197
+ "scope": "teambit.component",
198
+ "name": "component"
199
+ }
180
200
  },
181
201
  {
182
202
  "__schema": "KeywordTypeSchema",
@@ -215,7 +235,11 @@
215
235
  "line": 40,
216
236
  "character": 12
217
237
  },
218
- "name": "ComponentID"
238
+ "name": "ComponentID",
239
+ "componentId": {
240
+ "scope": "teambit.component",
241
+ "name": "component"
242
+ }
219
243
  },
220
244
  {
221
245
  "__schema": "KeywordTypeSchema",
@@ -312,7 +336,11 @@
312
336
  "line": 41,
313
337
  "character": 83
314
338
  },
315
- "name": "Component"
339
+ "name": "Component",
340
+ "componentId": {
341
+ "scope": "teambit.component",
342
+ "name": "component"
343
+ }
316
344
  }
317
345
  },
318
346
  "isOptional": false
@@ -360,7 +388,11 @@
360
388
  "line": 61,
361
389
  "character": 16
362
390
  },
363
- "name": "Component"
391
+ "name": "Component",
392
+ "componentId": {
393
+ "scope": "teambit.component",
394
+ "name": "component"
395
+ }
364
396
  },
365
397
  "isOptional": false,
366
398
  "isSpread": false
@@ -380,7 +412,11 @@
380
412
  "line": 62,
381
413
  "character": 15
382
414
  },
383
- "name": "ComponentID"
415
+ "name": "ComponentID",
416
+ "componentId": {
417
+ "scope": "teambit.component",
418
+ "name": "component"
419
+ }
384
420
  },
385
421
  "isOptional": false,
386
422
  "isSpread": false
@@ -400,7 +436,11 @@
400
436
  "line": 63,
401
437
  "character": 15
402
438
  },
403
- "name": "ComponentID"
439
+ "name": "ComponentID",
440
+ "componentId": {
441
+ "scope": "teambit.component",
442
+ "name": "component"
443
+ }
404
444
  },
405
445
  "isOptional": false,
406
446
  "isSpread": false
@@ -485,7 +525,11 @@
485
525
  "line": 77,
486
526
  "character": 15
487
527
  },
488
- "name": "ComponentID"
528
+ "name": "ComponentID",
529
+ "componentId": {
530
+ "scope": "teambit.component",
531
+ "name": "component"
532
+ }
489
533
  },
490
534
  "isOptional": false,
491
535
  "isSpread": false
@@ -505,7 +549,11 @@
505
549
  "line": 78,
506
550
  "character": 15
507
551
  },
508
- "name": "ComponentID"
552
+ "name": "ComponentID",
553
+ "componentId": {
554
+ "scope": "teambit.component",
555
+ "name": "component"
556
+ }
509
557
  },
510
558
  "isOptional": false,
511
559
  "isSpread": false
@@ -547,7 +595,11 @@
547
595
  "line": 96,
548
596
  "character": 55
549
597
  },
550
- "name": "Component"
598
+ "name": "Component",
599
+ "componentId": {
600
+ "scope": "teambit.component",
601
+ "name": "component"
602
+ }
551
603
  },
552
604
  "isOptional": false,
553
605
  "isSpread": false
@@ -567,7 +619,11 @@
567
619
  "line": 96,
568
620
  "character": 76
569
621
  },
570
- "name": "ComponentID"
622
+ "name": "ComponentID",
623
+ "componentId": {
624
+ "scope": "teambit.component",
625
+ "name": "component"
626
+ }
571
627
  },
572
628
  "isOptional": false,
573
629
  "isSpread": false
@@ -587,7 +643,11 @@
587
643
  "line": 96,
588
644
  "character": 99
589
645
  },
590
- "name": "ComponentID"
646
+ "name": "ComponentID",
647
+ "componentId": {
648
+ "scope": "teambit.component",
649
+ "name": "component"
650
+ }
591
651
  },
592
652
  "isOptional": false,
593
653
  "isSpread": false
@@ -631,7 +691,11 @@
631
691
  "line": 150,
632
692
  "character": 32
633
693
  },
634
- "name": "Component"
694
+ "name": "Component",
695
+ "componentId": {
696
+ "scope": "teambit.component",
697
+ "name": "component"
698
+ }
635
699
  },
636
700
  "isOptional": false,
637
701
  "isSpread": false
@@ -651,7 +715,11 @@
651
715
  "line": 150,
652
716
  "character": 53
653
717
  },
654
- "name": "ComponentID"
718
+ "name": "ComponentID",
719
+ "componentId": {
720
+ "scope": "teambit.component",
721
+ "name": "component"
722
+ }
655
723
  },
656
724
  "isOptional": false,
657
725
  "isSpread": false
@@ -671,7 +739,11 @@
671
739
  "line": 150,
672
740
  "character": 76
673
741
  },
674
- "name": "ComponentID"
742
+ "name": "ComponentID",
743
+ "componentId": {
744
+ "scope": "teambit.component",
745
+ "name": "component"
746
+ }
675
747
  },
676
748
  "isOptional": false,
677
749
  "isSpread": false
@@ -730,7 +802,11 @@
730
802
  "line": 163,
731
803
  "character": 17
732
804
  },
733
- "name": "Component"
805
+ "name": "Component",
806
+ "componentId": {
807
+ "scope": "teambit.component",
808
+ "name": "component"
809
+ }
734
810
  }
735
811
  },
736
812
  "isOptional": false,
@@ -779,7 +855,11 @@
779
855
  "line": 165,
780
856
  "character": 20
781
857
  },
782
- "name": "SourceFileTransformer"
858
+ "name": "SourceFileTransformer",
859
+ "componentId": {
860
+ "scope": "teambit.typescript",
861
+ "name": "typescript"
862
+ }
783
863
  }
784
864
  },
785
865
  "isOptional": true,
@@ -847,7 +927,11 @@
847
927
  "line": 168,
848
928
  "character": 24
849
929
  },
850
- "name": "Component"
930
+ "name": "Component",
931
+ "componentId": {
932
+ "scope": "teambit.component",
933
+ "name": "component"
934
+ }
851
935
  }
852
936
  },
853
937
  "isOptional": false
@@ -956,7 +1040,11 @@
956
1040
  "line": 316,
957
1041
  "character": 62
958
1042
  },
959
- "name": "ComponentMain"
1043
+ "name": "ComponentMain",
1044
+ "componentId": {
1045
+ "scope": "teambit.component",
1046
+ "name": "component"
1047
+ }
960
1048
  },
961
1049
  {
962
1050
  "__schema": "TypeRefSchema",
@@ -965,7 +1053,11 @@
965
1053
  "line": 316,
966
1054
  "character": 77
967
1055
  },
968
- "name": "PkgMain"
1056
+ "name": "PkgMain",
1057
+ "componentId": {
1058
+ "scope": "teambit.pkg",
1059
+ "name": "pkg"
1060
+ }
969
1061
  },
970
1062
  {
971
1063
  "__schema": "TypeRefSchema",
@@ -974,7 +1066,11 @@
974
1066
  "line": 316,
975
1067
  "character": 86
976
1068
  },
977
- "name": "CLIMain"
1069
+ "name": "CLIMain",
1070
+ "componentId": {
1071
+ "scope": "teambit.harmony",
1072
+ "name": "cli"
1073
+ }
978
1074
  },
979
1075
  {
980
1076
  "__schema": "TypeRefSchema",
@@ -983,7 +1079,11 @@
983
1079
  "line": 316,
984
1080
  "character": 95
985
1081
  },
986
- "name": "EnvsMain"
1082
+ "name": "EnvsMain",
1083
+ "componentId": {
1084
+ "scope": "teambit.envs",
1085
+ "name": "envs"
1086
+ }
987
1087
  }
988
1088
  ]
989
1089
  },
@@ -1234,7 +1334,11 @@
1234
1334
  "line": 30,
1235
1335
  "character": 38
1236
1336
  },
1237
- "name": "ComponentMain"
1337
+ "name": "ComponentMain",
1338
+ "componentId": {
1339
+ "scope": "teambit.component",
1340
+ "name": "component"
1341
+ }
1238
1342
  },
1239
1343
  "isOptional": false,
1240
1344
  "isSpread": false
@@ -1254,7 +1358,11 @@
1254
1358
  "line": 30,
1255
1359
  "character": 66
1256
1360
  },
1257
- "name": "PkgMain"
1361
+ "name": "PkgMain",
1362
+ "componentId": {
1363
+ "scope": "teambit.pkg",
1364
+ "name": "pkg"
1365
+ }
1258
1366
  },
1259
1367
  "isOptional": false,
1260
1368
  "isSpread": false
@@ -1274,7 +1382,11 @@
1274
1382
  "line": 30,
1275
1383
  "character": 89
1276
1384
  },
1277
- "name": "EnvsMain"
1385
+ "name": "EnvsMain",
1386
+ "componentId": {
1387
+ "scope": "teambit.envs",
1388
+ "name": "envs"
1389
+ }
1278
1390
  },
1279
1391
  "isOptional": false,
1280
1392
  "isSpread": false
@@ -1333,7 +1445,11 @@
1333
1445
  "line": 38,
1334
1446
  "character": 17
1335
1447
  },
1336
- "name": "Component"
1448
+ "name": "Component",
1449
+ "componentId": {
1450
+ "scope": "teambit.component",
1451
+ "name": "component"
1452
+ }
1337
1453
  }
1338
1454
  },
1339
1455
  "isOptional": false,
@@ -1362,7 +1478,11 @@
1362
1478
  "line": 39,
1363
1479
  "character": 12
1364
1480
  },
1365
- "name": "ComponentID"
1481
+ "name": "ComponentID",
1482
+ "componentId": {
1483
+ "scope": "teambit.component",
1484
+ "name": "component"
1485
+ }
1366
1486
  },
1367
1487
  {
1368
1488
  "__schema": "KeywordTypeSchema",
@@ -1401,7 +1521,11 @@
1401
1521
  "line": 40,
1402
1522
  "character": 12
1403
1523
  },
1404
- "name": "ComponentID"
1524
+ "name": "ComponentID",
1525
+ "componentId": {
1526
+ "scope": "teambit.component",
1527
+ "name": "component"
1528
+ }
1405
1529
  },
1406
1530
  {
1407
1531
  "__schema": "KeywordTypeSchema",
@@ -1498,7 +1622,11 @@
1498
1622
  "line": 41,
1499
1623
  "character": 83
1500
1624
  },
1501
- "name": "Component"
1625
+ "name": "Component",
1626
+ "componentId": {
1627
+ "scope": "teambit.component",
1628
+ "name": "component"
1629
+ }
1502
1630
  }
1503
1631
  },
1504
1632
  "isOptional": false
@@ -1546,7 +1674,11 @@
1546
1674
  "line": 61,
1547
1675
  "character": 16
1548
1676
  },
1549
- "name": "Component"
1677
+ "name": "Component",
1678
+ "componentId": {
1679
+ "scope": "teambit.component",
1680
+ "name": "component"
1681
+ }
1550
1682
  },
1551
1683
  "isOptional": false,
1552
1684
  "isSpread": false
@@ -1566,7 +1698,11 @@
1566
1698
  "line": 62,
1567
1699
  "character": 15
1568
1700
  },
1569
- "name": "ComponentID"
1701
+ "name": "ComponentID",
1702
+ "componentId": {
1703
+ "scope": "teambit.component",
1704
+ "name": "component"
1705
+ }
1570
1706
  },
1571
1707
  "isOptional": false,
1572
1708
  "isSpread": false
@@ -1586,7 +1722,11 @@
1586
1722
  "line": 63,
1587
1723
  "character": 15
1588
1724
  },
1589
- "name": "ComponentID"
1725
+ "name": "ComponentID",
1726
+ "componentId": {
1727
+ "scope": "teambit.component",
1728
+ "name": "component"
1729
+ }
1590
1730
  },
1591
1731
  "isOptional": false,
1592
1732
  "isSpread": false
@@ -1671,7 +1811,11 @@
1671
1811
  "line": 77,
1672
1812
  "character": 15
1673
1813
  },
1674
- "name": "ComponentID"
1814
+ "name": "ComponentID",
1815
+ "componentId": {
1816
+ "scope": "teambit.component",
1817
+ "name": "component"
1818
+ }
1675
1819
  },
1676
1820
  "isOptional": false,
1677
1821
  "isSpread": false
@@ -1691,7 +1835,11 @@
1691
1835
  "line": 78,
1692
1836
  "character": 15
1693
1837
  },
1694
- "name": "ComponentID"
1838
+ "name": "ComponentID",
1839
+ "componentId": {
1840
+ "scope": "teambit.component",
1841
+ "name": "component"
1842
+ }
1695
1843
  },
1696
1844
  "isOptional": false,
1697
1845
  "isSpread": false
@@ -1733,7 +1881,11 @@
1733
1881
  "line": 96,
1734
1882
  "character": 55
1735
1883
  },
1736
- "name": "Component"
1884
+ "name": "Component",
1885
+ "componentId": {
1886
+ "scope": "teambit.component",
1887
+ "name": "component"
1888
+ }
1737
1889
  },
1738
1890
  "isOptional": false,
1739
1891
  "isSpread": false
@@ -1753,7 +1905,11 @@
1753
1905
  "line": 96,
1754
1906
  "character": 76
1755
1907
  },
1756
- "name": "ComponentID"
1908
+ "name": "ComponentID",
1909
+ "componentId": {
1910
+ "scope": "teambit.component",
1911
+ "name": "component"
1912
+ }
1757
1913
  },
1758
1914
  "isOptional": false,
1759
1915
  "isSpread": false
@@ -1773,7 +1929,11 @@
1773
1929
  "line": 96,
1774
1930
  "character": 99
1775
1931
  },
1776
- "name": "ComponentID"
1932
+ "name": "ComponentID",
1933
+ "componentId": {
1934
+ "scope": "teambit.component",
1935
+ "name": "component"
1936
+ }
1777
1937
  },
1778
1938
  "isOptional": false,
1779
1939
  "isSpread": false
@@ -1817,7 +1977,11 @@
1817
1977
  "line": 150,
1818
1978
  "character": 32
1819
1979
  },
1820
- "name": "Component"
1980
+ "name": "Component",
1981
+ "componentId": {
1982
+ "scope": "teambit.component",
1983
+ "name": "component"
1984
+ }
1821
1985
  },
1822
1986
  "isOptional": false,
1823
1987
  "isSpread": false
@@ -1837,7 +2001,11 @@
1837
2001
  "line": 150,
1838
2002
  "character": 53
1839
2003
  },
1840
- "name": "ComponentID"
2004
+ "name": "ComponentID",
2005
+ "componentId": {
2006
+ "scope": "teambit.component",
2007
+ "name": "component"
2008
+ }
1841
2009
  },
1842
2010
  "isOptional": false,
1843
2011
  "isSpread": false
@@ -1857,7 +2025,11 @@
1857
2025
  "line": 150,
1858
2026
  "character": 76
1859
2027
  },
1860
- "name": "ComponentID"
2028
+ "name": "ComponentID",
2029
+ "componentId": {
2030
+ "scope": "teambit.component",
2031
+ "name": "component"
2032
+ }
1861
2033
  },
1862
2034
  "isOptional": false,
1863
2035
  "isSpread": false
@@ -1916,7 +2088,11 @@
1916
2088
  "line": 163,
1917
2089
  "character": 17
1918
2090
  },
1919
- "name": "Component"
2091
+ "name": "Component",
2092
+ "componentId": {
2093
+ "scope": "teambit.component",
2094
+ "name": "component"
2095
+ }
1920
2096
  }
1921
2097
  },
1922
2098
  "isOptional": false,
@@ -1965,7 +2141,11 @@
1965
2141
  "line": 165,
1966
2142
  "character": 20
1967
2143
  },
1968
- "name": "SourceFileTransformer"
2144
+ "name": "SourceFileTransformer",
2145
+ "componentId": {
2146
+ "scope": "teambit.typescript",
2147
+ "name": "typescript"
2148
+ }
1969
2149
  }
1970
2150
  },
1971
2151
  "isOptional": true,
@@ -2033,7 +2213,11 @@
2033
2213
  "line": 168,
2034
2214
  "character": 24
2035
2215
  },
2036
- "name": "Component"
2216
+ "name": "Component",
2217
+ "componentId": {
2218
+ "scope": "teambit.component",
2219
+ "name": "component"
2220
+ }
2037
2221
  }
2038
2222
  },
2039
2223
  "isOptional": false
@@ -2142,7 +2326,11 @@
2142
2326
  "line": 316,
2143
2327
  "character": 62
2144
2328
  },
2145
- "name": "ComponentMain"
2329
+ "name": "ComponentMain",
2330
+ "componentId": {
2331
+ "scope": "teambit.component",
2332
+ "name": "component"
2333
+ }
2146
2334
  },
2147
2335
  {
2148
2336
  "__schema": "TypeRefSchema",
@@ -2151,7 +2339,11 @@
2151
2339
  "line": 316,
2152
2340
  "character": 77
2153
2341
  },
2154
- "name": "PkgMain"
2342
+ "name": "PkgMain",
2343
+ "componentId": {
2344
+ "scope": "teambit.pkg",
2345
+ "name": "pkg"
2346
+ }
2155
2347
  },
2156
2348
  {
2157
2349
  "__schema": "TypeRefSchema",
@@ -2160,7 +2352,11 @@
2160
2352
  "line": 316,
2161
2353
  "character": 86
2162
2354
  },
2163
- "name": "CLIMain"
2355
+ "name": "CLIMain",
2356
+ "componentId": {
2357
+ "scope": "teambit.harmony",
2358
+ "name": "cli"
2359
+ }
2164
2360
  },
2165
2361
  {
2166
2362
  "__schema": "TypeRefSchema",
@@ -2169,7 +2365,11 @@
2169
2365
  "line": 316,
2170
2366
  "character": 95
2171
2367
  },
2172
- "name": "EnvsMain"
2368
+ "name": "EnvsMain",
2369
+ "componentId": {
2370
+ "scope": "teambit.envs",
2371
+ "name": "envs"
2372
+ }
2173
2373
  }
2174
2374
  ]
2175
2375
  },
@@ -2250,7 +2450,7 @@
2250
2450
  "componentId": {
2251
2451
  "scope": "teambit.component",
2252
2452
  "name": "refactoring",
2253
- "version": "1.0.228"
2453
+ "version": "1.0.230"
2254
2454
  },
2255
2455
  "taggedModuleExports": []
2256
2456
  }
@@ -0,0 +1,4 @@
1
+ import { RefactoringAspect } from './refactoring.aspect';
2
+ export type { RefactoringMain, MultipleStringsReplacement } from './refactoring.main.runtime';
3
+ export default RefactoringAspect;
4
+ export { RefactoringAspect };
@@ -0,0 +1,23 @@
1
+ import { Command, CommandOptions } from '@teambit/cli';
2
+ import { ComponentMain } from '@teambit/component';
3
+ import { RefactoringMain } from './refactoring.main.runtime';
4
+ export declare class DependencyNameRefactorCmd implements Command {
5
+ private refactoringMain;
6
+ private componentMain;
7
+ name: string;
8
+ description: string;
9
+ options: CommandOptions;
10
+ group: string;
11
+ extendedDescription: string;
12
+ constructor(refactoringMain: RefactoringMain, componentMain: ComponentMain);
13
+ report([oldId, newId]: [string, string]): Promise<string>;
14
+ }
15
+ export declare class RefactorCmd implements Command {
16
+ name: string;
17
+ alias: string;
18
+ description: string;
19
+ options: never[];
20
+ group: string;
21
+ commands: Command[];
22
+ report([unrecognizedSubcommand]: [string]): Promise<string>;
23
+ }
@@ -0,0 +1,2 @@
1
+ import { Aspect } from '@teambit/harmony';
2
+ export declare const RefactoringAspect: Aspect;
@@ -0,0 +1,52 @@
1
+ import { CLIMain } from '@teambit/cli';
2
+ import { Component, ComponentID, ComponentMain } from '@teambit/component';
3
+ import { PkgMain } from '@teambit/pkg';
4
+ import { EnvsMain } from '@teambit/envs';
5
+ import { SourceFileTransformer } from '@teambit/typescript';
6
+ export type MultipleStringsReplacement = Array<{
7
+ oldStr: string;
8
+ newStr: string;
9
+ }>;
10
+ export declare class RefactoringMain {
11
+ private componentMain;
12
+ private pkg;
13
+ private envs;
14
+ constructor(componentMain: ComponentMain, pkg: PkgMain, envs: EnvsMain);
15
+ /**
16
+ * refactor the dependency name of a component.
17
+ * oldId and newId can be either a component-id or a package-name.
18
+ * this method changes the source code of the component, but doesn't write to the filesystem.
19
+ */
20
+ refactorDependencyName(components: Component[], oldId: ComponentID | string, newId: ComponentID | string): Promise<{
21
+ oldPackageName: string;
22
+ newPackageName: string;
23
+ changedComponents: Component[];
24
+ }>;
25
+ /**
26
+ * replaces the old-name inside the source code of the given component with the new name.
27
+ * helpful when renaming/forking an aspect/env where the component-name is used as the class-name and variable-name.
28
+ */
29
+ refactorVariableAndClasses(component: Component, sourceId: ComponentID, targetId: ComponentID, options?: {
30
+ ast?: boolean;
31
+ }): Promise<void>;
32
+ getStringReplacementsForVariablesAndClasses(sourceId: ComponentID, targetId: ComponentID): MultipleStringsReplacement;
33
+ refactorVariableAndClassesUsingAST(component: Component, sourceId: ComponentID, targetId: ComponentID): Promise<void>;
34
+ refactorFilenames(component: Component, sourceId: ComponentID, targetId: ComponentID): void;
35
+ /**
36
+ * rename multiple packages dependencies.
37
+ * this method changes the source code of the component, but doesn't write to the filesystem.
38
+ */
39
+ replaceMultipleStrings(components: Component[], stringsToReplace?: MultipleStringsReplacement, transformers?: SourceFileTransformer[], shouldAvoidPackageNames?: boolean): Promise<{
40
+ changedComponents: Component[];
41
+ }>;
42
+ private getPackageNameByUnknownId;
43
+ private getPackageNameByComponentID;
44
+ private isValidScopedPackageName;
45
+ private replaceString;
46
+ private replacePackageNameInComponent;
47
+ private replaceMultipleStringsInOneComp;
48
+ static slots: never[];
49
+ static dependencies: import("@teambit/harmony").Aspect[];
50
+ static runtime: import("@teambit/harmony").RuntimeDefinition;
51
+ static provider([componentMain, pkg, cli, envMain]: [ComponentMain, PkgMain, CLIMain, EnvsMain]): Promise<RefactoringMain>;
52
+ }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/refactoring",
3
- "version": "1.0.228",
3
+ "version": "1.0.230",
4
4
  "homepage": "https://bit.cloud/teambit/component/refactoring",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.component",
8
8
  "name": "refactoring",
9
- "version": "1.0.228"
9
+ "version": "1.0.230"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -15,17 +15,17 @@
15
15
  "lodash": "4.17.21",
16
16
  "@teambit/harmony": "0.4.6",
17
17
  "@teambit/bit-error": "0.0.404",
18
- "@teambit/cli": "0.0.861",
19
- "@teambit/component": "1.0.228",
20
- "@teambit/envs": "1.0.228",
21
- "@teambit/pkg": "1.0.228",
22
- "@teambit/typescript": "1.0.228"
18
+ "@teambit/cli": "0.0.862",
19
+ "@teambit/component": "1.0.230",
20
+ "@teambit/envs": "1.0.230",
21
+ "@teambit/pkg": "1.0.230",
22
+ "@teambit/typescript": "1.0.230"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/lodash": "4.14.165",
26
26
  "@types/mocha": "9.1.0",
27
27
  "chai": "4.3.0",
28
- "@teambit/harmony.envs.core-aspect-env": "0.0.30"
28
+ "@teambit/harmony.envs.core-aspect-env": "0.0.33"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@teambit/legacy": "1.0.624"
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,22 +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.861"
43
- },
44
- {
45
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component@1.0.228"
46
- },
47
- {
48
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.envs_envs@1.0.228"
49
- },
50
- {
51
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.pkg_pkg@1.0.228"
52
- },
53
- {
54
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.typescript_typescript@1.0.228"
55
- }
56
38
  ]
57
39
  }