@teambit/mover 1.0.516 → 1.0.517

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