@teambit/env 0.0.337 → 0.0.339

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.
@@ -120,7 +120,9 @@
120
120
  "line": 8,
121
121
  "character": 3
122
122
  },
123
+ "name": "constructor",
123
124
  "signature": "constructor EnvMain(envEnv: EnvEnv, envs: EnvsMain): EnvMain",
125
+ "modifiers": [],
124
126
  "params": [
125
127
  {
126
128
  "__schema": "ParameterSchema",
@@ -160,12 +162,19 @@
160
162
  "name": "EnvsMain",
161
163
  "componentId": {
162
164
  "scope": "teambit.envs",
163
- "name": "envs",
164
- "version": "0.0.964"
165
+ "name": "envs"
165
166
  }
166
167
  }
167
168
  }
168
- ]
169
+ ],
170
+ "returnType": {
171
+ "__schema": "ThisTypeSchema",
172
+ "location": {
173
+ "filePath": "env.main.runtime.ts",
174
+ "line": 7,
175
+ "character": 1
176
+ }
177
+ }
169
178
  },
170
179
  {
171
180
  "__schema": "FunctionLikeSchema",
@@ -205,8 +214,7 @@
205
214
  "name": "EnvTransformer",
206
215
  "componentId": {
207
216
  "scope": "teambit.envs",
208
- "name": "envs",
209
- "version": "0.0.964"
217
+ "name": "envs"
210
218
  }
211
219
  }
212
220
  }
@@ -231,8 +239,7 @@
231
239
  "name": "Environment",
232
240
  "componentId": {
233
241
  "scope": "teambit.envs",
234
- "name": "envs",
235
- "version": "0.0.964"
242
+ "name": "envs"
236
243
  }
237
244
  }
238
245
  }
@@ -247,8 +254,7 @@
247
254
  "name": "Environment",
248
255
  "componentId": {
249
256
  "scope": "teambit.envs",
250
- "name": "envs",
251
- "version": "0.0.964"
257
+ "name": "envs"
252
258
  }
253
259
  },
254
260
  "doc": {
@@ -363,8 +369,7 @@
363
369
  "name": "AspectMain",
364
370
  "componentId": {
365
371
  "scope": "teambit.harmony",
366
- "name": "aspect",
367
- "version": "0.0.964"
372
+ "name": "aspect"
368
373
  }
369
374
  },
370
375
  {
@@ -377,8 +382,7 @@
377
382
  "name": "EnvsMain",
378
383
  "componentId": {
379
384
  "scope": "teambit.envs",
380
- "name": "envs",
381
- "version": "0.0.964"
385
+ "name": "envs"
382
386
  }
383
387
  }
384
388
  ]
@@ -397,6 +401,16 @@
397
401
  }
398
402
  ]
399
403
  },
404
+ {
405
+ "__schema": "UnImplementedSchema",
406
+ "location": {
407
+ "filePath": "index.ts",
408
+ "line": 5,
409
+ "character": 16
410
+ },
411
+ "name": "EnvAspect",
412
+ "type": "Identifier"
413
+ },
400
414
  {
401
415
  "__schema": "VariableLikeSchema",
402
416
  "location": {
@@ -422,11 +436,372 @@
422
436
  }
423
437
  }
424
438
  }
425
- ]
439
+ ],
440
+ "internals": []
426
441
  },
