@teambit/node 0.0.1048 → 0.0.1049

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,3262 +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": "ClassSchema",
18
- "name": "NodeMain",
19
- "location": {
20
- "filePath": "node.main.runtime.ts",
21
- "line": 22,
22
- "character": 1
23
- },
24
- "signature": "class NodeMain",
25
- "extendsNodes": [],
26
- "implementNodes": [],
27
- "members": [
28
- {
29
- "__schema": "ConstructorSchema",
30
- "location": {
31
- "filePath": "node.main.runtime.ts",
32
- "line": 23,
33
- "character": 3
34
- },
35
- "name": "constructor",
36
- "signature": "constructor NodeMain(react: ReactMain, tsAspect: TypescriptMain, nodeEnv: NodeEnv, envs: EnvsMain): NodeMain",
37
- "modifiers": [],
38
- "params": [
39
- {
40
- "__schema": "ParameterSchema",
41
- "location": {
42
- "filePath": "node.main.runtime.ts",
43
- "line": 24,
44
- "character": 5
45
- },
46
- "name": "react",
47
- "isOptional": false,
48
- "type": {
49
- "__schema": "TypeRefSchema",
50
- "location": {
51
- "filePath": "node.main.runtime.ts",
52
- "line": 24,
53
- "character": 20
54
- },
55
- "name": "ReactMain",
56
- "componentId": {
57
- "scope": "teambit.react",
58
- "name": "react"
59
- }
60
- }
61
- },
62
- {
63
- "__schema": "ParameterSchema",
64
- "location": {
65
- "filePath": "node.main.runtime.ts",
66
- "line": 26,
67
- "character": 5
68
- },
69
- "name": "tsAspect",
70
- "isOptional": false,
71
- "type": {
72
- "__schema": "TypeRefSchema",
73
- "location": {
74
- "filePath": "node.main.runtime.ts",
75
- "line": 26,
76
- "character": 23
77
- },
78
- "name": "TypescriptMain",
79
- "componentId": {
80
- "scope": "teambit.typescript",
81
- "name": "typescript"
82
- }
83
- }
84
- },
85
- {
86
- "__schema": "ParameterSchema",
87
- "location": {
88
- "filePath": "node.main.runtime.ts",
89
- "line": 28,
90
- "character": 5
91
- },
92
- "name": "nodeEnv",
93
- "isOptional": false,
94
- "type": {
95
- "__schema": "TypeRefSchema",
96
- "location": {
97
- "filePath": "node.main.runtime.ts",
98
- "line": 28,
99
- "character": 23
100
- },
101
- "name": "NodeEnv",
102
- "internalFilePath": "node.env.ts"
103
- }
104
- },
105
- {
106
- "__schema": "ParameterSchema",
107
- "location": {
108
- "filePath": "node.main.runtime.ts",
109
- "line": 30,
110
- "character": 5
111
- },
112
- "name": "envs",
113
- "isOptional": false,
114
- "type": {
115
- "__schema": "TypeRefSchema",
116
- "location": {
117
- "filePath": "node.main.runtime.ts",
118
- "line": 30,
119
- "character": 19
120
- },
121
- "name": "EnvsMain",
122
- "componentId": {
123
- "scope": "teambit.envs",
124
- "name": "envs"
125
- }
126
- }
127
- }
128
- ],
129
- "returnType": {
130
- "__schema": "ThisTypeSchema",
131
- "location": {
132
- "filePath": "node.main.runtime.ts",
133
- "line": 22,
134
- "character": 1
135
- }
136
- }
137
- },
138
- {
139
- "__schema": "FunctionLikeSchema",
140
- "location": {
141
- "filePath": "node.main.runtime.ts",
142
- "line": 33,
143
- "character": 3
144
- },
145
- "name": "icon",
146
- "signature": "(method) NodeMain.icon(): string",
147
- "modifiers": [],
148
- "params": [],
149
- "returnType": {
150
- "__schema": "InferenceTypeSchema",
151
- "location": {
152
- "filePath": "node.main.runtime.ts",
153
- "line": 33,
154
- "character": 3
155
- },
156
- "type": "string"
157
- }
158
- },
159
- {
160
- "__schema": "VariableLikeSchema",
161
- "location": {
162
- "filePath": "node.main.runtime.ts",
163
- "line": 41,
164
- "character": 3
165
- },
166
- "name": "overrideTsConfig",
167
- "signature": "(property) NodeMain.overrideTsConfig: (tsconfig: TsConfigSourceFile, compilerOptions?: Partial<TsCompilerOptionsWithoutTsConfig>, tsModule?: any) => EnvTransformer",
168
- "isOptional": false,
169
- "type": {
170
- "__schema": "FunctionLikeSchema",
171
- "location": {
172
- "filePath": "node.main.runtime.ts",
173
- "line": 41,
174
- "character": 21
175
- },
176
- "name": "",
177
- "signature": "",
178
- "modifiers": [],
179
- "params": [
180
- {
181
- "__schema": "ParameterSchema",
182
- "location": {
183
- "filePath": "node.main.runtime.ts",
184
- "line": 42,
185
- "character": 5
186
- },
187
- "name": "tsconfig",
188
- "isOptional": false,
189
- "type": {
190
- "__schema": "TypeRefSchema",
191
- "location": {
192
- "filePath": "node.main.runtime.ts",
193
- "line": 42,
194
- "character": 15
195
- },
196
- "name": "TsConfigSourceFile",
197
- "packageName": "typescript"
198
- }
199
- },
200
- {
201
- "__schema": "ParameterSchema",
202
- "location": {
203
- "filePath": "node.main.runtime.ts",
204
- "line": 43,
205
- "character": 5
206
- },
207
- "name": "compilerOptions",
208
- "isOptional": true,
209
- "type": {
210
- "__schema": "TypeRefSchema",
211
- "location": {
212
- "filePath": "node.main.runtime.ts",
213
- "line": 43,
214
- "character": 23
215
- },
216
- "name": "Partial",
217
- "packageName": "",
218
- "typeArgs": [
219
- {
220
- "__schema": "TypeRefSchema",
221
- "location": {
222
- "filePath": "node.main.runtime.ts",
223
- "line": 43,
224
- "character": 31
225
- },
226
- "name": "TsCompilerOptionsWithoutTsConfig",
227
- "componentId": {
228
- "scope": "teambit.typescript",
229
- "name": "typescript"
230
- }
231
- }
232
- ]
233
- }
234
- },
235
- {
236
- "__schema": "ParameterSchema",
237
- "location": {
238
- "filePath": "node.main.runtime.ts",
239
- "line": 44,
240
- "character": 5
241
- },
242
- "name": "tsModule",
243
- "isOptional": true,
244
- "type": {
245
- "__schema": "KeywordTypeSchema",
246
- "location": {
247
- "filePath": "node.main.runtime.ts",
248
- "line": 44,
249
- "character": 16
250
- },
251
- "name": "any"
252
- }
253
- }
254
- ],
255
- "returnType": {
256
- "__schema": "TypeRefSchema",
257
- "location": {
258
- "filePath": "node.main.runtime.ts",
259
- "line": 45,
260
- "character": 8
261
- },
262
- "name": "EnvTransformer",
263
- "componentId": {
264
- "scope": "teambit.envs",
265
- "name": "envs"
266
- }
267
- }
268
- },
269
- "doc": {
270
- "__schema": "DocSchema",
271
- "location": {
272
- "filePath": "node.main.runtime.ts",
273
- "line": 37,
274
- "character": 3
275
- },
276
- "raw": "/**\n * @deprecated use useTypescript()\n * override the TS config of the environment.\n */",
277
- "tags": [
278
- {
279
- "__schema": "TagSchema",
280
- "location": {
281
- "filePath": "node.main.runtime.ts",
282
- "line": 38,
283
- "character": 6
284
- },
285
- "tagName": "deprecated",
286
- "comment": "use useTypescript()\noverride the TS config of the environment."
287
- }
288
- ]
289
- }
290
- },
291
- {
292
- "__schema": "VariableLikeSchema",
293
- "location": {
294
- "filePath": "node.main.runtime.ts",
295
- "line": 50,
296
- "character": 3
297
- },
298
- "name": "overrideJestConfig",
299
- "signature": "(property) NodeMain.overrideJestConfig: (jestConfigPath: string, jestModulePath?: string | undefined) => EnvTransformer",
300
- "isOptional": false,
301
- "type": {
302
- "__schema": "TypeRefSchema",
303
- "location": {
304
- "filePath": "node.main.runtime.ts",
305
- "line": 50,
306
- "character": 3
307
- },
308
- "name": "(jestConfigPath: string, jestModulePath?: string | undefined) => EnvTransformer",
309
- "componentId": {
310
- "scope": "teambit.react",
311
- "name": "react",
312
- "version": "0.0.1048"
313
- }
314
- },
315
- "doc": {
316
- "__schema": "DocSchema",
317
- "location": {
318
- "filePath": "node.main.runtime.ts",
319
- "line": 47,
320
- "character": 3
321
- },
322
- "raw": "/**\n * override the jest config of the environment.\n */",
323
- "comment": "override the jest config of the environment."
324
- }
325
- },
326
- {
327
- "__schema": "VariableLikeSchema",
328
- "location": {
329
- "filePath": "node.main.runtime.ts",
330
- "line": 55,
331
- "character": 3
332
- },
333
- "name": "overrideBuildPipe",
334
- "signature": "(property) NodeMain.overrideBuildPipe: (tasks: BuildTask[]) => EnvTransformer",
335
- "isOptional": false,
336
- "type": {
337
- "__schema": "FunctionLikeSchema",
338
- "location": {
339
- "filePath": "node.main.runtime.ts",
340
- "line": 55,
341
- "character": 22
342
- },
343
- "name": "",
344
- "signature": "",
345
- "modifiers": [],
346
- "params": [
347
- {
348
- "__schema": "ParameterSchema",
349
- "location": {
350
- "filePath": "node.main.runtime.ts",
351
- "line": 55,
352
- "character": 23
353
- },
354
- "name": "tasks",
355
- "isOptional": false,
356
- "type": {
357
- "__schema": "TypeArraySchema",
358
- "location": {
359
- "filePath": "node.main.runtime.ts",
360
- "line": 55,
361
- "character": 30
362
- },
363
- "type": {
364
- "__schema": "TypeRefSchema",
365
- "location": {
366
- "filePath": "node.main.runtime.ts",
367
- "line": 55,
368
- "character": 30
369
- },
370
- "name": "BuildTask",
371
- "componentId": {
372
- "scope": "teambit.pipelines",
373
- "name": "builder"
374
- }
375
- }
376
- }
377
- }
378
- ],
379
- "returnType": {
380
- "__schema": "TypeRefSchema",
381
- "location": {
382
- "filePath": "node.main.runtime.ts",
383
- "line": 55,
384
- "character": 46
385
- },
386
- "name": "EnvTransformer",
387
- "componentId": {
388
- "scope": "teambit.envs",
389
- "name": "envs"
390
- }
391
- }
392
- },
393
- "doc": {
394
- "__schema": "DocSchema",
395
- "location": {
396
- "filePath": "node.main.runtime.ts",
397
- "line": 52,
398
- "character": 3
399
- },
400
- "raw": "/**\n * override the env build pipeline.\n */",
401
- "comment": "override the env build pipeline."
402
- }
403
- },
404
- {
405
- "__schema": "VariableLikeSchema",
406
- "location": {
407
- "filePath": "node.main.runtime.ts",
408
- "line": 60,
409
- "character": 3
410
- },
411
- "name": "overrideCompiler",
412
- "signature": "(property) NodeMain.overrideCompiler: (compiler: Compiler) => EnvTransformer",
413
- "isOptional": false,
414
- "type": {
415
- "__schema": "FunctionLikeSchema",
416
- "location": {
417
- "filePath": "node.main.runtime.ts",
418
- "line": 60,
419
- "character": 21
420
- },
421
- "name": "",
422
- "signature": "",
423
- "modifiers": [],
424
- "params": [
425
- {
426
- "__schema": "ParameterSchema",
427
- "location": {
428
- "filePath": "node.main.runtime.ts",
429
- "line": 60,
430
- "character": 22
431
- },
432
- "name": "compiler",
433
- "isOptional": false,
434
- "type": {
435
- "__schema": "TypeRefSchema",
436
- "location": {
437
- "filePath": "node.main.runtime.ts",
438
- "line": 60,
439
- "character": 32
440
- },
441
- "name": "Compiler",
442
- "componentId": {
443
- "scope": "teambit.compilation",
444
- "name": "compiler"
445
- }
446
- }
447
- }
448
- ],
449
- "returnType": {
450
- "__schema": "TypeRefSchema",
451
- "location": {
452
- "filePath": "node.main.runtime.ts",
453
- "line": 60,
454
- "character": 45
455
- },
456
- "name": "EnvTransformer",
457
- "componentId": {
458
- "scope": "teambit.envs",
459
- "name": "envs"
460
- }
461
- }
462
- },
463
- "doc": {
464
- "__schema": "DocSchema",
465
- "location": {
466
- "filePath": "node.main.runtime.ts",
467
- "line": 57,
468
- "character": 3
469
- },
470
- "raw": "/**\n * override the env compilers list.\n */",
471
- "comment": "override the env compilers list."
472
- }
473
- },
474
- {
475
- "__schema": "VariableLikeSchema",
476
- "location": {
477
- "filePath": "node.main.runtime.ts",
478
- "line": 65,
479
- "character": 3
480
- },
481
- "name": "overrideCompilerTasks",
482
- "signature": "(property) NodeMain.overrideCompilerTasks: (tasks: BuildTask[]) => EnvTransformer",
483
- "isOptional": false,
484
- "type": {
485
- "__schema": "FunctionLikeSchema",
486
- "location": {
487
- "filePath": "node.main.runtime.ts",
488
- "line": 65,
489
- "character": 26
490
- },
491
- "name": "",
492
- "signature": "",
493
- "modifiers": [],
494
- "params": [
495
- {
496
- "__schema": "ParameterSchema",
497
- "location": {
498
- "filePath": "node.main.runtime.ts",
499
- "line": 65,
500
- "character": 27
501
- },
502
- "name": "tasks",
503
- "isOptional": false,
504
- "type": {
505
- "__schema": "TypeArraySchema",
506
- "location": {
507
- "filePath": "node.main.runtime.ts",
508
- "line": 65,
509
- "character": 34
510
- },
511
- "type": {
512
- "__schema": "TypeRefSchema",
513
- "location": {
514
- "filePath": "node.main.runtime.ts",
515
- "line": 65,
516
- "character": 34
517
- },
518
- "name": "BuildTask",
519
- "componentId": {
520
- "scope": "teambit.pipelines",
521
- "name": "builder"
522
- }
523
- }
524
- }
525
- }
526
- ],
527
- "returnType": {
528
- "__schema": "TypeRefSchema",
529
- "location": {
530
- "filePath": "node.main.runtime.ts",
531
- "line": 65,
532
- "character": 50
533
- },
534
- "name": "EnvTransformer",
535
- "componentId": {
536
- "scope": "teambit.envs",
537
- "name": "envs"
538
- }
539
- }
540
- },
541
- "doc": {
542
- "__schema": "DocSchema",
543
- "location": {
544
- "filePath": "node.main.runtime.ts",
545
- "line": 62,
546
- "character": 3
547
- },
548
- "raw": "/**\n * override the env compilers tasks in the build pipe.\n */",
549
- "comment": "override the env compilers tasks in the build pipe."
550
- }
551
- },
552
- {
553
- "__schema": "VariableLikeSchema",
554
- "location": {
555
- "filePath": "node.main.runtime.ts",
556
- "line": 71,
557
- "character": 3
558
- },
559
- "name": "overrideBuildTsConfig",
560
- "signature": "(property) NodeMain.overrideBuildTsConfig: (tsconfig: any, compilerOptions?: Partial<TsCompilerOptionsWithoutTsConfig>) => EnvTransformer",
561
- "isOptional": false,
562
- "type": {
563
- "__schema": "FunctionLikeSchema",
564
- "location": {
565
- "filePath": "node.main.runtime.ts",
566
- "line": 71,
567
- "character": 26
568
- },
569
- "name": "",
570
- "signature": "",
571
- "modifiers": [],
572
- "params": [
573
- {
574
- "__schema": "ParameterSchema",
575
- "location": {
576
- "filePath": "node.main.runtime.ts",
577
- "line": 72,
578
- "character": 5
579
- },
580
- "name": "tsconfig",
581
- "isOptional": false,
582
- "type": {
583
- "__schema": "KeywordTypeSchema",
584
- "location": {
585
- "filePath": "node.main.runtime.ts",
586
- "line": 72,
587
- "character": 15
588
- },
589
- "name": "any"
590
- }
591
- },
592
- {
593
- "__schema": "ParameterSchema",
594
- "location": {
595
- "filePath": "node.main.runtime.ts",
596
- "line": 73,
597
- "character": 5
598
- },
599
- "name": "compilerOptions",
600
- "isOptional": true,
601
- "type": {
602
- "__schema": "TypeRefSchema",
603
- "location": {
604
- "filePath": "node.main.runtime.ts",
605
- "line": 73,
606
- "character": 23
607
- },
608
- "name": "Partial",
609
- "packageName": "",
610
- "typeArgs": [
611
- {
612
- "__schema": "TypeRefSchema",
613
- "location": {
614
- "filePath": "node.main.runtime.ts",
615
- "line": 73,
616
- "character": 31
617
- },
618
- "name": "TsCompilerOptionsWithoutTsConfig",
619
- "componentId": {
620
- "scope": "teambit.typescript",
621
- "name": "typescript"
622
- }
623
- }
624
- ]
625
- }
626
- }
627
- ],
628
- "returnType": {
629
- "__schema": "TypeRefSchema",
630
- "location": {
631
- "filePath": "node.main.runtime.ts",
632
- "line": 74,
633
- "character": 8
634
- },
635
- "name": "EnvTransformer",
636
- "componentId": {
637
- "scope": "teambit.envs",
638
- "name": "envs"
639
- }
640
- }
641
- },
642
- "doc": {
643
- "__schema": "DocSchema",
644
- "location": {
645
- "filePath": "node.main.runtime.ts",
646
- "line": 67,
647
- "character": 3
648
- },
649
- "raw": "/**\n * @deprecated use useTypescript()\n * override the build ts config.\n */",
650
- "tags": [
651
- {
652
- "__schema": "TagSchema",
653
- "location": {
654
- "filePath": "node.main.runtime.ts",
655
- "line": 68,
656
- "character": 6
657
- },
658
- "tagName": "deprecated",
659
- "comment": "use useTypescript()\noverride the build ts config."
660
- }
661
- ]
662
- }
663
- },
664
- {
665
- "__schema": "VariableLikeSchema",
666
- "location": {
667
- "filePath": "node.main.runtime.ts",
668
- "line": 79,
669
- "character": 3
670
- },
671
- "name": "overridePackageJsonProps",
672
- "signature": "(property) NodeMain.overridePackageJsonProps: (props: PackageJsonProps) => EnvTransformer",
673
- "isOptional": false,
674
- "type": {
675
- "__schema": "FunctionLikeSchema",
676
- "location": {
677
- "filePath": "node.main.runtime.ts",
678
- "line": 79,
679
- "character": 29
680
- },
681
- "name": "",
682
- "signature": "",
683
- "modifiers": [],
684
- "params": [
685
- {
686
- "__schema": "ParameterSchema",
687
- "location": {
688
- "filePath": "node.main.runtime.ts",
689
- "line": 79,
690
- "character": 30
691
- },
692
- "name": "props",
693
- "isOptional": false,
694
- "type": {
695
- "__schema": "TypeRefSchema",
696
- "location": {
697
- "filePath": "node.main.runtime.ts",
698
- "line": 79,
699
- "character": 37
700
- },
701
- "name": "PackageJsonProps",
702
- "componentId": {
703
- "scope": "teambit.pkg",
704
- "name": "pkg"
705
- }
706
- }
707
- }
708
- ],
709
- "returnType": {
710
- "__schema": "TypeRefSchema",
711
- "location": {
712
- "filePath": "node.main.runtime.ts",
713
- "line": 79,
714
- "character": 58
715
- },
716
- "name": "EnvTransformer",
717
- "componentId": {
718
- "scope": "teambit.envs",
719
- "name": "envs"
720
- }
721
- }
722
- },
723
- "doc": {
724
- "__schema": "DocSchema",
725
- "location": {
726
- "filePath": "node.main.runtime.ts",
727
- "line": 76,
728
- "character": 3
729
- },
730
- "raw": "/**\n * override package json properties.\n */",
731
- "comment": "override package json properties."
732
- }
733
- },
734
- {
735
- "__schema": "VariableLikeSchema",
736
- "location": {
737
- "filePath": "node.main.runtime.ts",
738
- "line": 87,
739
- "character": 3
740
- },
741
- "name": "overridePreviewConfig",
742
- "signature": "(property) NodeMain.overridePreviewConfig: (config: Configuration) => EnvTransformer",
743
- "isOptional": false,
744
- "type": {
745
- "__schema": "TypeRefSchema",
746
- "location": {
747
- "filePath": "node.main.runtime.ts",
748
- "line": 87,
749
- "character": 3
750
- },
751
- "name": "(config: Configuration) => EnvTransformer",
752
- "componentId": {
753
- "scope": "teambit.react",
754
- "name": "react",
755
- "version": "0.0.1048"
756
- }
757
- },
758
- "doc": {
759
- "__schema": "DocSchema",
760
- "location": {
761
- "filePath": "node.main.runtime.ts",
762
- "line": 83,
763
- "character": 3
764
- },
765
- "raw": "/**\n * @deprecated - use useWebpack\n * override the preview config in the env.\n */",
766
- "tags": [
767
- {
768
- "__schema": "TagSchema",
769
- "location": {
770
- "filePath": "node.main.runtime.ts",
771
- "line": 84,
772
- "character": 6
773
- },
774
- "tagName": "deprecated",
775
- "comment": "- use useWebpack\noverride the preview config in the env."
776
- }
777
- ]
778
- }
779
- },
780
- {
781
- "__schema": "VariableLikeSchema",
782
- "location": {
783
- "filePath": "node.main.runtime.ts",
784
- "line": 93,
785
- "character": 3
786
- },
787
- "name": "overrideDevServerConfig",
788
- "signature": "(property) NodeMain.overrideDevServerConfig: (config: Configuration) => EnvTransformer",
789
- "isOptional": false,
790
- "type": {
791
- "__schema": "TypeRefSchema",
792
- "location": {
793
- "filePath": "node.main.runtime.ts",
794
- "line": 93,
795
- "character": 3
796
- },
797
- "name": "(config: Configuration) => EnvTransformer",
798
- "componentId": {
799
- "scope": "teambit.react",
800
- "name": "react",
801
- "version": "0.0.1048"
802
- }
803
- },
804
- "doc": {
805
- "__schema": "DocSchema",
806
- "location": {
807
- "filePath": "node.main.runtime.ts",
808
- "line": 89,
809
- "character": 3
810
- },
811
- "raw": "/**\n * @deprecated - use useWebpack\n * override the dev server configuration.\n */",
812
- "tags": [
813
- {
814
- "__schema": "TagSchema",
815
- "location": {
816
- "filePath": "node.main.runtime.ts",
817
- "line": 90,
818
- "character": 6
819
- },
820
- "tagName": "deprecated",
821
- "comment": "- use useWebpack\noverride the dev server configuration."
822
- }
823
- ]
824
- }
825
- },
826
- {
827
- "__schema": "FunctionLikeSchema",
828
- "location": {
829
- "filePath": "node.main.runtime.ts",
830
- "line": 99,
831
- "character": 3
832
- },
833
- "name": "useTypescript",
834
- "signature": "(method) NodeMain.useTypescript(modifiers?: UseTypescriptModifiers, tsModule?: any): EnvTransformer",
835
- "modifiers": [],
836
- "params": [
837
- {
838
- "__schema": "ParameterSchema",
839
- "location": {
840
- "filePath": "node.main.runtime.ts",
841
- "line": 99,
842
- "character": 17
843
- },
844
- "name": "modifiers",
845
- "isOptional": true,
846
- "type": {
847
- "__schema": "TypeRefSchema",
848
- "location": {
849
- "filePath": "node.main.runtime.ts",
850
- "line": 99,
851
- "character": 29
852
- },
853
- "name": "UseTypescriptModifiers",
854
- "componentId": {
855
- "scope": "teambit.react",
856
- "name": "react"
857
- }
858
- }
859
- },
860
- {
861
- "__schema": "ParameterSchema",
862
- "location": {
863
- "filePath": "node.main.runtime.ts",
864
- "line": 99,
865
- "character": 53
866
- },
867
- "name": "tsModule",
868
- "isOptional": true,
869
- "type": {
870
- "__schema": "KeywordTypeSchema",
871
- "location": {
872
- "filePath": "node.main.runtime.ts",
873
- "line": 99,
874
- "character": 64
875
- },
876
- "name": "any"
877
- }
878
- }
879
- ],
880
- "returnType": {
881
- "__schema": "TypeRefSchema",
882
- "location": {
883
- "filePath": "node.main.runtime.ts",
884
- "line": 99,
885
- "character": 3
886
- },
887
- "name": "EnvTransformer",
888
- "componentId": {
889
- "scope": "teambit.envs",
890
- "name": "envs"
891
- }
892
- },
893
- "doc": {
894
- "__schema": "DocSchema",
895
- "location": {
896
- "filePath": "node.main.runtime.ts",
897
- "line": 95,
898
- "character": 3
899
- },
900
- "raw": "/**\n * override the env's typescript config for both dev and build time.\n * Replaces both overrideTsConfig (devConfig) and overrideBuildTsConfig (buildConfig)\n */",
901
- "comment": "override the env's typescript config for both dev and build time.\nReplaces both overrideTsConfig (devConfig) and overrideBuildTsConfig (buildConfig)"
902
- }
903
- },
904
- {
905
- "__schema": "VariableLikeSchema",
906
- "location": {
907
- "filePath": "node.main.runtime.ts",
908
- "line": 122,
909
- "character": 3
910
- },
911
- "name": "useWebpack",
912
- "signature": "(property) NodeMain.useWebpack: (modifiers?: UseWebpackModifiers | undefined) => EnvTransformer",
913
- "isOptional": false,
914
- "type": {
915
- "__schema": "TypeRefSchema",
916
- "location": {
917
- "filePath": "node.main.runtime.ts",
918
- "line": 122,
919
- "character": 3
920
- },
921
- "name": "(modifiers?: UseWebpackModifiers | undefined) => EnvTransformer",
922
- "componentId": {
923
- "scope": "teambit.react",
924
- "name": "react",
925
- "version": "0.0.1048"
926
- }
927
- },
928
- "doc": {
929
- "__schema": "DocSchema",
930
- "location": {
931
- "filePath": "node.main.runtime.ts",
932
- "line": 118,
933
- "character": 3
934
- },
935
- "raw": "/**\n * override the env's dev server and preview webpack configurations.\n * Replaces both overrideDevServerConfig and overridePreviewConfig\n */",
936
- "comment": "override the env's dev server and preview webpack configurations.\nReplaces both overrideDevServerConfig and overridePreviewConfig"
937
- }
938
- },
939
- {
940
- "__schema": "VariableLikeSchema",
941
- "location": {
942
- "filePath": "node.main.runtime.ts",
943
- "line": 127,
944
- "character": 3
945
- },
946
- "name": "usePrettier",
947
- "signature": "(property) NodeMain.usePrettier: (modifiers?: UsePrettierModifiers | undefined) => EnvTransformer",
948
- "isOptional": false,
949
- "type": {
950
- "__schema": "TypeRefSchema",
951
- "location": {
952
- "filePath": "node.main.runtime.ts",
953
- "line": 127,
954
- "character": 3
955
- },
956
- "name": "(modifiers?: UsePrettierModifiers | undefined) => EnvTransformer",
957
- "componentId": {
958
- "scope": "teambit.react",
959
- "name": "react",
960
- "version": "0.0.1048"
961
- }
962
- },
963
- "doc": {
964
- "__schema": "DocSchema",
965
- "location": {
966
- "filePath": "node.main.runtime.ts",
967
- "line": 124,
968
- "character": 3
969
- },
970
- "raw": "/**\n * An API to mutate the prettier config\n */",
971
- "comment": "An API to mutate the prettier config"
972
- }
973
- },
974
- {
975
- "__schema": "VariableLikeSchema",
976
- "location": {
977
- "filePath": "node.main.runtime.ts",
978
- "line": 132,
979
- "character": 3
980
- },
981
- "name": "useEslint",
982
- "signature": "(property) NodeMain.useEslint: (modifiers?: UseEslintModifiers | undefined) => EnvTransformer",
983
- "isOptional": false,
984
- "type": {
985
- "__schema": "TypeRefSchema",
986
- "location": {
987
- "filePath": "node.main.runtime.ts",
988
- "line": 132,
989
- "character": 3
990
- },
991
- "name": "(modifiers?: UseEslintModifiers | undefined) => EnvTransformer",
992
- "componentId": {
993
- "scope": "teambit.react",
994
- "name": "react",
995
- "version": "0.0.1048"
996
- }
997
- },
998
- "doc": {
999
- "__schema": "DocSchema",
1000
- "location": {
1001
- "filePath": "node.main.runtime.ts",
1002
- "line": 129,
1003
- "character": 3
1004
- },
1005
- "raw": "/**\n * An API to mutate the eslint config\n */",
1006
- "comment": "An API to mutate the eslint config"
1007
- }
1008
- },
1009
- {
1010
- "__schema": "FunctionLikeSchema",
1011
- "location": {
1012
- "filePath": "node.main.runtime.ts",
1013
- "line": 137,
1014
- "character": 3
1015
- },
1016
- "name": "overrideDependencies",
1017
- "signature": "(method) NodeMain.overrideDependencies(dependencyPolicy: EnvPolicyConfigObject): EnvTransformer",
1018
- "modifiers": [],
1019
- "params": [
1020
- {
1021
- "__schema": "ParameterSchema",
1022
- "location": {
1023
- "filePath": "node.main.runtime.ts",
1024
- "line": 137,
1025
- "character": 24
1026
- },
1027
- "name": "dependencyPolicy",
1028
- "isOptional": false,
1029
- "type": {
1030
- "__schema": "TypeRefSchema",
1031
- "location": {
1032
- "filePath": "node.main.runtime.ts",
1033
- "line": 137,
1034
- "character": 42
1035
- },
1036
- "name": "EnvPolicyConfigObject",
1037
- "componentId": {
1038
- "scope": "teambit.dependencies",
1039
- "name": "dependency-resolver"
1040
- }
1041
- }
1042
- }
1043
- ],
1044
- "returnType": {
1045
- "__schema": "TypeRefSchema",
1046
- "location": {
1047
- "filePath": "node.main.runtime.ts",
1048
- "line": 137,
1049
- "character": 3
1050
- },
1051
- "name": "EnvTransformer",
1052
- "componentId": {
1053
- "scope": "teambit.envs",
1054
- "name": "envs"
1055
- }
1056
- },
1057
- "doc": {
1058
- "__schema": "DocSchema",
1059
- "location": {
1060
- "filePath": "node.main.runtime.ts",
1061
- "line": 134,
1062
- "character": 3
1063
- },
1064
- "raw": "/**\n * override the dependency configuration of the component environment.\n */",
1065
- "comment": "override the dependency configuration of the component environment."
1066
- }
1067
- },
1068
- {
1069
- "__schema": "VariableLikeSchema",
1070
- "location": {
1071
- "filePath": "node.main.runtime.ts",
1072
- "line": 143,
1073
- "character": 3
1074
- },
1075
- "name": "overrideMounter",
1076
- "signature": "(property) NodeMain.overrideMounter: (mounterPath: string) => EnvTransformer",
1077
- "isOptional": false,
1078
- "type": {
1079
- "__schema": "TypeRefSchema",
1080
- "location": {
1081
- "filePath": "node.main.runtime.ts",
1082
- "line": 143,
1083
- "character": 3
1084
- },
1085
- "name": "(mounterPath: string) => EnvTransformer",
1086
- "componentId": {
1087
- "scope": "teambit.react",
1088
- "name": "react",
1089
- "version": "0.0.1048"
1090
- }
1091
- }
1092
- },
1093
- {
1094
- "__schema": "FunctionLikeSchema",
1095
- "location": {
1096
- "filePath": "node.main.runtime.ts",
1097
- "line": 148,
1098
- "character": 3
1099
- },
1100
- "name": "compose",
1101
- "signature": "(method) NodeMain.compose(transformers: EnvTransformer[], targetEnv?: Environment): Environment",
1102
- "modifiers": [],
1103
- "params": [
1104
- {
1105
- "__schema": "ParameterSchema",
1106
- "location": {
1107
- "filePath": "node.main.runtime.ts",
1108
- "line": 148,
1109
- "character": 11
1110
- },
1111
- "name": "transformers",
1112
- "isOptional": false,
1113
- "type": {
1114
- "__schema": "TypeArraySchema",
1115
- "location": {
1116
- "filePath": "node.main.runtime.ts",
1117
- "line": 148,
1118
- "character": 25
1119
- },
1120
- "type": {
1121
- "__schema": "TypeRefSchema",
1122
- "location": {
1123
- "filePath": "node.main.runtime.ts",
1124
- "line": 148,
1125
- "character": 25
1126
- },
1127
- "name": "EnvTransformer",
1128
- "componentId": {
1129
- "scope": "teambit.envs",
1130
- "name": "envs"
1131
- }
1132
- }
1133
- }
1134
- },
1135
- {
1136
- "__schema": "ParameterSchema",
1137
- "location": {
1138
- "filePath": "node.main.runtime.ts",
1139
- "line": 148,
1140
- "character": 43
1141
- },
1142
- "name": "targetEnv",
1143
- "isOptional": false,
1144
- "defaultValue": "{}",
1145
- "type": {
1146
- "__schema": "TypeRefSchema",
1147
- "location": {
1148
- "filePath": "node.main.runtime.ts",
1149
- "line": 148,
1150
- "character": 54
1151
- },
1152
- "name": "Environment",
1153
- "componentId": {
1154
- "scope": "teambit.envs",
1155
- "name": "envs"
1156
- }
1157
- }
1158
- }
1159
- ],
1160
- "returnType": {
1161
- "__schema": "TypeRefSchema",
1162
- "location": {
1163
- "filePath": "node.main.runtime.ts",
1164
- "line": 148,
1165
- "character": 3
1166
- },
1167
- "name": "Environment",
1168
- "componentId": {
1169
- "scope": "teambit.envs",
1170
- "name": "envs"
1171
- }
1172
- },
1173
- "doc": {
1174
- "__schema": "DocSchema",
1175
- "location": {
1176
- "filePath": "node.main.runtime.ts",
1177
- "line": 145,
1178
- "character": 3
1179
- },
1180
- "raw": "/**\n * create a new composition of the node environment.\n */",
1181
- "comment": "create a new composition of the node environment."
1182
- }
1183
- },
1184
- {
1185
- "__schema": "VariableLikeSchema",
1186
- "location": {
1187
- "filePath": "node.main.runtime.ts",
1188
- "line": 152,
1189
- "character": 3
1190
- },
1191
- "name": "runtime",
1192
- "signature": "(property) NodeMain.runtime: RuntimeDefinition",
1193
- "isOptional": false,
1194
- "type": {
1195
- "__schema": "InferenceTypeSchema",
1196
- "location": {
1197
- "filePath": "node.main.runtime.ts",
1198
- "line": 152,
1199
- "character": 3
1200
- },
1201
- "type": "RuntimeDefinition"
1202
- }
1203
- },
1204
- {
1205
- "__schema": "VariableLikeSchema",
1206
- "location": {
1207
- "filePath": "node.main.runtime.ts",
1208
- "line": 153,
1209
- "character": 3
1210
- },
1211
- "name": "dependencies",
1212
- "signature": "(property) NodeMain.dependencies: Aspect[]",
1213
- "isOptional": false,
1214
- "type": {
1215
- "__schema": "InferenceTypeSchema",
1216
- "location": {
1217
- "filePath": "node.main.runtime.ts",
1218
- "line": 153,
1219
- "character": 3
1220
- },
1221
- "type": "Aspect[]"
1222
- }
1223
- },
1224
- {
1225
- "__schema": "FunctionLikeSchema",
1226
- "location": {
1227
- "filePath": "node.main.runtime.ts",
1228
- "line": 155,
1229
- "character": 3
1230
- },
1231
- "name": "provider",
1232
- "signature": "(method) NodeMain.provider([loggerAspect, envs, application, react, generator, tsAspect]: [\n LoggerMain,\n EnvsMain,\n ApplicationMain,\n ReactMain,\n GeneratorMain,\n TypescriptMain\n]): Promise<NodeMain>",
1233
- "modifiers": [
1234
- "static",
1235
- "async"
1236
- ],
1237
- "params": [
1238
- {
1239
- "__schema": "ParameterSchema",
1240
- "location": {
1241
- "filePath": "node.main.runtime.ts",
1242
- "line": 155,
1243
- "character": 25
1244
- },
1245
- "name": "[ loggerAspect, envs, application, react, generator, tsAspect ]",
1246
- "isOptional": false,
1247
- "type": {
1248
- "__schema": "TupleTypeSchema",
1249
- "location": {
1250
- "filePath": "node.main.runtime.ts",
1251
- "line": 155,
1252
- "character": 88
1253
- },
1254
- "elements": [
1255
- {
1256
- "__schema": "TypeRefSchema",
1257
- "location": {
1258
- "filePath": "node.main.runtime.ts",
1259
- "line": 156,
1260
- "character": 5
1261
- },
1262
- "name": "LoggerMain",
1263
- "componentId": {
1264
- "scope": "teambit.harmony",
1265
- "name": "logger"
1266
- }
1267
- },
1268
- {
1269
- "__schema": "TypeRefSchema",
1270
- "location": {
1271
- "filePath": "node.main.runtime.ts",
1272
- "line": 157,
1273
- "character": 5
1274
- },
1275
- "name": "EnvsMain",
1276
- "componentId": {
1277
- "scope": "teambit.envs",
1278
- "name": "envs"
1279
- }
1280
- },
1281
- {
1282
- "__schema": "TypeRefSchema",
1283
- "location": {
1284
- "filePath": "node.main.runtime.ts",
1285
- "line": 158,
1286
- "character": 5
1287
- },
1288
- "name": "ApplicationMain",
1289
- "componentId": {
1290
- "scope": "teambit.harmony",
1291
- "name": "application"
1292
- }
1293
- },
1294
- {
1295
- "__schema": "TypeRefSchema",
1296
- "location": {
1297
- "filePath": "node.main.runtime.ts",
1298
- "line": 159,
1299
- "character": 5
1300
- },
1301
- "name": "ReactMain",
1302
- "componentId": {
1303
- "scope": "teambit.react",
1304
- "name": "react"
1305
- }
1306
- },
1307
- {
1308
- "__schema": "TypeRefSchema",
1309
- "location": {
1310
- "filePath": "node.main.runtime.ts",
1311
- "line": 160,
1312
- "character": 5
1313
- },
1314
- "name": "GeneratorMain",
1315
- "componentId": {
1316
- "scope": "teambit.generator",
1317
- "name": "generator"
1318
- }
1319
- },
1320
- {
1321
- "__schema": "TypeRefSchema",
1322
- "location": {
1323
- "filePath": "node.main.runtime.ts",
1324
- "line": 161,
1325
- "character": 5
1326
- },
1327
- "name": "TypescriptMain",
1328
- "componentId": {
1329
- "scope": "teambit.typescript",
1330
- "name": "typescript"
1331
- }
1332
- }
1333
- ]
1334
- }
1335
- }
1336
- ],
1337
- "returnType": {
1338
- "__schema": "InferenceTypeSchema",
1339
- "location": {
1340
- "filePath": "node.main.runtime.ts",
1341
- "line": 155,
1342
- "character": 3
1343
- },
1344
- "type": "Promise<NodeMain>"
1345
- }
1346
- }
1347
- ]
1348
- },
1349
- {
1350
- "__schema": "TypeSchema",
1351
- "location": {
1352
- "filePath": "node-app-options.ts",
1353
- "line": 10,
1354
- "character": 1
1355
- },
1356
- "name": "NodeAppOptions",
1357
- "signature": "type NodeAppOptions = {\n name: string;\n entry: string;\n portRange?: number[] | undefined;\n deploy?: DeployFn | undefined;\n}",
1358
- "type": {
1359
- "__schema": "TypeLiteralSchema",
1360
- "location": {
1361
- "filePath": "node-app-options.ts",
1362
- "line": 10,
1363
- "character": 30
1364
- },
1365
- "members": [
1366
- {
1367
- "__schema": "VariableLikeSchema",
1368
- "location": {
1369
- "filePath": "node-app-options.ts",
1370
- "line": 14,
1371
- "character": 3
1372
- },
1373
- "name": "name",
1374
- "signature": "(property) name: string",
1375
- "isOptional": false,
1376
- "type": {
1377
- "__schema": "KeywordTypeSchema",
1378
- "location": {
1379
- "filePath": "node-app-options.ts",
1380
- "line": 14,
1381
- "character": 9
1382
- },
1383
- "name": "string"
1384
- },
1385
- "doc": {
1386
- "__schema": "DocSchema",
1387
- "location": {
1388
- "filePath": "node-app-options.ts",
1389
- "line": 11,
1390
- "character": 3
1391
- },
1392
- "raw": "/**\n * name of the application.\n */",
1393
- "comment": "name of the application."
1394
- }
1395
- },
1396
- {
1397
- "__schema": "VariableLikeSchema",
1398
- "location": {
1399
- "filePath": "node-app-options.ts",
1400
- "line": 20,
1401
- "character": 3
1402
- },
1403
- "name": "entry",
1404
- "signature": "(property) entry: string",
1405
- "isOptional": false,
1406
- "type": {
1407
- "__schema": "KeywordTypeSchema",
1408
- "location": {
1409
- "filePath": "node-app-options.ts",
1410
- "line": 20,
1411
- "character": 10
1412
- },
1413
- "name": "string"
1414
- },
1415
- "doc": {
1416
- "__schema": "DocSchema",
1417
- "location": {
1418
- "filePath": "node-app-options.ts",
1419
- "line": 16,
1420
- "character": 3
1421
- },
1422
- "raw": "/**\n * path to entry file of the application.\n * e.g: '/index.js'\n */",
1423
- "comment": "path to entry file of the application.\ne.g: '/index.js'"
1424
- }
1425
- },
1426
- {
1427
- "__schema": "VariableLikeSchema",
1428
- "location": {
1429
- "filePath": "node-app-options.ts",
1430
- "line": 25,
1431
- "character": 3
1432
- },
1433
- "name": "portRange",
1434
- "signature": "(property) portRange?: number[] | undefined",
1435
- "isOptional": true,
1436
- "type": {
1437
- "__schema": "TypeArraySchema",
1438
- "location": {
1439
- "filePath": "node-app-options.ts",
1440
- "line": 25,
1441
- "character": 15
1442
- },
1443
- "type": {
1444
- "__schema": "KeywordTypeSchema",
1445
- "location": {
1446
- "filePath": "node-app-options.ts",
1447
- "line": 25,
1448
- "character": 15
1449
- },
1450
- "name": "number"
1451
- }
1452
- },
1453
- "doc": {
1454
- "__schema": "DocSchema",
1455
- "location": {
1456
- "filePath": "node-app-options.ts",
1457
- "line": 22,
1458
- "character": 3
1459
- },
1460
- "raw": "/**\n * ranges of ports to use to run the app server.\n */",
1461
- "comment": "ranges of ports to use to run the app server."
1462
- }
1463
- },
1464
- {
1465
- "__schema": "VariableLikeSchema",
1466
- "location": {
1467
- "filePath": "node-app-options.ts",
1468
- "line": 30,
1469
- "character": 3
1470
- },
1471
- "name": "deploy",
1472
- "signature": "(property) deploy?: DeployFn | undefined",
1473
- "isOptional": true,
1474
- "type": {
1475
- "__schema": "TypeRefSchema",
1476
- "location": {
1477
- "filePath": "node-app-options.ts",
1478
- "line": 30,
1479
- "character": 12
1480
- },
1481
- "name": "DeployFn",
1482
- "componentId": {
1483
- "scope": "teambit.harmony",
1484
- "name": "application"
1485
- }
1486
- },
1487
- "doc": {
1488
- "__schema": "DocSchema",
1489
- "location": {
1490
- "filePath": "node-app-options.ts",
1491
- "line": 27,
1492
- "character": 3
1493
- },
1494
- "raw": "/**\n * deploy function.\n */",
1495
- "comment": "deploy function."
1496
- }
1497
- }
1498
- ]
1499
- }
1500
- },
1501
- {
1502
- "__schema": "InterfaceSchema",
1503
- "location": {
1504
- "filePath": "node-app-options.ts",
1505
- "line": 3,
1506
- "character": 1
1507
- },
1508
- "name": "DeployContext",
1509
- "signature": "interface DeployContext",
1510
- "extendsNodes": [
1511
- {
1512
- "__schema": "ExpressionWithTypeArgumentsSchema",
1513
- "name": "extends AppDeployContext",
1514
- "location": {
1515
- "filePath": "node-app-options.ts",
1516
- "line": 3,
1517
- "character": 40
1518
- },
1519
- "typeArgs": [],
1520
- "expression": {
1521
- "__schema": "TypeRefSchema",
1522
- "location": {
1523
- "filePath": "node-app-options.ts",
1524
- "line": 3,
1525
- "character": 40
1526
- },
1527
- "name": "AppDeployContext",
1528
- "componentId": {
1529
- "scope": "teambit.harmony",
1530
- "name": "node",
1531
- "version": "0.0.1048"
1532
- }
1533
- }
1534
- }
1535
- ],
1536
- "members": [
1537
- {
1538
- "__schema": "VariableLikeSchema",
1539
- "location": {
1540
- "filePath": "node-app-options.ts",
1541
- "line": 7,
1542
- "character": 3
1543
- },
1544
- "name": "mainFile",
1545
- "signature": "(property) DeployContext.mainFile?: string | undefined",
1546
- "isOptional": true,
1547
- "type": {
1548
- "__schema": "KeywordTypeSchema",
1549
- "location": {
1550
- "filePath": "node-app-options.ts",
1551
- "line": 7,
1552
- "character": 14
1553
- },
1554
- "name": "string"
1555
- },
1556
- "doc": {
1557
- "__schema": "DocSchema",
1558
- "location": {
1559
- "filePath": "node-app-options.ts",
1560
- "line": 4,
1561
- "character": 3
1562
- },
1563
- "raw": "/**\n * the main file file of the app e.g: dist/app.js\n */",
1564
- "comment": "the main file file of the app e.g: dist/app.js"
1565
- }
1566
- }
1567
- ]
1568
- },
1569
- {
1570
- "__schema": "VariableLikeSchema",
1571
- "location": {
1572
- "filePath": "node.aspect.ts",
1573
- "line": 3,
1574
- "character": 14
1575
- },
1576
- "name": "NodeAspect",
1577
- "signature": "const NodeAspect: Aspect",
1578
- "isOptional": false,
1579
- "type": {
1580
- "__schema": "TypeRefSchema",
1581
- "location": {
1582
- "filePath": "node.aspect.ts",
1583
- "line": 3,
1584
- "character": 14
1585
- },
1586
- "name": "Aspect",
1587
- "componentId": {
1588
- "scope": "teambit.harmony",
1589
- "name": "harmony",
1590
- "version": "0.4.6"
1591
- }
1592
- }
1593
- },
1594
- {
1595
- "__schema": "VariableLikeSchema",
1596
- "location": {
1597
- "filePath": "node.aspect.ts",
1598
- "line": 3,
1599
- "character": 14
1600
- },
1601
- "name": "NodeAspect",
1602
- "signature": "const NodeAspect: Aspect",
1603
- "isOptional": false,
1604
- "type": {
1605
- "__schema": "TypeRefSchema",
1606
- "location": {
1607
- "filePath": "node.aspect.ts",
1608
- "line": 3,
1609
- "character": 14
1610
- },
1611
- "name": "Aspect",
1612
- "componentId": {
1613
- "scope": "teambit.harmony",
1614
- "name": "harmony",
1615
- "version": "0.4.6"
1616
- }
1617
- }
1618
- }
1619
- ],
1620
- "internals": []
1621
- },
1622
- "internals": [
1623
- {
1624
- "__schema": "ModuleSchema",
1625
- "location": {
1626
- "filePath": "node.main.runtime.ts",
1627
- "line": 1,
1628
- "character": 1
1629
- },
1630
- "exports": [
1631
- {
1632
- "__schema": "ClassSchema",
1633
- "name": "NodeMain",
1634
- "location": {
1635
- "filePath": "node.main.runtime.ts",
1636
- "line": 22,
1637
- "character": 1
1638
- },
1639
- "signature": "class NodeMain",
1640
- "extendsNodes": [],
1641
- "implementNodes": [],
1642
- "members": [
1643
- {
1644
- "__schema": "ConstructorSchema",
1645
- "location": {
1646
- "filePath": "node.main.runtime.ts",
1647
- "line": 23,
1648
- "character": 3
1649
- },
1650
- "name": "constructor",
1651
- "signature": "constructor NodeMain(react: ReactMain, tsAspect: TypescriptMain, nodeEnv: NodeEnv, envs: EnvsMain): NodeMain",
1652
- "modifiers": [],
1653
- "params": [
1654
- {
1655
- "__schema": "ParameterSchema",
1656
- "location": {
1657
- "filePath": "node.main.runtime.ts",
1658
- "line": 24,
1659
- "character": 5
1660
- },
1661
- "name": "react",
1662
- "isOptional": false,
1663
- "type": {
1664
- "__schema": "TypeRefSchema",
1665
- "location": {
1666
- "filePath": "node.main.runtime.ts",
1667
- "line": 24,
1668
- "character": 20
1669
- },
1670
- "name": "ReactMain",
1671
- "componentId": {
1672
- "scope": "teambit.react",
1673
- "name": "react"
1674
- }
1675
- }
1676
- },
1677
- {
1678
- "__schema": "ParameterSchema",
1679
- "location": {
1680
- "filePath": "node.main.runtime.ts",
1681
- "line": 26,
1682
- "character": 5
1683
- },
1684
- "name": "tsAspect",
1685
- "isOptional": false,
1686
- "type": {
1687
- "__schema": "TypeRefSchema",
1688
- "location": {
1689
- "filePath": "node.main.runtime.ts",
1690
- "line": 26,
1691
- "character": 23
1692
- },
1693
- "name": "TypescriptMain",
1694
- "componentId": {
1695
- "scope": "teambit.typescript",
1696
- "name": "typescript"
1697
- }
1698
- }
1699
- },
1700
- {
1701
- "__schema": "ParameterSchema",
1702
- "location": {
1703
- "filePath": "node.main.runtime.ts",
1704
- "line": 28,
1705
- "character": 5
1706
- },
1707
- "name": "nodeEnv",
1708
- "isOptional": false,
1709
- "type": {
1710
- "__schema": "TypeRefSchema",
1711
- "location": {
1712
- "filePath": "node.main.runtime.ts",
1713
- "line": 28,
1714
- "character": 23
1715
- },
1716
- "name": "NodeEnv",
1717
- "internalFilePath": "node.env.ts"
1718
- }
1719
- },
1720
- {
1721
- "__schema": "ParameterSchema",
1722
- "location": {
1723
- "filePath": "node.main.runtime.ts",
1724
- "line": 30,
1725
- "character": 5
1726
- },
1727
- "name": "envs",
1728
- "isOptional": false,
1729
- "type": {
1730
- "__schema": "TypeRefSchema",
1731
- "location": {
1732
- "filePath": "node.main.runtime.ts",
1733
- "line": 30,
1734
- "character": 19
1735
- },
1736
- "name": "EnvsMain",
1737
- "componentId": {
1738
- "scope": "teambit.envs",
1739
- "name": "envs"
1740
- }
1741
- }
1742
- }
1743
- ],
1744
- "returnType": {
1745
- "__schema": "ThisTypeSchema",
1746
- "location": {
1747
- "filePath": "node.main.runtime.ts",
1748
- "line": 22,
1749
- "character": 1
1750
- }
1751
- }
1752
- },
1753
- {
1754
- "__schema": "FunctionLikeSchema",
1755
- "location": {
1756
- "filePath": "node.main.runtime.ts",
1757
- "line": 33,
1758
- "character": 3
1759
- },
1760
- "name": "icon",
1761
- "signature": "(method) NodeMain.icon(): string",
1762
- "modifiers": [],
1763
- "params": [],
1764
- "returnType": {
1765
- "__schema": "InferenceTypeSchema",
1766
- "location": {
1767
- "filePath": "node.main.runtime.ts",
1768
- "line": 33,
1769
- "character": 3
1770
- },
1771
- "type": "string"
1772
- }
1773
- },
1774
- {
1775
- "__schema": "VariableLikeSchema",
1776
- "location": {
1777
- "filePath": "node.main.runtime.ts",
1778
- "line": 41,
1779
- "character": 3
1780
- },
1781
- "name": "overrideTsConfig",
1782
- "signature": "(property) NodeMain.overrideTsConfig: (tsconfig: TsConfigSourceFile, compilerOptions?: Partial<TsCompilerOptionsWithoutTsConfig>, tsModule?: any) => EnvTransformer",
1783
- "isOptional": false,
1784
- "type": {
1785
- "__schema": "FunctionLikeSchema",
1786
- "location": {
1787
- "filePath": "node.main.runtime.ts",
1788
- "line": 41,
1789
- "character": 21
1790
- },
1791
- "name": "",
1792
- "signature": "",
1793
- "modifiers": [],
1794
- "params": [
1795
- {
1796
- "__schema": "ParameterSchema",
1797
- "location": {
1798
- "filePath": "node.main.runtime.ts",
1799
- "line": 42,
1800
- "character": 5
1801
- },
1802
- "name": "tsconfig",
1803
- "isOptional": false,
1804
- "type": {
1805
- "__schema": "TypeRefSchema",
1806
- "location": {
1807
- "filePath": "node.main.runtime.ts",
1808
- "line": 42,
1809
- "character": 15
1810
- },
1811
- "name": "TsConfigSourceFile",
1812
- "packageName": "typescript"
1813
- }
1814
- },
1815
- {
1816
- "__schema": "ParameterSchema",
1817
- "location": {
1818
- "filePath": "node.main.runtime.ts",
1819
- "line": 43,
1820
- "character": 5
1821
- },
1822
- "name": "compilerOptions",
1823
- "isOptional": true,
1824
- "type": {
1825
- "__schema": "TypeRefSchema",
1826
- "location": {
1827
- "filePath": "node.main.runtime.ts",
1828
- "line": 43,
1829
- "character": 23
1830
- },
1831
- "name": "Partial",
1832
- "packageName": "",
1833
- "typeArgs": [
1834
- {
1835
- "__schema": "TypeRefSchema",
1836
- "location": {
1837
- "filePath": "node.main.runtime.ts",
1838
- "line": 43,
1839
- "character": 31
1840
- },
1841
- "name": "TsCompilerOptionsWithoutTsConfig",
1842
- "componentId": {
1843
- "scope": "teambit.typescript",
1844
- "name": "typescript"
1845
- }
1846
- }
1847
- ]
1848
- }
1849
- },
1850
- {
1851
- "__schema": "ParameterSchema",
1852
- "location": {
1853
- "filePath": "node.main.runtime.ts",
1854
- "line": 44,
1855
- "character": 5
1856
- },
1857
- "name": "tsModule",
1858
- "isOptional": true,
1859
- "type": {
1860
- "__schema": "KeywordTypeSchema",
1861
- "location": {
1862
- "filePath": "node.main.runtime.ts",
1863
- "line": 44,
1864
- "character": 16
1865
- },
1866
- "name": "any"
1867
- }
1868
- }
1869
- ],
1870
- "returnType": {
1871
- "__schema": "TypeRefSchema",
1872
- "location": {
1873
- "filePath": "node.main.runtime.ts",
1874
- "line": 45,
1875
- "character": 8
1876
- },
1877
- "name": "EnvTransformer",
1878
- "componentId": {
1879
- "scope": "teambit.envs",
1880
- "name": "envs"
1881
- }
1882
- }
1883
- },
1884
- "doc": {
1885
- "__schema": "DocSchema",
1886
- "location": {
1887
- "filePath": "node.main.runtime.ts",
1888
- "line": 37,
1889
- "character": 3
1890
- },
1891
- "raw": "/**\n * @deprecated use useTypescript()\n * override the TS config of the environment.\n */",
1892
- "tags": [
1893
- {
1894
- "__schema": "TagSchema",
1895
- "location": {
1896
- "filePath": "node.main.runtime.ts",
1897
- "line": 38,
1898
- "character": 6
1899
- },
1900
- "tagName": "deprecated",
1901
- "comment": "use useTypescript()\noverride the TS config of the environment."
1902
- }
1903
- ]
1904
- }
1905
- },
1906
- {
1907
- "__schema": "VariableLikeSchema",
1908
- "location": {
1909
- "filePath": "node.main.runtime.ts",
1910
- "line": 50,
1911
- "character": 3
1912
- },
1913
- "name": "overrideJestConfig",
1914
- "signature": "(property) NodeMain.overrideJestConfig: (jestConfigPath: string, jestModulePath?: string | undefined) => EnvTransformer",
1915
- "isOptional": false,
1916
- "type": {
1917
- "__schema": "TypeRefSchema",
1918
- "location": {
1919
- "filePath": "node.main.runtime.ts",
1920
- "line": 50,
1921
- "character": 3
1922
- },
1923
- "name": "(jestConfigPath: string, jestModulePath?: string | undefined) => EnvTransformer",
1924
- "componentId": {
1925
- "scope": "teambit.react",
1926
- "name": "react",
1927
- "version": "0.0.1048"
1928
- }
1929
- },
1930
- "doc": {
1931
- "__schema": "DocSchema",
1932
- "location": {
1933
- "filePath": "node.main.runtime.ts",
1934
- "line": 47,
1935
- "character": 3
1936
- },
1937
- "raw": "/**\n * override the jest config of the environment.\n */",
1938
- "comment": "override the jest config of the environment."
1939
- }
1940
- },
1941
- {
1942
- "__schema": "VariableLikeSchema",
1943
- "location": {
1944
- "filePath": "node.main.runtime.ts",
1945
- "line": 55,
1946
- "character": 3
1947
- },
1948
- "name": "overrideBuildPipe",
1949
- "signature": "(property) NodeMain.overrideBuildPipe: (tasks: BuildTask[]) => EnvTransformer",
1950
- "isOptional": false,
1951
- "type": {
1952
- "__schema": "FunctionLikeSchema",
1953
- "location": {
1954
- "filePath": "node.main.runtime.ts",
1955
- "line": 55,
1956
- "character": 22
1957
- },
1958
- "name": "",
1959
- "signature": "",
1960
- "modifiers": [],
1961
- "params": [
1962
- {
1963
- "__schema": "ParameterSchema",
1964
- "location": {
1965
- "filePath": "node.main.runtime.ts",
1966
- "line": 55,
1967
- "character": 23
1968
- },
1969
- "name": "tasks",
1970
- "isOptional": false,
1971
- "type": {
1972
- "__schema": "TypeArraySchema",
1973
- "location": {
1974
- "filePath": "node.main.runtime.ts",
1975
- "line": 55,
1976
- "character": 30
1977
- },
1978
- "type": {
1979
- "__schema": "TypeRefSchema",
1980
- "location": {
1981
- "filePath": "node.main.runtime.ts",
1982
- "line": 55,
1983
- "character": 30
1984
- },
1985
- "name": "BuildTask",
1986
- "componentId": {
1987
- "scope": "teambit.pipelines",
1988
- "name": "builder"
1989
- }
1990
- }
1991
- }
1992
- }
1993
- ],
1994
- "returnType": {
1995
- "__schema": "TypeRefSchema",
1996
- "location": {
1997
- "filePath": "node.main.runtime.ts",
1998
- "line": 55,
1999
- "character": 46
2000
- },
2001
- "name": "EnvTransformer",
2002
- "componentId": {
2003
- "scope": "teambit.envs",
2004
- "name": "envs"
2005
- }
2006
- }
2007
- },
2008
- "doc": {
2009
- "__schema": "DocSchema",
2010
- "location": {
2011
- "filePath": "node.main.runtime.ts",
2012
- "line": 52,
2013
- "character": 3
2014
- },
2015
- "raw": "/**\n * override the env build pipeline.\n */",
2016
- "comment": "override the env build pipeline."
2017
- }
2018
- },
2019
- {
2020
- "__schema": "VariableLikeSchema",
2021
- "location": {
2022
- "filePath": "node.main.runtime.ts",
2023
- "line": 60,
2024
- "character": 3
2025
- },
2026
- "name": "overrideCompiler",
2027
- "signature": "(property) NodeMain.overrideCompiler: (compiler: Compiler) => EnvTransformer",
2028
- "isOptional": false,
2029
- "type": {
2030
- "__schema": "FunctionLikeSchema",
2031
- "location": {
2032
- "filePath": "node.main.runtime.ts",
2033
- "line": 60,
2034
- "character": 21
2035
- },
2036
- "name": "",
2037
- "signature": "",
2038
- "modifiers": [],
2039
- "params": [
2040
- {
2041
- "__schema": "ParameterSchema",
2042
- "location": {
2043
- "filePath": "node.main.runtime.ts",
2044
- "line": 60,
2045
- "character": 22
2046
- },
2047
- "name": "compiler",
2048
- "isOptional": false,
2049
- "type": {
2050
- "__schema": "TypeRefSchema",
2051
- "location": {
2052
- "filePath": "node.main.runtime.ts",
2053
- "line": 60,
2054
- "character": 32
2055
- },
2056
- "name": "Compiler",
2057
- "componentId": {
2058
- "scope": "teambit.compilation",
2059
- "name": "compiler"
2060
- }
2061
- }
2062
- }
2063
- ],
2064
- "returnType": {
2065
- "__schema": "TypeRefSchema",
2066
- "location": {
2067
- "filePath": "node.main.runtime.ts",
2068
- "line": 60,
2069
- "character": 45
2070
- },
2071
- "name": "EnvTransformer",
2072
- "componentId": {
2073
- "scope": "teambit.envs",
2074
- "name": "envs"
2075
- }
2076
- }
2077
- },
2078
- "doc": {
2079
- "__schema": "DocSchema",
2080
- "location": {
2081
- "filePath": "node.main.runtime.ts",
2082
- "line": 57,
2083
- "character": 3
2084
- },
2085
- "raw": "/**\n * override the env compilers list.\n */",
2086
- "comment": "override the env compilers list."
2087
- }
2088
- },
2089
- {
2090
- "__schema": "VariableLikeSchema",
2091
- "location": {
2092
- "filePath": "node.main.runtime.ts",
2093
- "line": 65,
2094
- "character": 3
2095
- },
2096
- "name": "overrideCompilerTasks",
2097
- "signature": "(property) NodeMain.overrideCompilerTasks: (tasks: BuildTask[]) => EnvTransformer",
2098
- "isOptional": false,
2099
- "type": {
2100
- "__schema": "FunctionLikeSchema",
2101
- "location": {
2102
- "filePath": "node.main.runtime.ts",
2103
- "line": 65,
2104
- "character": 26
2105
- },
2106
- "name": "",
2107
- "signature": "",
2108
- "modifiers": [],
2109
- "params": [
2110
- {
2111
- "__schema": "ParameterSchema",
2112
- "location": {
2113
- "filePath": "node.main.runtime.ts",
2114
- "line": 65,
2115
- "character": 27
2116
- },
2117
- "name": "tasks",
2118
- "isOptional": false,
2119
- "type": {
2120
- "__schema": "TypeArraySchema",
2121
- "location": {
2122
- "filePath": "node.main.runtime.ts",
2123
- "line": 65,
2124
- "character": 34
2125
- },
2126
- "type": {
2127
- "__schema": "TypeRefSchema",
2128
- "location": {
2129
- "filePath": "node.main.runtime.ts",
2130
- "line": 65,
2131
- "character": 34
2132
- },
2133
- "name": "BuildTask",
2134
- "componentId": {
2135
- "scope": "teambit.pipelines",
2136
- "name": "builder"
2137
- }
2138
- }
2139
- }
2140
- }
2141
- ],
2142
- "returnType": {
2143
- "__schema": "TypeRefSchema",
2144
- "location": {
2145
- "filePath": "node.main.runtime.ts",
2146
- "line": 65,
2147
- "character": 50
2148
- },
2149
- "name": "EnvTransformer",
2150
- "componentId": {
2151
- "scope": "teambit.envs",
2152
- "name": "envs"
2153
- }
2154
- }
2155
- },
2156
- "doc": {
2157
- "__schema": "DocSchema",
2158
- "location": {
2159
- "filePath": "node.main.runtime.ts",
2160
- "line": 62,
2161
- "character": 3
2162
- },
2163
- "raw": "/**\n * override the env compilers tasks in the build pipe.\n */",
2164
- "comment": "override the env compilers tasks in the build pipe."
2165
- }
2166
- },
2167
- {
2168
- "__schema": "VariableLikeSchema",
2169
- "location": {
2170
- "filePath": "node.main.runtime.ts",
2171
- "line": 71,
2172
- "character": 3
2173
- },
2174
- "name": "overrideBuildTsConfig",
2175
- "signature": "(property) NodeMain.overrideBuildTsConfig: (tsconfig: any, compilerOptions?: Partial<TsCompilerOptionsWithoutTsConfig>) => EnvTransformer",
2176
- "isOptional": false,
2177
- "type": {
2178
- "__schema": "FunctionLikeSchema",
2179
- "location": {
2180
- "filePath": "node.main.runtime.ts",
2181
- "line": 71,
2182
- "character": 26
2183
- },
2184
- "name": "",
2185
- "signature": "",
2186
- "modifiers": [],
2187
- "params": [
2188
- {
2189
- "__schema": "ParameterSchema",
2190
- "location": {
2191
- "filePath": "node.main.runtime.ts",
2192
- "line": 72,
2193
- "character": 5
2194
- },
2195
- "name": "tsconfig",
2196
- "isOptional": false,
2197
- "type": {
2198
- "__schema": "KeywordTypeSchema",
2199
- "location": {
2200
- "filePath": "node.main.runtime.ts",
2201
- "line": 72,
2202
- "character": 15
2203
- },
2204
- "name": "any"
2205
- }
2206
- },
2207
- {
2208
- "__schema": "ParameterSchema",
2209
- "location": {
2210
- "filePath": "node.main.runtime.ts",
2211
- "line": 73,
2212
- "character": 5
2213
- },
2214
- "name": "compilerOptions",
2215
- "isOptional": true,
2216
- "type": {
2217
- "__schema": "TypeRefSchema",
2218
- "location": {
2219
- "filePath": "node.main.runtime.ts",
2220
- "line": 73,
2221
- "character": 23
2222
- },
2223
- "name": "Partial",
2224
- "packageName": "",
2225
- "typeArgs": [
2226
- {
2227
- "__schema": "TypeRefSchema",
2228
- "location": {
2229
- "filePath": "node.main.runtime.ts",
2230
- "line": 73,
2231
- "character": 31
2232
- },
2233
- "name": "TsCompilerOptionsWithoutTsConfig",
2234
- "componentId": {
2235
- "scope": "teambit.typescript",
2236
- "name": "typescript"
2237
- }
2238
- }
2239
- ]
2240
- }
2241
- }
2242
- ],
2243
- "returnType": {
2244
- "__schema": "TypeRefSchema",
2245
- "location": {
2246
- "filePath": "node.main.runtime.ts",
2247
- "line": 74,
2248
- "character": 8
2249
- },
2250
- "name": "EnvTransformer",
2251
- "componentId": {
2252
- "scope": "teambit.envs",
2253
- "name": "envs"
2254
- }
2255
- }
2256
- },
2257
- "doc": {
2258
- "__schema": "DocSchema",
2259
- "location": {
2260
- "filePath": "node.main.runtime.ts",
2261
- "line": 67,
2262
- "character": 3
2263
- },
2264
- "raw": "/**\n * @deprecated use useTypescript()\n * override the build ts config.\n */",
2265
- "tags": [
2266
- {
2267
- "__schema": "TagSchema",
2268
- "location": {
2269
- "filePath": "node.main.runtime.ts",
2270
- "line": 68,
2271
- "character": 6
2272
- },
2273
- "tagName": "deprecated",
2274
- "comment": "use useTypescript()\noverride the build ts config."
2275
- }
2276
- ]
2277
- }
2278
- },
2279
- {
2280
- "__schema": "VariableLikeSchema",
2281
- "location": {
2282
- "filePath": "node.main.runtime.ts",
2283
- "line": 79,
2284
- "character": 3
2285
- },
2286
- "name": "overridePackageJsonProps",
2287
- "signature": "(property) NodeMain.overridePackageJsonProps: (props: PackageJsonProps) => EnvTransformer",
2288
- "isOptional": false,
2289
- "type": {
2290
- "__schema": "FunctionLikeSchema",
2291
- "location": {
2292
- "filePath": "node.main.runtime.ts",
2293
- "line": 79,
2294
- "character": 29
2295
- },
2296
- "name": "",
2297
- "signature": "",
2298
- "modifiers": [],
2299
- "params": [
2300
- {
2301
- "__schema": "ParameterSchema",
2302
- "location": {
2303
- "filePath": "node.main.runtime.ts",
2304
- "line": 79,
2305
- "character": 30
2306
- },
2307
- "name": "props",
2308
- "isOptional": false,
2309
- "type": {
2310
- "__schema": "TypeRefSchema",
2311
- "location": {
2312
- "filePath": "node.main.runtime.ts",
2313
- "line": 79,
2314
- "character": 37
2315
- },
2316
- "name": "PackageJsonProps",
2317
- "componentId": {
2318
- "scope": "teambit.pkg",
2319
- "name": "pkg"
2320
- }
2321
- }
2322
- }
2323
- ],
2324
- "returnType": {
2325
- "__schema": "TypeRefSchema",
2326
- "location": {
2327
- "filePath": "node.main.runtime.ts",
2328
- "line": 79,
2329
- "character": 58
2330
- },
2331
- "name": "EnvTransformer",
2332
- "componentId": {
2333
- "scope": "teambit.envs",
2334
- "name": "envs"
2335
- }
2336
- }
2337
- },
2338
- "doc": {
2339
- "__schema": "DocSchema",
2340
- "location": {
2341
- "filePath": "node.main.runtime.ts",
2342
- "line": 76,
2343
- "character": 3
2344
- },
2345
- "raw": "/**\n * override package json properties.\n */",
2346
- "comment": "override package json properties."
2347
- }
2348
- },
2349
- {
2350
- "__schema": "VariableLikeSchema",
2351
- "location": {
2352
- "filePath": "node.main.runtime.ts",
2353
- "line": 87,
2354
- "character": 3
2355
- },
2356
- "name": "overridePreviewConfig",
2357
- "signature": "(property) NodeMain.overridePreviewConfig: (config: Configuration) => EnvTransformer",
2358
- "isOptional": false,
2359
- "type": {
2360
- "__schema": "TypeRefSchema",
2361
- "location": {
2362
- "filePath": "node.main.runtime.ts",
2363
- "line": 87,
2364
- "character": 3
2365
- },
2366
- "name": "(config: Configuration) => EnvTransformer",
2367
- "componentId": {
2368
- "scope": "teambit.react",
2369
- "name": "react",
2370
- "version": "0.0.1048"
2371
- }
2372
- },
2373
- "doc": {
2374
- "__schema": "DocSchema",
2375
- "location": {
2376
- "filePath": "node.main.runtime.ts",
2377
- "line": 83,
2378
- "character": 3
2379
- },
2380
- "raw": "/**\n * @deprecated - use useWebpack\n * override the preview config in the env.\n */",
2381
- "tags": [
2382
- {
2383
- "__schema": "TagSchema",
2384
- "location": {
2385
- "filePath": "node.main.runtime.ts",
2386
- "line": 84,
2387
- "character": 6
2388
- },
2389
- "tagName": "deprecated",
2390
- "comment": "- use useWebpack\noverride the preview config in the env."
2391
- }
2392
- ]
2393
- }
2394
- },
2395
- {
2396
- "__schema": "VariableLikeSchema",
2397
- "location": {
2398
- "filePath": "node.main.runtime.ts",
2399
- "line": 93,
2400
- "character": 3
2401
- },
2402
- "name": "overrideDevServerConfig",
2403
- "signature": "(property) NodeMain.overrideDevServerConfig: (config: Configuration) => EnvTransformer",
2404
- "isOptional": false,
2405
- "type": {
2406
- "__schema": "TypeRefSchema",
2407
- "location": {
2408
- "filePath": "node.main.runtime.ts",
2409
- "line": 93,
2410
- "character": 3
2411
- },
2412
- "name": "(config: Configuration) => EnvTransformer",
2413
- "componentId": {
2414
- "scope": "teambit.react",
2415
- "name": "react",
2416
- "version": "0.0.1048"
2417
- }
2418
- },
2419
- "doc": {
2420
- "__schema": "DocSchema",
2421
- "location": {
2422
- "filePath": "node.main.runtime.ts",
2423
- "line": 89,
2424
- "character": 3
2425
- },
2426
- "raw": "/**\n * @deprecated - use useWebpack\n * override the dev server configuration.\n */",
2427
- "tags": [
2428
- {
2429
- "__schema": "TagSchema",
2430
- "location": {
2431
- "filePath": "node.main.runtime.ts",
2432
- "line": 90,
2433
- "character": 6
2434
- },
2435
- "tagName": "deprecated",
2436
- "comment": "- use useWebpack\noverride the dev server configuration."
2437
- }
2438
- ]
2439
- }
2440
- },
2441
- {
2442
- "__schema": "FunctionLikeSchema",
2443
- "location": {
2444
- "filePath": "node.main.runtime.ts",
2445
- "line": 99,
2446
- "character": 3
2447
- },
2448
- "name": "useTypescript",
2449
- "signature": "(method) NodeMain.useTypescript(modifiers?: UseTypescriptModifiers, tsModule?: any): EnvTransformer",
2450
- "modifiers": [],
2451
- "params": [
2452
- {
2453
- "__schema": "ParameterSchema",
2454
- "location": {
2455
- "filePath": "node.main.runtime.ts",
2456
- "line": 99,
2457
- "character": 17
2458
- },
2459
- "name": "modifiers",
2460
- "isOptional": true,
2461
- "type": {
2462
- "__schema": "TypeRefSchema",
2463
- "location": {
2464
- "filePath": "node.main.runtime.ts",
2465
- "line": 99,
2466
- "character": 29
2467
- },
2468
- "name": "UseTypescriptModifiers",
2469
- "componentId": {
2470
- "scope": "teambit.react",
2471
- "name": "react"
2472
- }
2473
- }
2474
- },
2475
- {
2476
- "__schema": "ParameterSchema",
2477
- "location": {
2478
- "filePath": "node.main.runtime.ts",
2479
- "line": 99,
2480
- "character": 53
2481
- },
2482
- "name": "tsModule",
2483
- "isOptional": true,
2484
- "type": {
2485
- "__schema": "KeywordTypeSchema",
2486
- "location": {
2487
- "filePath": "node.main.runtime.ts",
2488
- "line": 99,
2489
- "character": 64
2490
- },
2491
- "name": "any"
2492
- }
2493
- }
2494
- ],
2495
- "returnType": {
2496
- "__schema": "TypeRefSchema",
2497
- "location": {
2498
- "filePath": "node.main.runtime.ts",
2499
- "line": 99,
2500
- "character": 3
2501
- },
2502
- "name": "EnvTransformer",
2503
- "componentId": {
2504
- "scope": "teambit.envs",
2505
- "name": "envs"
2506
- }
2507
- },
2508
- "doc": {
2509
- "__schema": "DocSchema",
2510
- "location": {
2511
- "filePath": "node.main.runtime.ts",
2512
- "line": 95,
2513
- "character": 3
2514
- },
2515
- "raw": "/**\n * override the env's typescript config for both dev and build time.\n * Replaces both overrideTsConfig (devConfig) and overrideBuildTsConfig (buildConfig)\n */",
2516
- "comment": "override the env's typescript config for both dev and build time.\nReplaces both overrideTsConfig (devConfig) and overrideBuildTsConfig (buildConfig)"
2517
- }
2518
- },
2519
- {
2520
- "__schema": "VariableLikeSchema",
2521
- "location": {
2522
- "filePath": "node.main.runtime.ts",
2523
- "line": 122,
2524
- "character": 3
2525
- },
2526
- "name": "useWebpack",
2527
- "signature": "(property) NodeMain.useWebpack: (modifiers?: UseWebpackModifiers | undefined) => EnvTransformer",
2528
- "isOptional": false,
2529
- "type": {
2530
- "__schema": "TypeRefSchema",
2531
- "location": {
2532
- "filePath": "node.main.runtime.ts",
2533
- "line": 122,
2534
- "character": 3
2535
- },
2536
- "name": "(modifiers?: UseWebpackModifiers | undefined) => EnvTransformer",
2537
- "componentId": {
2538
- "scope": "teambit.react",
2539
- "name": "react",
2540
- "version": "0.0.1048"
2541
- }
2542
- },
2543
- "doc": {
2544
- "__schema": "DocSchema",
2545
- "location": {
2546
- "filePath": "node.main.runtime.ts",
2547
- "line": 118,
2548
- "character": 3
2549
- },
2550
- "raw": "/**\n * override the env's dev server and preview webpack configurations.\n * Replaces both overrideDevServerConfig and overridePreviewConfig\n */",
2551
- "comment": "override the env's dev server and preview webpack configurations.\nReplaces both overrideDevServerConfig and overridePreviewConfig"
2552
- }
2553
- },
2554
- {
2555
- "__schema": "VariableLikeSchema",
2556
- "location": {
2557
- "filePath": "node.main.runtime.ts",
2558
- "line": 127,
2559
- "character": 3
2560
- },
2561
- "name": "usePrettier",
2562
- "signature": "(property) NodeMain.usePrettier: (modifiers?: UsePrettierModifiers | undefined) => EnvTransformer",
2563
- "isOptional": false,
2564
- "type": {
2565
- "__schema": "TypeRefSchema",
2566
- "location": {
2567
- "filePath": "node.main.runtime.ts",
2568
- "line": 127,
2569
- "character": 3
2570
- },
2571
- "name": "(modifiers?: UsePrettierModifiers | undefined) => EnvTransformer",
2572
- "componentId": {
2573
- "scope": "teambit.react",
2574
- "name": "react",
2575
- "version": "0.0.1048"
2576
- }
2577
- },
2578
- "doc": {
2579
- "__schema": "DocSchema",
2580
- "location": {
2581
- "filePath": "node.main.runtime.ts",
2582
- "line": 124,
2583
- "character": 3
2584
- },
2585
- "raw": "/**\n * An API to mutate the prettier config\n */",
2586
- "comment": "An API to mutate the prettier config"
2587
- }
2588
- },
2589
- {
2590
- "__schema": "VariableLikeSchema",
2591
- "location": {
2592
- "filePath": "node.main.runtime.ts",
2593
- "line": 132,
2594
- "character": 3
2595
- },
2596
- "name": "useEslint",
2597
- "signature": "(property) NodeMain.useEslint: (modifiers?: UseEslintModifiers | undefined) => EnvTransformer",
2598
- "isOptional": false,
2599
- "type": {
2600
- "__schema": "TypeRefSchema",
2601
- "location": {
2602
- "filePath": "node.main.runtime.ts",
2603
- "line": 132,
2604
- "character": 3
2605
- },
2606
- "name": "(modifiers?: UseEslintModifiers | undefined) => EnvTransformer",
2607
- "componentId": {
2608
- "scope": "teambit.react",
2609
- "name": "react",
2610
- "version": "0.0.1048"
2611
- }
2612
- },
2613
- "doc": {
2614
- "__schema": "DocSchema",
2615
- "location": {
2616
- "filePath": "node.main.runtime.ts",
2617
- "line": 129,
2618
- "character": 3
2619
- },
2620
- "raw": "/**\n * An API to mutate the eslint config\n */",
2621
- "comment": "An API to mutate the eslint config"
2622
- }
2623
- },
2624
- {
2625
- "__schema": "FunctionLikeSchema",
2626
- "location": {
2627
- "filePath": "node.main.runtime.ts",
2628
- "line": 137,
2629
- "character": 3
2630
- },
2631
- "name": "overrideDependencies",
2632
- "signature": "(method) NodeMain.overrideDependencies(dependencyPolicy: EnvPolicyConfigObject): EnvTransformer",
2633
- "modifiers": [],
2634
- "params": [
2635
- {
2636
- "__schema": "ParameterSchema",
2637
- "location": {
2638
- "filePath": "node.main.runtime.ts",
2639
- "line": 137,
2640
- "character": 24
2641
- },
2642
- "name": "dependencyPolicy",
2643
- "isOptional": false,
2644
- "type": {
2645
- "__schema": "TypeRefSchema",
2646
- "location": {
2647
- "filePath": "node.main.runtime.ts",
2648
- "line": 137,
2649
- "character": 42
2650
- },
2651
- "name": "EnvPolicyConfigObject",
2652
- "componentId": {
2653
- "scope": "teambit.dependencies",
2654
- "name": "dependency-resolver"
2655
- }
2656
- }
2657
- }
2658
- ],
2659
- "returnType": {
2660
- "__schema": "TypeRefSchema",
2661
- "location": {
2662
- "filePath": "node.main.runtime.ts",
2663
- "line": 137,
2664
- "character": 3
2665
- },
2666
- "name": "EnvTransformer",
2667
- "componentId": {
2668
- "scope": "teambit.envs",
2669
- "name": "envs"
2670
- }
2671
- },
2672
- "doc": {
2673
- "__schema": "DocSchema",
2674
- "location": {
2675
- "filePath": "node.main.runtime.ts",
2676
- "line": 134,
2677
- "character": 3
2678
- },
2679
- "raw": "/**\n * override the dependency configuration of the component environment.\n */",
2680
- "comment": "override the dependency configuration of the component environment."
2681
- }
2682
- },
2683
- {
2684
- "__schema": "VariableLikeSchema",
2685
- "location": {
2686
- "filePath": "node.main.runtime.ts",
2687
- "line": 143,
2688
- "character": 3
2689
- },
2690
- "name": "overrideMounter",
2691
- "signature": "(property) NodeMain.overrideMounter: (mounterPath: string) => EnvTransformer",
2692
- "isOptional": false,
2693
- "type": {
2694
- "__schema": "TypeRefSchema",
2695
- "location": {
2696
- "filePath": "node.main.runtime.ts",
2697
- "line": 143,
2698
- "character": 3
2699
- },
2700
- "name": "(mounterPath: string) => EnvTransformer",
2701
- "componentId": {
2702
- "scope": "teambit.react",
2703
- "name": "react",
2704
- "version": "0.0.1048"
2705
- }
2706
- }
2707
- },
2708
- {
2709
- "__schema": "FunctionLikeSchema",
2710
- "location": {
2711
- "filePath": "node.main.runtime.ts",
2712
- "line": 148,
2713
- "character": 3
2714
- },
2715
- "name": "compose",
2716
- "signature": "(method) NodeMain.compose(transformers: EnvTransformer[], targetEnv?: Environment): Environment",
2717
- "modifiers": [],
2718
- "params": [
2719
- {
2720
- "__schema": "ParameterSchema",
2721
- "location": {
2722
- "filePath": "node.main.runtime.ts",
2723
- "line": 148,
2724
- "character": 11
2725
- },
2726
- "name": "transformers",
2727
- "isOptional": false,
2728
- "type": {
2729
- "__schema": "TypeArraySchema",
2730
- "location": {
2731
- "filePath": "node.main.runtime.ts",
2732
- "line": 148,
2733
- "character": 25
2734
- },
2735
- "type": {
2736
- "__schema": "TypeRefSchema",
2737
- "location": {
2738
- "filePath": "node.main.runtime.ts",
2739
- "line": 148,
2740
- "character": 25
2741
- },
2742
- "name": "EnvTransformer",
2743
- "componentId": {
2744
- "scope": "teambit.envs",
2745
- "name": "envs"
2746
- }
2747
- }
2748
- }
2749
- },
2750
- {
2751
- "__schema": "ParameterSchema",
2752
- "location": {
2753
- "filePath": "node.main.runtime.ts",
2754
- "line": 148,
2755
- "character": 43
2756
- },
2757
- "name": "targetEnv",
2758
- "isOptional": false,
2759
- "defaultValue": "{}",
2760
- "type": {
2761
- "__schema": "TypeRefSchema",
2762
- "location": {
2763
- "filePath": "node.main.runtime.ts",
2764
- "line": 148,
2765
- "character": 54
2766
- },
2767
- "name": "Environment",
2768
- "componentId": {
2769
- "scope": "teambit.envs",
2770
- "name": "envs"
2771
- }
2772
- }
2773
- }
2774
- ],
2775
- "returnType": {
2776
- "__schema": "TypeRefSchema",
2777
- "location": {
2778
- "filePath": "node.main.runtime.ts",
2779
- "line": 148,
2780
- "character": 3
2781
- },
2782
- "name": "Environment",
2783
- "componentId": {
2784
- "scope": "teambit.envs",
2785
- "name": "envs"
2786
- }
2787
- },
2788
- "doc": {
2789
- "__schema": "DocSchema",
2790
- "location": {
2791
- "filePath": "node.main.runtime.ts",
2792
- "line": 145,
2793
- "character": 3
2794
- },
2795
- "raw": "/**\n * create a new composition of the node environment.\n */",
2796
- "comment": "create a new composition of the node environment."
2797
- }
2798
- },
2799
- {
2800
- "__schema": "VariableLikeSchema",
2801
- "location": {
2802
- "filePath": "node.main.runtime.ts",
2803
- "line": 152,
2804
- "character": 3
2805
- },
2806
- "name": "runtime",
2807
- "signature": "(property) NodeMain.runtime: RuntimeDefinition",
2808
- "isOptional": false,
2809
- "type": {
2810
- "__schema": "InferenceTypeSchema",
2811
- "location": {
2812
- "filePath": "node.main.runtime.ts",
2813
- "line": 152,
2814
- "character": 3
2815
- },
2816
- "type": "RuntimeDefinition"
2817
- }
2818
- },
2819
- {
2820
- "__schema": "VariableLikeSchema",
2821
- "location": {
2822
- "filePath": "node.main.runtime.ts",
2823
- "line": 153,
2824
- "character": 3
2825
- },
2826
- "name": "dependencies",
2827
- "signature": "(property) NodeMain.dependencies: Aspect[]",
2828
- "isOptional": false,
2829
- "type": {
2830
- "__schema": "InferenceTypeSchema",
2831
- "location": {
2832
- "filePath": "node.main.runtime.ts",
2833
- "line": 153,
2834
- "character": 3
2835
- },
2836
- "type": "Aspect[]"
2837
- }
2838
- },
2839
- {
2840
- "__schema": "FunctionLikeSchema",
2841
- "location": {
2842
- "filePath": "node.main.runtime.ts",
2843
- "line": 155,
2844
- "character": 3
2845
- },
2846
- "name": "provider",
2847
- "signature": "(method) NodeMain.provider([loggerAspect, envs, application, react, generator, tsAspect]: [\n LoggerMain,\n EnvsMain,\n ApplicationMain,\n ReactMain,\n GeneratorMain,\n TypescriptMain\n]): Promise<NodeMain>",
2848
- "modifiers": [
2849
- "static",
2850
- "async"
2851
- ],
2852
- "params": [
2853
- {
2854
- "__schema": "ParameterSchema",
2855
- "location": {
2856
- "filePath": "node.main.runtime.ts",
2857
- "line": 155,
2858
- "character": 25
2859
- },
2860
- "name": "[ loggerAspect, envs, application, react, generator, tsAspect ]",
2861
- "isOptional": false,
2862
- "type": {
2863
- "__schema": "TupleTypeSchema",
2864
- "location": {
2865
- "filePath": "node.main.runtime.ts",
2866
- "line": 155,
2867
- "character": 88
2868
- },
2869
- "elements": [
2870
- {
2871
- "__schema": "TypeRefSchema",
2872
- "location": {
2873
- "filePath": "node.main.runtime.ts",
2874
- "line": 156,
2875
- "character": 5
2876
- },
2877
- "name": "LoggerMain",
2878
- "componentId": {
2879
- "scope": "teambit.harmony",
2880
- "name": "logger"
2881
- }
2882
- },
2883
- {
2884
- "__schema": "TypeRefSchema",
2885
- "location": {
2886
- "filePath": "node.main.runtime.ts",
2887
- "line": 157,
2888
- "character": 5
2889
- },
2890
- "name": "EnvsMain",
2891
- "componentId": {
2892
- "scope": "teambit.envs",
2893
- "name": "envs"
2894
- }
2895
- },
2896
- {
2897
- "__schema": "TypeRefSchema",
2898
- "location": {
2899
- "filePath": "node.main.runtime.ts",
2900
- "line": 158,
2901
- "character": 5
2902
- },
2903
- "name": "ApplicationMain",
2904
- "componentId": {
2905
- "scope": "teambit.harmony",
2906
- "name": "application"
2907
- }
2908
- },
2909
- {
2910
- "__schema": "TypeRefSchema",
2911
- "location": {
2912
- "filePath": "node.main.runtime.ts",
2913
- "line": 159,
2914
- "character": 5
2915
- },
2916
- "name": "ReactMain",
2917
- "componentId": {
2918
- "scope": "teambit.react",
2919
- "name": "react"
2920
- }
2921
- },
2922
- {
2923
- "__schema": "TypeRefSchema",
2924
- "location": {
2925
- "filePath": "node.main.runtime.ts",
2926
- "line": 160,
2927
- "character": 5
2928
- },
2929
- "name": "GeneratorMain",
2930
- "componentId": {
2931
- "scope": "teambit.generator",
2932
- "name": "generator"
2933
- }
2934
- },
2935
- {
2936
- "__schema": "TypeRefSchema",
2937
- "location": {
2938
- "filePath": "node.main.runtime.ts",
2939
- "line": 161,
2940
- "character": 5
2941
- },
2942
- "name": "TypescriptMain",
2943
- "componentId": {
2944
- "scope": "teambit.typescript",
2945
- "name": "typescript"
2946
- }
2947
- }
2948
- ]
2949
- }
2950
- }
2951
- ],
2952
- "returnType": {
2953
- "__schema": "InferenceTypeSchema",
2954
- "location": {
2955
- "filePath": "node.main.runtime.ts",
2956
- "line": 155,
2957
- "character": 3
2958
- },
2959
- "type": "Promise<NodeMain>"
2960
- }
2961
- }
2962
- ]
2963
- }
2964
- ],
2965
- "internals": [
2966
- {
2967
- "__schema": "UnImplementedSchema",
2968
- "location": {
2969
- "filePath": "node.main.runtime.ts",
2970
- "line": 174,
2971
- "character": 1
2972
- },
2973
- "name": "NodeAspect.addRuntime(NodeMain);",
2974
- "type": "ExpressionStatement"
2975
- }
2976
- ]
2977
- },
2978
- {
2979
- "__schema": "ModuleSchema",
2980
- "location": {
2981
- "filePath": "node-app-options.ts",
2982
- "line": 1,
2983
- "character": 1
2984
- },
2985
- "exports": [
2986
- {
2987
- "__schema": "InterfaceSchema",
2988
- "location": {
2989
- "filePath": "node-app-options.ts",
2990
- "line": 3,
2991
- "character": 1
2992
- },
2993
- "name": "DeployContext",
2994
- "signature": "interface DeployContext",
2995
- "extendsNodes": [
2996
- {
2997
- "__schema": "ExpressionWithTypeArgumentsSchema",
2998
- "name": "extends AppDeployContext",
2999
- "location": {
3000
- "filePath": "node-app-options.ts",
3001
- "line": 3,
3002
- "character": 40
3003
- },
3004
- "typeArgs": [],
3005
- "expression": {
3006
- "__schema": "TypeRefSchema",
3007
- "location": {
3008
- "filePath": "node-app-options.ts",
3009
- "line": 3,
3010
- "character": 40
3011
- },
3012
- "name": "AppDeployContext",
3013
- "componentId": {
3014
- "scope": "teambit.harmony",
3015
- "name": "node",
3016
- "version": "0.0.1048"
3017
- }
3018
- }
3019
- }
3020
- ],
3021
- "members": [
3022
- {
3023
- "__schema": "VariableLikeSchema",
3024
- "location": {
3025
- "filePath": "node-app-options.ts",
3026
- "line": 7,
3027
- "character": 3
3028
- },
3029
- "name": "mainFile",
3030
- "signature": "(property) DeployContext.mainFile?: string | undefined",
3031
- "isOptional": true,
3032
- "type": {
3033
- "__schema": "KeywordTypeSchema",
3034
- "location": {
3035
- "filePath": "node-app-options.ts",
3036
- "line": 7,
3037
- "character": 14
3038
- },
3039
- "name": "string"
3040
- },
3041
- "doc": {
3042
- "__schema": "DocSchema",
3043
- "location": {
3044
- "filePath": "node-app-options.ts",
3045
- "line": 4,
3046
- "character": 3
3047
- },
3048
- "raw": "/**\n * the main file file of the app e.g: dist/app.js\n */",
3049
- "comment": "the main file file of the app e.g: dist/app.js"
3050
- }
3051
- }
3052
- ]
3053
- },
3054
- {
3055
- "__schema": "TypeSchema",
3056
- "location": {
3057
- "filePath": "node-app-options.ts",
3058
- "line": 10,
3059
- "character": 1
3060
- },
3061
- "name": "NodeAppOptions",
3062
- "signature": "type NodeAppOptions = {\n name: string;\n entry: string;\n portRange?: number[] | undefined;\n deploy?: DeployFn | undefined;\n}",
3063
- "type": {
3064
- "__schema": "TypeLiteralSchema",
3065
- "location": {
3066
- "filePath": "node-app-options.ts",
3067
- "line": 10,
3068
- "character": 30
3069
- },
3070
- "members": [
3071
- {
3072
- "__schema": "VariableLikeSchema",
3073
- "location": {
3074
- "filePath": "node-app-options.ts",
3075
- "line": 14,
3076
- "character": 3
3077
- },
3078
- "name": "name",
3079
- "signature": "(property) name: string",
3080
- "isOptional": false,
3081
- "type": {
3082
- "__schema": "KeywordTypeSchema",
3083
- "location": {
3084
- "filePath": "node-app-options.ts",
3085
- "line": 14,
3086
- "character": 9
3087
- },
3088
- "name": "string"
3089
- },
3090
- "doc": {
3091
- "__schema": "DocSchema",
3092
- "location": {
3093
- "filePath": "node-app-options.ts",
3094
- "line": 11,
3095
- "character": 3
3096
- },
3097
- "raw": "/**\n * name of the application.\n */",
3098
- "comment": "name of the application."
3099
- }
3100
- },
3101
- {
3102
- "__schema": "VariableLikeSchema",
3103
- "location": {
3104
- "filePath": "node-app-options.ts",
3105
- "line": 20,
3106
- "character": 3
3107
- },
3108
- "name": "entry",
3109
- "signature": "(property) entry: string",
3110
- "isOptional": false,
3111
- "type": {
3112
- "__schema": "KeywordTypeSchema",
3113
- "location": {
3114
- "filePath": "node-app-options.ts",
3115
- "line": 20,
3116
- "character": 10
3117
- },
3118
- "name": "string"
3119
- },
3120
- "doc": {
3121
- "__schema": "DocSchema",
3122
- "location": {
3123
- "filePath": "node-app-options.ts",
3124
- "line": 16,
3125
- "character": 3
3126
- },
3127
- "raw": "/**\n * path to entry file of the application.\n * e.g: '/index.js'\n */",
3128
- "comment": "path to entry file of the application.\ne.g: '/index.js'"
3129
- }
3130
- },
3131
- {
3132
- "__schema": "VariableLikeSchema",
3133
- "location": {
3134
- "filePath": "node-app-options.ts",
3135
- "line": 25,
3136
- "character": 3
3137
- },
3138
- "name": "portRange",
3139
- "signature": "(property) portRange?: number[] | undefined",
3140
- "isOptional": true,
3141
- "type": {
3142
- "__schema": "TypeArraySchema",
3143
- "location": {
3144
- "filePath": "node-app-options.ts",
3145
- "line": 25,
3146
- "character": 15
3147
- },
3148
- "type": {
3149
- "__schema": "KeywordTypeSchema",
3150
- "location": {
3151
- "filePath": "node-app-options.ts",
3152
- "line": 25,
3153
- "character": 15
3154
- },
3155
- "name": "number"
3156
- }
3157
- },
3158
- "doc": {
3159
- "__schema": "DocSchema",
3160
- "location": {
3161
- "filePath": "node-app-options.ts",
3162
- "line": 22,
3163
- "character": 3
3164
- },
3165
- "raw": "/**\n * ranges of ports to use to run the app server.\n */",
3166
- "comment": "ranges of ports to use to run the app server."
3167
- }
3168
- },
3169
- {
3170
- "__schema": "VariableLikeSchema",
3171
- "location": {
3172
- "filePath": "node-app-options.ts",
3173
- "line": 30,
3174
- "character": 3
3175
- },
3176
- "name": "deploy",
3177
- "signature": "(property) deploy?: DeployFn | undefined",
3178
- "isOptional": true,
3179
- "type": {
3180
- "__schema": "TypeRefSchema",
3181
- "location": {
3182
- "filePath": "node-app-options.ts",
3183
- "line": 30,
3184
- "character": 12
3185
- },
3186
- "name": "DeployFn",
3187
- "componentId": {
3188
- "scope": "teambit.harmony",
3189
- "name": "application"
3190
- }
3191
- },
3192
- "doc": {
3193
- "__schema": "DocSchema",
3194
- "location": {
3195
- "filePath": "node-app-options.ts",
3196
- "line": 27,
3197
- "character": 3
3198
- },
3199
- "raw": "/**\n * deploy function.\n */",
3200
- "comment": "deploy function."
3201
- }
3202
- }
3203
- ]
3204
- }
3205
- }
3206
- ],
3207
- "internals": []
3208
- },
3209
- {
3210
- "__schema": "ModuleSchema",
3211
- "location": {
3212
- "filePath": "node.aspect.ts",
3213
- "line": 1,
3214
- "character": 1
3215
- },
3216
- "exports": [
3217
- {
3218
- "__schema": "VariableLikeSchema",
3219
- "location": {
3220
- "filePath": "node.aspect.ts",
3221
- "line": 3,
3222
- "character": 14
3223
- },
3224
- "name": "NodeAspect",
3225
- "signature": "const NodeAspect: Aspect",
3226
- "isOptional": false,
3227
- "type": {
3228
- "__schema": "TypeRefSchema",
3229
- "location": {
3230
- "filePath": "node.aspect.ts",
3231
- "line": 3,
3232
- "character": 14
3233
- },
3234
- "name": "Aspect",
3235
- "componentId": {
3236
- "scope": "teambit.harmony",
3237
- "name": "harmony",
3238
- "version": "0.4.6"
3239
- }
3240
- }
3241
- },
3242
- {
3243
- "__schema": "UnImplementedSchema",
3244
- "location": {
3245
- "filePath": "node.aspect.ts",
3246
- "line": 9,
3247
- "character": 16
3248
- },
3249
- "name": "NodeAspect",
3250
- "type": "Identifier"
3251
- }
3252
- ],
3253
- "internals": []
3254
- }
3255
- ],
3256
- "componentId": {
3257
- "scope": "teambit.harmony",
3258
- "name": "node",
3259
- "version": "0.0.1048"
3260
- },
3261
- "taggedModuleExports": []
3262
- }