@teambit/env 1.0.510 → 1.0.511

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