442
+ "internals": [
443
+ {
444
+ "__schema": "ModuleSchema",
445
+ "location": {
446
+ "filePath": "env.main.runtime.ts",
447
+ "line": 1,
448
+ "character": 1
449
+ },
450
+ "exports": [
451
+ {
452
+ "__schema": "ClassSchema",
453
+ "name": "EnvMain",
454
+ "location": {
455
+ "filePath": "env.main.runtime.ts",
456
+ "line": 7,
457
+ "character": 1
458
+ },
459
+ "signature": "class EnvMain",
460
+ "extendsNodes": [],
461
+ "implementNodes": [],
462
+ "members": [
463
+ {
464
+ "__schema": "ConstructorSchema",
465
+ "location": {
466
+ "filePath": "env.main.runtime.ts",
467
+ "line": 8,
468
+ "character": 3
469
+ },
470
+ "name": "constructor",
471
+ "signature": "constructor EnvMain(envEnv: EnvEnv, envs: EnvsMain): EnvMain",
472
+ "modifiers": [],
473
+ "params": [
474
+ {
475
+ "__schema": "ParameterSchema",
476
+ "location": {
477
+ "filePath": "env.main.runtime.ts",
478
+ "line": 8,
479
+ "character": 15
480
+ },
481
+ "name": "envEnv",
482
+ "isOptional": false,
483
+ "type": {
484
+ "__schema": "TypeRefSchema",
485
+ "location": {
486
+ "filePath": "env.main.runtime.ts",
487
+ "line": 8,
488
+ "character": 32
489
+ },
490
+ "name": "EnvEnv"
491
+ }
492
+ },
493
+ {
494
+ "__schema": "ParameterSchema",
495
+ "location": {
496
+ "filePath": "env.main.runtime.ts",
497
+ "line": 8,
498
+ "character": 40
499
+ },
500
+ "name": "envs",
501
+ "isOptional": false,
502
+ "type": {
503
+ "__schema": "TypeRefSchema",
504
+ "location": {
505
+ "filePath": "env.main.runtime.ts",
506
+ "line": 8,
507
+ "character": 54
508
+ },
509
+ "name": "EnvsMain",
510
+ "componentId": {
511
+ "scope": "teambit.envs",
512
+ "name": "envs"
513
+ }
514
+ }
515
+ }
516
+ ],
517
+ "returnType": {
518
+ "__schema": "ThisTypeSchema",
519
+ "location": {
520
+ "filePath": "env.main.runtime.ts",
521
+ "line": 7,
522
+ "character": 1
523
+ }
524
+ }
525
+ },
526
+ {
527
+ "__schema": "FunctionLikeSchema",
528
+ "location": {
529
+ "filePath": "env.main.runtime.ts",
530
+ "line": 13,
531
+ "character": 3
532
+ },
533
+ "name": "compose",
534
+ "signature": "(method) EnvMain.compose(transformers?: EnvTransformer[], targetEnv?: Environment): Environment",
535
+ "modifiers": [],
536
+ "params": [
537
+ {
538
+ "__schema": "ParameterSchema",
539
+ "location": {
540
+ "filePath": "env.main.runtime.ts",
541
+ "line": 13,
542
+ "character": 11
543
+ },
544
+ "name": "transformers",
545
+ "isOptional": false,
546
+ "defaultValue": "[]",
547
+ "type": {
548
+ "__schema": "TypeArraySchema",
549
+ "location": {
550
+ "filePath": "env.main.runtime.ts",
551
+ "line": 13,
552
+ "character": 25
553
+ },
554
+ "type": {
555
+ "__schema": "TypeRefSchema",
556
+ "location": {
557
+ "filePath": "env.main.runtime.ts",
558
+ "line": 13,
559
+ "character": 25
560
+ },
561
+ "name": "EnvTransformer",
562
+ "componentId": {
563
+ "scope": "teambit.envs",
564
+ "name": "envs"
565
+ }
566
+ }
567
+ }
568
+ },
569
+ {
570
+ "__schema": "ParameterSchema",
571
+ "location": {
572
+ "filePath": "env.main.runtime.ts",
573
+ "line": 13,
574
+ "character": 48
575
+ },
576
+ "name": "targetEnv",
577
+ "isOptional": false,
578
+ "defaultValue": "{}",
579
+ "type": {
580
+ "__schema": "TypeRefSchema",
581
+ "location": {
582
+ "filePath": "env.main.runtime.ts",
583
+ "line": 13,
584
+ "character": 59
585
+ },
586
+ "name": "Environment",
587
+ "componentId": {
588
+ "scope": "teambit.envs",
589
+ "name": "envs"
590
+ }
591
+ }
592
+ }
593
+ ],
594
+ "returnType": {
595
+ "__schema": "TypeRefSchema",
596
+ "location": {
597
+ "filePath": "env.main.runtime.ts",
598
+ "line": 13,
599
+ "character": 3
600
+ },
601
+ "name": "Environment",
602
+ "componentId": {
603
+ "scope": "teambit.envs",
604
+ "name": "envs"
605
+ }
606
+ },
607
+ "doc": {
608
+ "__schema": "DocSchema",
609
+ "location": {
610
+ "filePath": "env.main.runtime.ts",
611
+ "line": 10,
612
+ "character": 3
613
+ },
614
+ "raw": "/**\n * compose your own aspect environment.\n */",
615
+ "comment": "compose your own aspect environment."
616
+ }
617
+ },
618
+ {
619
+ "__schema": "VariableLikeSchema",
620
+ "location": {
621
+ "filePath": "env.main.runtime.ts",
622
+ "line": 17,
623
+ "character": 3
624
+ },
625
+ "name": "slots",
626
+ "signature": "(property) EnvMain.slots: never[]",
627
+ "isOptional": false,
628
+ "type": {
629
+ "__schema": "InferenceTypeSchema",
630
+ "location": {
631
+ "filePath": "env.main.runtime.ts",
632
+ "line": 17,
633
+ "character": 3
634
+ },
635
+ "type": "never[]"
636
+ }
637
+ },
638
+ {
639
+ "__schema": "VariableLikeSchema",
640
+ "location": {
641
+ "filePath": "env.main.runtime.ts",
642
+ "line": 18,
643
+ "character": 3
644
+ },
645
+ "name": "dependencies",
646
+ "signature": "(property) EnvMain.dependencies: Aspect[]",
647
+ "isOptional": false,
648
+ "type": {
649
+ "__schema": "InferenceTypeSchema",
650
+ "location": {
651
+ "filePath": "env.main.runtime.ts",
652
+ "line": 18,
653
+ "character": 3
654
+ },
655
+ "type": "Aspect[]"
656
+ }
657
+ },
658
+ {
659
+ "__schema": "VariableLikeSchema",
660
+ "location": {
661
+ "filePath": "env.main.runtime.ts",
662
+ "line": 19,
663
+ "character": 3
664
+ },
665
+ "name": "runtime",
666
+ "signature": "(property) EnvMain.runtime: RuntimeDefinition",
667
+ "isOptional": false,
668
+ "type": {
669
+ "__schema": "InferenceTypeSchema",
670
+ "location": {
671
+ "filePath": "env.main.runtime.ts",
672
+ "line": 19,
673
+ "character": 3
674
+ },
675
+ "type": "RuntimeDefinition"
676
+ }
677
+ },
678
+ {
679
+ "__schema": "FunctionLikeSchema",
680
+ "location": {
681
+ "filePath": "env.main.runtime.ts",
682
+ "line": 20,
683
+ "character": 3
684
+ },
685
+ "name": "provider",
686
+ "signature": "(method) EnvMain.provider([aspectAspect, envs]: [AspectMain, EnvsMain]): Promise<EnvMain>",
687
+ "modifiers": [
688
+ "static",
689
+ "async"
690
+ ],
691
+ "params": [
692
+ {
693
+ "__schema": "ParameterSchema",
694
+ "location": {
695
+ "filePath": "env.main.runtime.ts",
696
+ "line": 20,
697
+ "character": 25
698
+ },
699
+ "name": "[ aspectAspect, envs ]",
700
+ "isOptional": false,
701
+ "type": {
702
+ "__schema": "TupleTypeSchema",
703
+ "location": {
704
+ "filePath": "env.main.runtime.ts",
705
+ "line": 20,
706
+ "character": 47
707
+ },
708
+ "elements": [
709
+ {
710
+ "__schema": "TypeRefSchema",
711
+ "location": {
712
+ "filePath": "env.main.runtime.ts",
713
+ "line": 20,
714
+ "character": 48
715
+ },
716
+ "name": "AspectMain",
717
+ "componentId": {
718
+ "scope": "teambit.harmony",
719
+ "name": "aspect"
720
+ }
721
+ },
722
+ {
723
+ "__schema": "TypeRefSchema",
724
+ "location": {
725
+ "filePath": "env.main.runtime.ts",
726
+ "line": 20,
727
+ "character": 60
728
+ },
729
+ "name": "EnvsMain",
730
+ "componentId": {
731
+ "scope": "teambit.envs",
732
+ "name": "envs"
733
+ }
734
+ }
735
+ ]
736
+ }
737
+ }
738
+ ],
739
+ "returnType": {
740
+ "__schema": "InferenceTypeSchema",
741
+ "location": {
742
+ "filePath": "env.main.runtime.ts",
743
+ "line": 20,
744
+ "character": 3
745
+ },
746
+ "type": "Promise<EnvMain>"
747
+ }
748
+ }
749
+ ]
750
+ }
751
+ ],
752
+ "internals": [
753
+ {
754
+ "__schema": "UnImplementedSchema",
755
+ "location": {
756
+ "filePath": "env.main.runtime.ts",
757
+ "line": 28,
758
+ "character": 1
759
+ },
760
+ "name": "EnvAspect.addRuntime(EnvMain);",
761
+ "type": "ExpressionStatement"
762
+ }
763
+ ]
764
+ },
765
+ {
766
+ "__schema": "ModuleSchema",
767
+ "location": {
768
+ "filePath": "env.aspect.ts",
769
+ "line": 1,
770
+ "character": 1
771
+ },
772
+ "exports": [
773
+ {
774
+ "__schema": "VariableLikeSchema",
775
+ "location": {
776
+ "filePath": "env.aspect.ts",
777
+ "line": 3,
778
+ "character": 14
779
+ },
780
+ "name": "EnvAspect",
781
+ "signature": "const EnvAspect: Aspect",
782
+ "isOptional": false,
783
+ "type": {
784
+ "__schema": "TypeRefSchema",
785
+ "location": {
786
+ "filePath": "env.aspect.ts",
787
+ "line": 3,
788
+ "character": 14
789
+ },
790
+ "name": "Aspect",
791
+ "componentId": {
792
+ "scope": "teambit.harmony",
793
+ "name": "harmony",
794
+ "version": "0.4.6"
795
+ }
796
+ }
797
+ }
798
+ ],
799
+ "internals": []
800
+ }
801
+ ],
427
802
  "componentId": {
428
803
  "scope": "teambit.envs",
429
804
  "name": "env",
430
- "version": "0.0.337"
805
+ "version": "0.0.339"
431
806
  }
