@teambit/install 1.0.186 → 1.0.188

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,4582 +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": "FunctionLikeSchema",
18
- "location": {
19
- "filePath": "install.cmd.tsx",
20
- "line": 139,
21
- "character": 1
22
- },
23
- "signature": "function getAnotherInstallRequiredOutput(recurringInstall?: boolean, oldNonLoadedEnvs?: string[]): string",
24
- "name": "getAnotherInstallRequiredOutput",
25
- "params": [
26
- {
27
- "__schema": "ParameterSchema",
28
- "location": {
29
- "filePath": "install.cmd.tsx",
30
- "line": 139,
31
- "character": 49
32
- },
33
- "name": "recurringInstall",
34
- "type": {
35
- "__schema": "InferenceTypeSchema",
36
- "location": {
37
- "filePath": "install.cmd.tsx",
38
- "line": 139,
39
- "character": 49
40
- },
41
- "type": "boolean"
42
- },
43
- "isOptional": true,
44
- "defaultValue": "false",
45
- "isSpread": false
46
- },
47
- {
48
- "__schema": "ParameterSchema",
49
- "location": {
50
- "filePath": "install.cmd.tsx",
51
- "line": 139,
52
- "character": 75
53
- },
54
- "name": "oldNonLoadedEnvs",
55
- "type": {
56
- "__schema": "TypeArraySchema",
57
- "location": {
58
- "filePath": "install.cmd.tsx",
59
- "line": 139,
60
- "character": 93
61
- },
62
- "type": {
63
- "__schema": "KeywordTypeSchema",
64
- "location": {
65
- "filePath": "install.cmd.tsx",
66
- "line": 139,
67
- "character": 93
68
- },
69
- "name": "string"
70
- }
71
- },
72
- "isOptional": true,
73
- "defaultValue": "[]",
74
- "isSpread": false
75
- }
76
- ],
77
- "returnType": {
78
- "__schema": "KeywordTypeSchema",
79
- "location": {
80
- "filePath": "install.cmd.tsx",
81
- "line": 139,
82
- "character": 109
83
- },
84
- "name": "string"
85
- },
86
- "modifiers": [
87
- "export"
88
- ]
89
- },
90
- {
91
- "__schema": "ClassSchema",
92
- "location": {
93
- "filePath": "install.main.runtime.ts",
94
- "line": 104,
95
- "character": 1
96
- },
97
- "signature": "class InstallMain",
98
- "name": "InstallMain",
99
- "members": [
100
- {
101
- "__schema": "ConstructorSchema",
102
- "location": {
103
- "filePath": "install.main.runtime.ts",
104
- "line": 107,
105
- "character": 3
106
- },
107
- "signature": "constructor InstallMain(dependencyResolver: DependencyResolverMain, logger: Logger, workspace: Workspace, variants: VariantsMain, compiler: CompilerMain, envs: EnvsMain, wsConfigFiles: WorkspaceConfigFilesMain, app: ApplicationMain, generator: GeneratorMain, preLinkSlot: PreLinkSlot, preInstallSlot: PreInstallSlot, postInstallSlot: PostInstallSlot, ipcEvents: IpcEventsMain): InstallMain",
108
- "name": "constructor",
109
- "params": [
110
- {
111
- "__schema": "ParameterSchema",
112
- "location": {
113
- "filePath": "install.main.runtime.ts",
114
- "line": 108,
115
- "character": 5
116
- },
117
- "name": "dependencyResolver",
118
- "type": {
119
- "__schema": "TypeRefSchema",
120
- "location": {
121
- "filePath": "install.main.runtime.ts",
122
- "line": 108,
123
- "character": 33
124
- },
125
- "name": "DependencyResolverMain"
126
- },
127
- "isOptional": false,
128
- "isSpread": false
129
- },
130
- {
131
- "__schema": "ParameterSchema",
132
- "location": {
133
- "filePath": "install.main.runtime.ts",
134
- "line": 110,
135
- "character": 5
136
- },
137
- "name": "logger",
138
- "type": {
139
- "__schema": "TypeRefSchema",
140
- "location": {
141
- "filePath": "install.main.runtime.ts",
142
- "line": 110,
143
- "character": 21
144
- },
145
- "name": "Logger"
146
- },
147
- "isOptional": false,
148
- "isSpread": false
149
- },
150
- {
151
- "__schema": "ParameterSchema",
152
- "location": {
153
- "filePath": "install.main.runtime.ts",
154
- "line": 112,
155
- "character": 5
156
- },
157
- "name": "workspace",
158
- "type": {
159
- "__schema": "TypeRefSchema",
160
- "location": {
161
- "filePath": "install.main.runtime.ts",
162
- "line": 112,
163
- "character": 24
164
- },
165
- "name": "Workspace"
166
- },
167
- "isOptional": false,
168
- "isSpread": false
169
- },
170
- {
171
- "__schema": "ParameterSchema",
172
- "location": {
173
- "filePath": "install.main.runtime.ts",
174
- "line": 114,
175
- "character": 5
176
- },
177
- "name": "variants",
178
- "type": {
179
- "__schema": "TypeRefSchema",
180
- "location": {
181
- "filePath": "install.main.runtime.ts",
182
- "line": 114,
183
- "character": 23
184
- },
185
- "name": "VariantsMain"
186
- },
187
- "isOptional": false,
188
- "isSpread": false
189
- },
190
- {
191
- "__schema": "ParameterSchema",
192
- "location": {
193
- "filePath": "install.main.runtime.ts",
194
- "line": 116,
195
- "character": 5
196
- },
197
- "name": "compiler",
198
- "type": {
199
- "__schema": "TypeRefSchema",
200
- "location": {
201
- "filePath": "install.main.runtime.ts",
202
- "line": 116,
203
- "character": 23
204
- },
205
- "name": "CompilerMain"
206
- },
207
- "isOptional": false,
208
- "isSpread": false
209
- },
210
- {
211
- "__schema": "ParameterSchema",
212
- "location": {
213
- "filePath": "install.main.runtime.ts",
214
- "line": 118,
215
- "character": 5
216
- },
217
- "name": "envs",
218
- "type": {
219
- "__schema": "TypeRefSchema",
220
- "location": {
221
- "filePath": "install.main.runtime.ts",
222
- "line": 118,
223
- "character": 19
224
- },
225
- "name": "EnvsMain"
226
- },
227
- "isOptional": false,
228
- "isSpread": false
229
- },
230
- {
231
- "__schema": "ParameterSchema",
232
- "location": {
233
- "filePath": "install.main.runtime.ts",
234
- "line": 120,
235
- "character": 5
236
- },
237
- "name": "wsConfigFiles",
238
- "type": {
239
- "__schema": "TypeRefSchema",
240
- "location": {
241
- "filePath": "install.main.runtime.ts",
242
- "line": 120,
243
- "character": 28
244
- },
245
- "name": "WorkspaceConfigFilesMain"
246
- },
247
- "isOptional": false,
248
- "isSpread": false
249
- },
250
- {
251
- "__schema": "ParameterSchema",
252
- "location": {
253
- "filePath": "install.main.runtime.ts",
254
- "line": 122,
255
- "character": 5
256
- },
257
- "name": "app",
258
- "type": {
259
- "__schema": "TypeRefSchema",
260
- "location": {
261
- "filePath": "install.main.runtime.ts",
262
- "line": 122,
263
- "character": 18
264
- },
265
- "name": "ApplicationMain"
266
- },
267
- "isOptional": false,
268
- "isSpread": false
269
- },
270
- {
271
- "__schema": "ParameterSchema",
272
- "location": {
273
- "filePath": "install.main.runtime.ts",
274
- "line": 124,
275
- "character": 5
276
- },
277
- "name": "generator",
278
- "type": {
279
- "__schema": "TypeRefSchema",
280
- "location": {
281
- "filePath": "install.main.runtime.ts",
282
- "line": 124,
283
- "character": 24
284
- },
285
- "name": "GeneratorMain"
286
- },
287
- "isOptional": false,
288
- "isSpread": false
289
- },
290
- {
291
- "__schema": "ParameterSchema",
292
- "location": {
293
- "filePath": "install.main.runtime.ts",
294
- "line": 126,
295
- "character": 5
296
- },
297
- "name": "preLinkSlot",
298
- "type": {
299
- "__schema": "TypeRefSchema",
300
- "location": {
301
- "filePath": "install.main.runtime.ts",
302
- "line": 126,
303
- "character": 26
304
- },
305
- "name": "PreLinkSlot"
306
- },
307
- "isOptional": false,
308
- "isSpread": false
309
- },
310
- {
311
- "__schema": "ParameterSchema",
312
- "location": {
313
- "filePath": "install.main.runtime.ts",
314
- "line": 128,
315
- "character": 5
316
- },
317
- "name": "preInstallSlot",
318
- "type": {
319
- "__schema": "TypeRefSchema",
320
- "location": {
321
- "filePath": "install.main.runtime.ts",
322
- "line": 128,
323
- "character": 29
324
- },
325
- "name": "PreInstallSlot"
326
- },
327
- "isOptional": false,
328
- "isSpread": false
329
- },
330
- {
331
- "__schema": "ParameterSchema",
332
- "location": {
333
- "filePath": "install.main.runtime.ts",
334
- "line": 130,
335
- "character": 5
336
- },
337
- "name": "postInstallSlot",
338
- "type": {
339
- "__schema": "TypeRefSchema",
340
- "location": {
341
- "filePath": "install.main.runtime.ts",
342
- "line": 130,
343
- "character": 30
344
- },
345
- "name": "PostInstallSlot"
346
- },
347
- "isOptional": false,
348
- "isSpread": false
349
- },
350
- {
351
- "__schema": "ParameterSchema",
352
- "location": {
353
- "filePath": "install.main.runtime.ts",
354
- "line": 132,
355
- "character": 5
356
- },
357
- "name": "ipcEvents",
358
- "type": {
359
- "__schema": "TypeRefSchema",
360
- "location": {
361
- "filePath": "install.main.runtime.ts",
362
- "line": 132,
363
- "character": 24
364
- },
365
- "name": "IpcEventsMain"
366
- },
367
- "isOptional": false,
368
- "isSpread": false
369
- }
370
- ],
371
- "returnType": {
372
- "__schema": "ThisTypeSchema",
373
- "location": {
374
- "filePath": "install.main.runtime.ts",
375
- "line": 104,
376
- "character": 1
377
- },
378
- "name": "InstallMain"
379
- },
380
- "modifiers": []
381
- },
382
- {
383
- "__schema": "FunctionLikeSchema",
384
- "location": {
385
- "filePath": "install.main.runtime.ts",
386
- "line": 140,
387
- "character": 3
388
- },
389
- "doc": {
390
- "__schema": "DocSchema",
391
- "location": {
392
- "filePath": "install.main.runtime.ts",
393
- "line": 134,
394
- "character": 3
395
- },
396
- "raw": "/**\n * Install dependencies for all components in the workspace\n *\n * @returns\n * @memberof Workspace\n */",
397
- "comment": "Install dependencies for all components in the workspace",
398
- "tags": [
399
- {
400
- "__schema": "ReturnTagSchema",
401
- "location": {
402
- "filePath": "install.main.runtime.ts",
403
- "line": 137,
404
- "character": 6
405
- },
406
- "tagName": "return"
407
- },
408
- {
409
- "__schema": "TagSchema",
410
- "location": {
411
- "filePath": "install.main.runtime.ts",
412
- "line": 138,
413
- "character": 6
414
- },
415
- "tagName": "memberof",
416
- "comment": "Workspace"
417
- }
418
- ]
419
- },
420
- "signature": "(method) InstallMain.install(packages?: string[], options?: WorkspaceInstallOptions): Promise<ComponentMap<string>>",
421
- "name": "install",
422
- "params": [
423
- {
424
- "__schema": "ParameterSchema",
425
- "location": {
426
- "filePath": "install.main.runtime.ts",
427
- "line": 140,
428
- "character": 17
429
- },
430
- "name": "packages",
431
- "type": {
432
- "__schema": "TypeArraySchema",
433
- "location": {
434
- "filePath": "install.main.runtime.ts",
435
- "line": 140,
436
- "character": 28
437
- },
438
- "type": {
439
- "__schema": "KeywordTypeSchema",
440
- "location": {
441
- "filePath": "install.main.runtime.ts",
442
- "line": 140,
443
- "character": 28
444
- },
445
- "name": "string"
446
- }
447
- },
448
- "isOptional": true,
449
- "isSpread": false
450
- },
451
- {
452
- "__schema": "ParameterSchema",
453
- "location": {
454
- "filePath": "install.main.runtime.ts",
455
- "line": 140,
456
- "character": 38
457
- },
458
- "name": "options",
459
- "type": {
460
- "__schema": "TypeRefSchema",
461
- "location": {
462
- "filePath": "install.main.runtime.ts",
463
- "line": 140,
464
- "character": 48
465
- },
466
- "name": "WorkspaceInstallOptions"
467
- },
468
- "isOptional": true,
469
- "isSpread": false
470
- }
471
- ],
472
- "returnType": {
473
- "__schema": "TypeRefSchema",
474
- "location": {
475
- "filePath": "install.main.runtime.ts",
476
- "line": 140,
477
- "character": 74
478
- },
479
- "name": "Promise",
480
- "typeArgs": [
481
- {
482
- "__schema": "TypeRefSchema",
483
- "location": {
484
- "filePath": "install.main.runtime.ts",
485
- "line": 140,
486
- "character": 82
487
- },
488
- "name": "ComponentMap",
489
- "typeArgs": [
490
- {
491
- "__schema": "KeywordTypeSchema",
492
- "location": {
493
- "filePath": "install.main.runtime.ts",
494
- "line": 140,
495
- "character": 95
496
- },
497
- "name": "string"
498
- }
499
- ]
500
- }
501
- ]
502
- },
503
- "modifiers": [
504
- "async"
505
- ]
506
- },
507
- {
508
- "__schema": "FunctionLikeSchema",
509
- "location": {
510
- "filePath": "install.main.runtime.ts",
511
- "line": 181,
512
- "character": 3
513
- },
514
- "signature": "(method) InstallMain.registerPreLink(fn: PreLink): void",
515
- "name": "registerPreLink",
516
- "params": [
517
- {
518
- "__schema": "ParameterSchema",
519
- "location": {
520
- "filePath": "install.main.runtime.ts",
521
- "line": 181,
522
- "character": 19
523
- },
524
- "name": "fn",
525
- "type": {
526
- "__schema": "TypeRefSchema",
527
- "location": {
528
- "filePath": "install.main.runtime.ts",
529
- "line": 181,
530
- "character": 23
531
- },
532
- "name": "PreLink"
533
- },
534
- "isOptional": false,
535
- "isSpread": false
536
- }
537
- ],
538
- "returnType": {
539
- "__schema": "InferenceTypeSchema",
540
- "location": {
541
- "filePath": "install.main.runtime.ts",
542
- "line": 181,
543
- "character": 3
544
- },
545
- "type": "void"
546
- },
547
- "modifiers": []
548
- },
549
- {
550
- "__schema": "FunctionLikeSchema",
551
- "location": {
552
- "filePath": "install.main.runtime.ts",
553
- "line": 185,
554
- "character": 3
555
- },
556
- "signature": "(method) InstallMain.registerPreInstall(fn: PreInstall): void",
557
- "name": "registerPreInstall",
558
- "params": [
559
- {
560
- "__schema": "ParameterSchema",
561
- "location": {
562
- "filePath": "install.main.runtime.ts",
563
- "line": 185,
564
- "character": 22
565
- },
566
- "name": "fn",
567
- "type": {
568
- "__schema": "TypeRefSchema",
569
- "location": {
570
- "filePath": "install.main.runtime.ts",
571
- "line": 185,
572
- "character": 26
573
- },
574
- "name": "PreInstall"
575
- },
576
- "isOptional": false,
577
- "isSpread": false
578
- }
579
- ],
580
- "returnType": {
581
- "__schema": "InferenceTypeSchema",
582
- "location": {
583
- "filePath": "install.main.runtime.ts",
584
- "line": 185,
585
- "character": 3
586
- },
587
- "type": "void"
588
- },
589
- "modifiers": []
590
- },
591
- {
592
- "__schema": "FunctionLikeSchema",
593
- "location": {
594
- "filePath": "install.main.runtime.ts",
595
- "line": 189,
596
- "character": 3
597
- },
598
- "signature": "(method) InstallMain.registerPostInstall(fn: PostInstall): void",
599
- "name": "registerPostInstall",
600
- "params": [
601
- {
602
- "__schema": "ParameterSchema",
603
- "location": {
604
- "filePath": "install.main.runtime.ts",
605
- "line": 189,
606
- "character": 23
607
- },
608
- "name": "fn",
609
- "type": {
610
- "__schema": "TypeRefSchema",
611
- "location": {
612
- "filePath": "install.main.runtime.ts",
613
- "line": 189,
614
- "character": 27
615
- },
616
- "name": "PostInstall"
617
- },
618
- "isOptional": false,
619
- "isSpread": false
620
- }
621
- ],
622
- "returnType": {
623
- "__schema": "InferenceTypeSchema",
624
- "location": {
625
- "filePath": "install.main.runtime.ts",
626
- "line": 189,
627
- "character": 3
628
- },
629
- "type": "void"
630
- },
631
- "modifiers": []
632
- },
633
- {
634
- "__schema": "FunctionLikeSchema",
635
- "location": {
636
- "filePath": "install.main.runtime.ts",
637
- "line": 193,
638
- "character": 3
639
- },
640
- "signature": "(method) InstallMain.onComponentCreate(generateResults: GenerateResult[]): Promise<void>",
641
- "name": "onComponentCreate",
642
- "params": [
643
- {
644
- "__schema": "ParameterSchema",
645
- "location": {
646
- "filePath": "install.main.runtime.ts",
647
- "line": 193,
648
- "character": 27
649
- },
650
- "name": "generateResults",
651
- "type": {
652
- "__schema": "TypeArraySchema",
653
- "location": {
654
- "filePath": "install.main.runtime.ts",
655
- "line": 193,
656
- "character": 44
657
- },
658
- "type": {
659
- "__schema": "TypeRefSchema",
660
- "location": {
661
- "filePath": "install.main.runtime.ts",
662
- "line": 193,
663
- "character": 44
664
- },
665
- "name": "GenerateResult"
666
- }
667
- },
668
- "isOptional": false,
669
- "isSpread": false
670
- }
671
- ],
672
- "returnType": {
673
- "__schema": "InferenceTypeSchema",
674
- "location": {
675
- "filePath": "install.main.runtime.ts",
676
- "line": 193,
677
- "character": 3
678
- },
679
- "type": "Promise<void>"
680
- },
681
- "modifiers": [
682
- "async"
683
- ]
684
- },
685
- {
686
- "__schema": "FunctionLikeSchema",
687
- "location": {
688
- "filePath": "install.main.runtime.ts",
689
- "line": 590,
690
- "character": 3
691
- },
692
- "doc": {
693
- "__schema": "DocSchema",
694
- "location": {
695
- "filePath": "install.main.runtime.ts",
696
- "line": 583,
697
- "character": 3
698
- },
699
- "raw": "/**\n * This function returns a list of old non-loaded environments names.\n * @returns an array of strings called `oldNonLoadedEnvs`. This array contains the names of environment variables that\n * failed to load as extensions and are also don't have an env.jsonc file.\n * If this list is not empty, then the user might need to run another install to make sure all dependencies resolved\n * correctly\n */",
700
- "comment": "This function returns a list of old non-loaded environments names.",
701
- "tags": [
702
- {
703
- "__schema": "ReturnTagSchema",
704
- "location": {
705
- "filePath": "install.main.runtime.ts",
706
- "line": 585,
707
- "character": 6
708
- },
709
- "tagName": "return",
710
- "comment": "an array of strings called `oldNonLoadedEnvs`. This array contains the names of environment variables that\nfailed to load as extensions and are also don't have an env.jsonc file.\nIf this list is not empty, then the user might need to run another install to make sure all dependencies resolved\ncorrectly"
711
- }
712
- ]
713
- },
714
- "signature": "(method) InstallMain.getOldNonLoadedEnvs(): string[]",
715
- "name": "getOldNonLoadedEnvs",
716
- "params": [],
717
- "returnType": {
718
- "__schema": "InferenceTypeSchema",
719
- "location": {
720
- "filePath": "install.main.runtime.ts",
721
- "line": 590,
722
- "character": 3
723
- },
724
- "type": "string[]"
725
- },
726
- "modifiers": [
727
- "public"
728
- ]
729
- },
730
- {
731
- "__schema": "FunctionLikeSchema",
732
- "location": {
733
- "filePath": "install.main.runtime.ts",
734
- "line": 741,
735
- "character": 3
736
- },
737
- "doc": {
738
- "__schema": "DocSchema",
739
- "location": {
740
- "filePath": "install.main.runtime.ts",
741
- "line": 736,
742
- "character": 3
743
- },
744
- "raw": "/**\n * Updates out-of-date dependencies in the workspace.\n *\n * @param options.all {Boolean} updates all outdated dependencies without showing a prompt.\n */",
745
- "comment": "Updates out-of-date dependencies in the workspace.",
746
- "tags": [
747
- {
748
- "__schema": "PropertyLikeTagSchema",
749
- "location": {
750
- "filePath": "install.main.runtime.ts",
751
- "line": 739,
752
- "character": 6
753
- },
754
- "name": "options.all",
755
- "tagName": "parameter",
756
- "comment": "updates all outdated dependencies without showing a prompt.",
757
- "type": {
758
- "__schema": "TypeRefSchema",
759
- "location": {
760
- "filePath": "install.main.runtime.ts",
761
- "line": 739,
762
- "character": 26
763
- },
764
- "name": "Boolean"
765
- }
766
- }
767
- ]
768
- },
769
- "signature": "(method) InstallMain.updateDependencies(options: {\n forceVersionBump?: 'major' | 'minor' | 'patch' | 'compatible';\n patterns?: string[];\n all: boolean;\n}): Promise<ComponentMap<string> | null>",
770
- "name": "updateDependencies",
771
- "params": [
772
- {
773
- "__schema": "ParameterSchema",
774
- "location": {
775
- "filePath": "install.main.runtime.ts",
776
- "line": 741,
777
- "character": 28
778
- },
779
- "name": "options",
780
- "type": {
781
- "__schema": "TypeLiteralSchema",
782
- "location": {
783
- "filePath": "install.main.runtime.ts",
784
- "line": 741,
785
- "character": 37
786
- },
787
- "members": [
788
- {
789
- "__schema": "VariableLikeSchema",
790
- "location": {
791
- "filePath": "install.main.runtime.ts",
792
- "line": 742,
793
- "character": 5
794
- },
795
- "signature": "(property) forceVersionBump?: \"patch\" | \"major\" | \"minor\" | \"compatible\" | undefined",
796
- "name": "forceVersionBump",
797
- "type": {
798
- "__schema": "TypeUnionSchema",
799
- "location": {
800
- "filePath": "install.main.runtime.ts",
801
- "line": 742,
802
- "character": 24
803
- },
804
- "types": [
805
- {
806
- "__schema": "LiteralTypeSchema",
807
- "location": {
808
- "filePath": "install.main.runtime.ts",
809
- "line": 742,
810
- "character": 24
811
- },
812
- "name": "'major'"
813
- },
814
- {
815
- "__schema": "LiteralTypeSchema",
816
- "location": {
817
- "filePath": "install.main.runtime.ts",
818
- "line": 742,
819
- "character": 34
820
- },
821
- "name": "'minor'"
822
- },
823
- {
824
- "__schema": "LiteralTypeSchema",
825
- "location": {
826
- "filePath": "install.main.runtime.ts",
827
- "line": 742,
828
- "character": 44
829
- },
830
- "name": "'patch'"
831
- },
832
- {
833
- "__schema": "LiteralTypeSchema",
834
- "location": {
835
- "filePath": "install.main.runtime.ts",
836
- "line": 742,
837
- "character": 54
838
- },
839
- "name": "'compatible'"
840
- }
841
- ]
842
- },
843
- "isOptional": true
844
- },
845
- {
846
- "__schema": "VariableLikeSchema",
847
- "location": {
848
- "filePath": "install.main.runtime.ts",
849
- "line": 743,
850
- "character": 5
851
- },
852
- "signature": "(property) patterns?: string[] | undefined",
853
- "name": "patterns",
854
- "type": {
855
- "__schema": "TypeArraySchema",
856
- "location": {
857
- "filePath": "install.main.runtime.ts",
858
- "line": 743,
859
- "character": 16
860
- },
861
- "type": {
862
- "__schema": "KeywordTypeSchema",
863
- "location": {
864
- "filePath": "install.main.runtime.ts",
865
- "line": 743,
866
- "character": 16
867
- },
868
- "name": "string"
869
- }
870
- },
871
- "isOptional": true
872
- },
873
- {
874
- "__schema": "VariableLikeSchema",
875
- "location": {
876
- "filePath": "install.main.runtime.ts",
877
- "line": 744,
878
- "character": 5
879
- },
880
- "signature": "(property) all: boolean",
881
- "name": "all",
882
- "type": {
883
- "__schema": "KeywordTypeSchema",
884
- "location": {
885
- "filePath": "install.main.runtime.ts",
886
- "line": 744,
887
- "character": 10
888
- },
889
- "name": "boolean"
890
- },
891
- "isOptional": false
892
- }
893
- ]
894
- },
895
- "isOptional": false,
896
- "isSpread": false
897
- }
898
- ],
899
- "returnType": {
900
- "__schema": "TypeRefSchema",
901
- "location": {
902
- "filePath": "install.main.runtime.ts",
903
- "line": 745,
904
- "character": 7
905
- },
906
- "name": "Promise",
907
- "typeArgs": [
908
- {
909
- "__schema": "TypeUnionSchema",
910
- "location": {
911
- "filePath": "install.main.runtime.ts",
912
- "line": 745,
913
- "character": 15
914
- },
915
- "types": [
916
- {
917
- "__schema": "TypeRefSchema",
918
- "location": {
919
- "filePath": "install.main.runtime.ts",
920
- "line": 745,
921
- "character": 15
922
- },
923
- "name": "ComponentMap",
924
- "typeArgs": [
925
- {
926
- "__schema": "KeywordTypeSchema",
927
- "location": {
928
- "filePath": "install.main.runtime.ts",
929
- "line": 745,
930
- "character": 28
931
- },
932
- "name": "string"
933
- }
934
- ]
935
- },
936
- {
937
- "__schema": "LiteralTypeSchema",
938
- "location": {
939
- "filePath": "install.main.runtime.ts",
940
- "line": 745,
941
- "character": 38
942
- },
943
- "name": "null"
944
- }
945
- ]
946
- }
947
- ]
948
- },
949
- "modifiers": [
950
- "async"
951
- ]
952
- },
953
- {
954
- "__schema": "FunctionLikeSchema",
955
- "location": {
956
- "filePath": "install.main.runtime.ts",
957
- "line": 788,
958
- "character": 3
959
- },
960
- "signature": "(method) InstallMain.addDuplicateComponentAndPackageIssue(components: Component[]): Promise<void>",
961
- "name": "addDuplicateComponentAndPackageIssue",
962
- "params": [
963
- {
964
- "__schema": "ParameterSchema",
965
- "location": {
966
- "filePath": "install.main.runtime.ts",
967
- "line": 788,
968
- "character": 46
969
- },
970
- "name": "components",
971
- "type": {
972
- "__schema": "TypeArraySchema",
973
- "location": {
974
- "filePath": "install.main.runtime.ts",
975
- "line": 788,
976
- "character": 58
977
- },
978
- "type": {
979
- "__schema": "TypeRefSchema",
980
- "location": {
981
- "filePath": "install.main.runtime.ts",
982
- "line": 788,
983
- "character": 58
984
- },
985
- "name": "Component"
986
- }
987
- },
988
- "isOptional": false,
989
- "isSpread": false
990
- }
991
- ],
992
- "returnType": {
993
- "__schema": "InferenceTypeSchema",
994
- "location": {
995
- "filePath": "install.main.runtime.ts",
996
- "line": 788,
997
- "character": 3
998
- },
999
- "type": "Promise<void>"
1000
- },
1001
- "modifiers": [
1002
- "async"
1003
- ]
1004
- },
1005
- {
1006
- "__schema": "FunctionLikeSchema",
1007
- "location": {
1008
- "filePath": "install.main.runtime.ts",
1009
- "line": 857,
1010
- "character": 3
1011
- },
1012
- "doc": {
1013
- "__schema": "DocSchema",
1014
- "location": {
1015
- "filePath": "install.main.runtime.ts",
1016
- "line": 852,
1017
- "character": 3
1018
- },
1019
- "raw": "/**\n * Uninstall the specified packages from dependencies.\n *\n * @param {string[]} the list of packages that should be removed from dependencies.\n */",
1020
- "comment": "Uninstall the specified packages from dependencies.",
1021
- "tags": [
1022
- {
1023
- "__schema": "PropertyLikeTagSchema",
1024
- "location": {
1025
- "filePath": "install.main.runtime.ts",
1026
- "line": 855,
1027
- "character": 6
1028
- },
1029
- "name": "the",
1030
- "tagName": "parameter",
1031
- "comment": "list of packages that should be removed from dependencies.",
1032
- "type": {
1033
- "__schema": "TypeArraySchema",
1034
- "location": {
1035
- "filePath": "install.main.runtime.ts",
1036
- "line": 855,
1037
- "character": 14
1038
- },
1039
- "type": {
1040
- "__schema": "KeywordTypeSchema",
1041
- "location": {
1042
- "filePath": "install.main.runtime.ts",
1043
- "line": 855,
1044
- "character": 14
1045
- },
1046
- "name": "string"
1047
- }
1048
- }
1049
- }
1050
- ]
1051
- },
1052
- "signature": "(method) InstallMain.uninstallDependencies(packages: string[]): Promise<ComponentMap<string>>",
1053
- "name": "uninstallDependencies",
1054
- "params": [
1055
- {
1056
- "__schema": "ParameterSchema",
1057
- "location": {
1058
- "filePath": "install.main.runtime.ts",
1059
- "line": 857,
1060
- "character": 31
1061
- },
1062
- "name": "packages",
1063
- "type": {
1064
- "__schema": "TypeArraySchema",
1065
- "location": {
1066
- "filePath": "install.main.runtime.ts",
1067
- "line": 857,
1068
- "character": 41
1069
- },
1070
- "type": {
1071
- "__schema": "KeywordTypeSchema",
1072
- "location": {
1073
- "filePath": "install.main.runtime.ts",
1074
- "line": 857,
1075
- "character": 41
1076
- },
1077
- "name": "string"
1078
- }
1079
- },
1080
- "isOptional": false,
1081
- "isSpread": false
1082
- }
1083
- ],
1084
- "returnType": {
1085
- "__schema": "InferenceTypeSchema",
1086
- "location": {
1087
- "filePath": "install.main.runtime.ts",
1088
- "line": 857,
1089
- "character": 3
1090
- },
1091
- "type": "Promise<ComponentMap<string>>"
1092
- },
1093
- "modifiers": [
1094
- "async"
1095
- ]
1096
- },
1097
- {
1098
- "__schema": "FunctionLikeSchema",
1099
- "location": {
1100
- "filePath": "install.main.runtime.ts",
1101
- "line": 867,
1102
- "character": 3
1103
- },
1104
- "doc": {
1105
- "__schema": "DocSchema",
1106
- "location": {
1107
- "filePath": "install.main.runtime.ts",
1108
- "line": 863,
1109
- "character": 3
1110
- },
1111
- "raw": "/**\n * This function returns all the locations of the external links that should be created inside node_modules.\n * This information may then be passed to the package manager, which will create the links on its own.\n */",
1112
- "comment": "This function returns all the locations of the external links that should be created inside node_modules.\nThis information may then be passed to the package manager, which will create the links on its own."
1113
- },
1114
- "signature": "(method) InstallMain.calculateLinks(options?: WorkspaceLinkOptions): Promise<{\n linkResults: WorkspaceLinkResults;\n linkedRootDeps: Record<string, string>;\n}>",
1115
- "name": "calculateLinks",
1116
- "params": [
1117
- {
1118
- "__schema": "ParameterSchema",
1119
- "location": {
1120
- "filePath": "install.main.runtime.ts",
1121
- "line": 868,
1122
- "character": 5
1123
- },
1124
- "name": "options",
1125
- "type": {
1126
- "__schema": "TypeRefSchema",
1127
- "location": {
1128
- "filePath": "install.main.runtime.ts",
1129
- "line": 868,
1130
- "character": 14
1131
- },
1132
- "name": "WorkspaceLinkOptions"
1133
- },
1134
- "isOptional": true,
1135
- "defaultValue": "{}",
1136
- "isSpread": false
1137
- }
1138
- ],
1139
- "returnType": {
1140
- "__schema": "TypeRefSchema",
1141
- "location": {
1142
- "filePath": "install.main.runtime.ts",
1143
- "line": 869,
1144
- "character": 6
1145
- },
1146
- "name": "Promise",
1147
- "typeArgs": [
1148
- {
1149
- "__schema": "TypeLiteralSchema",
1150
- "location": {
1151
- "filePath": "install.main.runtime.ts",
1152
- "line": 869,
1153
- "character": 14
1154
- },
1155
- "members": [
1156
- {
1157
- "__schema": "VariableLikeSchema",
1158
- "location": {
1159
- "filePath": "install.main.runtime.ts",
1160
- "line": 869,
1161
- "character": 16
1162
- },
1163
- "signature": "(property) linkResults: WorkspaceLinkResults",
1164
- "name": "linkResults",
1165
- "type": {
1166
- "__schema": "TypeRefSchema",
1167
- "location": {
1168
- "filePath": "install.main.runtime.ts",
1169
- "line": 869,
1170
- "character": 16
1171
- },
1172
- "name": "WorkspaceLinkResults",
1173
- "internalFilePath": "install.main.runtime.ts"
1174
- },
1175
- "isOptional": false
1176
- },
1177
- {
1178
- "__schema": "VariableLikeSchema",
1179
- "location": {
1180
- "filePath": "install.main.runtime.ts",
1181
- "line": 869,
1182
- "character": 51
1183
- },
1184
- "signature": "(property) linkedRootDeps: Record<string, string>",
1185
- "name": "linkedRootDeps",
1186
- "type": {
1187
- "__schema": "TypeRefSchema",
1188
- "location": {
1189
- "filePath": "install.main.runtime.ts",
1190
- "line": 869,
1191
- "character": 67
1192
- },
1193
- "name": "Record",
1194
- "typeArgs": [
1195
- {
1196
- "__schema": "KeywordTypeSchema",
1197
- "location": {
1198
- "filePath": "install.main.runtime.ts",
1199
- "line": 869,
1200
- "character": 74
1201
- },
1202
- "name": "string"
1203
- },
1204
- {
1205
- "__schema": "KeywordTypeSchema",
1206
- "location": {
1207
- "filePath": "install.main.runtime.ts",
1208
- "line": 869,
1209
- "character": 82
1210
- },
1211
- "name": "string"
1212
- }
1213
- ]
1214
- },
1215
- "isOptional": false
1216
- }
1217
- ]
1218
- }
1219
- ]
1220
- },
1221
- "modifiers": [
1222
- "async"
1223
- ]
1224
- },
1225
- {
1226
- "__schema": "FunctionLikeSchema",
1227
- "location": {
1228
- "filePath": "install.main.runtime.ts",
1229
- "line": 893,
1230
- "character": 3
1231
- },
1232
- "signature": "(method) InstallMain.linkCodemods(compDirMap: ComponentMap<string>, options?: {\n rewire?: boolean;\n}): Promise<{\n linksResults: NodeModulesLinksResult[];\n codemodResults: any;\n}>",
1233
- "name": "linkCodemods",
1234
- "params": [
1235
- {
1236
- "__schema": "ParameterSchema",
1237
- "location": {
1238
- "filePath": "install.main.runtime.ts",
1239
- "line": 893,
1240
- "character": 22
1241
- },
1242
- "name": "compDirMap",
1243
- "type": {
1244
- "__schema": "TypeRefSchema",
1245
- "location": {
1246
- "filePath": "install.main.runtime.ts",
1247
- "line": 893,
1248
- "character": 34
1249
- },
1250
- "name": "ComponentMap",
1251
- "typeArgs": [
1252
- {
1253
- "__schema": "KeywordTypeSchema",
1254
- "location": {
1255
- "filePath": "install.main.runtime.ts",
1256
- "line": 893,
1257
- "character": 47
1258
- },
1259
- "name": "string"
1260
- }
1261
- ]
1262
- },
1263
- "isOptional": false,
1264
- "isSpread": false
1265
- },
1266
- {
1267
- "__schema": "ParameterSchema",
1268
- "location": {
1269
- "filePath": "install.main.runtime.ts",
1270
- "line": 893,
1271
- "character": 56
1272
- },
1273
- "name": "options",
1274
- "type": {
1275
- "__schema": "TypeLiteralSchema",
1276
- "location": {
1277
- "filePath": "install.main.runtime.ts",
1278
- "line": 893,
1279
- "character": 66
1280
- },
1281
- "members": [
1282
- {
1283
- "__schema": "VariableLikeSchema",
1284
- "location": {
1285
- "filePath": "install.main.runtime.ts",
1286
- "line": 893,
1287
- "character": 68
1288
- },
1289
- "signature": "(property) rewire?: boolean | undefined",
1290
- "name": "rewire",
1291
- "type": {
1292
- "__schema": "KeywordTypeSchema",
1293
- "location": {
1294
- "filePath": "install.main.runtime.ts",
1295
- "line": 893,
1296
- "character": 77
1297
- },
1298
- "name": "boolean"
1299
- },
1300
- "isOptional": true
1301
- }
1302
- ]
1303
- },
1304
- "isOptional": true,
1305
- "isSpread": false
1306
- }
1307
- ],
1308
- "returnType": {
1309
- "__schema": "InferenceTypeSchema",
1310
- "location": {
1311
- "filePath": "install.main.runtime.ts",
1312
- "line": 893,
1313
- "character": 3
1314
- },
1315
- "type": "Promise<{\n linksResults: NodeModulesLinksResult[];\n codemodResults: any;\n}>"
1316
- },
1317
- "modifiers": [
1318
- "async"
1319
- ]
1320
- },
1321
- {
1322
- "__schema": "FunctionLikeSchema",
1323
- "location": {
1324
- "filePath": "install.main.runtime.ts",
1325
- "line": 898,
1326
- "character": 3
1327
- },
1328
- "signature": "(method) InstallMain.link(options?: WorkspaceLinkOptions): Promise<WorkspaceLinkResults>",
1329
- "name": "link",
1330
- "params": [
1331
- {
1332
- "__schema": "ParameterSchema",
1333
- "location": {
1334
- "filePath": "install.main.runtime.ts",
1335
- "line": 898,
1336
- "character": 14
1337
- },
1338
- "name": "options",
1339
- "type": {
1340
- "__schema": "TypeRefSchema",
1341
- "location": {
1342
- "filePath": "install.main.runtime.ts",
1343
- "line": 898,
1344
- "character": 23
1345
- },
1346
- "name": "WorkspaceLinkOptions"
1347
- },
1348
- "isOptional": true,
1349
- "defaultValue": "{}",
1350
- "isSpread": false
1351
- }
1352
- ],
1353
- "returnType": {
1354
- "__schema": "TypeRefSchema",
1355
- "location": {
1356
- "filePath": "install.main.runtime.ts",
1357
- "line": 898,
1358
- "character": 51
1359
- },
1360
- "name": "Promise",
1361
- "typeArgs": [
1362
- {
1363
- "__schema": "TypeRefSchema",
1364
- "location": {
1365
- "filePath": "install.main.runtime.ts",
1366
- "line": 898,
1367
- "character": 59
1368
- },
1369
- "name": "WorkspaceLinkResults"
1370
- }
1371
- ]
1372
- },
1373
- "modifiers": [
1374
- "async"
1375
- ]
1376
- },
1377
- {
1378
- "__schema": "VariableLikeSchema",
1379
- "location": {
1380
- "filePath": "install.main.runtime.ts",
1381
- "line": 1000,
1382
- "character": 3
1383
- },
1384
- "signature": "(property) InstallMain.slots: (((registerFn: () => string) => SlotRegistry<PreLinkSlot>) | ((registerFn: () => string) => SlotRegistry<PreInstallSlot>))[]",
1385
- "name": "slots",
1386
- "type": {
1387
- "__schema": "InferenceTypeSchema",
1388
- "location": {
1389
- "filePath": "install.main.runtime.ts",
1390
- "line": 1000,
1391
- "character": 3
1392
- },
1393
- "type": "(((registerFn: () => string) => SlotRegistry<PreLinkSlot>) | ((registerFn: () => string) => SlotRegistry<PreInstallSlot>))[]"
1394
- },
1395
- "isOptional": true,
1396
- "defaultValue": "[Slot.withType<PreLinkSlot>(), Slot.withType<PreInstallSlot>(), Slot.withType<PostInstallSlot>()]"
1397
- },
1398
- {
1399
- "__schema": "VariableLikeSchema",
1400
- "location": {
1401
- "filePath": "install.main.runtime.ts",
1402
- "line": 1001,
1403
- "character": 3
1404
- },
1405
- "signature": "(property) InstallMain.dependencies: Aspect[]",
1406
- "name": "dependencies",
1407
- "type": {
1408
- "__schema": "InferenceTypeSchema",
1409
- "location": {
1410
- "filePath": "install.main.runtime.ts",
1411
- "line": 1001,
1412
- "character": 3
1413
- },
1414
- "type": "Aspect[]"
1415
- },
1416
- "isOptional": true,
1417
- "defaultValue": "[\n DependencyResolverAspect,\n WorkspaceAspect,\n LoggerAspect,\n VariantsAspect,\n CLIAspect,\n CompilerAspect,\n IssuesAspect,\n EnvsAspect,\n ApplicationAspect,\n IpcEventsAspect,\n GeneratorAspect,\n WorkspaceConfigFilesAspect,\n ]"
1418
- },
1419
- {
1420
- "__schema": "VariableLikeSchema",
1421
- "location": {
1422
- "filePath": "install.main.runtime.ts",
1423
- "line": 1016,
1424
- "character": 3
1425
- },
1426
- "signature": "(property) InstallMain.runtime: RuntimeDefinition",
1427
- "name": "runtime",
1428
- "type": {
1429
- "__schema": "InferenceTypeSchema",
1430
- "location": {
1431
- "filePath": "install.main.runtime.ts",
1432
- "line": 1016,
1433
- "character": 3
1434
- },
1435
- "type": "RuntimeDefinition"
1436
- },
1437
- "isOptional": true,
1438
- "defaultValue": "MainRuntime"
1439
- },
1440
- {
1441
- "__schema": "FunctionLikeSchema",
1442
- "location": {
1443
- "filePath": "install.main.runtime.ts",
1444
- "line": 1018,
1445
- "character": 3
1446
- },
1447
- "signature": "(method) InstallMain.provider([dependencyResolver, workspace, loggerExt, variants, cli, compiler, issues, envs, app, ipcEvents, generator, wsConfigFiles,]: [\n DependencyResolverMain,\n Workspace,\n LoggerMain,\n VariantsMain,\n CLIMain,\n CompilerMain,\n IssuesMain,\n EnvsMain,\n ApplicationMain,\n IpcEventsMain,\n GeneratorMain,\n WorkspaceConfigFilesMain\n], _: any, [preLinkSlot, preInstallSlot, postInstallSlot]: [PreLinkSlot, PreInstallSlot, PostInstallSlot]): Promise<InstallMain>",
1448
- "name": "provider",
1449
- "params": [
1450
- {
1451
- "__schema": "ParameterSchema",
1452
- "location": {
1453
- "filePath": "install.main.runtime.ts",
1454
- "line": 1019,
1455
- "character": 5
1456
- },
1457
- "name": "[ dependencyResolver, workspace, loggerExt, variants, cli, compiler, issues, envs, app, ipcEvents, generator, wsConfigFiles ]",
1458
- "type": {
1459
- "__schema": "TupleTypeSchema",
1460
- "location": {
1461
- "filePath": "install.main.runtime.ts",
1462
- "line": 1032,
1463
- "character": 8
1464
- },
1465
- "elements": [
1466
- {
1467
- "__schema": "TypeRefSchema",
1468
- "location": {
1469
- "filePath": "install.main.runtime.ts",
1470
- "line": 1033,
1471
- "character": 7
1472
- },
1473
- "name": "DependencyResolverMain"
1474
- },
1475
- {
1476
- "__schema": "TypeRefSchema",
1477
- "location": {
1478
- "filePath": "install.main.runtime.ts",
1479
- "line": 1034,
1480
- "character": 7
1481
- },
1482
- "name": "Workspace"
1483
- },
1484
- {
1485
- "__schema": "TypeRefSchema",
1486
- "location": {
1487
- "filePath": "install.main.runtime.ts",
1488
- "line": 1035,
1489
- "character": 7
1490
- },
1491
- "name": "LoggerMain"
1492
- },
1493
- {
1494
- "__schema": "TypeRefSchema",
1495
- "location": {
1496
- "filePath": "install.main.runtime.ts",
1497
- "line": 1036,
1498
- "character": 7
1499
- },
1500
- "name": "VariantsMain"
1501
- },
1502
- {
1503
- "__schema": "TypeRefSchema",
1504
- "location": {
1505
- "filePath": "install.main.runtime.ts",
1506
- "line": 1037,
1507
- "character": 7
1508
- },
1509
- "name": "CLIMain"
1510
- },
1511
- {
1512
- "__schema": "TypeRefSchema",
1513
- "location": {
1514
- "filePath": "install.main.runtime.ts",
1515
- "line": 1038,
1516
- "character": 7
1517
- },
1518
- "name": "CompilerMain"
1519
- },
1520
- {
1521
- "__schema": "TypeRefSchema",
1522
- "location": {
1523
- "filePath": "install.main.runtime.ts",
1524
- "line": 1039,
1525
- "character": 7
1526
- },
1527
- "name": "IssuesMain"
1528
- },
1529
- {
1530
- "__schema": "TypeRefSchema",
1531
- "location": {
1532
- "filePath": "install.main.runtime.ts",
1533
- "line": 1040,
1534
- "character": 7
1535
- },
1536
- "name": "EnvsMain"
1537
- },
1538
- {
1539
- "__schema": "TypeRefSchema",
1540
- "location": {
1541
- "filePath": "install.main.runtime.ts",
1542
- "line": 1041,
1543
- "character": 7
1544
- },
1545
- "name": "ApplicationMain"
1546
- },
1547
- {
1548
- "__schema": "TypeRefSchema",
1549
- "location": {
1550
- "filePath": "install.main.runtime.ts",
1551
- "line": 1042,
1552
- "character": 7
1553
- },
1554
- "name": "IpcEventsMain"
1555
- },
1556
- {
1557
- "__schema": "TypeRefSchema",
1558
- "location": {
1559
- "filePath": "install.main.runtime.ts",
1560
- "line": 1043,
1561
- "character": 7
1562
- },
1563
- "name": "GeneratorMain"
1564
- },
1565
- {
1566
- "__schema": "TypeRefSchema",
1567
- "location": {
1568
- "filePath": "install.main.runtime.ts",
1569
- "line": 1044,
1570
- "character": 7
1571
- },
1572
- "name": "WorkspaceConfigFilesMain"
1573
- }
1574
- ]
1575
- },
1576
- "isOptional": false,
1577
- "isSpread": false
1578
- },
1579
- {
1580
- "__schema": "ParameterSchema",
1581
- "location": {
1582
- "filePath": "install.main.runtime.ts",
1583
- "line": 1046,
1584
- "character": 5
1585
- },
1586
- "name": "_",
1587
- "type": {
1588
- "__schema": "InferenceTypeSchema",
1589
- "location": {
1590
- "filePath": "install.main.runtime.ts",
1591
- "line": 1046,
1592
- "character": 5
1593
- },
1594
- "type": "any"
1595
- },
1596
- "isOptional": false,
1597
- "isSpread": false
1598
- },
1599
- {
1600
- "__schema": "ParameterSchema",
1601
- "location": {
1602
- "filePath": "install.main.runtime.ts",
1603
- "line": 1047,
1604
- "character": 5
1605
- },
1606
- "name": "[ preLinkSlot, preInstallSlot, postInstallSlot ]",
1607
- "type": {
1608
- "__schema": "TupleTypeSchema",
1609
- "location": {
1610
- "filePath": "install.main.runtime.ts",
1611
- "line": 1047,
1612
- "character": 53
1613
- },
1614
- "elements": [
1615
- {
1616
- "__schema": "TypeRefSchema",
1617
- "location": {
1618
- "filePath": "install.main.runtime.ts",
1619
- "line": 1047,
1620
- "character": 54
1621
- },
1622
- "name": "PreLinkSlot"
1623
- },
1624
- {
1625
- "__schema": "TypeRefSchema",
1626
- "location": {
1627
- "filePath": "install.main.runtime.ts",
1628
- "line": 1047,
1629
- "character": 67
1630
- },
1631
- "name": "PreInstallSlot"
1632
- },
1633
- {
1634
- "__schema": "TypeRefSchema",
1635
- "location": {
1636
- "filePath": "install.main.runtime.ts",
1637
- "line": 1047,
1638
- "character": 83
1639
- },
1640
- "name": "PostInstallSlot"
1641
- }
1642
- ]
1643
- },
1644
- "isOptional": false,
1645
- "isSpread": false
1646
- }
1647
- ],
1648
- "returnType": {
1649
- "__schema": "InferenceTypeSchema",
1650
- "location": {
1651
- "filePath": "install.main.runtime.ts",
1652
- "line": 1018,
1653
- "character": 3
1654
- },
1655
- "type": "Promise<InstallMain>"
1656
- },
1657
- "modifiers": [
1658
- "static",
1659
- "async"
1660
- ]
1661
- }
1662
- ],
1663
- "extendsNodes": [],
1664
- "implementNodes": []
1665
- },
1666
- {
1667
- "__schema": "UnImplementedSchema",
1668
- "location": {
1669
- "filePath": "index.ts",
1670
- "line": 5,
1671
- "character": 16
1672
- },
1673
- "name": "InstallAspect",
1674
- "type": "Identifier"
1675
- },
1676
- {
1677
- "__schema": "VariableLikeSchema",
1678
- "location": {
1679
- "filePath": "install.aspect.ts",
1680
- "line": 3,
1681
- "character": 14
1682
- },
1683
- "signature": "const InstallAspect: Aspect",
1684
- "name": "InstallAspect",
1685
- "type": {
1686
- "__schema": "TypeRefSchema",
1687
- "location": {
1688
- "filePath": "install.aspect.ts",
1689
- "line": 3,
1690
- "character": 14
1691
- },
1692
- "name": "Aspect",
1693
- "componentId": {
1694
- "scope": "teambit.harmony",
1695
- "name": "harmony",
1696
- "version": "0.4.6"
1697
- }
1698
- },
1699
- "isOptional": false,
1700
- "defaultValue": "Aspect.create({\n id: 'teambit.workspace/install',\n})"
1701
- }
1702
- ],
1703
- "internals": []
1704
- },
1705
- "internals": [
1706
- {
1707
- "__schema": "ModuleSchema",
1708
- "location": {
1709
- "filePath": "install.main.runtime.ts",
1710
- "line": 1,
1711
- "character": 1
1712
- },
1713
- "exports": [
1714
- {
1715
- "__schema": "TypeSchema",
1716
- "location": {
1717
- "filePath": "install.main.runtime.ts",
1718
- "line": 56,
1719
- "character": 1
1720
- },
1721
- "signature": "type WorkspaceLinkOptions = LinkingOptions & {\n rootPolicy?: WorkspacePolicy | undefined;\n linkToBitRoots?: boolean | undefined;\n includePeers?: boolean | undefined;\n}",
1722
- "name": "WorkspaceLinkOptions",
1723
- "type": {
1724
- "__schema": "TypeIntersectionSchema",
1725
- "location": {
1726
- "filePath": "install.main.runtime.ts",
1727
- "line": 56,
1728
- "character": 36
1729
- },
1730
- "types": [
1731
- {
1732
- "__schema": "TypeRefSchema",
1733
- "location": {
1734
- "filePath": "install.main.runtime.ts",
1735
- "line": 56,
1736
- "character": 36
1737
- },
1738
- "name": "LinkingOptions"
1739
- },
1740
- {
1741
- "__schema": "TypeLiteralSchema",
1742
- "location": {
1743
- "filePath": "install.main.runtime.ts",
1744
- "line": 56,
1745
- "character": 53
1746
- },
1747
- "members": [
1748
- {
1749
- "__schema": "VariableLikeSchema",
1750
- "location": {
1751
- "filePath": "install.main.runtime.ts",
1752
- "line": 57,
1753
- "character": 3
1754
- },
1755
- "signature": "(property) rootPolicy?: WorkspacePolicy | undefined",
1756
- "name": "rootPolicy",
1757
- "type": {
1758
- "__schema": "TypeRefSchema",
1759
- "location": {
1760
- "filePath": "install.main.runtime.ts",
1761
- "line": 57,
1762
- "character": 16
1763
- },
1764
- "name": "WorkspacePolicy"
1765
- },
1766
- "isOptional": true
1767
- },
1768
- {
1769
- "__schema": "VariableLikeSchema",
1770
- "location": {
1771
- "filePath": "install.main.runtime.ts",
1772
- "line": 58,
1773
- "character": 3
1774
- },
1775
- "signature": "(property) linkToBitRoots?: boolean | undefined",
1776
- "name": "linkToBitRoots",
1777
- "type": {
1778
- "__schema": "KeywordTypeSchema",
1779
- "location": {
1780
- "filePath": "install.main.runtime.ts",
1781
- "line": 58,
1782
- "character": 20
1783
- },
1784
- "name": "boolean"
1785
- },
1786
- "isOptional": true
1787
- },
1788
- {
1789
- "__schema": "VariableLikeSchema",
1790
- "location": {
1791
- "filePath": "install.main.runtime.ts",
1792
- "line": 59,
1793
- "character": 3
1794
- },
1795
- "signature": "(property) includePeers?: boolean | undefined",
1796
- "name": "includePeers",
1797
- "type": {
1798
- "__schema": "KeywordTypeSchema",
1799
- "location": {
1800
- "filePath": "install.main.runtime.ts",
1801
- "line": 59,
1802
- "character": 18
1803
- },
1804
- "name": "boolean"
1805
- },
1806
- "isOptional": true
1807
- }
1808
- ]
1809
- }
1810
- ]
1811
- }
1812
- },
1813
- {
1814
- "__schema": "TypeSchema",
1815
- "location": {
1816
- "filePath": "install.main.runtime.ts",
1817
- "line": 62,
1818
- "character": 1
1819
- },
1820
- "signature": "type WorkspaceLinkResults = {\n legacyLinkResults?: NodeModulesLinksResult[] | undefined;\n legacyLinkCodemodResults?: CodemodResult[] | undefined;\n} & LinkResults",
1821
- "name": "WorkspaceLinkResults",
1822
- "type": {
1823
- "__schema": "TypeIntersectionSchema",
1824
- "location": {
1825
- "filePath": "install.main.runtime.ts",
1826
- "line": 62,
1827
- "character": 36
1828
- },
1829
- "types": [
1830
- {
1831
- "__schema": "TypeLiteralSchema",
1832
- "location": {
1833
- "filePath": "install.main.runtime.ts",
1834
- "line": 62,
1835
- "character": 36
1836
- },
1837
- "members": [
1838
- {
1839
- "__schema": "VariableLikeSchema",
1840
- "location": {
1841
- "filePath": "install.main.runtime.ts",
1842
- "line": 63,
1843
- "character": 3
1844
- },
1845
- "signature": "(property) legacyLinkResults?: NodeModulesLinksResult[] | undefined",
1846
- "name": "legacyLinkResults",
1847
- "type": {
1848
- "__schema": "TypeArraySchema",
1849
- "location": {
1850
- "filePath": "install.main.runtime.ts",
1851
- "line": 63,
1852
- "character": 23
1853
- },
1854
- "type": {
1855
- "__schema": "TypeRefSchema",
1856
- "location": {
1857
- "filePath": "install.main.runtime.ts",
1858
- "line": 63,
1859
- "character": 23
1860
- },
1861
- "name": "NodeModulesLinksResult"
1862
- }
1863
- },
1864
- "isOptional": true
1865
- },
1866
- {
1867
- "__schema": "VariableLikeSchema",
1868
- "location": {
1869
- "filePath": "install.main.runtime.ts",
1870
- "line": 64,
1871
- "character": 3
1872
- },
1873
- "signature": "(property) legacyLinkCodemodResults?: CodemodResult[] | undefined",
1874
- "name": "legacyLinkCodemodResults",
1875
- "type": {
1876
- "__schema": "TypeArraySchema",
1877
- "location": {
1878
- "filePath": "install.main.runtime.ts",
1879
- "line": 64,
1880
- "character": 30
1881
- },
1882
- "type": {
1883
- "__schema": "TypeRefSchema",
1884
- "location": {
1885
- "filePath": "install.main.runtime.ts",
1886
- "line": 64,
1887
- "character": 30
1888
- },
1889
- "name": "CodemodResult"
1890
- }
1891
- },
1892
- "isOptional": true
1893
- }
1894
- ]
1895
- },
1896
- {
1897
- "__schema": "TypeRefSchema",
1898
- "location": {
1899
- "filePath": "install.main.runtime.ts",
1900
- "line": 65,
1901
- "character": 5
1902
- },
1903
- "name": "LinkResults"
1904
- }
1905
- ]
1906
- }
1907
- },
1908
- {
1909
- "__schema": "TypeSchema",
1910
- "location": {
1911
- "filePath": "install.main.runtime.ts",
1912
- "line": 67,
1913
- "character": 1
1914
- },
1915
- "signature": "type WorkspaceInstallOptions = {\n addMissingDeps?: boolean | undefined;\n addMissingPeers?: boolean | undefined;\n lifecycleType?: WorkspaceDependencyLifecycleType | undefined;\n ... 14 more ...;\n skipPrune?: boolean | undefined;\n}",
1916
- "name": "WorkspaceInstallOptions",
1917
- "type": {
1918
- "__schema": "TypeLiteralSchema",
1919
- "location": {
1920
- "filePath": "install.main.runtime.ts",
1921
- "line": 67,
1922
- "character": 39
1923
- },
1924
- "members": [
1925
- {
1926
- "__schema": "VariableLikeSchema",
1927
- "location": {
1928
- "filePath": "install.main.runtime.ts",
1929
- "line": 68,
1930
- "character": 3
1931
- },
1932
- "signature": "(property) addMissingDeps?: boolean | undefined",
1933
- "name": "addMissingDeps",
1934
- "type": {
1935
- "__schema": "KeywordTypeSchema",
1936
- "location": {
1937
- "filePath": "install.main.runtime.ts",
1938
- "line": 68,
1939
- "character": 20
1940
- },
1941
- "name": "boolean"
1942
- },
1943
- "isOptional": true
1944
- },
1945
- {
1946
- "__schema": "VariableLikeSchema",
1947
- "location": {
1948
- "filePath": "install.main.runtime.ts",
1949
- "line": 69,
1950
- "character": 3
1951
- },
1952
- "signature": "(property) addMissingPeers?: boolean | undefined",
1953
- "name": "addMissingPeers",
1954
- "type": {
1955
- "__schema": "KeywordTypeSchema",
1956
- "location": {
1957
- "filePath": "install.main.runtime.ts",
1958
- "line": 69,
1959
- "character": 21
1960
- },
1961
- "name": "boolean"
1962
- },
1963
- "isOptional": true
1964
- },
1965
- {
1966
- "__schema": "VariableLikeSchema",
1967
- "location": {
1968
- "filePath": "install.main.runtime.ts",
1969
- "line": 70,
1970
- "character": 3
1971
- },
1972
- "signature": "(property) lifecycleType?: WorkspaceDependencyLifecycleType | undefined",
1973
- "name": "lifecycleType",
1974
- "type": {
1975
- "__schema": "TypeRefSchema",
1976
- "location": {
1977
- "filePath": "install.main.runtime.ts",
1978
- "line": 70,
1979
- "character": 19
1980
- },
1981
- "name": "WorkspaceDependencyLifecycleType"
1982
- },
1983
- "isOptional": true
1984
- },
1985
- {
1986
- "__schema": "VariableLikeSchema",
1987
- "location": {
1988
- "filePath": "install.main.runtime.ts",
1989
- "line": 71,
1990
- "character": 3
1991
- },
1992
- "signature": "(property) dedupe?: boolean | undefined",
1993
- "name": "dedupe",
1994
- "type": {
1995
- "__schema": "KeywordTypeSchema",
1996
- "location": {
1997
- "filePath": "install.main.runtime.ts",
1998
- "line": 71,
1999
- "character": 12
2000
- },
2001
- "name": "boolean"
2002
- },
2003
- "isOptional": true
2004
- },
2005
- {
2006
- "__schema": "VariableLikeSchema",
2007
- "location": {
2008
- "filePath": "install.main.runtime.ts",
2009
- "line": 72,
2010
- "character": 3
2011
- },
2012
- "signature": "(property) import?: boolean | undefined",
2013
- "name": "import",
2014
- "type": {
2015
- "__schema": "KeywordTypeSchema",
2016
- "location": {
2017
- "filePath": "install.main.runtime.ts",
2018
- "line": 72,
2019
- "character": 12
2020
- },
2021
- "name": "boolean"
2022
- },
2023
- "isOptional": true
2024
- },
2025
- {
2026
- "__schema": "VariableLikeSchema",
2027
- "location": {
2028
- "filePath": "install.main.runtime.ts",
2029
- "line": 73,
2030
- "character": 3
2031
- },
2032
- "signature": "(property) copyPeerToRuntimeOnRoot?: boolean | undefined",
2033
- "name": "copyPeerToRuntimeOnRoot",
2034
- "type": {
2035
- "__schema": "KeywordTypeSchema",
2036
- "location": {
2037
- "filePath": "install.main.runtime.ts",
2038
- "line": 73,
2039
- "character": 29
2040
- },
2041
- "name": "boolean"
2042
- },
2043
- "isOptional": true
2044
- },
2045
- {
2046
- "__schema": "VariableLikeSchema",
2047
- "location": {
2048
- "filePath": "install.main.runtime.ts",
2049
- "line": 74,
2050
- "character": 3
2051
- },
2052
- "signature": "(property) copyPeerToRuntimeOnComponents?: boolean | undefined",
2053
- "name": "copyPeerToRuntimeOnComponents",
2054
- "type": {
2055
- "__schema": "KeywordTypeSchema",
2056
- "location": {
2057
- "filePath": "install.main.runtime.ts",
2058
- "line": 74,
2059
- "character": 35
2060
- },
2061
- "name": "boolean"
2062
- },
2063
- "isOptional": true
2064
- },
2065
- {
2066
- "__schema": "VariableLikeSchema",
2067
- "location": {
2068
- "filePath": "install.main.runtime.ts",
2069
- "line": 75,
2070
- "character": 3
2071
- },
2072
- "signature": "(property) updateExisting?: boolean | undefined",
2073
- "name": "updateExisting",
2074
- "type": {
2075
- "__schema": "KeywordTypeSchema",
2076
- "location": {
2077
- "filePath": "install.main.runtime.ts",
2078
- "line": 75,
2079
- "character": 20
2080
- },
2081
- "name": "boolean"
2082
- },
2083
- "isOptional": true
2084
- },
2085
- {
2086
- "__schema": "VariableLikeSchema",
2087
- "location": {
2088
- "filePath": "install.main.runtime.ts",
2089
- "line": 76,
2090
- "character": 3
2091
- },
2092
- "signature": "(property) skipIfExisting?: boolean | undefined",
2093
- "name": "skipIfExisting",
2094
- "type": {
2095
- "__schema": "KeywordTypeSchema",
2096
- "location": {
2097
- "filePath": "install.main.runtime.ts",
2098
- "line": 76,
2099
- "character": 20
2100
- },
2101
- "name": "boolean"
2102
- },
2103
- "isOptional": true
2104
- },
2105
- {
2106
- "__schema": "VariableLikeSchema",
2107
- "location": {
2108
- "filePath": "install.main.runtime.ts",
2109
- "line": 77,
2110
- "character": 3
2111
- },
2112
- "signature": "(property) savePrefix?: string | undefined",
2113
- "name": "savePrefix",
2114
- "type": {
2115
- "__schema": "KeywordTypeSchema",
2116
- "location": {
2117
- "filePath": "install.main.runtime.ts",
2118
- "line": 77,
2119
- "character": 16
2120
- },
2121
- "name": "string"
2122
- },
2123
- "isOptional": true
2124
- },
2125
- {
2126
- "__schema": "VariableLikeSchema",
2127
- "location": {
2128
- "filePath": "install.main.runtime.ts",
2129
- "line": 78,
2130
- "character": 3
2131
- },
2132
- "signature": "(property) compile?: boolean | undefined",
2133
- "name": "compile",
2134
- "type": {
2135
- "__schema": "KeywordTypeSchema",
2136
- "location": {
2137
- "filePath": "install.main.runtime.ts",
2138
- "line": 78,
2139
- "character": 13
2140
- },
2141
- "name": "boolean"
2142
- },
2143
- "isOptional": true
2144
- },
2145
- {
2146
- "__schema": "VariableLikeSchema",
2147
- "location": {
2148
- "filePath": "install.main.runtime.ts",
2149
- "line": 79,
2150
- "character": 3
2151
- },
2152
- "signature": "(property) includeOptionalDeps?: boolean | undefined",
2153
- "name": "includeOptionalDeps",
2154
- "type": {
2155
- "__schema": "KeywordTypeSchema",
2156
- "location": {
2157
- "filePath": "install.main.runtime.ts",
2158
- "line": 79,
2159
- "character": 25
2160
- },
2161
- "name": "boolean"
2162
- },
2163
- "isOptional": true
2164
- },
2165
- {
2166
- "__schema": "VariableLikeSchema",
2167
- "location": {
2168
- "filePath": "install.main.runtime.ts",
2169
- "line": 80,
2170
- "character": 3
2171
- },
2172
- "signature": "(property) updateAll?: boolean | undefined",
2173
- "name": "updateAll",
2174
- "type": {
2175
- "__schema": "KeywordTypeSchema",
2176
- "location": {
2177
- "filePath": "install.main.runtime.ts",
2178
- "line": 80,
2179
- "character": 15
2180
- },
2181
- "name": "boolean"
2182
- },
2183
- "isOptional": true
2184
- },
2185
- {
2186
- "__schema": "VariableLikeSchema",
2187
- "location": {
2188
- "filePath": "install.main.runtime.ts",
2189
- "line": 81,
2190
- "character": 3
2191
- },
2192
- "signature": "(property) recurringInstall?: boolean | undefined",
2193
- "name": "recurringInstall",
2194
- "type": {
2195
- "__schema": "KeywordTypeSchema",
2196
- "location": {
2197
- "filePath": "install.main.runtime.ts",
2198
- "line": 81,
2199
- "character": 22
2200
- },
2201
- "name": "boolean"
2202
- },
2203
- "isOptional": true
2204
- },
2205
- {
2206
- "__schema": "VariableLikeSchema",
2207
- "location": {
2208
- "filePath": "install.main.runtime.ts",
2209
- "line": 82,
2210
- "character": 3
2211
- },
2212
- "signature": "(property) optimizeReportForNonTerminal?: boolean | undefined",
2213
- "name": "optimizeReportForNonTerminal",
2214
- "type": {
2215
- "__schema": "KeywordTypeSchema",
2216
- "location": {
2217
- "filePath": "install.main.runtime.ts",
2218
- "line": 82,
2219
- "character": 34
2220
- },
2221
- "name": "boolean"
2222
- },
2223
- "isOptional": true
2224
- },
2225
- {
2226
- "__schema": "VariableLikeSchema",
2227
- "location": {
2228
- "filePath": "install.main.runtime.ts",
2229
- "line": 83,
2230
- "character": 3
2231
- },
2232
- "signature": "(property) lockfileOnly?: boolean | undefined",
2233
- "name": "lockfileOnly",
2234
- "type": {
2235
- "__schema": "KeywordTypeSchema",
2236
- "location": {
2237
- "filePath": "install.main.runtime.ts",
2238
- "line": 83,
2239
- "character": 18
2240
- },
2241
- "name": "boolean"
2242
- },
2243
- "isOptional": true
2244
- },
2245
- {
2246
- "__schema": "VariableLikeSchema",
2247
- "location": {
2248
- "filePath": "install.main.runtime.ts",
2249
- "line": 84,
2250
- "character": 3
2251
- },
2252
- "signature": "(property) writeConfigFiles?: boolean | undefined",
2253
- "name": "writeConfigFiles",
2254
- "type": {
2255
- "__schema": "KeywordTypeSchema",
2256
- "location": {
2257
- "filePath": "install.main.runtime.ts",
2258
- "line": 84,
2259
- "character": 22
2260
- },
2261
- "name": "boolean"
2262
- },
2263
- "isOptional": true
2264
- },
2265
- {
2266
- "__schema": "VariableLikeSchema",
2267
- "location": {
2268
- "filePath": "install.main.runtime.ts",
2269
- "line": 85,
2270
- "character": 3
2271
- },
2272
- "signature": "(property) skipPrune?: boolean | undefined",
2273
- "name": "skipPrune",
2274
- "type": {
2275
- "__schema": "KeywordTypeSchema",
2276
- "location": {
2277
- "filePath": "install.main.runtime.ts",
2278
- "line": 85,
2279
- "character": 15
2280
- },
2281
- "name": "boolean"
2282
- },
2283
- "isOptional": true
2284
- }
2285
- ]
2286
- }
2287
- },
2288
- {
2289
- "__schema": "TypeSchema",
2290
- "location": {
2291
- "filePath": "install.main.runtime.ts",
2292
- "line": 88,
2293
- "character": 1
2294
- },
2295
- "signature": "type ModulesInstallOptions = {\n addMissingDeps?: boolean | undefined;\n addMissingPeers?: boolean | undefined;\n dedupe?: boolean | undefined;\n copyPeerToRuntimeOnRoot?: boolean | undefined;\n copyPeerToRuntimeOnComponents?: boolean | undefined;\n ... 9 more ...;\n skipPrune?: boolean | undefined;\n}",
2296
- "name": "ModulesInstallOptions",
2297
- "type": {
2298
- "__schema": "TypeRefSchema",
2299
- "location": {
2300
- "filePath": "install.main.runtime.ts",
2301
- "line": 88,
2302
- "character": 37
2303
- },
2304
- "name": "Omit",
2305
- "typeArgs": [
2306
- {
2307
- "__schema": "TypeRefSchema",
2308
- "location": {
2309
- "filePath": "install.main.runtime.ts",
2310
- "line": 88,
2311
- "character": 42
2312
- },
2313
- "name": "WorkspaceInstallOptions"
2314
- },
2315
- {
2316
- "__schema": "TypeUnionSchema",
2317
- "location": {
2318
- "filePath": "install.main.runtime.ts",
2319
- "line": 88,
2320
- "character": 67
2321
- },
2322
- "types": [
2323
- {
2324
- "__schema": "LiteralTypeSchema",
2325
- "location": {
2326
- "filePath": "install.main.runtime.ts",
2327
- "line": 88,
2328
- "character": 67
2329
- },
2330
- "name": "'updateExisting'"
2331
- },
2332
- {
2333
- "__schema": "LiteralTypeSchema",
2334
- "location": {
2335
- "filePath": "install.main.runtime.ts",
2336
- "line": 88,
2337
- "character": 86
2338
- },
2339
- "name": "'lifecycleType'"
2340
- },
2341
- {
2342
- "__schema": "LiteralTypeSchema",
2343
- "location": {
2344
- "filePath": "install.main.runtime.ts",
2345
- "line": 88,
2346
- "character": 104
2347
- },
2348
- "name": "'import'"
2349
- }
2350
- ]
2351
- }
2352
- ]
2353
- }
2354
- },
2355
- {
2356
- "__schema": "ClassSchema",
2357
- "location": {
2358
- "filePath": "install.main.runtime.ts",
2359
- "line": 104,
2360
- "character": 1
2361
- },
2362
- "signature": "class InstallMain",
2363
- "name": "InstallMain",
2364
- "members": [
2365
- {
2366
- "__schema": "ConstructorSchema",
2367
- "location": {
2368
- "filePath": "install.main.runtime.ts",
2369
- "line": 107,
2370
- "character": 3
2371
- },
2372
- "signature": "constructor InstallMain(dependencyResolver: DependencyResolverMain, logger: Logger, workspace: Workspace, variants: VariantsMain, compiler: CompilerMain, envs: EnvsMain, wsConfigFiles: WorkspaceConfigFilesMain, app: ApplicationMain, generator: GeneratorMain, preLinkSlot: PreLinkSlot, preInstallSlot: PreInstallSlot, postInstallSlot: PostInstallSlot, ipcEvents: IpcEventsMain): InstallMain",
2373
- "name": "constructor",
2374
- "params": [
2375
- {
2376
- "__schema": "ParameterSchema",
2377
- "location": {
2378
- "filePath": "install.main.runtime.ts",
2379
- "line": 108,
2380
- "character": 5
2381
- },
2382
- "name": "dependencyResolver",
2383
- "type": {
2384
- "__schema": "TypeRefSchema",
2385
- "location": {
2386
- "filePath": "install.main.runtime.ts",
2387
- "line": 108,
2388
- "character": 33
2389
- },
2390
- "name": "DependencyResolverMain"
2391
- },
2392
- "isOptional": false,
2393
- "isSpread": false
2394
- },
2395
- {
2396
- "__schema": "ParameterSchema",
2397
- "location": {
2398
- "filePath": "install.main.runtime.ts",
2399
- "line": 110,
2400
- "character": 5
2401
- },
2402
- "name": "logger",
2403
- "type": {
2404
- "__schema": "TypeRefSchema",
2405
- "location": {
2406
- "filePath": "install.main.runtime.ts",
2407
- "line": 110,
2408
- "character": 21
2409
- },
2410
- "name": "Logger"
2411
- },
2412
- "isOptional": false,
2413
- "isSpread": false
2414
- },
2415
- {
2416
- "__schema": "ParameterSchema",
2417
- "location": {
2418
- "filePath": "install.main.runtime.ts",
2419
- "line": 112,
2420
- "character": 5
2421
- },
2422
- "name": "workspace",
2423
- "type": {
2424
- "__schema": "TypeRefSchema",
2425
- "location": {
2426
- "filePath": "install.main.runtime.ts",
2427
- "line": 112,
2428
- "character": 24
2429
- },
2430
- "name": "Workspace"
2431
- },
2432
- "isOptional": false,
2433
- "isSpread": false
2434
- },
2435
- {
2436
- "__schema": "ParameterSchema",
2437
- "location": {
2438
- "filePath": "install.main.runtime.ts",
2439
- "line": 114,
2440
- "character": 5
2441
- },
2442
- "name": "variants",
2443
- "type": {
2444
- "__schema": "TypeRefSchema",
2445
- "location": {
2446
- "filePath": "install.main.runtime.ts",
2447
- "line": 114,
2448
- "character": 23
2449
- },
2450
- "name": "VariantsMain"
2451
- },
2452
- "isOptional": false,
2453
- "isSpread": false
2454
- },
2455
- {
2456
- "__schema": "ParameterSchema",
2457
- "location": {
2458
- "filePath": "install.main.runtime.ts",
2459
- "line": 116,
2460
- "character": 5
2461
- },
2462
- "name": "compiler",
2463
- "type": {
2464
- "__schema": "TypeRefSchema",
2465
- "location": {
2466
- "filePath": "install.main.runtime.ts",
2467
- "line": 116,
2468
- "character": 23
2469
- },
2470
- "name": "CompilerMain"
2471
- },
2472
- "isOptional": false,
2473
- "isSpread": false
2474
- },
2475
- {
2476
- "__schema": "ParameterSchema",
2477
- "location": {
2478
- "filePath": "install.main.runtime.ts",
2479
- "line": 118,
2480
- "character": 5
2481
- },
2482
- "name": "envs",
2483
- "type": {
2484
- "__schema": "TypeRefSchema",
2485
- "location": {
2486
- "filePath": "install.main.runtime.ts",
2487
- "line": 118,
2488
- "character": 19
2489
- },
2490
- "name": "EnvsMain"
2491
- },
2492
- "isOptional": false,
2493
- "isSpread": false
2494
- },
2495
- {
2496
- "__schema": "ParameterSchema",
2497
- "location": {
2498
- "filePath": "install.main.runtime.ts",
2499
- "line": 120,
2500
- "character": 5
2501
- },
2502
- "name": "wsConfigFiles",
2503
- "type": {
2504
- "__schema": "TypeRefSchema",
2505
- "location": {
2506
- "filePath": "install.main.runtime.ts",
2507
- "line": 120,
2508
- "character": 28
2509
- },
2510
- "name": "WorkspaceConfigFilesMain"
2511
- },
2512
- "isOptional": false,
2513
- "isSpread": false
2514
- },
2515
- {
2516
- "__schema": "ParameterSchema",
2517
- "location": {
2518
- "filePath": "install.main.runtime.ts",
2519
- "line": 122,
2520
- "character": 5
2521
- },
2522
- "name": "app",
2523
- "type": {
2524
- "__schema": "TypeRefSchema",
2525
- "location": {
2526
- "filePath": "install.main.runtime.ts",
2527
- "line": 122,
2528
- "character": 18
2529
- },
2530
- "name": "ApplicationMain"
2531
- },
2532
- "isOptional": false,
2533
- "isSpread": false
2534
- },
2535
- {
2536
- "__schema": "ParameterSchema",
2537
- "location": {
2538
- "filePath": "install.main.runtime.ts",
2539
- "line": 124,
2540
- "character": 5
2541
- },
2542
- "name": "generator",
2543
- "type": {
2544
- "__schema": "TypeRefSchema",
2545
- "location": {
2546
- "filePath": "install.main.runtime.ts",
2547
- "line": 124,
2548
- "character": 24
2549
- },
2550
- "name": "GeneratorMain"
2551
- },
2552
- "isOptional": false,
2553
- "isSpread": false
2554
- },
2555
- {
2556
- "__schema": "ParameterSchema",
2557
- "location": {
2558
- "filePath": "install.main.runtime.ts",
2559
- "line": 126,
2560
- "character": 5
2561
- },
2562
- "name": "preLinkSlot",
2563
- "type": {
2564
- "__schema": "TypeRefSchema",
2565
- "location": {
2566
- "filePath": "install.main.runtime.ts",
2567
- "line": 126,
2568
- "character": 26
2569
- },
2570
- "name": "PreLinkSlot"
2571
- },
2572
- "isOptional": false,
2573
- "isSpread": false
2574
- },
2575
- {
2576
- "__schema": "ParameterSchema",
2577
- "location": {
2578
- "filePath": "install.main.runtime.ts",
2579
- "line": 128,
2580
- "character": 5
2581
- },
2582
- "name": "preInstallSlot",
2583
- "type": {
2584
- "__schema": "TypeRefSchema",
2585
- "location": {
2586
- "filePath": "install.main.runtime.ts",
2587
- "line": 128,
2588
- "character": 29
2589
- },
2590
- "name": "PreInstallSlot"
2591
- },
2592
- "isOptional": false,
2593
- "isSpread": false
2594
- },
2595
- {
2596
- "__schema": "ParameterSchema",
2597
- "location": {
2598
- "filePath": "install.main.runtime.ts",
2599
- "line": 130,
2600
- "character": 5
2601
- },
2602
- "name": "postInstallSlot",
2603
- "type": {
2604
- "__schema": "TypeRefSchema",
2605
- "location": {
2606
- "filePath": "install.main.runtime.ts",
2607
- "line": 130,
2608
- "character": 30
2609
- },
2610
- "name": "PostInstallSlot"
2611
- },
2612
- "isOptional": false,
2613
- "isSpread": false
2614
- },
2615
- {
2616
- "__schema": "ParameterSchema",
2617
- "location": {
2618
- "filePath": "install.main.runtime.ts",
2619
- "line": 132,
2620
- "character": 5
2621
- },
2622
- "name": "ipcEvents",
2623
- "type": {
2624
- "__schema": "TypeRefSchema",
2625
- "location": {
2626
- "filePath": "install.main.runtime.ts",
2627
- "line": 132,
2628
- "character": 24
2629
- },
2630
- "name": "IpcEventsMain"
2631
- },
2632
- "isOptional": false,
2633
- "isSpread": false
2634
- }
2635
- ],
2636
- "returnType": {
2637
- "__schema": "ThisTypeSchema",
2638
- "location": {
2639
- "filePath": "install.main.runtime.ts",
2640
- "line": 104,
2641
- "character": 1
2642
- },
2643
- "name": "InstallMain"
2644
- },
2645
- "modifiers": []
2646
- },
2647
- {
2648
- "__schema": "FunctionLikeSchema",
2649
- "location": {
2650
- "filePath": "install.main.runtime.ts",
2651
- "line": 140,
2652
- "character": 3
2653
- },
2654
- "doc": {
2655
- "__schema": "DocSchema",
2656
- "location": {
2657
- "filePath": "install.main.runtime.ts",
2658
- "line": 134,
2659
- "character": 3
2660
- },
2661
- "raw": "/**\n * Install dependencies for all components in the workspace\n *\n * @returns\n * @memberof Workspace\n */",
2662
- "comment": "Install dependencies for all components in the workspace",
2663
- "tags": [
2664
- {
2665
- "__schema": "ReturnTagSchema",
2666
- "location": {
2667
- "filePath": "install.main.runtime.ts",
2668
- "line": 137,
2669
- "character": 6
2670
- },
2671
- "tagName": "return"
2672
- },
2673
- {
2674
- "__schema": "TagSchema",
2675
- "location": {
2676
- "filePath": "install.main.runtime.ts",
2677
- "line": 138,
2678
- "character": 6
2679
- },
2680
- "tagName": "memberof",
2681
- "comment": "Workspace"
2682
- }
2683
- ]
2684
- },
2685
- "signature": "(method) InstallMain.install(packages?: string[], options?: WorkspaceInstallOptions): Promise<ComponentMap<string>>",
2686
- "name": "install",
2687
- "params": [
2688
- {
2689
- "__schema": "ParameterSchema",
2690
- "location": {
2691
- "filePath": "install.main.runtime.ts",
2692
- "line": 140,
2693
- "character": 17
2694
- },
2695
- "name": "packages",
2696
- "type": {
2697
- "__schema": "TypeArraySchema",
2698
- "location": {
2699
- "filePath": "install.main.runtime.ts",
2700
- "line": 140,
2701
- "character": 28
2702
- },
2703
- "type": {
2704
- "__schema": "KeywordTypeSchema",
2705
- "location": {
2706
- "filePath": "install.main.runtime.ts",
2707
- "line": 140,
2708
- "character": 28
2709
- },
2710
- "name": "string"
2711
- }
2712
- },
2713
- "isOptional": true,
2714
- "isSpread": false
2715
- },
2716
- {
2717
- "__schema": "ParameterSchema",
2718
- "location": {
2719
- "filePath": "install.main.runtime.ts",
2720
- "line": 140,
2721
- "character": 38
2722
- },
2723
- "name": "options",
2724
- "type": {
2725
- "__schema": "TypeRefSchema",
2726
- "location": {
2727
- "filePath": "install.main.runtime.ts",
2728
- "line": 140,
2729
- "character": 48
2730
- },
2731
- "name": "WorkspaceInstallOptions"
2732
- },
2733
- "isOptional": true,
2734
- "isSpread": false
2735
- }
2736
- ],
2737
- "returnType": {
2738
- "__schema": "TypeRefSchema",
2739
- "location": {
2740
- "filePath": "install.main.runtime.ts",
2741
- "line": 140,
2742
- "character": 74
2743
- },
2744
- "name": "Promise",
2745
- "typeArgs": [
2746
- {
2747
- "__schema": "TypeRefSchema",
2748
- "location": {
2749
- "filePath": "install.main.runtime.ts",
2750
- "line": 140,
2751
- "character": 82
2752
- },
2753
- "name": "ComponentMap",
2754
- "typeArgs": [
2755
- {
2756
- "__schema": "KeywordTypeSchema",
2757
- "location": {
2758
- "filePath": "install.main.runtime.ts",
2759
- "line": 140,
2760
- "character": 95
2761
- },
2762
- "name": "string"
2763
- }
2764
- ]
2765
- }
2766
- ]
2767
- },
2768
- "modifiers": [
2769
- "async"
2770
- ]
2771
- },
2772
- {
2773
- "__schema": "FunctionLikeSchema",
2774
- "location": {
2775
- "filePath": "install.main.runtime.ts",
2776
- "line": 181,
2777
- "character": 3
2778
- },
2779
- "signature": "(method) InstallMain.registerPreLink(fn: PreLink): void",
2780
- "name": "registerPreLink",
2781
- "params": [
2782
- {
2783
- "__schema": "ParameterSchema",
2784
- "location": {
2785
- "filePath": "install.main.runtime.ts",
2786
- "line": 181,
2787
- "character": 19
2788
- },
2789
- "name": "fn",
2790
- "type": {
2791
- "__schema": "TypeRefSchema",
2792
- "location": {
2793
- "filePath": "install.main.runtime.ts",
2794
- "line": 181,
2795
- "character": 23
2796
- },
2797
- "name": "PreLink"
2798
- },
2799
- "isOptional": false,
2800
- "isSpread": false
2801
- }
2802
- ],
2803
- "returnType": {
2804
- "__schema": "InferenceTypeSchema",
2805
- "location": {
2806
- "filePath": "install.main.runtime.ts",
2807
- "line": 181,
2808
- "character": 3
2809
- },
2810
- "type": "void"
2811
- },
2812
- "modifiers": []
2813
- },
2814
- {
2815
- "__schema": "FunctionLikeSchema",
2816
- "location": {
2817
- "filePath": "install.main.runtime.ts",
2818
- "line": 185,
2819
- "character": 3
2820
- },
2821
- "signature": "(method) InstallMain.registerPreInstall(fn: PreInstall): void",
2822
- "name": "registerPreInstall",
2823
- "params": [
2824
- {
2825
- "__schema": "ParameterSchema",
2826
- "location": {
2827
- "filePath": "install.main.runtime.ts",
2828
- "line": 185,
2829
- "character": 22
2830
- },
2831
- "name": "fn",
2832
- "type": {
2833
- "__schema": "TypeRefSchema",
2834
- "location": {
2835
- "filePath": "install.main.runtime.ts",
2836
- "line": 185,
2837
- "character": 26
2838
- },
2839
- "name": "PreInstall"
2840
- },
2841
- "isOptional": false,
2842
- "isSpread": false
2843
- }
2844
- ],
2845
- "returnType": {
2846
- "__schema": "InferenceTypeSchema",
2847
- "location": {
2848
- "filePath": "install.main.runtime.ts",
2849
- "line": 185,
2850
- "character": 3
2851
- },
2852
- "type": "void"
2853
- },
2854
- "modifiers": []
2855
- },
2856
- {
2857
- "__schema": "FunctionLikeSchema",
2858
- "location": {
2859
- "filePath": "install.main.runtime.ts",
2860
- "line": 189,
2861
- "character": 3
2862
- },
2863
- "signature": "(method) InstallMain.registerPostInstall(fn: PostInstall): void",
2864
- "name": "registerPostInstall",
2865
- "params": [
2866
- {
2867
- "__schema": "ParameterSchema",
2868
- "location": {
2869
- "filePath": "install.main.runtime.ts",
2870
- "line": 189,
2871
- "character": 23
2872
- },
2873
- "name": "fn",
2874
- "type": {
2875
- "__schema": "TypeRefSchema",
2876
- "location": {
2877
- "filePath": "install.main.runtime.ts",
2878
- "line": 189,
2879
- "character": 27
2880
- },
2881
- "name": "PostInstall"
2882
- },
2883
- "isOptional": false,
2884
- "isSpread": false
2885
- }
2886
- ],
2887
- "returnType": {
2888
- "__schema": "InferenceTypeSchema",
2889
- "location": {
2890
- "filePath": "install.main.runtime.ts",
2891
- "line": 189,
2892
- "character": 3
2893
- },
2894
- "type": "void"
2895
- },
2896
- "modifiers": []
2897
- },
2898
- {
2899
- "__schema": "FunctionLikeSchema",
2900
- "location": {
2901
- "filePath": "install.main.runtime.ts",
2902
- "line": 193,
2903
- "character": 3
2904
- },
2905
- "signature": "(method) InstallMain.onComponentCreate(generateResults: GenerateResult[]): Promise<void>",
2906
- "name": "onComponentCreate",
2907
- "params": [
2908
- {
2909
- "__schema": "ParameterSchema",
2910
- "location": {
2911
- "filePath": "install.main.runtime.ts",
2912
- "line": 193,
2913
- "character": 27
2914
- },
2915
- "name": "generateResults",
2916
- "type": {
2917
- "__schema": "TypeArraySchema",
2918
- "location": {
2919
- "filePath": "install.main.runtime.ts",
2920
- "line": 193,
2921
- "character": 44
2922
- },
2923
- "type": {
2924
- "__schema": "TypeRefSchema",
2925
- "location": {
2926
- "filePath": "install.main.runtime.ts",
2927
- "line": 193,
2928
- "character": 44
2929
- },
2930
- "name": "GenerateResult"
2931
- }
2932
- },
2933
- "isOptional": false,
2934
- "isSpread": false
2935
- }
2936
- ],
2937
- "returnType": {
2938
- "__schema": "InferenceTypeSchema",
2939
- "location": {
2940
- "filePath": "install.main.runtime.ts",
2941
- "line": 193,
2942
- "character": 3
2943
- },
2944
- "type": "Promise<void>"
2945
- },
2946
- "modifiers": [
2947
- "async"
2948
- ]
2949
- },
2950
- {
2951
- "__schema": "FunctionLikeSchema",
2952
- "location": {
2953
- "filePath": "install.main.runtime.ts",
2954
- "line": 590,
2955
- "character": 3
2956
- },
2957
- "doc": {
2958
- "__schema": "DocSchema",
2959
- "location": {
2960
- "filePath": "install.main.runtime.ts",
2961
- "line": 583,
2962
- "character": 3
2963
- },
2964
- "raw": "/**\n * This function returns a list of old non-loaded environments names.\n * @returns an array of strings called `oldNonLoadedEnvs`. This array contains the names of environment variables that\n * failed to load as extensions and are also don't have an env.jsonc file.\n * If this list is not empty, then the user might need to run another install to make sure all dependencies resolved\n * correctly\n */",
2965
- "comment": "This function returns a list of old non-loaded environments names.",
2966
- "tags": [
2967
- {
2968
- "__schema": "ReturnTagSchema",
2969
- "location": {
2970
- "filePath": "install.main.runtime.ts",
2971
- "line": 585,
2972
- "character": 6
2973
- },
2974
- "tagName": "return",
2975
- "comment": "an array of strings called `oldNonLoadedEnvs`. This array contains the names of environment variables that\nfailed to load as extensions and are also don't have an env.jsonc file.\nIf this list is not empty, then the user might need to run another install to make sure all dependencies resolved\ncorrectly"
2976
- }
2977
- ]
2978
- },
2979
- "signature": "(method) InstallMain.getOldNonLoadedEnvs(): string[]",
2980
- "name": "getOldNonLoadedEnvs",
2981
- "params": [],
2982
- "returnType": {
2983
- "__schema": "InferenceTypeSchema",
2984
- "location": {
2985
- "filePath": "install.main.runtime.ts",
2986
- "line": 590,
2987
- "character": 3
2988
- },
2989
- "type": "string[]"
2990
- },
2991
- "modifiers": [
2992
- "public"
2993
- ]
2994
- },
2995
- {
2996
- "__schema": "FunctionLikeSchema",
2997
- "location": {
2998
- "filePath": "install.main.runtime.ts",
2999
- "line": 741,
3000
- "character": 3
3001
- },
3002
- "doc": {
3003
- "__schema": "DocSchema",
3004
- "location": {
3005
- "filePath": "install.main.runtime.ts",
3006
- "line": 736,
3007
- "character": 3
3008
- },
3009
- "raw": "/**\n * Updates out-of-date dependencies in the workspace.\n *\n * @param options.all {Boolean} updates all outdated dependencies without showing a prompt.\n */",
3010
- "comment": "Updates out-of-date dependencies in the workspace.",
3011
- "tags": [
3012
- {
3013
- "__schema": "PropertyLikeTagSchema",
3014
- "location": {
3015
- "filePath": "install.main.runtime.ts",
3016
- "line": 739,
3017
- "character": 6
3018
- },
3019
- "name": "options.all",
3020
- "tagName": "parameter",
3021
- "comment": "updates all outdated dependencies without showing a prompt.",
3022
- "type": {
3023
- "__schema": "TypeRefSchema",
3024
- "location": {
3025
- "filePath": "install.main.runtime.ts",
3026
- "line": 739,
3027
- "character": 26
3028
- },
3029
- "name": "Boolean"
3030
- }
3031
- }
3032
- ]
3033
- },
3034
- "signature": "(method) InstallMain.updateDependencies(options: {\n forceVersionBump?: 'major' | 'minor' | 'patch' | 'compatible';\n patterns?: string[];\n all: boolean;\n}): Promise<ComponentMap<string> | null>",
3035
- "name": "updateDependencies",
3036
- "params": [
3037
- {
3038
- "__schema": "ParameterSchema",
3039
- "location": {
3040
- "filePath": "install.main.runtime.ts",
3041
- "line": 741,
3042
- "character": 28
3043
- },
3044
- "name": "options",
3045
- "type": {
3046
- "__schema": "TypeLiteralSchema",
3047
- "location": {
3048
- "filePath": "install.main.runtime.ts",
3049
- "line": 741,
3050
- "character": 37
3051
- },
3052
- "members": [
3053
- {
3054
- "__schema": "VariableLikeSchema",
3055
- "location": {
3056
- "filePath": "install.main.runtime.ts",
3057
- "line": 742,
3058
- "character": 5
3059
- },
3060
- "signature": "(property) forceVersionBump?: \"patch\" | \"major\" | \"minor\" | \"compatible\" | undefined",
3061
- "name": "forceVersionBump",
3062
- "type": {
3063
- "__schema": "TypeUnionSchema",
3064
- "location": {
3065
- "filePath": "install.main.runtime.ts",
3066
- "line": 742,
3067
- "character": 24
3068
- },
3069
- "types": [
3070
- {
3071
- "__schema": "LiteralTypeSchema",
3072
- "location": {
3073
- "filePath": "install.main.runtime.ts",
3074
- "line": 742,
3075
- "character": 24
3076
- },
3077
- "name": "'major'"
3078
- },
3079
- {
3080
- "__schema": "LiteralTypeSchema",
3081
- "location": {
3082
- "filePath": "install.main.runtime.ts",
3083
- "line": 742,
3084
- "character": 34
3085
- },
3086
- "name": "'minor'"
3087
- },
3088
- {
3089
- "__schema": "LiteralTypeSchema",
3090
- "location": {
3091
- "filePath": "install.main.runtime.ts",
3092
- "line": 742,
3093
- "character": 44
3094
- },
3095
- "name": "'patch'"
3096
- },
3097
- {
3098
- "__schema": "LiteralTypeSchema",
3099
- "location": {
3100
- "filePath": "install.main.runtime.ts",
3101
- "line": 742,
3102
- "character": 54
3103
- },
3104
- "name": "'compatible'"
3105
- }
3106
- ]
3107
- },
3108
- "isOptional": true
3109
- },
3110
- {
3111
- "__schema": "VariableLikeSchema",
3112
- "location": {
3113
- "filePath": "install.main.runtime.ts",
3114
- "line": 743,
3115
- "character": 5
3116
- },
3117
- "signature": "(property) patterns?: string[] | undefined",
3118
- "name": "patterns",
3119
- "type": {
3120
- "__schema": "TypeArraySchema",
3121
- "location": {
3122
- "filePath": "install.main.runtime.ts",
3123
- "line": 743,
3124
- "character": 16
3125
- },
3126
- "type": {
3127
- "__schema": "KeywordTypeSchema",
3128
- "location": {
3129
- "filePath": "install.main.runtime.ts",
3130
- "line": 743,
3131
- "character": 16
3132
- },
3133
- "name": "string"
3134
- }
3135
- },
3136
- "isOptional": true
3137
- },
3138
- {
3139
- "__schema": "VariableLikeSchema",
3140
- "location": {
3141
- "filePath": "install.main.runtime.ts",
3142
- "line": 744,
3143
- "character": 5
3144
- },
3145
- "signature": "(property) all: boolean",
3146
- "name": "all",
3147
- "type": {
3148
- "__schema": "KeywordTypeSchema",
3149
- "location": {
3150
- "filePath": "install.main.runtime.ts",
3151
- "line": 744,
3152
- "character": 10
3153
- },
3154
- "name": "boolean"
3155
- },
3156
- "isOptional": false
3157
- }
3158
- ]
3159
- },
3160
- "isOptional": false,
3161
- "isSpread": false
3162
- }
3163
- ],
3164
- "returnType": {
3165
- "__schema": "TypeRefSchema",
3166
- "location": {
3167
- "filePath": "install.main.runtime.ts",
3168
- "line": 745,
3169
- "character": 7
3170
- },
3171
- "name": "Promise",
3172
- "typeArgs": [
3173
- {
3174
- "__schema": "TypeUnionSchema",
3175
- "location": {
3176
- "filePath": "install.main.runtime.ts",
3177
- "line": 745,
3178
- "character": 15
3179
- },
3180
- "types": [
3181
- {
3182
- "__schema": "TypeRefSchema",
3183
- "location": {
3184
- "filePath": "install.main.runtime.ts",
3185
- "line": 745,
3186
- "character": 15
3187
- },
3188
- "name": "ComponentMap",
3189
- "typeArgs": [
3190
- {
3191
- "__schema": "KeywordTypeSchema",
3192
- "location": {
3193
- "filePath": "install.main.runtime.ts",
3194
- "line": 745,
3195
- "character": 28
3196
- },
3197
- "name": "string"
3198
- }
3199
- ]
3200
- },
3201
- {
3202
- "__schema": "LiteralTypeSchema",
3203
- "location": {
3204
- "filePath": "install.main.runtime.ts",
3205
- "line": 745,
3206
- "character": 38
3207
- },
3208
- "name": "null"
3209
- }
3210
- ]
3211
- }
3212
- ]
3213
- },
3214
- "modifiers": [
3215
- "async"
3216
- ]
3217
- },
3218
- {
3219
- "__schema": "FunctionLikeSchema",
3220
- "location": {
3221
- "filePath": "install.main.runtime.ts",
3222
- "line": 788,
3223
- "character": 3
3224
- },
3225
- "signature": "(method) InstallMain.addDuplicateComponentAndPackageIssue(components: Component[]): Promise<void>",
3226
- "name": "addDuplicateComponentAndPackageIssue",
3227
- "params": [
3228
- {
3229
- "__schema": "ParameterSchema",
3230
- "location": {
3231
- "filePath": "install.main.runtime.ts",
3232
- "line": 788,
3233
- "character": 46
3234
- },
3235
- "name": "components",
3236
- "type": {
3237
- "__schema": "TypeArraySchema",
3238
- "location": {
3239
- "filePath": "install.main.runtime.ts",
3240
- "line": 788,
3241
- "character": 58
3242
- },
3243
- "type": {
3244
- "__schema": "TypeRefSchema",
3245
- "location": {
3246
- "filePath": "install.main.runtime.ts",
3247
- "line": 788,
3248
- "character": 58
3249
- },
3250
- "name": "Component"
3251
- }
3252
- },
3253
- "isOptional": false,
3254
- "isSpread": false
3255
- }
3256
- ],
3257
- "returnType": {
3258
- "__schema": "InferenceTypeSchema",
3259
- "location": {
3260
- "filePath": "install.main.runtime.ts",
3261
- "line": 788,
3262
- "character": 3
3263
- },
3264
- "type": "Promise<void>"
3265
- },
3266
- "modifiers": [
3267
- "async"
3268
- ]
3269
- },
3270
- {
3271
- "__schema": "FunctionLikeSchema",
3272
- "location": {
3273
- "filePath": "install.main.runtime.ts",
3274
- "line": 857,
3275
- "character": 3
3276
- },
3277
- "doc": {
3278
- "__schema": "DocSchema",
3279
- "location": {
3280
- "filePath": "install.main.runtime.ts",
3281
- "line": 852,
3282
- "character": 3
3283
- },
3284
- "raw": "/**\n * Uninstall the specified packages from dependencies.\n *\n * @param {string[]} the list of packages that should be removed from dependencies.\n */",
3285
- "comment": "Uninstall the specified packages from dependencies.",
3286
- "tags": [
3287
- {
3288
- "__schema": "PropertyLikeTagSchema",
3289
- "location": {
3290
- "filePath": "install.main.runtime.ts",
3291
- "line": 855,
3292
- "character": 6
3293
- },
3294
- "name": "the",
3295
- "tagName": "parameter",
3296
- "comment": "list of packages that should be removed from dependencies.",
3297
- "type": {
3298
- "__schema": "TypeArraySchema",
3299
- "location": {
3300
- "filePath": "install.main.runtime.ts",
3301
- "line": 855,
3302
- "character": 14
3303
- },
3304
- "type": {
3305
- "__schema": "KeywordTypeSchema",
3306
- "location": {
3307
- "filePath": "install.main.runtime.ts",
3308
- "line": 855,
3309
- "character": 14
3310
- },
3311
- "name": "string"
3312
- }
3313
- }
3314
- }
3315
- ]
3316
- },
3317
- "signature": "(method) InstallMain.uninstallDependencies(packages: string[]): Promise<ComponentMap<string>>",
3318
- "name": "uninstallDependencies",
3319
- "params": [
3320
- {
3321
- "__schema": "ParameterSchema",
3322
- "location": {
3323
- "filePath": "install.main.runtime.ts",
3324
- "line": 857,
3325
- "character": 31
3326
- },
3327
- "name": "packages",
3328
- "type": {
3329
- "__schema": "TypeArraySchema",
3330
- "location": {
3331
- "filePath": "install.main.runtime.ts",
3332
- "line": 857,
3333
- "character": 41
3334
- },
3335
- "type": {
3336
- "__schema": "KeywordTypeSchema",
3337
- "location": {
3338
- "filePath": "install.main.runtime.ts",
3339
- "line": 857,
3340
- "character": 41
3341
- },
3342
- "name": "string"
3343
- }
3344
- },
3345
- "isOptional": false,
3346
- "isSpread": false
3347
- }
3348
- ],
3349
- "returnType": {
3350
- "__schema": "InferenceTypeSchema",
3351
- "location": {
3352
- "filePath": "install.main.runtime.ts",
3353
- "line": 857,
3354
- "character": 3
3355
- },
3356
- "type": "Promise<ComponentMap<string>>"
3357
- },
3358
- "modifiers": [
3359
- "async"
3360
- ]
3361
- },
3362
- {
3363
- "__schema": "FunctionLikeSchema",
3364
- "location": {
3365
- "filePath": "install.main.runtime.ts",
3366
- "line": 867,
3367
- "character": 3
3368
- },
3369
- "doc": {
3370
- "__schema": "DocSchema",
3371
- "location": {
3372
- "filePath": "install.main.runtime.ts",
3373
- "line": 863,
3374
- "character": 3
3375
- },
3376
- "raw": "/**\n * This function returns all the locations of the external links that should be created inside node_modules.\n * This information may then be passed to the package manager, which will create the links on its own.\n */",
3377
- "comment": "This function returns all the locations of the external links that should be created inside node_modules.\nThis information may then be passed to the package manager, which will create the links on its own."
3378
- },
3379
- "signature": "(method) InstallMain.calculateLinks(options?: WorkspaceLinkOptions): Promise<{\n linkResults: WorkspaceLinkResults;\n linkedRootDeps: Record<string, string>;\n}>",
3380
- "name": "calculateLinks",
3381
- "params": [
3382
- {
3383
- "__schema": "ParameterSchema",
3384
- "location": {
3385
- "filePath": "install.main.runtime.ts",
3386
- "line": 868,
3387
- "character": 5
3388
- },
3389
- "name": "options",
3390
- "type": {
3391
- "__schema": "TypeRefSchema",
3392
- "location": {
3393
- "filePath": "install.main.runtime.ts",
3394
- "line": 868,
3395
- "character": 14
3396
- },
3397
- "name": "WorkspaceLinkOptions"
3398
- },
3399
- "isOptional": true,
3400
- "defaultValue": "{}",
3401
- "isSpread": false
3402
- }
3403
- ],
3404
- "returnType": {
3405
- "__schema": "TypeRefSchema",
3406
- "location": {
3407
- "filePath": "install.main.runtime.ts",
3408
- "line": 869,
3409
- "character": 6
3410
- },
3411
- "name": "Promise",
3412
- "typeArgs": [
3413
- {
3414
- "__schema": "TypeLiteralSchema",
3415
- "location": {
3416
- "filePath": "install.main.runtime.ts",
3417
- "line": 869,
3418
- "character": 14
3419
- },
3420
- "members": [
3421
- {
3422
- "__schema": "VariableLikeSchema",
3423
- "location": {
3424
- "filePath": "install.main.runtime.ts",
3425
- "line": 869,
3426
- "character": 16
3427
- },
3428
- "signature": "(property) linkResults: WorkspaceLinkResults",
3429
- "name": "linkResults",
3430
- "type": {
3431
- "__schema": "TypeRefSchema",
3432
- "location": {
3433
- "filePath": "install.main.runtime.ts",
3434
- "line": 869,
3435
- "character": 16
3436
- },
3437
- "name": "WorkspaceLinkResults",
3438
- "internalFilePath": "install.main.runtime.ts"
3439
- },
3440
- "isOptional": false
3441
- },
3442
- {
3443
- "__schema": "VariableLikeSchema",
3444
- "location": {
3445
- "filePath": "install.main.runtime.ts",
3446
- "line": 869,
3447
- "character": 51
3448
- },
3449
- "signature": "(property) linkedRootDeps: Record<string, string>",
3450
- "name": "linkedRootDeps",
3451
- "type": {
3452
- "__schema": "TypeRefSchema",
3453
- "location": {
3454
- "filePath": "install.main.runtime.ts",
3455
- "line": 869,
3456
- "character": 67
3457
- },
3458
- "name": "Record",
3459
- "typeArgs": [
3460
- {
3461
- "__schema": "KeywordTypeSchema",
3462
- "location": {
3463
- "filePath": "install.main.runtime.ts",
3464
- "line": 869,
3465
- "character": 74
3466
- },
3467
- "name": "string"
3468
- },
3469
- {
3470
- "__schema": "KeywordTypeSchema",
3471
- "location": {
3472
- "filePath": "install.main.runtime.ts",
3473
- "line": 869,
3474
- "character": 82
3475
- },
3476
- "name": "string"
3477
- }
3478
- ]
3479
- },
3480
- "isOptional": false
3481
- }
3482
- ]
3483
- }
3484
- ]
3485
- },
3486
- "modifiers": [
3487
- "async"
3488
- ]
3489
- },
3490
- {
3491
- "__schema": "FunctionLikeSchema",
3492
- "location": {
3493
- "filePath": "install.main.runtime.ts",
3494
- "line": 893,
3495
- "character": 3
3496
- },
3497
- "signature": "(method) InstallMain.linkCodemods(compDirMap: ComponentMap<string>, options?: {\n rewire?: boolean;\n}): Promise<{\n linksResults: NodeModulesLinksResult[];\n codemodResults: any;\n}>",
3498
- "name": "linkCodemods",
3499
- "params": [
3500
- {
3501
- "__schema": "ParameterSchema",
3502
- "location": {
3503
- "filePath": "install.main.runtime.ts",
3504
- "line": 893,
3505
- "character": 22
3506
- },
3507
- "name": "compDirMap",
3508
- "type": {
3509
- "__schema": "TypeRefSchema",
3510
- "location": {
3511
- "filePath": "install.main.runtime.ts",
3512
- "line": 893,
3513
- "character": 34
3514
- },
3515
- "name": "ComponentMap",
3516
- "typeArgs": [
3517
- {
3518
- "__schema": "KeywordTypeSchema",
3519
- "location": {
3520
- "filePath": "install.main.runtime.ts",
3521
- "line": 893,
3522
- "character": 47
3523
- },
3524
- "name": "string"
3525
- }
3526
- ]
3527
- },
3528
- "isOptional": false,
3529
- "isSpread": false
3530
- },
3531
- {
3532
- "__schema": "ParameterSchema",
3533
- "location": {
3534
- "filePath": "install.main.runtime.ts",
3535
- "line": 893,
3536
- "character": 56
3537
- },
3538
- "name": "options",
3539
- "type": {
3540
- "__schema": "TypeLiteralSchema",
3541
- "location": {
3542
- "filePath": "install.main.runtime.ts",
3543
- "line": 893,
3544
- "character": 66
3545
- },
3546
- "members": [
3547
- {
3548
- "__schema": "VariableLikeSchema",
3549
- "location": {
3550
- "filePath": "install.main.runtime.ts",
3551
- "line": 893,
3552
- "character": 68
3553
- },
3554
- "signature": "(property) rewire?: boolean | undefined",
3555
- "name": "rewire",
3556
- "type": {
3557
- "__schema": "KeywordTypeSchema",
3558
- "location": {
3559
- "filePath": "install.main.runtime.ts",
3560
- "line": 893,
3561
- "character": 77
3562
- },
3563
- "name": "boolean"
3564
- },
3565
- "isOptional": true
3566
- }
3567
- ]
3568
- },
3569
- "isOptional": true,
3570
- "isSpread": false
3571
- }
3572
- ],
3573
- "returnType": {
3574
- "__schema": "InferenceTypeSchema",
3575
- "location": {
3576
- "filePath": "install.main.runtime.ts",
3577
- "line": 893,
3578
- "character": 3
3579
- },
3580
- "type": "Promise<{\n linksResults: NodeModulesLinksResult[];\n codemodResults: any;\n}>"
3581
- },
3582
- "modifiers": [
3583
- "async"
3584
- ]
3585
- },
3586
- {
3587
- "__schema": "FunctionLikeSchema",
3588
- "location": {
3589
- "filePath": "install.main.runtime.ts",
3590
- "line": 898,
3591
- "character": 3
3592
- },
3593
- "signature": "(method) InstallMain.link(options?: WorkspaceLinkOptions): Promise<WorkspaceLinkResults>",
3594
- "name": "link",
3595
- "params": [
3596
- {
3597
- "__schema": "ParameterSchema",
3598
- "location": {
3599
- "filePath": "install.main.runtime.ts",
3600
- "line": 898,
3601
- "character": 14
3602
- },
3603
- "name": "options",
3604
- "type": {
3605
- "__schema": "TypeRefSchema",
3606
- "location": {
3607
- "filePath": "install.main.runtime.ts",
3608
- "line": 898,
3609
- "character": 23
3610
- },
3611
- "name": "WorkspaceLinkOptions"
3612
- },
3613
- "isOptional": true,
3614
- "defaultValue": "{}",
3615
- "isSpread": false
3616
- }
3617
- ],
3618
- "returnType": {
3619
- "__schema": "TypeRefSchema",
3620
- "location": {
3621
- "filePath": "install.main.runtime.ts",
3622
- "line": 898,
3623
- "character": 51
3624
- },
3625
- "name": "Promise",
3626
- "typeArgs": [
3627
- {
3628
- "__schema": "TypeRefSchema",
3629
- "location": {
3630
- "filePath": "install.main.runtime.ts",
3631
- "line": 898,
3632
- "character": 59
3633
- },
3634
- "name": "WorkspaceLinkResults"
3635
- }
3636
- ]
3637
- },
3638
- "modifiers": [
3639
- "async"
3640
- ]
3641
- },
3642
- {
3643
- "__schema": "VariableLikeSchema",
3644
- "location": {
3645
- "filePath": "install.main.runtime.ts",
3646
- "line": 1000,
3647
- "character": 3
3648
- },
3649
- "signature": "(property) InstallMain.slots: (((registerFn: () => string) => SlotRegistry<PreLinkSlot>) | ((registerFn: () => string) => SlotRegistry<PreInstallSlot>))[]",
3650
- "name": "slots",
3651
- "type": {
3652
- "__schema": "InferenceTypeSchema",
3653
- "location": {
3654
- "filePath": "install.main.runtime.ts",
3655
- "line": 1000,
3656
- "character": 3
3657
- },
3658
- "type": "(((registerFn: () => string) => SlotRegistry<PreLinkSlot>) | ((registerFn: () => string) => SlotRegistry<PreInstallSlot>))[]"
3659
- },
3660
- "isOptional": true,
3661
- "defaultValue": "[Slot.withType<PreLinkSlot>(), Slot.withType<PreInstallSlot>(), Slot.withType<PostInstallSlot>()]"
3662
- },
3663
- {
3664
- "__schema": "VariableLikeSchema",
3665
- "location": {
3666
- "filePath": "install.main.runtime.ts",
3667
- "line": 1001,
3668
- "character": 3
3669
- },
3670
- "signature": "(property) InstallMain.dependencies: Aspect[]",
3671
- "name": "dependencies",
3672
- "type": {
3673
- "__schema": "InferenceTypeSchema",
3674
- "location": {
3675
- "filePath": "install.main.runtime.ts",
3676
- "line": 1001,
3677
- "character": 3
3678
- },
3679
- "type": "Aspect[]"
3680
- },
3681
- "isOptional": true,
3682
- "defaultValue": "[\n DependencyResolverAspect,\n WorkspaceAspect,\n LoggerAspect,\n VariantsAspect,\n CLIAspect,\n CompilerAspect,\n IssuesAspect,\n EnvsAspect,\n ApplicationAspect,\n IpcEventsAspect,\n GeneratorAspect,\n WorkspaceConfigFilesAspect,\n ]"
3683
- },
3684
- {
3685
- "__schema": "VariableLikeSchema",
3686
- "location": {
3687
- "filePath": "install.main.runtime.ts",
3688
- "line": 1016,
3689
- "character": 3
3690
- },
3691
- "signature": "(property) InstallMain.runtime: RuntimeDefinition",
3692
- "name": "runtime",
3693
- "type": {
3694
- "__schema": "InferenceTypeSchema",
3695
- "location": {
3696
- "filePath": "install.main.runtime.ts",
3697
- "line": 1016,
3698
- "character": 3
3699
- },
3700
- "type": "RuntimeDefinition"
3701
- },
3702
- "isOptional": true,
3703
- "defaultValue": "MainRuntime"
3704
- },
3705
- {
3706
- "__schema": "FunctionLikeSchema",
3707
- "location": {
3708
- "filePath": "install.main.runtime.ts",
3709
- "line": 1018,
3710
- "character": 3
3711
- },
3712
- "signature": "(method) InstallMain.provider([dependencyResolver, workspace, loggerExt, variants, cli, compiler, issues, envs, app, ipcEvents, generator, wsConfigFiles,]: [\n DependencyResolverMain,\n Workspace,\n LoggerMain,\n VariantsMain,\n CLIMain,\n CompilerMain,\n IssuesMain,\n EnvsMain,\n ApplicationMain,\n IpcEventsMain,\n GeneratorMain,\n WorkspaceConfigFilesMain\n], _: any, [preLinkSlot, preInstallSlot, postInstallSlot]: [PreLinkSlot, PreInstallSlot, PostInstallSlot]): Promise<InstallMain>",
3713
- "name": "provider",
3714
- "params": [
3715
- {
3716
- "__schema": "ParameterSchema",
3717
- "location": {
3718
- "filePath": "install.main.runtime.ts",
3719
- "line": 1019,
3720
- "character": 5
3721
- },
3722
- "name": "[ dependencyResolver, workspace, loggerExt, variants, cli, compiler, issues, envs, app, ipcEvents, generator, wsConfigFiles ]",
3723
- "type": {
3724
- "__schema": "TupleTypeSchema",
3725
- "location": {
3726
- "filePath": "install.main.runtime.ts",
3727
- "line": 1032,
3728
- "character": 8
3729
- },
3730
- "elements": [
3731
- {
3732
- "__schema": "TypeRefSchema",
3733
- "location": {
3734
- "filePath": "install.main.runtime.ts",
3735
- "line": 1033,
3736
- "character": 7
3737
- },
3738
- "name": "DependencyResolverMain"
3739
- },
3740
- {
3741
- "__schema": "TypeRefSchema",
3742
- "location": {
3743
- "filePath": "install.main.runtime.ts",
3744
- "line": 1034,
3745
- "character": 7
3746
- },
3747
- "name": "Workspace"
3748
- },
3749
- {
3750
- "__schema": "TypeRefSchema",
3751
- "location": {
3752
- "filePath": "install.main.runtime.ts",
3753
- "line": 1035,
3754
- "character": 7
3755
- },
3756
- "name": "LoggerMain"
3757
- },
3758
- {
3759
- "__schema": "TypeRefSchema",
3760
- "location": {
3761
- "filePath": "install.main.runtime.ts",
3762
- "line": 1036,
3763
- "character": 7
3764
- },
3765
- "name": "VariantsMain"
3766
- },
3767
- {
3768
- "__schema": "TypeRefSchema",
3769
- "location": {
3770
- "filePath": "install.main.runtime.ts",
3771
- "line": 1037,
3772
- "character": 7
3773
- },
3774
- "name": "CLIMain"
3775
- },
3776
- {
3777
- "__schema": "TypeRefSchema",
3778
- "location": {
3779
- "filePath": "install.main.runtime.ts",
3780
- "line": 1038,
3781
- "character": 7
3782
- },
3783
- "name": "CompilerMain"
3784
- },
3785
- {
3786
- "__schema": "TypeRefSchema",
3787
- "location": {
3788
- "filePath": "install.main.runtime.ts",
3789
- "line": 1039,
3790
- "character": 7
3791
- },
3792
- "name": "IssuesMain"
3793
- },
3794
- {
3795
- "__schema": "TypeRefSchema",
3796
- "location": {
3797
- "filePath": "install.main.runtime.ts",
3798
- "line": 1040,
3799
- "character": 7
3800
- },
3801
- "name": "EnvsMain"
3802
- },
3803
- {
3804
- "__schema": "TypeRefSchema",
3805
- "location": {
3806
- "filePath": "install.main.runtime.ts",
3807
- "line": 1041,
3808
- "character": 7
3809
- },
3810
- "name": "ApplicationMain"
3811
- },
3812
- {
3813
- "__schema": "TypeRefSchema",
3814
- "location": {
3815
- "filePath": "install.main.runtime.ts",
3816
- "line": 1042,
3817
- "character": 7
3818
- },
3819
- "name": "IpcEventsMain"
3820
- },
3821
- {
3822
- "__schema": "TypeRefSchema",
3823
- "location": {
3824
- "filePath": "install.main.runtime.ts",
3825
- "line": 1043,
3826
- "character": 7
3827
- },
3828
- "name": "GeneratorMain"
3829
- },
3830
- {
3831
- "__schema": "TypeRefSchema",
3832
- "location": {
3833
- "filePath": "install.main.runtime.ts",
3834
- "line": 1044,
3835
- "character": 7
3836
- },
3837
- "name": "WorkspaceConfigFilesMain"
3838
- }
3839
- ]
3840
- },
3841
- "isOptional": false,
3842
- "isSpread": false
3843
- },
3844
- {
3845
- "__schema": "ParameterSchema",
3846
- "location": {
3847
- "filePath": "install.main.runtime.ts",
3848
- "line": 1046,
3849
- "character": 5
3850
- },
3851
- "name": "_",
3852
- "type": {
3853
- "__schema": "InferenceTypeSchema",
3854
- "location": {
3855
- "filePath": "install.main.runtime.ts",
3856
- "line": 1046,
3857
- "character": 5
3858
- },
3859
- "type": "any"
3860
- },
3861
- "isOptional": false,
3862
- "isSpread": false
3863
- },
3864
- {
3865
- "__schema": "ParameterSchema",
3866
- "location": {
3867
- "filePath": "install.main.runtime.ts",
3868
- "line": 1047,
3869
- "character": 5
3870
- },
3871
- "name": "[ preLinkSlot, preInstallSlot, postInstallSlot ]",
3872
- "type": {
3873
- "__schema": "TupleTypeSchema",
3874
- "location": {
3875
- "filePath": "install.main.runtime.ts",
3876
- "line": 1047,
3877
- "character": 53
3878
- },
3879
- "elements": [
3880
- {
3881
- "__schema": "TypeRefSchema",
3882
- "location": {
3883
- "filePath": "install.main.runtime.ts",
3884
- "line": 1047,
3885
- "character": 54
3886
- },
3887
- "name": "PreLinkSlot"
3888
- },
3889
- {
3890
- "__schema": "TypeRefSchema",
3891
- "location": {
3892
- "filePath": "install.main.runtime.ts",
3893
- "line": 1047,
3894
- "character": 67
3895
- },
3896
- "name": "PreInstallSlot"
3897
- },
3898
- {
3899
- "__schema": "TypeRefSchema",
3900
- "location": {
3901
- "filePath": "install.main.runtime.ts",
3902
- "line": 1047,
3903
- "character": 83
3904
- },
3905
- "name": "PostInstallSlot"
3906
- }
3907
- ]
3908
- },
3909
- "isOptional": false,
3910
- "isSpread": false
3911
- }
3912
- ],
3913
- "returnType": {
3914
- "__schema": "InferenceTypeSchema",
3915
- "location": {
3916
- "filePath": "install.main.runtime.ts",
3917
- "line": 1018,
3918
- "character": 3
3919
- },
3920
- "type": "Promise<InstallMain>"
3921
- },
3922
- "modifiers": [
3923
- "static",
3924
- "async"
3925
- ]
3926
- }
3927
- ],
3928
- "extendsNodes": [],
3929
- "implementNodes": []
3930
- },
3931
- {
3932
- "__schema": "UnImplementedSchema",
3933
- "location": {
3934
- "filePath": "install.main.runtime.ts",
3935
- "line": 1116,
3936
- "character": 16
3937
- },
3938
- "name": "InstallMain",
3939
- "type": "Identifier"
3940
- }
3941
- ],
3942
- "internals": [
3943
- {
3944
- "__schema": "TypeSchema",
3945
- "location": {
3946
- "filePath": "install.main.runtime.ts",
3947
- "line": 90,
3948
- "character": 1
3949
- },
3950
- "signature": "type PreLink = (linkOpts?: WorkspaceLinkOptions) => Promise<void>",
3951
- "name": "PreLink",
3952
- "type": {
3953
- "__schema": "FunctionLikeSchema",
3954
- "location": {
3955
- "filePath": "install.main.runtime.ts",
3956
- "line": 90,
3957
- "character": 16
3958
- },
3959
- "signature": "(linkOpts?: WorkspaceLinkOptions): Promise<void>",
3960
- "name": "",
3961
- "params": [
3962
- {
3963
- "__schema": "ParameterSchema",
3964
- "location": {
3965
- "filePath": "install.main.runtime.ts",
3966
- "line": 90,
3967
- "character": 17
3968
- },
3969
- "name": "linkOpts",
3970
- "type": {
3971
- "__schema": "TypeRefSchema",
3972
- "location": {
3973
- "filePath": "install.main.runtime.ts",
3974
- "line": 90,
3975
- "character": 28
3976
- },
3977
- "name": "WorkspaceLinkOptions"
3978
- },
3979
- "isOptional": true,
3980
- "isSpread": false
3981
- }
3982
- ],
3983
- "returnType": {
3984
- "__schema": "TypeRefSchema",
3985
- "location": {
3986
- "filePath": "install.main.runtime.ts",
3987
- "line": 90,
3988
- "character": 53
3989
- },
3990
- "name": "Promise",
3991
- "typeArgs": [
3992
- {
3993
- "__schema": "KeywordTypeSchema",
3994
- "location": {
3995
- "filePath": "install.main.runtime.ts",
3996
- "line": 90,
3997
- "character": 61
3998
- },
3999
- "name": "void"
4000
- }
4001
- ]
4002
- },
4003
- "modifiers": []
4004
- }
4005
- },
4006
- {
4007
- "__schema": "TypeSchema",
4008
- "location": {
4009
- "filePath": "install.main.runtime.ts",
4010
- "line": 91,
4011
- "character": 1
4012
- },
4013
- "signature": "type PreInstall = (installOpts?: WorkspaceInstallOptions) => Promise<void>",
4014
- "name": "PreInstall",
4015
- "type": {
4016
- "__schema": "FunctionLikeSchema",
4017
- "location": {
4018
- "filePath": "install.main.runtime.ts",
4019
- "line": 91,
4020
- "character": 19
4021
- },
4022
- "signature": "(installOpts?: WorkspaceInstallOptions): Promise<void>",
4023
- "name": "",
4024
- "params": [
4025
- {
4026
- "__schema": "ParameterSchema",
4027
- "location": {
4028
- "filePath": "install.main.runtime.ts",
4029
- "line": 91,
4030
- "character": 20
4031
- },
4032
- "name": "installOpts",
4033
- "type": {
4034
- "__schema": "TypeRefSchema",
4035
- "location": {
4036
- "filePath": "install.main.runtime.ts",
4037
- "line": 91,
4038
- "character": 34
4039
- },
4040
- "name": "WorkspaceInstallOptions"
4041
- },
4042
- "isOptional": true,
4043
- "isSpread": false
4044
- }
4045
- ],
4046
- "returnType": {
4047
- "__schema": "TypeRefSchema",
4048
- "location": {
4049
- "filePath": "install.main.runtime.ts",
4050
- "line": 91,
4051
- "character": 62
4052
- },
4053
- "name": "Promise",
4054
- "typeArgs": [
4055
- {
4056
- "__schema": "KeywordTypeSchema",
4057
- "location": {
4058
- "filePath": "install.main.runtime.ts",
4059
- "line": 91,
4060
- "character": 70
4061
- },
4062
- "name": "void"
4063
- }
4064
- ]
4065
- },
4066
- "modifiers": []
4067
- }
4068
- },
4069
- {
4070
- "__schema": "TypeSchema",
4071
- "location": {
4072
- "filePath": "install.main.runtime.ts",
4073
- "line": 92,
4074
- "character": 1
4075
- },
4076
- "signature": "type PostInstall = () => Promise<void>",
4077
- "name": "PostInstall",
4078
- "type": {
4079
- "__schema": "FunctionLikeSchema",
4080
- "location": {
4081
- "filePath": "install.main.runtime.ts",
4082
- "line": 92,
4083
- "character": 20
4084
- },
4085
- "signature": "(): Promise<void>",
4086
- "name": "",
4087
- "params": [],
4088
- "returnType": {
4089
- "__schema": "TypeRefSchema",
4090
- "location": {
4091
- "filePath": "install.main.runtime.ts",
4092
- "line": 92,
4093
- "character": 26
4094
- },
4095
- "name": "Promise",
4096
- "typeArgs": [
4097
- {
4098
- "__schema": "KeywordTypeSchema",
4099
- "location": {
4100
- "filePath": "install.main.runtime.ts",
4101
- "line": 92,
4102
- "character": 34
4103
- },
4104
- "name": "void"
4105
- }
4106
- ]
4107
- },
4108
- "modifiers": []
4109
- }
4110
- },
4111
- {
4112
- "__schema": "TypeSchema",
4113
- "location": {
4114
- "filePath": "install.main.runtime.ts",
4115
- "line": 94,
4116
- "character": 1
4117
- },
4118
- "signature": "type PreLinkSlot = SlotRegistry<PreLink>",
4119
- "name": "PreLinkSlot",
4120
- "type": {
4121
- "__schema": "TypeRefSchema",
4122
- "location": {
4123
- "filePath": "install.main.runtime.ts",
4124
- "line": 94,
4125
- "character": 20
4126
- },
4127
- "name": "SlotRegistry",
4128
- "typeArgs": [
4129
- {
4130
- "__schema": "TypeRefSchema",
4131
- "location": {
4132
- "filePath": "install.main.runtime.ts",
4133
- "line": 94,
4134
- "character": 33
4135
- },
4136
- "name": "PreLink"
4137
- }
4138
- ]
4139
- }
4140
- },
4141
- {
4142
- "__schema": "TypeSchema",
4143
- "location": {
4144
- "filePath": "install.main.runtime.ts",
4145
- "line": 95,
4146
- "character": 1
4147
- },
4148
- "signature": "type PreInstallSlot = SlotRegistry<PreInstall>",
4149
- "name": "PreInstallSlot",
4150
- "type": {
4151
- "__schema": "TypeRefSchema",
4152
- "location": {
4153
- "filePath": "install.main.runtime.ts",
4154
- "line": 95,
4155
- "character": 23
4156
- },
4157
- "name": "SlotRegistry",
4158
- "typeArgs": [
4159
- {
4160
- "__schema": "TypeRefSchema",
4161
- "location": {
4162
- "filePath": "install.main.runtime.ts",
4163
- "line": 95,
4164
- "character": 36
4165
- },
4166
- "name": "PreInstall"
4167
- }
4168
- ]
4169
- }
4170
- },
4171
- {
4172
- "__schema": "TypeSchema",
4173
- "location": {
4174
- "filePath": "install.main.runtime.ts",
4175
- "line": 96,
4176
- "character": 1
4177
- },
4178
- "signature": "type PostInstallSlot = SlotRegistry<PostInstall>",
4179
- "name": "PostInstallSlot",
4180
- "type": {
4181
- "__schema": "TypeRefSchema",
4182
- "location": {
4183
- "filePath": "install.main.runtime.ts",
4184
- "line": 96,
4185
- "character": 24
4186
- },
4187
- "name": "SlotRegistry",
4188
- "typeArgs": [
4189
- {
4190
- "__schema": "TypeRefSchema",
4191
- "location": {
4192
- "filePath": "install.main.runtime.ts",
4193
- "line": 96,
4194
- "character": 37
4195
- },
4196
- "name": "PostInstall"
4197
- }
4198
- ]
4199
- }
4200
- },
4201
- {
4202
- "__schema": "TypeSchema",
4203
- "location": {
4204
- "filePath": "install.main.runtime.ts",
4205
- "line": 98,
4206
- "character": 1
4207
- },
4208
- "signature": "type GetComponentsAndManifestsOptions = Omit<GetComponentManifestsOptions, \"rootDir\" | \"rootPolicy\" | \"componentDirectoryMap\"> & Pick<PackageManagerInstallOptions, \"nodeLinker\">",
4209
- "name": "GetComponentsAndManifestsOptions",
4210
- "type": {
4211
- "__schema": "TypeIntersectionSchema",
4212
- "location": {
4213
- "filePath": "install.main.runtime.ts",
4214
- "line": 98,
4215
- "character": 41
4216
- },
4217
- "types": [
4218
- {
4219
- "__schema": "TypeRefSchema",
4220
- "location": {
4221
- "filePath": "install.main.runtime.ts",
4222
- "line": 98,
4223
- "character": 41
4224
- },
4225
- "name": "Omit",
4226
- "typeArgs": [
4227
- {
4228
- "__schema": "TypeRefSchema",
4229
- "location": {
4230
- "filePath": "install.main.runtime.ts",
4231
- "line": 99,
4232
- "character": 3
4233
- },
4234
- "name": "GetComponentManifestsOptions"
4235
- },
4236
- {
4237
- "__schema": "TypeUnionSchema",
4238
- "location": {
4239
- "filePath": "install.main.runtime.ts",
4240
- "line": 100,
4241
- "character": 3
4242
- },
4243
- "types": [
4244
- {
4245
- "__schema": "LiteralTypeSchema",
4246
- "location": {
4247
- "filePath": "install.main.runtime.ts",
4248
- "line": 100,
4249
- "character": 3
4250
- },
4251
- "name": "'componentDirectoryMap'"
4252
- },
4253
- {
4254
- "__schema": "LiteralTypeSchema",
4255
- "location": {
4256
- "filePath": "install.main.runtime.ts",
4257
- "line": 100,
4258
- "character": 29
4259
- },
4260
- "name": "'rootPolicy'"
4261
- },
4262
- {
4263
- "__schema": "LiteralTypeSchema",
4264
- "location": {
4265
- "filePath": "install.main.runtime.ts",
4266
- "line": 100,
4267
- "character": 44
4268
- },
4269
- "name": "'rootDir'"
4270
- }
4271
- ]
4272
- }
4273
- ]
4274
- },
4275
- {
4276
- "__schema": "TypeRefSchema",
4277
- "location": {
4278
- "filePath": "install.main.runtime.ts",
4279
- "line": 102,
4280
- "character": 3
4281
- },
4282
- "name": "Pick",
4283
- "typeArgs": [
4284
- {
4285
- "__schema": "TypeRefSchema",
4286
- "location": {
4287
- "filePath": "install.main.runtime.ts",
4288
- "line": 102,
4289
- "character": 8
4290
- },
4291
- "name": "PackageManagerInstallOptions"
4292
- },
4293
- {
4294
- "__schema": "LiteralTypeSchema",
4295
- "location": {
4296
- "filePath": "install.main.runtime.ts",
4297
- "line": 102,
4298
- "character": 38
4299
- },
4300
- "name": "'nodeLinker'"
4301
- }
4302
- ]
4303
- }
4304
- ]
4305
- }
4306
- },
4307
- {
4308
- "__schema": "TypeSchema",
4309
- "location": {
4310
- "filePath": "install.main.runtime.ts",
4311
- "line": 1092,
4312
- "character": 1
4313
- },
4314
- "signature": "type ComponentsAndManifests = {\n componentDirectoryMap: ComponentMap<string>;\n manifests: Record<string, ProjectManifest>;\n}",
4315
- "name": "ComponentsAndManifests",
4316
- "type": {
4317
- "__schema": "TypeLiteralSchema",
4318
- "location": {
4319
- "filePath": "install.main.runtime.ts",
4320
- "line": 1092,
4321
- "character": 31
4322
- },
4323
- "members": [
4324
- {
4325
- "__schema": "VariableLikeSchema",
4326
- "location": {
4327
- "filePath": "install.main.runtime.ts",
4328
- "line": 1093,
4329
- "character": 3
4330
- },
4331
- "signature": "(property) componentDirectoryMap: ComponentMap<string>",
4332
- "name": "componentDirectoryMap",
4333
- "type": {
4334
- "__schema": "TypeRefSchema",
4335
- "location": {
4336
- "filePath": "install.main.runtime.ts",
4337
- "line": 1093,
4338
- "character": 26
4339
- },
4340
- "name": "ComponentMap",
4341
- "typeArgs": [
4342
- {
4343
- "__schema": "KeywordTypeSchema",
4344
- "location": {
4345
- "filePath": "install.main.runtime.ts",
4346
- "line": 1093,
4347
- "character": 39
4348
- },
4349
- "name": "string"
4350
- }
4351
- ]
4352
- },
4353
- "isOptional": false
4354
- },
4355
- {
4356
- "__schema": "VariableLikeSchema",
4357
- "location": {
4358
- "filePath": "install.main.runtime.ts",
4359
- "line": 1094,
4360
- "character": 3
4361
- },
4362
- "signature": "(property) manifests: Record<string, ProjectManifest>",
4363
- "name": "manifests",
4364
- "type": {
4365
- "__schema": "TypeRefSchema",
4366
- "location": {
4367
- "filePath": "install.main.runtime.ts",
4368
- "line": 1094,
4369
- "character": 14
4370
- },
4371
- "name": "Record",
4372
- "typeArgs": [
4373
- {
4374
- "__schema": "KeywordTypeSchema",
4375
- "location": {
4376
- "filePath": "install.main.runtime.ts",
4377
- "line": 1094,
4378
- "character": 21
4379
- },
4380
- "name": "string"
4381
- },
4382
- {
4383
- "__schema": "TypeRefSchema",
4384
- "location": {
4385
- "filePath": "install.main.runtime.ts",
4386
- "line": 1094,
4387
- "character": 29
4388
- },
4389
- "name": "ProjectManifest"
4390
- }
4391
- ]
4392
- },
4393
- "isOptional": false
4394
- }
4395
- ]
4396
- }
4397
- },
4398
- {
4399
- "__schema": "FunctionLikeSchema",
4400
- "location": {
4401
- "filePath": "install.main.runtime.ts",
4402
- "line": 1097,
4403
- "character": 1
4404
- },
4405
- "signature": "function hasComponentsFromWorkspaceInMissingDeps({ componentDirectoryMap, manifests, }: ComponentsAndManifests): boolean",
4406
- "name": "hasComponentsFromWorkspaceInMissingDeps",
4407
- "params": [
4408
- {
4409
- "__schema": "ParameterSchema",
4410
- "location": {
4411
- "filePath": "install.main.runtime.ts",
4412
- "line": 1097,
4413
- "character": 50
4414
- },
4415
- "name": "{ componentDirectoryMap, manifests }",
4416
- "type": {
4417
- "__schema": "TypeRefSchema",
4418
- "location": {
4419
- "filePath": "install.main.runtime.ts",
4420
- "line": 1100,
4421
- "character": 4
4422
- },
4423
- "name": "ComponentsAndManifests"
4424
- },
4425
- "isOptional": false,
4426
- "objectBindingNodes": [
4427
- {
4428
- "__schema": "InferenceTypeSchema",
4429
- "location": {
4430
- "filePath": "install.main.runtime.ts",
4431
- "line": 1098,
4432
- "character": 3
4433
- },
4434
- "name": "componentDirectoryMap",
4435
- "type": "ComponentMap<string>",
4436
- "isSpread": false
4437
- },
4438
- {
4439
- "__schema": "InferenceTypeSchema",
4440
- "location": {
4441
- "filePath": "install.main.runtime.ts",
4442
- "line": 1099,
4443
- "character": 3
4444
- },
4445
- "name": "manifests",
4446
- "type": "Record<string, ProjectManifest>",
4447
- "isSpread": false
4448
- }
4449
- ],
4450
- "isSpread": false
4451
- }
4452
- ],
4453
- "returnType": {
4454
- "__schema": "KeywordTypeSchema",
4455
- "location": {
4456
- "filePath": "install.main.runtime.ts",
4457
- "line": 1100,
4458
- "character": 29
4459
- },
4460
- "name": "boolean"
4461
- },
4462
- "modifiers": []
4463
- },
4464
- {
4465
- "__schema": "UnImplementedSchema",
4466
- "location": {
4467
- "filePath": "install.main.runtime.ts",
4468
- "line": 1114,
4469
- "character": 1
4470
- },
4471
- "name": "InstallAspect.addRuntime(InstallMain);",
4472
- "type": "ExpressionStatement"
4473
- },
4474
- {
4475
- "__schema": "FunctionLikeSchema",
4476
- "location": {
4477
- "filePath": "install.main.runtime.ts",
4478
- "line": 1118,
4479
- "character": 1
4480
- },
4481
- "signature": "function manifestsHash(manifests: Record<string, ProjectManifest>): string",
4482
- "name": "manifestsHash",
4483
- "params": [
4484
- {
4485
- "__schema": "ParameterSchema",
4486
- "location": {
4487
- "filePath": "install.main.runtime.ts",
4488
- "line": 1118,
4489
- "character": 24
4490
- },
4491
- "name": "manifests",
4492
- "type": {
4493
- "__schema": "TypeRefSchema",
4494
- "location": {
4495
- "filePath": "install.main.runtime.ts",
4496
- "line": 1118,
4497
- "character": 35
4498
- },
4499
- "name": "Record",
4500
- "typeArgs": [
4501
- {
4502
- "__schema": "KeywordTypeSchema",
4503
- "location": {
4504
- "filePath": "install.main.runtime.ts",
4505
- "line": 1118,
4506
- "character": 42
4507
- },
4508
- "name": "string"
4509
- },
4510
- {
4511
- "__schema": "TypeRefSchema",
4512
- "location": {
4513
- "filePath": "install.main.runtime.ts",
4514
- "line": 1118,
4515
- "character": 50
4516
- },
4517
- "name": "ProjectManifest"
4518
- }
4519
- ]
4520
- },
4521
- "isOptional": false,
4522
- "isSpread": false
4523
- }
4524
- ],
4525
- "returnType": {
4526
- "__schema": "KeywordTypeSchema",
4527
- "location": {
4528
- "filePath": "install.main.runtime.ts",
4529
- "line": 1118,
4530
- "character": 69
4531
- },
4532
- "name": "string"
4533
- },
4534
- "modifiers": []
4535
- }
4536
- ]
4537
- },
4538
- {
4539
- "__schema": "ModuleSchema",
4540
- "location": {
4541
- "filePath": "install.aspect.ts",
4542
- "line": 1,
4543
- "character": 1
4544
- },
4545
- "exports": [
4546
- {
4547
- "__schema": "VariableLikeSchema",
4548
- "location": {
4549
- "filePath": "install.aspect.ts",
4550
- "line": 3,
4551
- "character": 14
4552
- },
4553
- "signature": "const InstallAspect: Aspect",
4554
- "name": "InstallAspect",
4555
- "type": {
4556
- "__schema": "TypeRefSchema",
4557
- "location": {
4558
- "filePath": "install.aspect.ts",
4559
- "line": 3,
4560
- "character": 14
4561
- },
4562
- "name": "Aspect",
4563
- "componentId": {
4564
- "scope": "teambit.harmony",
4565
- "name": "harmony",
4566
- "version": "0.4.6"
4567
- }
4568
- },
4569
- "isOptional": false,
4570
- "defaultValue": "Aspect.create({\n id: 'teambit.workspace/install',\n})"
4571
- }
4572
- ],
4573
- "internals": []
4574
- }
4575
- ],
4576
- "componentId": {
4577
- "scope": "teambit.workspace",
4578
- "name": "install",
4579
- "version": "1.0.186"
4580
- },
4581
- "taggedModuleExports": []
4582
- }