@teambit/renaming 1.0.225 → 1.0.227
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/artifacts/__bit_junit.xml +1 -1
- package/artifacts/preview/teambit_component_renaming-preview.js +1 -1
- package/artifacts/schema.json +74 -312
- package/dist/{preview-1712546198033.js → preview-1712719054377.js} +2 -2
- package/package.json +20 -20
- package/tsconfig.json +46 -1
- package/dist/exceptions/old-scope-not-found.d.ts +0 -4
- package/dist/exceptions/renaming-tagged.d.ts +0 -4
- package/dist/index.d.ts +0 -4
- package/dist/rename.cmd.d.ts +0 -28
- package/dist/renaming.aspect.d.ts +0 -2
- package/dist/renaming.composition.d.ts +0 -1
- package/dist/renaming.fragment.d.ts +0 -16
- package/dist/renaming.graphql.d.ts +0 -3
- package/dist/renaming.main.runtime.d.ts +0 -100
- package/dist/renaming.spec.d.ts +0 -1
- package/dist/scope-rename-owner.cmd.d.ts +0 -17
- package/dist/scope-rename.cmd.d.ts +0 -21
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<testsuites tests="1" failures="0" errors="0" skipped="0">
|
|
3
|
-
<testsuite name="teambit.component/renaming@1.0.
|
|
3
|
+
<testsuite name="teambit.component/renaming@1.0.227" tests="1" failures="0" errors="0" skipped="0">
|
|
4
4
|
<testcase classname="dist/renaming.spec.js" name="should bring the files back"/>
|
|
5
5
|
</testsuite>
|
|
6
6
|
</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/renaming-preview"]=t():e["teambit.component/renaming-preview"]=t()}(self,(()=>(()=>{"use strict";var e={
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.component/renaming-preview"]=t():e["teambit.component/renaming-preview"]=t()}(self,(()=>(()=>{"use strict";var e={69177:(e,t,o)=>{var n={id:"teambit.component/renaming@1.0.227",homepage:"https://bit.cloud/teambit/component/renaming",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/rename.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:()=>u,compositions_metadata:()=>f,overview:()=>m});var e={};o.r(e),o.d(e,{default:()=>d});var t=o(69177);o(41594);const r=MdxJsReact,i=TeambitMdxUiMdxScopeContext;var p=["components"];function a(){return a=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},a.apply(this,arguments)}var c={},s="wrapper";function d(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,a({},c,o,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}d.isMDXComponent=!0;const u=[t],m=[e],f={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),n})()));
|
package/artifacts/schema.json
CHANGED
|
@@ -48,11 +48,7 @@
|
|
|
48
48
|
"line": 42,
|
|
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": 43,
|
|
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": 44,
|
|
97
89
|
"character": 33
|
|
98
90
|
},
|
|
99
|
-
"name": "NewComponentHelperMain"
|
|
100
|
-
"componentId": {
|
|
101
|
-
"scope": "teambit.component",
|
|
102
|
-
"name": "new-component-helper"
|
|
103
|
-
}
|
|
91
|
+
"name": "NewComponentHelperMain"
|
|
104
92
|
},
|
|
105
93
|
"isOptional": false,
|
|
106
94
|
"isSpread": false
|
|
@@ -120,11 +108,7 @@
|
|
|
120
108
|
"line": 45,
|
|
121
109
|
"character": 26
|
|
122
110
|
},
|
|
123
|
-
"name": "DeprecationMain"
|
|
124
|
-
"componentId": {
|
|
125
|
-
"scope": "teambit.component",
|
|
126
|
-
"name": "deprecation"
|
|
127
|
-
}
|
|
111
|
+
"name": "DeprecationMain"
|
|
128
112
|
},
|
|
129
113
|
"isOptional": false,
|
|
130
114
|
"isSpread": false
|
|
@@ -144,11 +128,7 @@
|
|
|
144
128
|
"line": 46,
|
|
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": 47,
|
|
169
149
|
"character": 21
|
|
170
150
|
},
|
|
171
|
-
"name": "ConfigMain"
|
|
172
|
-
"componentId": {
|
|
173
|
-
"scope": "teambit.harmony",
|
|
174
|
-
"name": "config"
|
|
175
|
-
}
|
|
151
|
+
"name": "ConfigMain"
|
|
176
152
|
},
|
|
177
153
|
"isOptional": false,
|
|
178
154
|
"isSpread": false
|
|
@@ -192,11 +168,7 @@
|
|
|
192
168
|
"line": 48,
|
|
193
169
|
"character": 30
|
|
194
170
|
},
|
|
195
|
-
"name": "ComponentWriterMain"
|
|
196
|
-
"componentId": {
|
|
197
|
-
"scope": "teambit.component",
|
|
198
|
-
"name": "component-writer"
|
|
199
|
-
}
|
|
171
|
+
"name": "ComponentWriterMain"
|
|
200
172
|
},
|
|
201
173
|
"isOptional": false,
|
|
202
174
|
"isSpread": false
|
|
@@ -216,11 +188,7 @@
|
|
|
216
188
|
"line": 49,
|
|
217
189
|
"character": 23
|
|
218
190
|
},
|
|
219
|
-
"name": "CompilerMain"
|
|
220
|
-
"componentId": {
|
|
221
|
-
"scope": "teambit.compilation",
|
|
222
|
-
"name": "compiler"
|
|
223
|
-
}
|
|
191
|
+
"name": "CompilerMain"
|
|
224
192
|
},
|
|
225
193
|
"isOptional": false,
|
|
226
194
|
"isSpread": false
|
|
@@ -240,11 +208,7 @@
|
|
|
240
208
|
"line": 50,
|
|
241
209
|
"character": 21
|
|
242
210
|
},
|
|
243
|
-
"name": "Logger"
|
|
244
|
-
"componentId": {
|
|
245
|
-
"scope": "teambit.harmony",
|
|
246
|
-
"name": "logger"
|
|
247
|
-
}
|
|
211
|
+
"name": "Logger"
|
|
248
212
|
},
|
|
249
213
|
"isOptional": false,
|
|
250
214
|
"isSpread": false
|
|
@@ -264,11 +228,7 @@
|
|
|
264
228
|
"line": 51,
|
|
265
229
|
"character": 19
|
|
266
230
|
},
|
|
267
|
-
"name": "EnvsMain"
|
|
268
|
-
"componentId": {
|
|
269
|
-
"scope": "teambit.envs",
|
|
270
|
-
"name": "envs"
|
|
271
|
-
}
|
|
231
|
+
"name": "EnvsMain"
|
|
272
232
|
},
|
|
273
233
|
"isOptional": false,
|
|
274
234
|
"isSpread": false
|
|
@@ -288,11 +248,7 @@
|
|
|
288
248
|
"line": 52,
|
|
289
249
|
"character": 21
|
|
290
250
|
},
|
|
291
|
-
"name": "RemoveMain"
|
|
292
|
-
"componentId": {
|
|
293
|
-
"scope": "teambit.component",
|
|
294
|
-
"name": "remove"
|
|
295
|
-
}
|
|
251
|
+
"name": "RemoveMain"
|
|
296
252
|
},
|
|
297
253
|
"isOptional": false,
|
|
298
254
|
"isSpread": false
|
|
@@ -374,8 +330,7 @@
|
|
|
374
330
|
"line": 58,
|
|
375
331
|
"character": 14
|
|
376
332
|
},
|
|
377
|
-
"name": "RenameOptions"
|
|
378
|
-
"internalFilePath": "rename.cmd.ts"
|
|
333
|
+
"name": "RenameOptions"
|
|
379
334
|
},
|
|
380
335
|
"isOptional": true,
|
|
381
336
|
"defaultValue": "{}",
|
|
@@ -398,8 +353,7 @@
|
|
|
398
353
|
"line": 59,
|
|
399
354
|
"character": 14
|
|
400
355
|
},
|
|
401
|
-
"name": "RenameDependencyNameResult"
|
|
402
|
-
"internalFilePath": "renaming.main.runtime.ts"
|
|
356
|
+
"name": "RenameDependencyNameResult"
|
|
403
357
|
}
|
|
404
358
|
]
|
|
405
359
|
},
|
|
@@ -439,8 +393,7 @@
|
|
|
439
393
|
"line": 76,
|
|
440
394
|
"character": 37
|
|
441
395
|
},
|
|
442
|
-
"name": "RenameId"
|
|
443
|
-
"internalFilePath": "renaming.main.runtime.ts"
|
|
396
|
+
"name": "RenameId"
|
|
444
397
|
}
|
|
445
398
|
},
|
|
446
399
|
"isOptional": false,
|
|
@@ -461,8 +414,7 @@
|
|
|
461
414
|
"line": 76,
|
|
462
415
|
"character": 58
|
|
463
416
|
},
|
|
464
|
-
"name": "RenameOptions"
|
|
465
|
-
"internalFilePath": "rename.cmd.ts"
|
|
417
|
+
"name": "RenameOptions"
|
|
466
418
|
},
|
|
467
419
|
"isOptional": false,
|
|
468
420
|
"isSpread": false
|
|
@@ -484,8 +436,7 @@
|
|
|
484
436
|
"line": 76,
|
|
485
437
|
"character": 82
|
|
486
438
|
},
|
|
487
|
-
"name": "RenameResult"
|
|
488
|
-
"internalFilePath": "renaming.main.runtime.ts"
|
|
439
|
+
"name": "RenameResult"
|
|
489
440
|
}
|
|
490
441
|
]
|
|
491
442
|
},
|
|
@@ -518,11 +469,7 @@
|
|
|
518
469
|
"line": 179,
|
|
519
470
|
"character": 30
|
|
520
471
|
},
|
|
521
|
-
"name": "Component"
|
|
522
|
-
"componentId": {
|
|
523
|
-
"scope": "teambit.component",
|
|
524
|
-
"name": "component"
|
|
525
|
-
}
|
|
472
|
+
"name": "Component"
|
|
526
473
|
},
|
|
527
474
|
"isOptional": false,
|
|
528
475
|
"isSpread": false
|
|
@@ -543,8 +490,7 @@
|
|
|
543
490
|
"line": 179,
|
|
544
491
|
"character": 42
|
|
545
492
|
},
|
|
546
|
-
"name": "RenamingInfo"
|
|
547
|
-
"internalFilePath": "renaming.main.runtime.ts"
|
|
493
|
+
"name": "RenamingInfo"
|
|
548
494
|
},
|
|
549
495
|
{
|
|
550
496
|
"__schema": "LiteralTypeSchema",
|
|
@@ -718,8 +664,7 @@
|
|
|
718
664
|
"line": 196,
|
|
719
665
|
"character": 14
|
|
720
666
|
},
|
|
721
|
-
"name": "RenameResult"
|
|
722
|
-
"internalFilePath": "renaming.main.runtime.ts"
|
|
667
|
+
"name": "RenameResult"
|
|
723
668
|
}
|
|
724
669
|
]
|
|
725
670
|
},
|
|
@@ -865,8 +810,7 @@
|
|
|
865
810
|
"line": 222,
|
|
866
811
|
"character": 14
|
|
867
812
|
},
|
|
868
|
-
"name": "RenameResult"
|
|
869
|
-
"internalFilePath": "renaming.main.runtime.ts"
|
|
813
|
+
"name": "RenameResult"
|
|
870
814
|
}
|
|
871
815
|
]
|
|
872
816
|
},
|
|
@@ -970,11 +914,7 @@
|
|
|
970
914
|
"line": 328,
|
|
971
915
|
"character": 5
|
|
972
916
|
},
|
|
973
|
-
"name": "CLIMain"
|
|
974
|
-
"componentId": {
|
|
975
|
-
"scope": "teambit.harmony",
|
|
976
|
-
"name": "cli"
|
|
977
|
-
}
|
|
917
|
+
"name": "CLIMain"
|
|
978
918
|
},
|
|
979
919
|
{
|
|
980
920
|
"__schema": "TypeRefSchema",
|
|
@@ -983,11 +923,7 @@
|
|
|
983
923
|
"line": 329,
|
|
984
924
|
"character": 5
|
|
985
925
|
},
|
|
986
|
-
"name": "Workspace"
|
|
987
|
-
"componentId": {
|
|
988
|
-
"scope": "teambit.workspace",
|
|
989
|
-
"name": "workspace"
|
|
990
|
-
}
|
|
926
|
+
"name": "Workspace"
|
|
991
927
|
},
|
|
992
928
|
{
|
|
993
929
|
"__schema": "TypeRefSchema",
|
|
@@ -996,11 +932,7 @@
|
|
|
996
932
|
"line": 330,
|
|
997
933
|
"character": 5
|
|
998
934
|
},
|
|
999
|
-
"name": "DeprecationMain"
|
|
1000
|
-
"componentId": {
|
|
1001
|
-
"scope": "teambit.component",
|
|
1002
|
-
"name": "deprecation"
|
|
1003
|
-
}
|
|
935
|
+
"name": "DeprecationMain"
|
|
1004
936
|
},
|
|
1005
937
|
{
|
|
1006
938
|
"__schema": "TypeRefSchema",
|
|
@@ -1009,11 +941,7 @@
|
|
|
1009
941
|
"line": 331,
|
|
1010
942
|
"character": 5
|
|
1011
943
|
},
|
|
1012
|
-
"name": "NewComponentHelperMain"
|
|
1013
|
-
"componentId": {
|
|
1014
|
-
"scope": "teambit.component",
|
|
1015
|
-
"name": "new-component-helper"
|
|
1016
|
-
}
|
|
944
|
+
"name": "NewComponentHelperMain"
|
|
1017
945
|
},
|
|
1018
946
|
{
|
|
1019
947
|
"__schema": "TypeRefSchema",
|
|
@@ -1022,11 +950,7 @@
|
|
|
1022
950
|
"line": 332,
|
|
1023
951
|
"character": 5
|
|
1024
952
|
},
|
|
1025
|
-
"name": "ComponentMain"
|
|
1026
|
-
"componentId": {
|
|
1027
|
-
"scope": "teambit.component",
|
|
1028
|
-
"name": "component"
|
|
1029
|
-
}
|
|
953
|
+
"name": "ComponentMain"
|
|
1030
954
|
},
|
|
1031
955
|
{
|
|
1032
956
|
"__schema": "TypeRefSchema",
|
|
@@ -1035,11 +959,7 @@
|
|
|
1035
959
|
"line": 333,
|
|
1036
960
|
"character": 5
|
|
1037
961
|
},
|
|
1038
|
-
"name": "GraphqlMain"
|
|
1039
|
-
"componentId": {
|
|
1040
|
-
"scope": "teambit.harmony",
|
|
1041
|
-
"name": "graphql"
|
|
1042
|
-
}
|
|
962
|
+
"name": "GraphqlMain"
|
|
1043
963
|
},
|
|
1044
964
|
{
|
|
1045
965
|
"__schema": "TypeRefSchema",
|
|
@@ -1048,11 +968,7 @@
|
|
|
1048
968
|
"line": 334,
|
|
1049
969
|
"character": 5
|
|
1050
970
|
},
|
|
1051
|
-
"name": "RefactoringMain"
|
|
1052
|
-
"componentId": {
|
|
1053
|
-
"scope": "teambit.component",
|
|
1054
|
-
"name": "refactoring"
|
|
1055
|
-
}
|
|
971
|
+
"name": "RefactoringMain"
|
|
1056
972
|
},
|
|
1057
973
|
{
|
|
1058
974
|
"__schema": "TypeRefSchema",
|
|
@@ -1061,11 +977,7 @@
|
|
|
1061
977
|
"line": 335,
|
|
1062
978
|
"character": 5
|
|
1063
979
|
},
|
|
1064
|
-
"name": "InstallMain"
|
|
1065
|
-
"componentId": {
|
|
1066
|
-
"scope": "teambit.workspace",
|
|
1067
|
-
"name": "install"
|
|
1068
|
-
}
|
|
980
|
+
"name": "InstallMain"
|
|
1069
981
|
},
|
|
1070
982
|
{
|
|
1071
983
|
"__schema": "TypeRefSchema",
|
|
@@ -1074,11 +986,7 @@
|
|
|
1074
986
|
"line": 336,
|
|
1075
987
|
"character": 5
|
|
1076
988
|
},
|
|
1077
|
-
"name": "ConfigMain"
|
|
1078
|
-
"componentId": {
|
|
1079
|
-
"scope": "teambit.harmony",
|
|
1080
|
-
"name": "config"
|
|
1081
|
-
}
|
|
989
|
+
"name": "ConfigMain"
|
|
1082
990
|
},
|
|
1083
991
|
{
|
|
1084
992
|
"__schema": "TypeRefSchema",
|
|
@@ -1087,11 +995,7 @@
|
|
|
1087
995
|
"line": 337,
|
|
1088
996
|
"character": 5
|
|
1089
997
|
},
|
|
1090
|
-
"name": "ComponentWriterMain"
|
|
1091
|
-
"componentId": {
|
|
1092
|
-
"scope": "teambit.component",
|
|
1093
|
-
"name": "component-writer"
|
|
1094
|
-
}
|
|
998
|
+
"name": "ComponentWriterMain"
|
|
1095
999
|
},
|
|
1096
1000
|
{
|
|
1097
1001
|
"__schema": "TypeRefSchema",
|
|
@@ -1100,11 +1004,7 @@
|
|
|
1100
1004
|
"line": 338,
|
|
1101
1005
|
"character": 5
|
|
1102
1006
|
},
|
|
1103
|
-
"name": "CompilerMain"
|
|
1104
|
-
"componentId": {
|
|
1105
|
-
"scope": "teambit.compilation",
|
|
1106
|
-
"name": "compiler"
|
|
1107
|
-
}
|
|
1007
|
+
"name": "CompilerMain"
|
|
1108
1008
|
},
|
|
1109
1009
|
{
|
|
1110
1010
|
"__schema": "TypeRefSchema",
|
|
@@ -1113,11 +1013,7 @@
|
|
|
1113
1013
|
"line": 339,
|
|
1114
1014
|
"character": 5
|
|
1115
1015
|
},
|
|
1116
|
-
"name": "LoggerMain"
|
|
1117
|
-
"componentId": {
|
|
1118
|
-
"scope": "teambit.harmony",
|
|
1119
|
-
"name": "logger"
|
|
1120
|
-
}
|
|
1016
|
+
"name": "LoggerMain"
|
|
1121
1017
|
},
|
|
1122
1018
|
{
|
|
1123
1019
|
"__schema": "TypeRefSchema",
|
|
@@ -1126,11 +1022,7 @@
|
|
|
1126
1022
|
"line": 340,
|
|
1127
1023
|
"character": 5
|
|
1128
1024
|
},
|
|
1129
|
-
"name": "EnvsMain"
|
|
1130
|
-
"componentId": {
|
|
1131
|
-
"scope": "teambit.envs",
|
|
1132
|
-
"name": "envs"
|
|
1133
|
-
}
|
|
1025
|
+
"name": "EnvsMain"
|
|
1134
1026
|
},
|
|
1135
1027
|
{
|
|
1136
1028
|
"__schema": "TypeRefSchema",
|
|
@@ -1139,11 +1031,7 @@
|
|
|
1139
1031
|
"line": 341,
|
|
1140
1032
|
"character": 5
|
|
1141
1033
|
},
|
|
1142
|
-
"name": "RemoveMain"
|
|
1143
|
-
"componentId": {
|
|
1144
|
-
"scope": "teambit.component",
|
|
1145
|
-
"name": "remove"
|
|
1146
|
-
}
|
|
1034
|
+
"name": "RemoveMain"
|
|
1147
1035
|
}
|
|
1148
1036
|
]
|
|
1149
1037
|
},
|
|
@@ -1257,8 +1145,7 @@
|
|
|
1257
1145
|
"line": 38,
|
|
1258
1146
|
"character": 42
|
|
1259
1147
|
},
|
|
1260
|
-
"name": "RenameData"
|
|
1261
|
-
"internalFilePath": "renaming.main.runtime.ts"
|
|
1148
|
+
"name": "RenameData"
|
|
1262
1149
|
}
|
|
1263
1150
|
},
|
|
1264
1151
|
"isOptional": false
|
|
@@ -1286,11 +1173,7 @@
|
|
|
1286
1173
|
"line": 38,
|
|
1287
1174
|
"character": 71
|
|
1288
1175
|
},
|
|
1289
|
-
"name": "ComponentID"
|
|
1290
|
-
"componentId": {
|
|
1291
|
-
"scope": "teambit.component",
|
|
1292
|
-
"name": "component"
|
|
1293
|
-
}
|
|
1176
|
+
"name": "ComponentID"
|
|
1294
1177
|
}
|
|
1295
1178
|
},
|
|
1296
1179
|
"isOptional": false
|
|
@@ -1333,11 +1216,7 @@
|
|
|
1333
1216
|
"line": 42,
|
|
1334
1217
|
"character": 24
|
|
1335
1218
|
},
|
|
1336
|
-
"name": "Workspace"
|
|
1337
|
-
"componentId": {
|
|
1338
|
-
"scope": "teambit.workspace",
|
|
1339
|
-
"name": "workspace"
|
|
1340
|
-
}
|
|
1219
|
+
"name": "Workspace"
|
|
1341
1220
|
},
|
|
1342
1221
|
"isOptional": false,
|
|
1343
1222
|
"isSpread": false
|
|
@@ -1357,11 +1236,7 @@
|
|
|
1357
1236
|
"line": 43,
|
|
1358
1237
|
"character": 22
|
|
1359
1238
|
},
|
|
1360
|
-
"name": "InstallMain"
|
|
1361
|
-
"componentId": {
|
|
1362
|
-
"scope": "teambit.workspace",
|
|
1363
|
-
"name": "install"
|
|
1364
|
-
}
|
|
1239
|
+
"name": "InstallMain"
|
|
1365
1240
|
},
|
|
1366
1241
|
"isOptional": false,
|
|
1367
1242
|
"isSpread": false
|
|
@@ -1381,11 +1256,7 @@
|
|
|
1381
1256
|
"line": 44,
|
|
1382
1257
|
"character": 33
|
|
1383
1258
|
},
|
|
1384
|
-
"name": "NewComponentHelperMain"
|
|
1385
|
-
"componentId": {
|
|
1386
|
-
"scope": "teambit.component",
|
|
1387
|
-
"name": "new-component-helper"
|
|
1388
|
-
}
|
|
1259
|
+
"name": "NewComponentHelperMain"
|
|
1389
1260
|
},
|
|
1390
1261
|
"isOptional": false,
|
|
1391
1262
|
"isSpread": false
|
|
@@ -1405,11 +1276,7 @@
|
|
|
1405
1276
|
"line": 45,
|
|
1406
1277
|
"character": 26
|
|
1407
1278
|
},
|
|
1408
|
-
"name": "DeprecationMain"
|
|
1409
|
-
"componentId": {
|
|
1410
|
-
"scope": "teambit.component",
|
|
1411
|
-
"name": "deprecation"
|
|
1412
|
-
}
|
|
1279
|
+
"name": "DeprecationMain"
|
|
1413
1280
|
},
|
|
1414
1281
|
"isOptional": false,
|
|
1415
1282
|
"isSpread": false
|
|
@@ -1429,11 +1296,7 @@
|
|
|
1429
1296
|
"line": 46,
|
|
1430
1297
|
"character": 26
|
|
1431
1298
|
},
|
|
1432
|
-
"name": "RefactoringMain"
|
|
1433
|
-
"componentId": {
|
|
1434
|
-
"scope": "teambit.component",
|
|
1435
|
-
"name": "refactoring"
|
|
1436
|
-
}
|
|
1299
|
+
"name": "RefactoringMain"
|
|
1437
1300
|
},
|
|
1438
1301
|
"isOptional": false,
|
|
1439
1302
|
"isSpread": false
|
|
@@ -1453,11 +1316,7 @@
|
|
|
1453
1316
|
"line": 47,
|
|
1454
1317
|
"character": 21
|
|
1455
1318
|
},
|
|
1456
|
-
"name": "ConfigMain"
|
|
1457
|
-
"componentId": {
|
|
1458
|
-
"scope": "teambit.harmony",
|
|
1459
|
-
"name": "config"
|
|
1460
|
-
}
|
|
1319
|
+
"name": "ConfigMain"
|
|
1461
1320
|
},
|
|
1462
1321
|
"isOptional": false,
|
|
1463
1322
|
"isSpread": false
|
|
@@ -1477,11 +1336,7 @@
|
|
|
1477
1336
|
"line": 48,
|
|
1478
1337
|
"character": 30
|
|
1479
1338
|
},
|
|
1480
|
-
"name": "ComponentWriterMain"
|
|
1481
|
-
"componentId": {
|
|
1482
|
-
"scope": "teambit.component",
|
|
1483
|
-
"name": "component-writer"
|
|
1484
|
-
}
|
|
1339
|
+
"name": "ComponentWriterMain"
|
|
1485
1340
|
},
|
|
1486
1341
|
"isOptional": false,
|
|
1487
1342
|
"isSpread": false
|
|
@@ -1501,11 +1356,7 @@
|
|
|
1501
1356
|
"line": 49,
|
|
1502
1357
|
"character": 23
|
|
1503
1358
|
},
|
|
1504
|
-
"name": "CompilerMain"
|
|
1505
|
-
"componentId": {
|
|
1506
|
-
"scope": "teambit.compilation",
|
|
1507
|
-
"name": "compiler"
|
|
1508
|
-
}
|
|
1359
|
+
"name": "CompilerMain"
|
|
1509
1360
|
},
|
|
1510
1361
|
"isOptional": false,
|
|
1511
1362
|
"isSpread": false
|
|
@@ -1525,11 +1376,7 @@
|
|
|
1525
1376
|
"line": 50,
|
|
1526
1377
|
"character": 21
|
|
1527
1378
|
},
|
|
1528
|
-
"name": "Logger"
|
|
1529
|
-
"componentId": {
|
|
1530
|
-
"scope": "teambit.harmony",
|
|
1531
|
-
"name": "logger"
|
|
1532
|
-
}
|
|
1379
|
+
"name": "Logger"
|
|
1533
1380
|
},
|
|
1534
1381
|
"isOptional": false,
|
|
1535
1382
|
"isSpread": false
|
|
@@ -1549,11 +1396,7 @@
|
|
|
1549
1396
|
"line": 51,
|
|
1550
1397
|
"character": 19
|
|
1551
1398
|
},
|
|
1552
|
-
"name": "EnvsMain"
|
|
1553
|
-
"componentId": {
|
|
1554
|
-
"scope": "teambit.envs",
|
|
1555
|
-
"name": "envs"
|
|
1556
|
-
}
|
|
1399
|
+
"name": "EnvsMain"
|
|
1557
1400
|
},
|
|
1558
1401
|
"isOptional": false,
|
|
1559
1402
|
"isSpread": false
|
|
@@ -1573,11 +1416,7 @@
|
|
|
1573
1416
|
"line": 52,
|
|
1574
1417
|
"character": 21
|
|
1575
1418
|
},
|
|
1576
|
-
"name": "RemoveMain"
|
|
1577
|
-
"componentId": {
|
|
1578
|
-
"scope": "teambit.component",
|
|
1579
|
-
"name": "remove"
|
|
1580
|
-
}
|
|
1419
|
+
"name": "RemoveMain"
|
|
1581
1420
|
},
|
|
1582
1421
|
"isOptional": false,
|
|
1583
1422
|
"isSpread": false
|
|
@@ -1659,8 +1498,7 @@
|
|
|
1659
1498
|
"line": 58,
|
|
1660
1499
|
"character": 14
|
|
1661
1500
|
},
|
|
1662
|
-
"name": "RenameOptions"
|
|
1663
|
-
"internalFilePath": "rename.cmd.ts"
|
|
1501
|
+
"name": "RenameOptions"
|
|
1664
1502
|
},
|
|
1665
1503
|
"isOptional": true,
|
|
1666
1504
|
"defaultValue": "{}",
|
|
@@ -1683,8 +1521,7 @@
|
|
|
1683
1521
|
"line": 59,
|
|
1684
1522
|
"character": 14
|
|
1685
1523
|
},
|
|
1686
|
-
"name": "RenameDependencyNameResult"
|
|
1687
|
-
"internalFilePath": "renaming.main.runtime.ts"
|
|
1524
|
+
"name": "RenameDependencyNameResult"
|
|
1688
1525
|
}
|
|
1689
1526
|
]
|
|
1690
1527
|
},
|
|
@@ -1724,8 +1561,7 @@
|
|
|
1724
1561
|
"line": 76,
|
|
1725
1562
|
"character": 37
|
|
1726
1563
|
},
|
|
1727
|
-
"name": "RenameId"
|
|
1728
|
-
"internalFilePath": "renaming.main.runtime.ts"
|
|
1564
|
+
"name": "RenameId"
|
|
1729
1565
|
}
|
|
1730
1566
|
},
|
|
1731
1567
|
"isOptional": false,
|
|
@@ -1746,8 +1582,7 @@
|
|
|
1746
1582
|
"line": 76,
|
|
1747
1583
|
"character": 58
|
|
1748
1584
|
},
|
|
1749
|
-
"name": "RenameOptions"
|
|
1750
|
-
"internalFilePath": "rename.cmd.ts"
|
|
1585
|
+
"name": "RenameOptions"
|
|
1751
1586
|
},
|
|
1752
1587
|
"isOptional": false,
|
|
1753
1588
|
"isSpread": false
|
|
@@ -1769,8 +1604,7 @@
|
|
|
1769
1604
|
"line": 76,
|
|
1770
1605
|
"character": 82
|
|
1771
1606
|
},
|
|
1772
|
-
"name": "RenameResult"
|
|
1773
|
-
"internalFilePath": "renaming.main.runtime.ts"
|
|
1607
|
+
"name": "RenameResult"
|
|
1774
1608
|
}
|
|
1775
1609
|
]
|
|
1776
1610
|
},
|
|
@@ -1803,11 +1637,7 @@
|
|
|
1803
1637
|
"line": 179,
|
|
1804
1638
|
"character": 30
|
|
1805
1639
|
},
|
|
1806
|
-
"name": "Component"
|
|
1807
|
-
"componentId": {
|
|
1808
|
-
"scope": "teambit.component",
|
|
1809
|
-
"name": "component"
|
|
1810
|
-
}
|
|
1640
|
+
"name": "Component"
|
|
1811
1641
|
},
|
|
1812
1642
|
"isOptional": false,
|
|
1813
1643
|
"isSpread": false
|
|
@@ -1828,8 +1658,7 @@
|
|
|
1828
1658
|
"line": 179,
|
|
1829
1659
|
"character": 42
|
|
1830
1660
|
},
|
|
1831
|
-
"name": "RenamingInfo"
|
|
1832
|
-
"internalFilePath": "renaming.main.runtime.ts"
|
|
1661
|
+
"name": "RenamingInfo"
|
|
1833
1662
|
},
|
|
1834
1663
|
{
|
|
1835
1664
|
"__schema": "LiteralTypeSchema",
|
|
@@ -2003,8 +1832,7 @@
|
|
|
2003
1832
|
"line": 196,
|
|
2004
1833
|
"character": 14
|
|
2005
1834
|
},
|
|
2006
|
-
"name": "RenameResult"
|
|
2007
|
-
"internalFilePath": "renaming.main.runtime.ts"
|
|
1835
|
+
"name": "RenameResult"
|
|
2008
1836
|
}
|
|
2009
1837
|
]
|
|
2010
1838
|
},
|
|
@@ -2150,8 +1978,7 @@
|
|
|
2150
1978
|
"line": 222,
|
|
2151
1979
|
"character": 14
|
|
2152
1980
|
},
|
|
2153
|
-
"name": "RenameResult"
|
|
2154
|
-
"internalFilePath": "renaming.main.runtime.ts"
|
|
1981
|
+
"name": "RenameResult"
|
|
2155
1982
|
}
|
|
2156
1983
|
]
|
|
2157
1984
|
},
|
|
@@ -2255,11 +2082,7 @@
|
|
|
2255
2082
|
"line": 328,
|
|
2256
2083
|
"character": 5
|
|
2257
2084
|
},
|
|
2258
|
-
"name": "CLIMain"
|
|
2259
|
-
"componentId": {
|
|
2260
|
-
"scope": "teambit.harmony",
|
|
2261
|
-
"name": "cli"
|
|
2262
|
-
}
|
|
2085
|
+
"name": "CLIMain"
|
|
2263
2086
|
},
|
|
2264
2087
|
{
|
|
2265
2088
|
"__schema": "TypeRefSchema",
|
|
@@ -2268,11 +2091,7 @@
|
|
|
2268
2091
|
"line": 329,
|
|
2269
2092
|
"character": 5
|
|
2270
2093
|
},
|
|
2271
|
-
"name": "Workspace"
|
|
2272
|
-
"componentId": {
|
|
2273
|
-
"scope": "teambit.workspace",
|
|
2274
|
-
"name": "workspace"
|
|
2275
|
-
}
|
|
2094
|
+
"name": "Workspace"
|
|
2276
2095
|
},
|
|
2277
2096
|
{
|
|
2278
2097
|
"__schema": "TypeRefSchema",
|
|
@@ -2281,11 +2100,7 @@
|
|
|
2281
2100
|
"line": 330,
|
|
2282
2101
|
"character": 5
|
|
2283
2102
|
},
|
|
2284
|
-
"name": "DeprecationMain"
|
|
2285
|
-
"componentId": {
|
|
2286
|
-
"scope": "teambit.component",
|
|
2287
|
-
"name": "deprecation"
|
|
2288
|
-
}
|
|
2103
|
+
"name": "DeprecationMain"
|
|
2289
2104
|
},
|
|
2290
2105
|
{
|
|
2291
2106
|
"__schema": "TypeRefSchema",
|
|
@@ -2294,11 +2109,7 @@
|
|
|
2294
2109
|
"line": 331,
|
|
2295
2110
|
"character": 5
|
|
2296
2111
|
},
|
|
2297
|
-
"name": "NewComponentHelperMain"
|
|
2298
|
-
"componentId": {
|
|
2299
|
-
"scope": "teambit.component",
|
|
2300
|
-
"name": "new-component-helper"
|
|
2301
|
-
}
|
|
2112
|
+
"name": "NewComponentHelperMain"
|
|
2302
2113
|
},
|
|
2303
2114
|
{
|
|
2304
2115
|
"__schema": "TypeRefSchema",
|
|
@@ -2307,11 +2118,7 @@
|
|
|
2307
2118
|
"line": 332,
|
|
2308
2119
|
"character": 5
|
|
2309
2120
|
},
|
|
2310
|
-
"name": "ComponentMain"
|
|
2311
|
-
"componentId": {
|
|
2312
|
-
"scope": "teambit.component",
|
|
2313
|
-
"name": "component"
|
|
2314
|
-
}
|
|
2121
|
+
"name": "ComponentMain"
|
|
2315
2122
|
},
|
|
2316
2123
|
{
|
|
2317
2124
|
"__schema": "TypeRefSchema",
|
|
@@ -2320,11 +2127,7 @@
|
|
|
2320
2127
|
"line": 333,
|
|
2321
2128
|
"character": 5
|
|
2322
2129
|
},
|
|
2323
|
-
"name": "GraphqlMain"
|
|
2324
|
-
"componentId": {
|
|
2325
|
-
"scope": "teambit.harmony",
|
|
2326
|
-
"name": "graphql"
|
|
2327
|
-
}
|
|
2130
|
+
"name": "GraphqlMain"
|
|
2328
2131
|
},
|
|
2329
2132
|
{
|
|
2330
2133
|
"__schema": "TypeRefSchema",
|
|
@@ -2333,11 +2136,7 @@
|
|
|
2333
2136
|
"line": 334,
|
|
2334
2137
|
"character": 5
|
|
2335
2138
|
},
|
|
2336
|
-
"name": "RefactoringMain"
|
|
2337
|
-
"componentId": {
|
|
2338
|
-
"scope": "teambit.component",
|
|
2339
|
-
"name": "refactoring"
|
|
2340
|
-
}
|
|
2139
|
+
"name": "RefactoringMain"
|
|
2341
2140
|
},
|
|
2342
2141
|
{
|
|
2343
2142
|
"__schema": "TypeRefSchema",
|
|
@@ -2346,11 +2145,7 @@
|
|
|
2346
2145
|
"line": 335,
|
|
2347
2146
|
"character": 5
|
|
2348
2147
|
},
|
|
2349
|
-
"name": "InstallMain"
|
|
2350
|
-
"componentId": {
|
|
2351
|
-
"scope": "teambit.workspace",
|
|
2352
|
-
"name": "install"
|
|
2353
|
-
}
|
|
2148
|
+
"name": "InstallMain"
|
|
2354
2149
|
},
|
|
2355
2150
|
{
|
|
2356
2151
|
"__schema": "TypeRefSchema",
|
|
@@ -2359,11 +2154,7 @@
|
|
|
2359
2154
|
"line": 336,
|
|
2360
2155
|
"character": 5
|
|
2361
2156
|
},
|
|
2362
|
-
"name": "ConfigMain"
|
|
2363
|
-
"componentId": {
|
|
2364
|
-
"scope": "teambit.harmony",
|
|
2365
|
-
"name": "config"
|
|
2366
|
-
}
|
|
2157
|
+
"name": "ConfigMain"
|
|
2367
2158
|
},
|
|
2368
2159
|
{
|
|
2369
2160
|
"__schema": "TypeRefSchema",
|
|
@@ -2372,11 +2163,7 @@
|
|
|
2372
2163
|
"line": 337,
|
|
2373
2164
|
"character": 5
|
|
2374
2165
|
},
|
|
2375
|
-
"name": "ComponentWriterMain"
|
|
2376
|
-
"componentId": {
|
|
2377
|
-
"scope": "teambit.component",
|
|
2378
|
-
"name": "component-writer"
|
|
2379
|
-
}
|
|
2166
|
+
"name": "ComponentWriterMain"
|
|
2380
2167
|
},
|
|
2381
2168
|
{
|
|
2382
2169
|
"__schema": "TypeRefSchema",
|
|
@@ -2385,11 +2172,7 @@
|
|
|
2385
2172
|
"line": 338,
|
|
2386
2173
|
"character": 5
|
|
2387
2174
|
},
|
|
2388
|
-
"name": "CompilerMain"
|
|
2389
|
-
"componentId": {
|
|
2390
|
-
"scope": "teambit.compilation",
|
|
2391
|
-
"name": "compiler"
|
|
2392
|
-
}
|
|
2175
|
+
"name": "CompilerMain"
|
|
2393
2176
|
},
|
|
2394
2177
|
{
|
|
2395
2178
|
"__schema": "TypeRefSchema",
|
|
@@ -2398,11 +2181,7 @@
|
|
|
2398
2181
|
"line": 339,
|
|
2399
2182
|
"character": 5
|
|
2400
2183
|
},
|
|
2401
|
-
"name": "LoggerMain"
|
|
2402
|
-
"componentId": {
|
|
2403
|
-
"scope": "teambit.harmony",
|
|
2404
|
-
"name": "logger"
|
|
2405
|
-
}
|
|
2184
|
+
"name": "LoggerMain"
|
|
2406
2185
|
},
|
|
2407
2186
|
{
|
|
2408
2187
|
"__schema": "TypeRefSchema",
|
|
@@ -2411,11 +2190,7 @@
|
|
|
2411
2190
|
"line": 340,
|
|
2412
2191
|
"character": 5
|
|
2413
2192
|
},
|
|
2414
|
-
"name": "EnvsMain"
|
|
2415
|
-
"componentId": {
|
|
2416
|
-
"scope": "teambit.envs",
|
|
2417
|
-
"name": "envs"
|
|
2418
|
-
}
|
|
2193
|
+
"name": "EnvsMain"
|
|
2419
2194
|
},
|
|
2420
2195
|
{
|
|
2421
2196
|
"__schema": "TypeRefSchema",
|
|
@@ -2424,11 +2199,7 @@
|
|
|
2424
2199
|
"line": 341,
|
|
2425
2200
|
"character": 5
|
|
2426
2201
|
},
|
|
2427
|
-
"name": "RemoveMain"
|
|
2428
|
-
"componentId": {
|
|
2429
|
-
"scope": "teambit.component",
|
|
2430
|
-
"name": "remove"
|
|
2431
|
-
}
|
|
2202
|
+
"name": "RemoveMain"
|
|
2432
2203
|
}
|
|
2433
2204
|
]
|
|
2434
2205
|
},
|
|
@@ -2670,8 +2441,7 @@
|
|
|
2670
2441
|
"line": 31,
|
|
2671
2442
|
"character": 19
|
|
2672
2443
|
},
|
|
2673
|
-
"name": "RenameId"
|
|
2674
|
-
"internalFilePath": "renaming.main.runtime.ts"
|
|
2444
|
+
"name": "RenameId"
|
|
2675
2445
|
},
|
|
2676
2446
|
{
|
|
2677
2447
|
"__schema": "TypeLiteralSchema",
|
|
@@ -2757,11 +2527,7 @@
|
|
|
2757
2527
|
"line": 35,
|
|
2758
2528
|
"character": 16
|
|
2759
2529
|
},
|
|
2760
|
-
"name": "Component"
|
|
2761
|
-
"componentId": {
|
|
2762
|
-
"scope": "teambit.component",
|
|
2763
|
-
"name": "component"
|
|
2764
|
-
}
|
|
2530
|
+
"name": "Component"
|
|
2765
2531
|
},
|
|
2766
2532
|
"isOptional": true
|
|
2767
2533
|
},
|
|
@@ -2788,11 +2554,7 @@
|
|
|
2788
2554
|
"line": 36,
|
|
2789
2555
|
"character": 25
|
|
2790
2556
|
},
|
|
2791
|
-
"name": "ComponentID"
|
|
2792
|
-
"componentId": {
|
|
2793
|
-
"scope": "teambit.component",
|
|
2794
|
-
"name": "component"
|
|
2795
|
-
}
|
|
2557
|
+
"name": "ComponentID"
|
|
2796
2558
|
}
|
|
2797
2559
|
},
|
|
2798
2560
|
"isOptional": true
|
|
@@ -2855,7 +2617,7 @@
|
|
|
2855
2617
|
"componentId": {
|
|
2856
2618
|
"scope": "teambit.component",
|
|
2857
2619
|
"name": "renaming",
|
|
2858
|
-
"version": "1.0.
|
|
2620
|
+
"version": "1.0.227"
|
|
2859
2621
|
},
|
|
2860
2622
|
"taggedModuleExports": []
|
|
2861
2623
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_renaming@1.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_renaming@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_renaming@1.0.227/dist/renaming.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_renaming@1.0.227/dist/renaming.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/renaming",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.227",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/component/renaming",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.component",
|
|
8
8
|
"name": "renaming",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.227"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"chalk": "2.4.2",
|
|
@@ -17,21 +17,21 @@
|
|
|
17
17
|
"@teambit/harmony": "0.4.6",
|
|
18
18
|
"@teambit/legacy-bit-id": "1.1.1",
|
|
19
19
|
"@teambit/bit-error": "0.0.404",
|
|
20
|
-
"@teambit/cli": "0.0.
|
|
21
|
-
"@teambit/component": "1.0.
|
|
22
|
-
"@teambit/graphql": "1.0.
|
|
23
|
-
"@teambit/compiler": "1.0.
|
|
24
|
-
"@teambit/component-writer": "1.0.
|
|
25
|
-
"@teambit/config": "0.0.
|
|
26
|
-
"@teambit/deprecation": "1.0.
|
|
27
|
-
"@teambit/envs": "1.0.
|
|
28
|
-
"@teambit/install": "1.0.
|
|
29
|
-
"@teambit/logger": "0.0.
|
|
30
|
-
"@teambit/new-component-helper": "1.0.
|
|
31
|
-
"@teambit/refactoring": "1.0.
|
|
32
|
-
"@teambit/remove": "1.0.
|
|
33
|
-
"@teambit/workspace.modules.node-modules-linker": "0.0.
|
|
34
|
-
"@teambit/workspace": "1.0.
|
|
20
|
+
"@teambit/cli": "0.0.860",
|
|
21
|
+
"@teambit/component": "1.0.227",
|
|
22
|
+
"@teambit/graphql": "1.0.227",
|
|
23
|
+
"@teambit/compiler": "1.0.227",
|
|
24
|
+
"@teambit/component-writer": "1.0.227",
|
|
25
|
+
"@teambit/config": "0.0.978",
|
|
26
|
+
"@teambit/deprecation": "1.0.227",
|
|
27
|
+
"@teambit/envs": "1.0.227",
|
|
28
|
+
"@teambit/install": "1.0.227",
|
|
29
|
+
"@teambit/logger": "0.0.953",
|
|
30
|
+
"@teambit/new-component-helper": "1.0.227",
|
|
31
|
+
"@teambit/refactoring": "1.0.227",
|
|
32
|
+
"@teambit/remove": "1.0.227",
|
|
33
|
+
"@teambit/workspace.modules.node-modules-linker": "0.0.167",
|
|
34
|
+
"@teambit/workspace": "1.0.227"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/fs-extra": "9.0.7",
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"chai-fs": "1.0.0",
|
|
42
42
|
"chai": "4.3.0",
|
|
43
43
|
"@types/mocha": "9.1.0",
|
|
44
|
-
"@teambit/harmony.envs.core-aspect-env": "0.0.
|
|
45
|
-
"@teambit/component.testing.mock-components": "0.0.
|
|
46
|
-
"@teambit/harmony.testing.load-aspect": "0.0.
|
|
44
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.30",
|
|
45
|
+
"@teambit/component.testing.mock-components": "0.0.195",
|
|
46
|
+
"@teambit/harmony.testing.load-aspect": "0.0.190",
|
|
47
47
|
"@teambit/workspace.testing.mock-workspace": "0.0.27"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
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,49 @@
|
|
|
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.component_component@1.0.227"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_graphql@1.0.227"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compilation_compiler@1.0.227"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component-writer@1.0.227"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_config@0.0.978"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_deprecation@1.0.227"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.envs_envs@1.0.227"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_install@1.0.227"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_logger@0.0.953"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_new-component-helper@1.0.227"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_refactoring@1.0.227"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_remove@1.0.227"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@1.0.227"
|
|
82
|
+
}
|
|
38
83
|
]
|
|
39
84
|
}
|
package/dist/index.d.ts
DELETED
package/dist/rename.cmd.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from '@teambit/cli';
|
|
2
|
-
import { RenamingMain } from '.';
|
|
3
|
-
export type RenameOptions = {
|
|
4
|
-
scope?: string;
|
|
5
|
-
path?: string;
|
|
6
|
-
refactor?: boolean;
|
|
7
|
-
preserve?: boolean;
|
|
8
|
-
ast?: boolean;
|
|
9
|
-
deprecate?: boolean;
|
|
10
|
-
};
|
|
11
|
-
export declare class RenameCmd implements Command {
|
|
12
|
-
private renaming;
|
|
13
|
-
name: string;
|
|
14
|
-
description: string;
|
|
15
|
-
helpUrl: string;
|
|
16
|
-
arguments: {
|
|
17
|
-
name: string;
|
|
18
|
-
description: string;
|
|
19
|
-
}[];
|
|
20
|
-
group: string;
|
|
21
|
-
skipWorkspace: boolean;
|
|
22
|
-
alias: string;
|
|
23
|
-
options: CommandOptions;
|
|
24
|
-
loader: boolean;
|
|
25
|
-
remoteOp: boolean;
|
|
26
|
-
constructor(renaming: RenamingMain);
|
|
27
|
-
report([sourceId, targetId]: [string, string], options: RenameOptions): Promise<string>;
|
|
28
|
-
}
|
|
@@ -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 { RenamingMain } from './renaming.main.runtime';
|
|
3
|
-
export declare class RenamingFragment implements ShowFragment {
|
|
4
|
-
private renaming;
|
|
5
|
-
constructor(renaming: RenamingMain);
|
|
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("./renaming.main.runtime").RenamingInfo | null;
|
|
14
|
-
}>;
|
|
15
|
-
weight: number;
|
|
16
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { ConfigMain } from '@teambit/config';
|
|
2
|
-
import { Logger, LoggerMain } from '@teambit/logger';
|
|
3
|
-
import { CLIMain } from '@teambit/cli';
|
|
4
|
-
import { Component, ComponentID, ComponentMain } from '@teambit/component';
|
|
5
|
-
import { DeprecationMain } from '@teambit/deprecation';
|
|
6
|
-
import { GraphqlMain } from '@teambit/graphql';
|
|
7
|
-
import { CompilerMain } from '@teambit/compiler';
|
|
8
|
-
import { EnvsMain } from '@teambit/envs';
|
|
9
|
-
import { NewComponentHelperMain } from '@teambit/new-component-helper';
|
|
10
|
-
import { RemoveMain } from '@teambit/remove';
|
|
11
|
-
import { RefactoringMain } from '@teambit/refactoring';
|
|
12
|
-
import { ComponentWriterMain } from '@teambit/component-writer';
|
|
13
|
-
import { Workspace } from '@teambit/workspace';
|
|
14
|
-
import { InstallMain } from '@teambit/install';
|
|
15
|
-
import { RenameOptions } from './rename.cmd';
|
|
16
|
-
type RenameId = {
|
|
17
|
-
sourceId: ComponentID;
|
|
18
|
-
targetId: ComponentID;
|
|
19
|
-
};
|
|
20
|
-
type RenameData = RenameId & {
|
|
21
|
-
sourcePkg: string;
|
|
22
|
-
isTagged: boolean;
|
|
23
|
-
targetPkg?: string;
|
|
24
|
-
targetComp?: Component;
|
|
25
|
-
compIdsUsingItAsEnv?: ComponentID[];
|
|
26
|
-
};
|
|
27
|
-
export type RenameResult = {
|
|
28
|
-
renameData: RenameData[];
|
|
29
|
-
refactoredIds: ComponentID[];
|
|
30
|
-
};
|
|
31
|
-
export declare class RenamingMain {
|
|
32
|
-
private workspace;
|
|
33
|
-
private install;
|
|
34
|
-
private newComponentHelper;
|
|
35
|
-
private deprecation;
|
|
36
|
-
private refactoring;
|
|
37
|
-
private config;
|
|
38
|
-
private componentWriter;
|
|
39
|
-
private compiler;
|
|
40
|
-
private logger;
|
|
41
|
-
private envs;
|
|
42
|
-
private remove;
|
|
43
|
-
constructor(workspace: Workspace, install: InstallMain, newComponentHelper: NewComponentHelperMain, deprecation: DeprecationMain, refactoring: RefactoringMain, config: ConfigMain, componentWriter: ComponentWriterMain, compiler: CompilerMain, logger: Logger, envs: EnvsMain, remove: RemoveMain);
|
|
44
|
-
rename(sourceIdStr: string, targetName: string, options?: RenameOptions): Promise<RenameDependencyNameResult>;
|
|
45
|
-
renameMultiple(multipleIds: RenameId[], options: RenameOptions): Promise<RenameResult>;
|
|
46
|
-
getRenamingInfo(component: Component): RenamingInfo | null;
|
|
47
|
-
/**
|
|
48
|
-
* change the default-scope for new components.
|
|
49
|
-
* for tagged/exported components, delete (or deprecate - depends on the flag) the original ones and create new ones.
|
|
50
|
-
* optionally (if refactor is true), change the source code to match the new scope-name.
|
|
51
|
-
*/
|
|
52
|
-
renameScope(oldScope: string, newScope: string, options?: {
|
|
53
|
-
refactor?: boolean;
|
|
54
|
-
deprecate?: boolean;
|
|
55
|
-
preserve?: boolean;
|
|
56
|
-
}): Promise<RenameResult>;
|
|
57
|
-
/**
|
|
58
|
-
* change the default-scope for new components. optionally (if refactor is true), change the source code to match the
|
|
59
|
-
* new scope-name.
|
|
60
|
-
* keep in mind that this is working for new components only, for tagged/exported it's impossible. See the errors
|
|
61
|
-
* thrown in such cases in this method.
|
|
62
|
-
*/
|
|
63
|
-
renameOwner(oldOwner: string, newOwner: string, options: {
|
|
64
|
-
refactor?: boolean;
|
|
65
|
-
ast?: boolean;
|
|
66
|
-
}): Promise<RenameResult>;
|
|
67
|
-
private renameAspectIdsInWorkspaceConfig;
|
|
68
|
-
private changeEnvsAccordingToNewIds;
|
|
69
|
-
private deleteLinkFromNodeModules;
|
|
70
|
-
private compileGracefully;
|
|
71
|
-
private renameOwnerInScopeName;
|
|
72
|
-
private getConfig;
|
|
73
|
-
static slots: never[];
|
|
74
|
-
static dependencies: import("@teambit/harmony").Aspect[];
|
|
75
|
-
static runtime: import("@teambit/harmony").RuntimeDefinition;
|
|
76
|
-
static provider([cli, workspace, deprecation, newComponentHelper, componentMain, graphql, refactoring, install, config, componentWriter, compiler, loggerMain, envs, remove,]: [
|
|
77
|
-
CLIMain,
|
|
78
|
-
Workspace,
|
|
79
|
-
DeprecationMain,
|
|
80
|
-
NewComponentHelperMain,
|
|
81
|
-
ComponentMain,
|
|
82
|
-
GraphqlMain,
|
|
83
|
-
RefactoringMain,
|
|
84
|
-
InstallMain,
|
|
85
|
-
ConfigMain,
|
|
86
|
-
ComponentWriterMain,
|
|
87
|
-
CompilerMain,
|
|
88
|
-
LoggerMain,
|
|
89
|
-
EnvsMain,
|
|
90
|
-
RemoveMain
|
|
91
|
-
]): Promise<RenamingMain>;
|
|
92
|
-
}
|
|
93
|
-
export type RenameDependencyNameResult = {
|
|
94
|
-
sourceId: ComponentID;
|
|
95
|
-
targetId: ComponentID;
|
|
96
|
-
};
|
|
97
|
-
export type RenamingInfo = {
|
|
98
|
-
renamedFrom: ComponentID;
|
|
99
|
-
};
|
|
100
|
-
export default RenamingMain;
|
package/dist/renaming.spec.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from '@teambit/cli';
|
|
2
|
-
import { RenamingMain } from './renaming.main.runtime';
|
|
3
|
-
export declare class ScopeRenameOwnerCmd implements Command {
|
|
4
|
-
private renaming;
|
|
5
|
-
name: string;
|
|
6
|
-
description: string;
|
|
7
|
-
arguments: {
|
|
8
|
-
name: string;
|
|
9
|
-
description: string;
|
|
10
|
-
}[];
|
|
11
|
-
options: CommandOptions;
|
|
12
|
-
group: string;
|
|
13
|
-
constructor(renaming: RenamingMain);
|
|
14
|
-
report([oldName, newName]: [string, string], { refactor }: {
|
|
15
|
-
refactor?: boolean;
|
|
16
|
-
}): Promise<string>;
|
|
17
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from '@teambit/cli';
|
|
2
|
-
import { RenameResult, RenamingMain } from './renaming.main.runtime';
|
|
3
|
-
export declare class ScopeRenameCmd implements Command {
|
|
4
|
-
private renaming;
|
|
5
|
-
name: string;
|
|
6
|
-
description: string;
|
|
7
|
-
extendedDescription: string;
|
|
8
|
-
arguments: {
|
|
9
|
-
name: string;
|
|
10
|
-
description: string;
|
|
11
|
-
}[];
|
|
12
|
-
options: CommandOptions;
|
|
13
|
-
group: string;
|
|
14
|
-
constructor(renaming: RenamingMain);
|
|
15
|
-
report([oldName, newName]: [string, string], { refactor, deprecate, preserve }: {
|
|
16
|
-
refactor?: boolean;
|
|
17
|
-
deprecate?: boolean;
|
|
18
|
-
preserve?: boolean;
|
|
19
|
-
}): Promise<string>;
|
|
20
|
-
}
|
|
21
|
-
export declare function renameScopeOutput(renameResult: RenameResult): string;
|