432
807
  }
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.envs_env@0.0.337/dist/env.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.envs_env@0.0.337/dist/env.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.envs_env@0.0.339/dist/env.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.envs_env@0.0.339/dist/env.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "@teambit/env",
3
- "version": "0.0.337",
3
+ "version": "0.0.339",
4
4
  "homepage": "https://bit.dev/teambit/envs/env",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.envs",
8
8
  "name": "env",
9
- "version": "0.0.337"
9
+ "version": "0.0.339"
10
10
  },
11
11
  "dependencies": {
12
12
  "core-js": "^3.0.0",
13
13
  "@babel/runtime": "7.20.0",
14
14
  "@teambit/harmony": "0.4.6",
15
- "@teambit/preview": "0.0.964",
16
- "@teambit/aspect": "0.0.964",
17
- "@teambit/cli": "0.0.647",
18
- "@teambit/envs": "0.0.964"
15
+ "@teambit/preview": "0.0.966",
16
+ "@teambit/aspect": "0.0.966",
17
+ "@teambit/cli": "0.0.649",
18
+ "@teambit/envs": "0.0.966"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/react": "^17.0.8",
@@ -26,7 +26,7 @@
26
26
  "@types/testing-library__jest-dom": "5.9.5"
27
27
  },
28
28
  "peerDependencies": {
29
- "@teambit/legacy": "1.0.427",
29
+ "@teambit/legacy": "1.0.430",
30
30
  "react": "^16.8.0 || ^17.0.0",
31
31
  "react-dom": "^16.8.0 || ^17.0.0"
32
32
  },
