@teambit/mover 1.0.258 → 1.0.260
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/mover@1.0.
|
3
|
+
<testsuite name="teambit.component/mover@1.0.260" tests="0" failures="0" errors="0" skipped="0"/>
|
4
4
|
</testsuites>
|
package/artifacts/schema.json
CHANGED
@@ -22,13 +22,435 @@
|
|
22
22
|
},
|
23
23
|
"name": "MoverMain",
|
24
24
|
"exportNode": {
|
25
|
-
"__schema": "
|
25
|
+
"__schema": "ClassSchema",
|
26
26
|
"location": {
|
27
|
-
"filePath": "
|
28
|
-
"line":
|
29
|
-
"character":
|
27
|
+
"filePath": "mover.main.runtime.ts",
|
28
|
+
"line": 16,
|
29
|
+
"character": 1
|
30
30
|
},
|
31
|
-
"
|
31
|
+
"signature": "class MoverMain",
|
32
|
+
"name": "MoverMain",
|
33
|
+
"members": [
|
34
|
+
{
|
35
|
+
"__schema": "ConstructorSchema",
|
36
|
+
"location": {
|
37
|
+
"filePath": "mover.main.runtime.ts",
|
38
|
+
"line": 17,
|
39
|
+
"character": 3
|
40
|
+
},
|
41
|
+
"signature": "constructor MoverMain(workspace: Workspace): MoverMain",
|
42
|
+
"name": "constructor",
|
43
|
+
"params": [
|
44
|
+
{
|
45
|
+
"__schema": "ParameterSchema",
|
46
|
+
"location": {
|
47
|
+
"filePath": "mover.main.runtime.ts",
|
48
|
+
"line": 17,
|
49
|
+
"character": 15
|
50
|
+
},
|
51
|
+
"name": "workspace",
|
52
|
+
"type": {
|
53
|
+
"__schema": "TypeRefSchema",
|
54
|
+
"location": {
|
55
|
+
"filePath": "mover.main.runtime.ts",
|
56
|
+
"line": 17,
|
57
|
+
"character": 34
|
58
|
+
},
|
59
|
+
"name": "Workspace",
|
60
|
+
"componentId": {
|
61
|
+
"scope": "teambit.workspace",
|
62
|
+
"name": "workspace"
|
63
|
+
}
|
64
|
+
},
|
65
|
+
"isOptional": false,
|
66
|
+
"isSpread": false
|
67
|
+
}
|
68
|
+
],
|
69
|
+
"returnType": {
|
70
|
+
"__schema": "ThisTypeSchema",
|
71
|
+
"location": {
|
72
|
+
"filePath": "mover.main.runtime.ts",
|
73
|
+
"line": 16,
|
74
|
+
"character": 1
|
75
|
+
},
|
76
|
+
"name": "MoverMain"
|
77
|
+
},
|
78
|
+
"modifiers": []
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"__schema": "FunctionLikeSchema",
|
82
|
+
"location": {
|
83
|
+
"filePath": "mover.main.runtime.ts",
|
84
|
+
"line": 19,
|
85
|
+
"character": 3
|
86
|
+
},
|
87
|
+
"signature": "(method) MoverMain.movePaths({ from, to }: {\n from: PathOsBasedRelative;\n to: PathOsBasedRelative;\n}): Promise<PathChangeResult[]>",
|
88
|
+
"name": "movePaths",
|
89
|
+
"params": [
|
90
|
+
{
|
91
|
+
"__schema": "ParameterSchema",
|
92
|
+
"location": {
|
93
|
+
"filePath": "mover.main.runtime.ts",
|
94
|
+
"line": 19,
|
95
|
+
"character": 19
|
96
|
+
},
|
97
|
+
"name": "{ from, to }",
|
98
|
+
"type": {
|
99
|
+
"__schema": "TypeLiteralSchema",
|
100
|
+
"location": {
|
101
|
+
"filePath": "mover.main.runtime.ts",
|
102
|
+
"line": 19,
|
103
|
+
"character": 33
|
104
|
+
},
|
105
|
+
"members": [
|
106
|
+
{
|
107
|
+
"__schema": "VariableLikeSchema",
|
108
|
+
"location": {
|
109
|
+
"filePath": "mover.main.runtime.ts",
|
110
|
+
"line": 19,
|
111
|
+
"character": 35
|
112
|
+
},
|
113
|
+
"signature": "(property) from: string",
|
114
|
+
"name": "from",
|
115
|
+
"type": {
|
116
|
+
"__schema": "TypeRefSchema",
|
117
|
+
"location": {
|
118
|
+
"filePath": "mover.main.runtime.ts",
|
119
|
+
"line": 19,
|
120
|
+
"character": 41
|
121
|
+
},
|
122
|
+
"name": "PathOsBasedRelative",
|
123
|
+
"packageName": "@teambit/legacy/dist/utils/path"
|
124
|
+
},
|
125
|
+
"isOptional": false
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"__schema": "VariableLikeSchema",
|
129
|
+
"location": {
|
130
|
+
"filePath": "mover.main.runtime.ts",
|
131
|
+
"line": 19,
|
132
|
+
"character": 62
|
133
|
+
},
|
134
|
+
"signature": "(property) to: string",
|
135
|
+
"name": "to",
|
136
|
+
"type": {
|
137
|
+
"__schema": "TypeRefSchema",
|
138
|
+
"location": {
|
139
|
+
"filePath": "mover.main.runtime.ts",
|
140
|
+
"line": 19,
|
141
|
+
"character": 66
|
142
|
+
},
|
143
|
+
"name": "PathOsBasedRelative",
|
144
|
+
"packageName": "@teambit/legacy/dist/utils/path"
|
145
|
+
},
|
146
|
+
"isOptional": false
|
147
|
+
}
|
148
|
+
]
|
149
|
+
},
|
150
|
+
"isOptional": false,
|
151
|
+
"objectBindingNodes": [
|
152
|
+
{
|
153
|
+
"__schema": "VariableLikeSchema",
|
154
|
+
"location": {
|
155
|
+
"filePath": "mover.main.runtime.ts",
|
156
|
+
"line": 19,
|
157
|
+
"character": 35
|
158
|
+
},
|
159
|
+
"signature": "(property) from: string",
|
160
|
+
"name": "from",
|
161
|
+
"type": {
|
162
|
+
"__schema": "TypeRefSchema",
|
163
|
+
"location": {
|
164
|
+
"filePath": "mover.main.runtime.ts",
|
165
|
+
"line": 19,
|
166
|
+
"character": 41
|
167
|
+
},
|
168
|
+
"name": "PathOsBasedRelative",
|
169
|
+
"packageName": "@teambit/legacy/dist/utils/path"
|
170
|
+
},
|
171
|
+
"isOptional": false
|
172
|
+
},
|
173
|
+
{
|
174
|
+
"__schema": "VariableLikeSchema",
|
175
|
+
"location": {
|
176
|
+
"filePath": "mover.main.runtime.ts",
|
177
|
+
"line": 19,
|
178
|
+
"character": 62
|
179
|
+
},
|
180
|
+
"signature": "(property) to: string",
|
181
|
+
"name": "to",
|
182
|
+
"type": {
|
183
|
+
"__schema": "TypeRefSchema",
|
184
|
+
"location": {
|
185
|
+
"filePath": "mover.main.runtime.ts",
|
186
|
+
"line": 19,
|
187
|
+
"character": 66
|
188
|
+
},
|
189
|
+
"name": "PathOsBasedRelative",
|
190
|
+
"packageName": "@teambit/legacy/dist/utils/path"
|
191
|
+
},
|
192
|
+
"isOptional": false
|
193
|
+
}
|
194
|
+
],
|
195
|
+
"isSpread": false
|
196
|
+
}
|
197
|
+
],
|
198
|
+
"returnType": {
|
199
|
+
"__schema": "TypeRefSchema",
|
200
|
+
"location": {
|
201
|
+
"filePath": "mover.main.runtime.ts",
|
202
|
+
"line": 19,
|
203
|
+
"character": 90
|
204
|
+
},
|
205
|
+
"name": "Promise",
|
206
|
+
"typeArgs": [
|
207
|
+
{
|
208
|
+
"__schema": "TypeArraySchema",
|
209
|
+
"location": {
|
210
|
+
"filePath": "mover.main.runtime.ts",
|
211
|
+
"line": 19,
|
212
|
+
"character": 98
|
213
|
+
},
|
214
|
+
"type": {
|
215
|
+
"__schema": "TypeRefSchema",
|
216
|
+
"location": {
|
217
|
+
"filePath": "mover.main.runtime.ts",
|
218
|
+
"line": 19,
|
219
|
+
"character": 98
|
220
|
+
},
|
221
|
+
"name": "PathChangeResult",
|
222
|
+
"packageName": "@teambit/legacy/dist/consumer/bit-map/bit-map"
|
223
|
+
}
|
224
|
+
}
|
225
|
+
]
|
226
|
+
},
|
227
|
+
"modifiers": [
|
228
|
+
"async"
|
229
|
+
]
|
230
|
+
},
|
231
|
+
{
|
232
|
+
"__schema": "FunctionLikeSchema",
|
233
|
+
"location": {
|
234
|
+
"filePath": "mover.main.runtime.ts",
|
235
|
+
"line": 52,
|
236
|
+
"character": 3
|
237
|
+
},
|
238
|
+
"signature": "(method) MoverMain.moveExistingComponent(component: Component, oldPath: PathOsBasedAbsolute, newPath: PathOsBasedAbsolute): void",
|
239
|
+
"name": "moveExistingComponent",
|
240
|
+
"params": [
|
241
|
+
{
|
242
|
+
"__schema": "ParameterSchema",
|
243
|
+
"location": {
|
244
|
+
"filePath": "mover.main.runtime.ts",
|
245
|
+
"line": 52,
|
246
|
+
"character": 25
|
247
|
+
},
|
248
|
+
"name": "component",
|
249
|
+
"type": {
|
250
|
+
"__schema": "TypeRefSchema",
|
251
|
+
"location": {
|
252
|
+
"filePath": "mover.main.runtime.ts",
|
253
|
+
"line": 52,
|
254
|
+
"character": 36
|
255
|
+
},
|
256
|
+
"name": "Component",
|
257
|
+
"packageName": "@teambit/legacy/dist/consumer/component/consumer-component"
|
258
|
+
},
|
259
|
+
"isOptional": false,
|
260
|
+
"isSpread": false
|
261
|
+
},
|
262
|
+
{
|
263
|
+
"__schema": "ParameterSchema",
|
264
|
+
"location": {
|
265
|
+
"filePath": "mover.main.runtime.ts",
|
266
|
+
"line": 52,
|
267
|
+
"character": 47
|
268
|
+
},
|
269
|
+
"name": "oldPath",
|
270
|
+
"type": {
|
271
|
+
"__schema": "TypeRefSchema",
|
272
|
+
"location": {
|
273
|
+
"filePath": "mover.main.runtime.ts",
|
274
|
+
"line": 52,
|
275
|
+
"character": 56
|
276
|
+
},
|
277
|
+
"name": "PathOsBasedAbsolute",
|
278
|
+
"packageName": "@teambit/legacy/dist/utils/path"
|
279
|
+
},
|
280
|
+
"isOptional": false,
|
281
|
+
"isSpread": false
|
282
|
+
},
|
283
|
+
{
|
284
|
+
"__schema": "ParameterSchema",
|
285
|
+
"location": {
|
286
|
+
"filePath": "mover.main.runtime.ts",
|
287
|
+
"line": 52,
|
288
|
+
"character": 77
|
289
|
+
},
|
290
|
+
"name": "newPath",
|
291
|
+
"type": {
|
292
|
+
"__schema": "TypeRefSchema",
|
293
|
+
"location": {
|
294
|
+
"filePath": "mover.main.runtime.ts",
|
295
|
+
"line": 52,
|
296
|
+
"character": 86
|
297
|
+
},
|
298
|
+
"name": "PathOsBasedAbsolute",
|
299
|
+
"packageName": "@teambit/legacy/dist/utils/path"
|
300
|
+
},
|
301
|
+
"isOptional": false,
|
302
|
+
"isSpread": false
|
303
|
+
}
|
304
|
+
],
|
305
|
+
"returnType": {
|
306
|
+
"__schema": "InferenceTypeSchema",
|
307
|
+
"location": {
|
308
|
+
"filePath": "mover.main.runtime.ts",
|
309
|
+
"line": 52,
|
310
|
+
"character": 3
|
311
|
+
},
|
312
|
+
"type": "void"
|
313
|
+
},
|
314
|
+
"modifiers": []
|
315
|
+
},
|
316
|
+
{
|
317
|
+
"__schema": "VariableLikeSchema",
|
318
|
+
"location": {
|
319
|
+
"filePath": "mover.main.runtime.ts",
|
320
|
+
"line": 73,
|
321
|
+
"character": 3
|
322
|
+
},
|
323
|
+
"signature": "(property) MoverMain.slots: never[]",
|
324
|
+
"name": "slots",
|
325
|
+
"type": {
|
326
|
+
"__schema": "InferenceTypeSchema",
|
327
|
+
"location": {
|
328
|
+
"filePath": "mover.main.runtime.ts",
|
329
|
+
"line": 73,
|
330
|
+
"character": 3
|
331
|
+
},
|
332
|
+
"type": "never[]"
|
333
|
+
},
|
334
|
+
"isOptional": true,
|
335
|
+
"defaultValue": "[]"
|
336
|
+
},
|
337
|
+
{
|
338
|
+
"__schema": "VariableLikeSchema",
|
339
|
+
"location": {
|
340
|
+
"filePath": "mover.main.runtime.ts",
|
341
|
+
"line": 74,
|
342
|
+
"character": 3
|
343
|
+
},
|
344
|
+
"signature": "(property) MoverMain.dependencies: Aspect[]",
|
345
|
+
"name": "dependencies",
|
346
|
+
"type": {
|
347
|
+
"__schema": "InferenceTypeSchema",
|
348
|
+
"location": {
|
349
|
+
"filePath": "mover.main.runtime.ts",
|
350
|
+
"line": 74,
|
351
|
+
"character": 3
|
352
|
+
},
|
353
|
+
"type": "Aspect[]"
|
354
|
+
},
|
355
|
+
"isOptional": true,
|
356
|
+
"defaultValue": "[CLIAspect, WorkspaceAspect]"
|
357
|
+
},
|
358
|
+
{
|
359
|
+
"__schema": "VariableLikeSchema",
|
360
|
+
"location": {
|
361
|
+
"filePath": "mover.main.runtime.ts",
|
362
|
+
"line": 75,
|
363
|
+
"character": 3
|
364
|
+
},
|
365
|
+
"signature": "(property) MoverMain.runtime: RuntimeDefinition",
|
366
|
+
"name": "runtime",
|
367
|
+
"type": {
|
368
|
+
"__schema": "InferenceTypeSchema",
|
369
|
+
"location": {
|
370
|
+
"filePath": "mover.main.runtime.ts",
|
371
|
+
"line": 75,
|
372
|
+
"character": 3
|
373
|
+
},
|
374
|
+
"type": "RuntimeDefinition"
|
375
|
+
},
|
376
|
+
"isOptional": true,
|
377
|
+
"defaultValue": "MainRuntime"
|
378
|
+
},
|
379
|
+
{
|
380
|
+
"__schema": "FunctionLikeSchema",
|
381
|
+
"location": {
|
382
|
+
"filePath": "mover.main.runtime.ts",
|
383
|
+
"line": 77,
|
384
|
+
"character": 3
|
385
|
+
},
|
386
|
+
"signature": "(method) MoverMain.provider([cli, workspace]: [CLIMain, Workspace]): Promise<MoverMain>",
|
387
|
+
"name": "provider",
|
388
|
+
"params": [
|
389
|
+
{
|
390
|
+
"__schema": "ParameterSchema",
|
391
|
+
"location": {
|
392
|
+
"filePath": "mover.main.runtime.ts",
|
393
|
+
"line": 77,
|
394
|
+
"character": 25
|
395
|
+
},
|
396
|
+
"name": "[ cli, workspace ]",
|
397
|
+
"type": {
|
398
|
+
"__schema": "TupleTypeSchema",
|
399
|
+
"location": {
|
400
|
+
"filePath": "mover.main.runtime.ts",
|
401
|
+
"line": 77,
|
402
|
+
"character": 43
|
403
|
+
},
|
404
|
+
"elements": [
|
405
|
+
{
|
406
|
+
"__schema": "TypeRefSchema",
|
407
|
+
"location": {
|
408
|
+
"filePath": "mover.main.runtime.ts",
|
409
|
+
"line": 77,
|
410
|
+
"character": 44
|
411
|
+
},
|
412
|
+
"name": "CLIMain",
|
413
|
+
"componentId": {
|
414
|
+
"scope": "teambit.harmony",
|
415
|
+
"name": "cli"
|
416
|
+
}
|
417
|
+
},
|
418
|
+
{
|
419
|
+
"__schema": "TypeRefSchema",
|
420
|
+
"location": {
|
421
|
+
"filePath": "mover.main.runtime.ts",
|
422
|
+
"line": 77,
|
423
|
+
"character": 53
|
424
|
+
},
|
425
|
+
"name": "Workspace",
|
426
|
+
"componentId": {
|
427
|
+
"scope": "teambit.workspace",
|
428
|
+
"name": "workspace"
|
429
|
+
}
|
430
|
+
}
|
431
|
+
]
|
432
|
+
},
|
433
|
+
"isOptional": false,
|
434
|
+
"isSpread": false
|
435
|
+
}
|
436
|
+
],
|
437
|
+
"returnType": {
|
438
|
+
"__schema": "InferenceTypeSchema",
|
439
|
+
"location": {
|
440
|
+
"filePath": "mover.main.runtime.ts",
|
441
|
+
"line": 77,
|
442
|
+
"character": 3
|
443
|
+
},
|
444
|
+
"type": "Promise<MoverMain>"
|
445
|
+
},
|
446
|
+
"modifiers": [
|
447
|
+
"static",
|
448
|
+
"async"
|
449
|
+
]
|
450
|
+
}
|
451
|
+
],
|
452
|
+
"extendsNodes": [],
|
453
|
+
"implementNodes": []
|
32
454
|
}
|
33
455
|
},
|
34
456
|
{
|
@@ -50,23 +472,647 @@
|
|
50
472
|
},
|
51
473
|
"name": "MoverAspect",
|
52
474
|
"exportNode": {
|
53
|
-
"__schema": "
|
475
|
+
"__schema": "VariableLikeSchema",
|
54
476
|
"location": {
|
55
|
-
"filePath": "
|
56
|
-
"line":
|
57
|
-
"character":
|
477
|
+
"filePath": "mover.aspect.ts",
|
478
|
+
"line": 3,
|
479
|
+
"character": 14
|
480
|
+
},
|
481
|
+
"signature": "const MoverAspect: Aspect",
|
482
|
+
"name": "MoverAspect",
|
483
|
+
"type": {
|
484
|
+
"__schema": "TypeRefSchema",
|
485
|
+
"location": {
|
486
|
+
"filePath": "mover.aspect.ts",
|
487
|
+
"line": 3,
|
488
|
+
"character": 14
|
489
|
+
},
|
490
|
+
"name": "Aspect",
|
491
|
+
"componentId": {
|
492
|
+
"scope": "teambit.harmony",
|
493
|
+
"name": "harmony",
|
494
|
+
"version": "0.4.6"
|
495
|
+
}
|
58
496
|
},
|
59
|
-
"
|
497
|
+
"isOptional": false,
|
498
|
+
"defaultValue": "Aspect.create({\n id: 'teambit.component/mover',\n})"
|
60
499
|
}
|
61
500
|
}
|
62
501
|
],
|
63
502
|
"internals": []
|
64
503
|
},
|
65
|
-
"internals": [
|
504
|
+
"internals": [
|
505
|
+
{
|
506
|
+
"__schema": "ModuleSchema",
|
507
|
+
"location": {
|
508
|
+
"filePath": "mover.main.runtime.ts",
|
509
|
+
"line": 1,
|
510
|
+
"character": 1
|
511
|
+
},
|
512
|
+
"exports": [
|
513
|
+
{
|
514
|
+
"__schema": "ClassSchema",
|
515
|
+
"location": {
|
516
|
+
"filePath": "mover.main.runtime.ts",
|
517
|
+
"line": 16,
|
518
|
+
"character": 1
|
519
|
+
},
|
520
|
+
"signature": "class MoverMain",
|
521
|
+
"name": "MoverMain",
|
522
|
+
"members": [
|
523
|
+
{
|
524
|
+
"__schema": "ConstructorSchema",
|
525
|
+
"location": {
|
526
|
+
"filePath": "mover.main.runtime.ts",
|
527
|
+
"line": 17,
|
528
|
+
"character": 3
|
529
|
+
},
|
530
|
+
"signature": "constructor MoverMain(workspace: Workspace): MoverMain",
|
531
|
+
"name": "constructor",
|
532
|
+
"params": [
|
533
|
+
{
|
534
|
+
"__schema": "ParameterSchema",
|
535
|
+
"location": {
|
536
|
+
"filePath": "mover.main.runtime.ts",
|
537
|
+
"line": 17,
|
538
|
+
"character": 15
|
539
|
+
},
|
540
|
+
"name": "workspace",
|
541
|
+
"type": {
|
542
|
+
"__schema": "TypeRefSchema",
|
543
|
+
"location": {
|
544
|
+
"filePath": "mover.main.runtime.ts",
|
545
|
+
"line": 17,
|
546
|
+
"character": 34
|
547
|
+
},
|
548
|
+
"name": "Workspace",
|
549
|
+
"componentId": {
|
550
|
+
"scope": "teambit.workspace",
|
551
|
+
"name": "workspace"
|
552
|
+
}
|
553
|
+
},
|
554
|
+
"isOptional": false,
|
555
|
+
"isSpread": false
|
556
|
+
}
|
557
|
+
],
|
558
|
+
"returnType": {
|
559
|
+
"__schema": "ThisTypeSchema",
|
560
|
+
"location": {
|
561
|
+
"filePath": "mover.main.runtime.ts",
|
562
|
+
"line": 16,
|
563
|
+
"character": 1
|
564
|
+
},
|
565
|
+
"name": "MoverMain"
|
566
|
+
},
|
567
|
+
"modifiers": []
|
568
|
+
},
|
569
|
+
{
|
570
|
+
"__schema": "FunctionLikeSchema",
|
571
|
+
"location": {
|
572
|
+
"filePath": "mover.main.runtime.ts",
|
573
|
+
"line": 19,
|
574
|
+
"character": 3
|
575
|
+
},
|
576
|
+
"signature": "(method) MoverMain.movePaths({ from, to }: {\n from: PathOsBasedRelative;\n to: PathOsBasedRelative;\n}): Promise<PathChangeResult[]>",
|
577
|
+
"name": "movePaths",
|
578
|
+
"params": [
|
579
|
+
{
|
580
|
+
"__schema": "ParameterSchema",
|
581
|
+
"location": {
|
582
|
+
"filePath": "mover.main.runtime.ts",
|
583
|
+
"line": 19,
|
584
|
+
"character": 19
|
585
|
+
},
|
586
|
+
"name": "{ from, to }",
|
587
|
+
"type": {
|
588
|
+
"__schema": "TypeLiteralSchema",
|
589
|
+
"location": {
|
590
|
+
"filePath": "mover.main.runtime.ts",
|
591
|
+
"line": 19,
|
592
|
+
"character": 33
|
593
|
+
},
|
594
|
+
"members": [
|
595
|
+
{
|
596
|
+
"__schema": "VariableLikeSchema",
|
597
|
+
"location": {
|
598
|
+
"filePath": "mover.main.runtime.ts",
|
599
|
+
"line": 19,
|
600
|
+
"character": 35
|
601
|
+
},
|
602
|
+
"signature": "(property) from: string",
|
603
|
+
"name": "from",
|
604
|
+
"type": {
|
605
|
+
"__schema": "TypeRefSchema",
|
606
|
+
"location": {
|
607
|
+
"filePath": "mover.main.runtime.ts",
|
608
|
+
"line": 19,
|
609
|
+
"character": 41
|
610
|
+
},
|
611
|
+
"name": "PathOsBasedRelative",
|
612
|
+
"packageName": "@teambit/legacy/dist/utils/path"
|
613
|
+
},
|
614
|
+
"isOptional": false
|
615
|
+
},
|
616
|
+
{
|
617
|
+
"__schema": "VariableLikeSchema",
|
618
|
+
"location": {
|
619
|
+
"filePath": "mover.main.runtime.ts",
|
620
|
+
"line": 19,
|
621
|
+
"character": 62
|
622
|
+
},
|
623
|
+
"signature": "(property) to: string",
|
624
|
+
"name": "to",
|
625
|
+
"type": {
|
626
|
+
"__schema": "TypeRefSchema",
|
627
|
+
"location": {
|
628
|
+
"filePath": "mover.main.runtime.ts",
|
629
|
+
"line": 19,
|
630
|
+
"character": 66
|
631
|
+
},
|
632
|
+
"name": "PathOsBasedRelative",
|
633
|
+
"packageName": "@teambit/legacy/dist/utils/path"
|
634
|
+
},
|
635
|
+
"isOptional": false
|
636
|
+
}
|
637
|
+
]
|
638
|
+
},
|
639
|
+
"isOptional": false,
|
640
|
+
"objectBindingNodes": [
|
641
|
+
{
|
642
|
+
"__schema": "VariableLikeSchema",
|
643
|
+
"location": {
|
644
|
+
"filePath": "mover.main.runtime.ts",
|
645
|
+
"line": 19,
|
646
|
+
"character": 35
|
647
|
+
},
|
648
|
+
"signature": "(property) from: string",
|
649
|
+
"name": "from",
|
650
|
+
"type": {
|
651
|
+
"__schema": "TypeRefSchema",
|
652
|
+
"location": {
|
653
|
+
"filePath": "mover.main.runtime.ts",
|
654
|
+
"line": 19,
|
655
|
+
"character": 41
|
656
|
+
},
|
657
|
+
"name": "PathOsBasedRelative",
|
658
|
+
"packageName": "@teambit/legacy/dist/utils/path"
|
659
|
+
},
|
660
|
+
"isOptional": false
|
661
|
+
},
|
662
|
+
{
|
663
|
+
"__schema": "VariableLikeSchema",
|
664
|
+
"location": {
|
665
|
+
"filePath": "mover.main.runtime.ts",
|
666
|
+
"line": 19,
|
667
|
+
"character": 62
|
668
|
+
},
|
669
|
+
"signature": "(property) to: string",
|
670
|
+
"name": "to",
|
671
|
+
"type": {
|
672
|
+
"__schema": "TypeRefSchema",
|
673
|
+
"location": {
|
674
|
+
"filePath": "mover.main.runtime.ts",
|
675
|
+
"line": 19,
|
676
|
+
"character": 66
|
677
|
+
},
|
678
|
+
"name": "PathOsBasedRelative",
|
679
|
+
"packageName": "@teambit/legacy/dist/utils/path"
|
680
|
+
},
|
681
|
+
"isOptional": false
|
682
|
+
}
|
683
|
+
],
|
684
|
+
"isSpread": false
|
685
|
+
}
|
686
|
+
],
|
687
|
+
"returnType": {
|
688
|
+
"__schema": "TypeRefSchema",
|
689
|
+
"location": {
|
690
|
+
"filePath": "mover.main.runtime.ts",
|
691
|
+
"line": 19,
|
692
|
+
"character": 90
|
693
|
+
},
|
694
|
+
"name": "Promise",
|
695
|
+
"typeArgs": [
|
696
|
+
{
|
697
|
+
"__schema": "TypeArraySchema",
|
698
|
+
"location": {
|
699
|
+
"filePath": "mover.main.runtime.ts",
|
700
|
+
"line": 19,
|
701
|
+
"character": 98
|
702
|
+
},
|
703
|
+
"type": {
|
704
|
+
"__schema": "TypeRefSchema",
|
705
|
+
"location": {
|
706
|
+
"filePath": "mover.main.runtime.ts",
|
707
|
+
"line": 19,
|
708
|
+
"character": 98
|
709
|
+
},
|
710
|
+
"name": "PathChangeResult",
|
711
|
+
"packageName": "@teambit/legacy/dist/consumer/bit-map/bit-map"
|
712
|
+
}
|
713
|
+
}
|
714
|
+
]
|
715
|
+
},
|
716
|
+
"modifiers": [
|
717
|
+
"async"
|
718
|
+
]
|
719
|
+
},
|
720
|
+
{
|
721
|
+
"__schema": "FunctionLikeSchema",
|
722
|
+
"location": {
|
723
|
+
"filePath": "mover.main.runtime.ts",
|
724
|
+
"line": 52,
|
725
|
+
"character": 3
|
726
|
+
},
|
727
|
+
"signature": "(method) MoverMain.moveExistingComponent(component: Component, oldPath: PathOsBasedAbsolute, newPath: PathOsBasedAbsolute): void",
|
728
|
+
"name": "moveExistingComponent",
|
729
|
+
"params": [
|
730
|
+
{
|
731
|
+
"__schema": "ParameterSchema",
|
732
|
+
"location": {
|
733
|
+
"filePath": "mover.main.runtime.ts",
|
734
|
+
"line": 52,
|
735
|
+
"character": 25
|
736
|
+
},
|
737
|
+
"name": "component",
|
738
|
+
"type": {
|
739
|
+
"__schema": "TypeRefSchema",
|
740
|
+
"location": {
|
741
|
+
"filePath": "mover.main.runtime.ts",
|
742
|
+
"line": 52,
|
743
|
+
"character": 36
|
744
|
+
},
|
745
|
+
"name": "Component",
|
746
|
+
"packageName": "@teambit/legacy/dist/consumer/component/consumer-component"
|
747
|
+
},
|
748
|
+
"isOptional": false,
|
749
|
+
"isSpread": false
|
750
|
+
},
|
751
|
+
{
|
752
|
+
"__schema": "ParameterSchema",
|
753
|
+
"location": {
|
754
|
+
"filePath": "mover.main.runtime.ts",
|
755
|
+
"line": 52,
|
756
|
+
"character": 47
|
757
|
+
},
|
758
|
+
"name": "oldPath",
|
759
|
+
"type": {
|
760
|
+
"__schema": "TypeRefSchema",
|
761
|
+
"location": {
|
762
|
+
"filePath": "mover.main.runtime.ts",
|
763
|
+
"line": 52,
|
764
|
+
"character": 56
|
765
|
+
},
|
766
|
+
"name": "PathOsBasedAbsolute",
|
767
|
+
"packageName": "@teambit/legacy/dist/utils/path"
|
768
|
+
},
|
769
|
+
"isOptional": false,
|
770
|
+
"isSpread": false
|
771
|
+
},
|
772
|
+
{
|
773
|
+
"__schema": "ParameterSchema",
|
774
|
+
"location": {
|
775
|
+
"filePath": "mover.main.runtime.ts",
|
776
|
+
"line": 52,
|
777
|
+
"character": 77
|
778
|
+
},
|
779
|
+
"name": "newPath",
|
780
|
+
"type": {
|
781
|
+
"__schema": "TypeRefSchema",
|
782
|
+
"location": {
|
783
|
+
"filePath": "mover.main.runtime.ts",
|
784
|
+
"line": 52,
|
785
|
+
"character": 86
|
786
|
+
},
|
787
|
+
"name": "PathOsBasedAbsolute",
|
788
|
+
"packageName": "@teambit/legacy/dist/utils/path"
|
789
|
+
},
|
790
|
+
"isOptional": false,
|
791
|
+
"isSpread": false
|
792
|
+
}
|
793
|
+
],
|
794
|
+
"returnType": {
|
795
|
+
"__schema": "InferenceTypeSchema",
|
796
|
+
"location": {
|
797
|
+
"filePath": "mover.main.runtime.ts",
|
798
|
+
"line": 52,
|
799
|
+
"character": 3
|
800
|
+
},
|
801
|
+
"type": "void"
|
802
|
+
},
|
803
|
+
"modifiers": []
|
804
|
+
},
|
805
|
+
{
|
806
|
+
"__schema": "VariableLikeSchema",
|
807
|
+
"location": {
|
808
|
+
"filePath": "mover.main.runtime.ts",
|
809
|
+
"line": 73,
|
810
|
+
"character": 3
|
811
|
+
},
|
812
|
+
"signature": "(property) MoverMain.slots: never[]",
|
813
|
+
"name": "slots",
|
814
|
+
"type": {
|
815
|
+
"__schema": "InferenceTypeSchema",
|
816
|
+
"location": {
|
817
|
+
"filePath": "mover.main.runtime.ts",
|
818
|
+
"line": 73,
|
819
|
+
"character": 3
|
820
|
+
},
|
821
|
+
"type": "never[]"
|
822
|
+
},
|
823
|
+
"isOptional": true,
|
824
|
+
"defaultValue": "[]"
|
825
|
+
},
|
826
|
+
{
|
827
|
+
"__schema": "VariableLikeSchema",
|
828
|
+
"location": {
|
829
|
+
"filePath": "mover.main.runtime.ts",
|
830
|
+
"line": 74,
|
831
|
+
"character": 3
|
832
|
+
},
|
833
|
+
"signature": "(property) MoverMain.dependencies: Aspect[]",
|
834
|
+
"name": "dependencies",
|
835
|
+
"type": {
|
836
|
+
"__schema": "InferenceTypeSchema",
|
837
|
+
"location": {
|
838
|
+
"filePath": "mover.main.runtime.ts",
|
839
|
+
"line": 74,
|
840
|
+
"character": 3
|
841
|
+
},
|
842
|
+
"type": "Aspect[]"
|
843
|
+
},
|
844
|
+
"isOptional": true,
|
845
|
+
"defaultValue": "[CLIAspect, WorkspaceAspect]"
|
846
|
+
},
|
847
|
+
{
|
848
|
+
"__schema": "VariableLikeSchema",
|
849
|
+
"location": {
|
850
|
+
"filePath": "mover.main.runtime.ts",
|
851
|
+
"line": 75,
|
852
|
+
"character": 3
|
853
|
+
},
|
854
|
+
"signature": "(property) MoverMain.runtime: RuntimeDefinition",
|
855
|
+
"name": "runtime",
|
856
|
+
"type": {
|
857
|
+
"__schema": "InferenceTypeSchema",
|
858
|
+
"location": {
|
859
|
+
"filePath": "mover.main.runtime.ts",
|
860
|
+
"line": 75,
|
861
|
+
"character": 3
|
862
|
+
},
|
863
|
+
"type": "RuntimeDefinition"
|
864
|
+
},
|
865
|
+
"isOptional": true,
|
866
|
+
"defaultValue": "MainRuntime"
|
867
|
+
},
|
868
|
+
{
|
869
|
+
"__schema": "FunctionLikeSchema",
|
870
|
+
"location": {
|
871
|
+
"filePath": "mover.main.runtime.ts",
|
872
|
+
"line": 77,
|
873
|
+
"character": 3
|
874
|
+
},
|
875
|
+
"signature": "(method) MoverMain.provider([cli, workspace]: [CLIMain, Workspace]): Promise<MoverMain>",
|
876
|
+
"name": "provider",
|
877
|
+
"params": [
|
878
|
+
{
|
879
|
+
"__schema": "ParameterSchema",
|
880
|
+
"location": {
|
881
|
+
"filePath": "mover.main.runtime.ts",
|
882
|
+
"line": 77,
|
883
|
+
"character": 25
|
884
|
+
},
|
885
|
+
"name": "[ cli, workspace ]",
|
886
|
+
"type": {
|
887
|
+
"__schema": "TupleTypeSchema",
|
888
|
+
"location": {
|
889
|
+
"filePath": "mover.main.runtime.ts",
|
890
|
+
"line": 77,
|
891
|
+
"character": 43
|
892
|
+
},
|
893
|
+
"elements": [
|
894
|
+
{
|
895
|
+
"__schema": "TypeRefSchema",
|
896
|
+
"location": {
|
897
|
+
"filePath": "mover.main.runtime.ts",
|
898
|
+
"line": 77,
|
899
|
+
"character": 44
|
900
|
+
},
|
901
|
+
"name": "CLIMain",
|
902
|
+
"componentId": {
|
903
|
+
"scope": "teambit.harmony",
|
904
|
+
"name": "cli"
|
905
|
+
}
|
906
|
+
},
|
907
|
+
{
|
908
|
+
"__schema": "TypeRefSchema",
|
909
|
+
"location": {
|
910
|
+
"filePath": "mover.main.runtime.ts",
|
911
|
+
"line": 77,
|
912
|
+
"character": 53
|
913
|
+
},
|
914
|
+
"name": "Workspace",
|
915
|
+
"componentId": {
|
916
|
+
"scope": "teambit.workspace",
|
917
|
+
"name": "workspace"
|
918
|
+
}
|
919
|
+
}
|
920
|
+
]
|
921
|
+
},
|
922
|
+
"isOptional": false,
|
923
|
+
"isSpread": false
|
924
|
+
}
|
925
|
+
],
|
926
|
+
"returnType": {
|
927
|
+
"__schema": "InferenceTypeSchema",
|
928
|
+
"location": {
|
929
|
+
"filePath": "mover.main.runtime.ts",
|
930
|
+
"line": 77,
|
931
|
+
"character": 3
|
932
|
+
},
|
933
|
+
"type": "Promise<MoverMain>"
|
934
|
+
},
|
935
|
+
"modifiers": [
|
936
|
+
"static",
|
937
|
+
"async"
|
938
|
+
]
|
939
|
+
}
|
940
|
+
],
|
941
|
+
"extendsNodes": [],
|
942
|
+
"implementNodes": []
|
943
|
+
},
|
944
|
+
{
|
945
|
+
"__schema": "UnImplementedSchema",
|
946
|
+
"location": {
|
947
|
+
"filePath": "mover.main.runtime.ts",
|
948
|
+
"line": 86,
|
949
|
+
"character": 16
|
950
|
+
},
|
951
|
+
"name": "MoverMain",
|
952
|
+
"type": "Identifier"
|
953
|
+
},
|
954
|
+
{
|
955
|
+
"__schema": "FunctionLikeSchema",
|
956
|
+
"location": {
|
957
|
+
"filePath": "mover.main.runtime.ts",
|
958
|
+
"line": 88,
|
959
|
+
"character": 1
|
960
|
+
},
|
961
|
+
"signature": "function moveSync(src: PathOsBasedAbsolute, dest: PathOsBasedAbsolute, options?: Record<string, any>): void",
|
962
|
+
"name": "moveSync",
|
963
|
+
"params": [
|
964
|
+
{
|
965
|
+
"__schema": "ParameterSchema",
|
966
|
+
"location": {
|
967
|
+
"filePath": "mover.main.runtime.ts",
|
968
|
+
"line": 88,
|
969
|
+
"character": 26
|
970
|
+
},
|
971
|
+
"name": "src",
|
972
|
+
"type": {
|
973
|
+
"__schema": "TypeRefSchema",
|
974
|
+
"location": {
|
975
|
+
"filePath": "mover.main.runtime.ts",
|
976
|
+
"line": 88,
|
977
|
+
"character": 31
|
978
|
+
},
|
979
|
+
"name": "PathOsBasedAbsolute",
|
980
|
+
"packageName": "@teambit/legacy/dist/utils/path"
|
981
|
+
},
|
982
|
+
"isOptional": false,
|
983
|
+
"isSpread": false
|
984
|
+
},
|
985
|
+
{
|
986
|
+
"__schema": "ParameterSchema",
|
987
|
+
"location": {
|
988
|
+
"filePath": "mover.main.runtime.ts",
|
989
|
+
"line": 88,
|
990
|
+
"character": 52
|
991
|
+
},
|
992
|
+
"name": "dest",
|
993
|
+
"type": {
|
994
|
+
"__schema": "TypeRefSchema",
|
995
|
+
"location": {
|
996
|
+
"filePath": "mover.main.runtime.ts",
|
997
|
+
"line": 88,
|
998
|
+
"character": 58
|
999
|
+
},
|
1000
|
+
"name": "PathOsBasedAbsolute",
|
1001
|
+
"packageName": "@teambit/legacy/dist/utils/path"
|
1002
|
+
},
|
1003
|
+
"isOptional": false,
|
1004
|
+
"isSpread": false
|
1005
|
+
},
|
1006
|
+
{
|
1007
|
+
"__schema": "ParameterSchema",
|
1008
|
+
"location": {
|
1009
|
+
"filePath": "mover.main.runtime.ts",
|
1010
|
+
"line": 88,
|
1011
|
+
"character": 79
|
1012
|
+
},
|
1013
|
+
"name": "options",
|
1014
|
+
"type": {
|
1015
|
+
"__schema": "TypeRefSchema",
|
1016
|
+
"location": {
|
1017
|
+
"filePath": "mover.main.runtime.ts",
|
1018
|
+
"line": 88,
|
1019
|
+
"character": 89
|
1020
|
+
},
|
1021
|
+
"name": "Record",
|
1022
|
+
"typeArgs": [
|
1023
|
+
{
|
1024
|
+
"__schema": "KeywordTypeSchema",
|
1025
|
+
"location": {
|
1026
|
+
"filePath": "mover.main.runtime.ts",
|
1027
|
+
"line": 88,
|
1028
|
+
"character": 96
|
1029
|
+
},
|
1030
|
+
"name": "string"
|
1031
|
+
},
|
1032
|
+
{
|
1033
|
+
"__schema": "KeywordTypeSchema",
|
1034
|
+
"location": {
|
1035
|
+
"filePath": "mover.main.runtime.ts",
|
1036
|
+
"line": 88,
|
1037
|
+
"character": 104
|
1038
|
+
},
|
1039
|
+
"name": "any"
|
1040
|
+
}
|
1041
|
+
]
|
1042
|
+
},
|
1043
|
+
"isOptional": true,
|
1044
|
+
"isSpread": false
|
1045
|
+
}
|
1046
|
+
],
|
1047
|
+
"returnType": {
|
1048
|
+
"__schema": "InferenceTypeSchema",
|
1049
|
+
"location": {
|
1050
|
+
"filePath": "mover.main.runtime.ts",
|
1051
|
+
"line": 88,
|
1052
|
+
"character": 1
|
1053
|
+
},
|
1054
|
+
"type": "void"
|
1055
|
+
},
|
1056
|
+
"modifiers": [
|
1057
|
+
"export"
|
1058
|
+
]
|
1059
|
+
}
|
1060
|
+
],
|
1061
|
+
"internals": [
|
1062
|
+
{
|
1063
|
+
"__schema": "UnImplementedSchema",
|
1064
|
+
"location": {
|
1065
|
+
"filePath": "mover.main.runtime.ts",
|
1066
|
+
"line": 84,
|
1067
|
+
"character": 1
|
1068
|
+
},
|
1069
|
+
"name": "MoverAspect.addRuntime(MoverMain);",
|
1070
|
+
"type": "ExpressionStatement"
|
1071
|
+
}
|
1072
|
+
]
|
1073
|
+
},
|
1074
|
+
{
|
1075
|
+
"__schema": "ModuleSchema",
|
1076
|
+
"location": {
|
1077
|
+
"filePath": "mover.aspect.ts",
|
1078
|
+
"line": 1,
|
1079
|
+
"character": 1
|
1080
|
+
},
|
1081
|
+
"exports": [
|
1082
|
+
{
|
1083
|
+
"__schema": "VariableLikeSchema",
|
1084
|
+
"location": {
|
1085
|
+
"filePath": "mover.aspect.ts",
|
1086
|
+
"line": 3,
|
1087
|
+
"character": 14
|
1088
|
+
},
|
1089
|
+
"signature": "const MoverAspect: Aspect",
|
1090
|
+
"name": "MoverAspect",
|
1091
|
+
"type": {
|
1092
|
+
"__schema": "TypeRefSchema",
|
1093
|
+
"location": {
|
1094
|
+
"filePath": "mover.aspect.ts",
|
1095
|
+
"line": 3,
|
1096
|
+
"character": 14
|
1097
|
+
},
|
1098
|
+
"name": "Aspect",
|
1099
|
+
"componentId": {
|
1100
|
+
"scope": "teambit.harmony",
|
1101
|
+
"name": "harmony",
|
1102
|
+
"version": "0.4.6"
|
1103
|
+
}
|
1104
|
+
},
|
1105
|
+
"isOptional": false,
|
1106
|
+
"defaultValue": "Aspect.create({\n id: 'teambit.component/mover',\n})"
|
1107
|
+
}
|
1108
|
+
],
|
1109
|
+
"internals": []
|
1110
|
+
}
|
1111
|
+
],
|
66
1112
|
"componentId": {
|
67
1113
|
"scope": "teambit.component",
|
68
1114
|
"name": "mover",
|
69
|
-
"version": "1.0.
|
1115
|
+
"version": "1.0.260"
|
70
1116
|
},
|
71
1117
|
"taggedModuleExports": []
|
72
1118
|
}
|
package/package.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/mover",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.260",
|
4
4
|
"homepage": "https://bit.cloud/teambit/component/mover",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"componentId": {
|
7
7
|
"scope": "teambit.component",
|
8
8
|
"name": "mover",
|
9
|
-
"version": "1.0.
|
9
|
+
"version": "1.0.260"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"chalk": "2.4.2",
|
@@ -14,9 +14,9 @@
|
|
14
14
|
"lodash": "4.17.21",
|
15
15
|
"@teambit/harmony": "0.4.6",
|
16
16
|
"@teambit/bit-error": "0.0.404",
|
17
|
-
"@teambit/cli": "0.0.
|
18
|
-
"@teambit/workspace.modules.node-modules-linker": "0.0.
|
19
|
-
"@teambit/workspace": "1.0.
|
17
|
+
"@teambit/cli": "0.0.863",
|
18
|
+
"@teambit/workspace.modules.node-modules-linker": "0.0.172",
|
19
|
+
"@teambit/workspace": "1.0.260"
|
20
20
|
},
|
21
21
|
"devDependencies": {
|
22
22
|
"@types/fs-extra": "9.0.7",
|
File without changes
|