@@ -1 +0,0 @@
1
- (()=>{"use strict";var __webpack_modules__={9726:(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__2)=>{var react__WEBPACK_IMPORTED_MODULE_2___namespace_cache,react_dom__WEBPACK_IMPORTED_MODULE_3___namespace_cache,_teambit_mdx_ui_mdx_scope_context__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__2(38168),_mdx_js_react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__2(3905),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__2(67294),react_dom__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__2(73935);const globalObj=window;guard("TeambitMdxUiMdxScopeContext",_teambit_mdx_ui_mdx_scope_context__WEBPACK_IMPORTED_MODULE_0__),guard("MdxJsReact",_mdx_js_react__WEBPACK_IMPORTED_MODULE_1__),guard("React",react__WEBPACK_IMPORTED_MODULE_2___namespace_cache||(react__WEBPACK_IMPORTED_MODULE_2___namespace_cache=__webpack_require__2.t(react__WEBPACK_IMPORTED_MODULE_2__,2))),guard("ReactDom",react_dom__WEBPACK_IMPORTED_MODULE_3___namespace_cache||(react_dom__WEBPACK_IMPORTED_MODULE_3___namespace_cache=__webpack_require__2.t(react_dom__WEBPACK_IMPORTED_MODULE_3__,2))),globalObj.TeambitMdxUiMdxScopeContext=_teambit_mdx_ui_mdx_scope_context__WEBPACK_IMPORTED_MODULE_0__,globalObj.MdxJsReact=_mdx_js_react__WEBPACK_IMPORTED_MODULE_1__,globalObj.React=react__WEBPACK_IMPORTED_MODULE_2___namespace_cache||(react__WEBPACK_IMPORTED_MODULE_2___namespace_cache=__webpack_require__2.t(react__WEBPACK_IMPORTED_MODULE_2__,2)),globalObj.ReactDom=react_dom__WEBPACK_IMPORTED_MODULE_3___namespace_cache||(react_dom__WEBPACK_IMPORTED_MODULE_3___namespace_cache=__webpack_require__2.t(react_dom__WEBPACK_IMPORTED_MODULE_3__,2));function guard(property,expected){var existing=globalObj[property];if(existing===expected&&expected!==void 0)console.warn('[expose-peers] "'+property+'" already exists in global scope, but with correct value');else if(existing!==void 0)throw new Error('[expose-peers] "'+property+'" already exists in the global scope, cannot overwrite')}}},__webpack_module_cache__={};function __webpack_require__(moduleId){var cachedModule=__webpack_module_cache__[moduleId];if(cachedModule!==void 0)return cachedModule.exports;var module=__webpack_module_cache__[moduleId]={id:moduleId,loaded:!1,exports:{}};return __webpack_modules__[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.loaded=!0,module.exports}__webpack_require__.m=__webpack_modules__,(()=>{var deferred=[];__webpack_require__.O=(result,chunkIds,fn,priority)=>{if(chunkIds){priority=priority||0;for(var i=deferred.length;i>0&&deferred[i-1][2]>priority;i--)deferred[i]=deferred[i-1];deferred[i]=[chunkIds,fn,priority];return}for(var notFulfilled=1/0,i=0;i<deferred.length;i++){for(var[chunkIds,fn,priority]=deferred[i],fulfilled=!0,j=0;j<chunkIds.length;j++)(priority&!1||notFulfilled>=priority)&&Object.keys(__webpack_require__.O).every(key=>__webpack_require__.O[key](chunkIds[j]))?chunkIds.splice(j--,1):(fulfilled=!1,priority<notFulfilled&&(notFulfilled=priority));if(fulfilled){deferred.splice(i--,1);var r=fn();r!==void 0&&(result=r)}}return result}})(),__webpack_require__.n=module=>{var getter=module&&module.__esModule?()=>module.default:()=>module;return __webpack_require__.d(getter,{a:getter}),getter},(()=>{var getProto=Object.getPrototypeOf?obj=>Object.getPrototypeOf(obj):obj=>obj.__proto__,leafPrototypes;__webpack_require__.t=function(value,mode){if(mode&1&&(value=this(value)),mode&8||typeof value=="object"&&value&&(mode&4&&value.__esModule||mode&16&&typeof value.then=="function"))return value;var ns=Object.create(null);__webpack_require__.r(ns);var def={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var current=mode&2&&value;typeof current=="object"&&!~leafPrototypes.indexOf(current);current=getProto(current))Object.getOwnPropertyNames(current).forEach(key=>def[key]=()=>value[key]);return def.default=()=>value,__webpack_require__.d(ns,def),ns}})(),__webpack_require__.d=(exports,definition)=>{for(var key in definition)__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports,key)&&Object.defineProperty(exports,key,{enumerable:!0,get:definition[key]})},__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),__webpack_require__.o=(obj,prop)=>Object.prototype.hasOwnProperty.call(obj,prop),__webpack_require__.r=exports=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.nmd=module=>(module.paths=[],module.children||(module.children=[]),module),(()=>{var installedChunks={703:0};__webpack_require__.O.j=chunkId=>installedChunks[chunkId]===0;var webpackJsonpCallback=(parentChunkLoadingFunction,data)=>{var[chunkIds,moreModules,runtime]=data,moduleId,chunkId,i=0;if(chunkIds.some(id=>installedChunks[id]!==0)){for(moduleId in moreModules)__webpack_require__.o(moreModules,moduleId)&&(__webpack_require__.m[moduleId]=moreModules[moduleId]);if(runtime)var result=runtime(__webpack_require__)}for(parentChunkLoadingFunction&&parentChunkLoadingFunction(data);i<chunkIds.length;i++)chunkId=chunkIds[i],__webpack_require__.o(installedChunks,chunkId)&&installedChunks[chunkId]&&installedChunks[chunkId][0](),installedChunks[chunkIds[i]]=0;return __webpack_require__.O(result)},chunkLoadingGlobal=self.__loadChunks_EnvTemplate=self.__loadChunks_EnvTemplate||[];chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null,0)),chunkLoadingGlobal.push=webpackJsonpCallback.bind(null,chunkLoadingGlobal.push.bind(chunkLoadingGlobal))})();var __webpack_exports__=__webpack_require__.O(void 0,[244],()=>__webpack_require__(9726));__webpack_exports__=__webpack_require__.O(__webpack_exports__)})();
Binary file