@teambit/compiler 1.0.258 → 1.0.259

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,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.compilation/compiler@1.0.258" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.compilation/compiler@1.0.259" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -1 +1 @@
1
- !function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports["teambit.compilation/compiler-preview"]=n():e["teambit.compilation/compiler-preview"]=n()}(self,(()=>(()=>{"use strict";var e={2044:(e,n,t)=>{var o={id:"teambit.compilation/content/compiler-overview@1.95.0",homepage:"https://bit.dev/teambit/compilation/content/compiler-overview",exported:!0};Object.defineProperty(n,"__esModule",{value:!0}),n.default=u,p(t(41594));var i=t(5016),r=t(65682),a=["components"];function p(e){return e&&e.__esModule?e:{default:e}}function m(){return m=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},m.apply(this,arguments)}function l(e,n){if(null==e)return{};var t,o,i=d(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o<r.length;o++)t=r[o],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function d(e,n){if(null==e)return{};var t,o,i={},r=Object.keys(e);for(o=0;o<r.length;o++)t=r[o],n.indexOf(t)>=0||(i[t]=e[t]);return i}p.__bit_component=o,m.__bit_component=o,l.__bit_component=o,d.__bit_component=o;var c={},s="wrapper";function u(e){var n=e.components,t=l(e,a);return(0,i.mdx)(s,m({},c,t,{components:n,mdxType:"MDXLayout"}),(0,i.mdx)(r.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"},(0,i.mdx)("h1",null,"Compiler overview"),(0,i.mdx)("p",null,"The Compiler aspect provides a single interface for Component compilation, ",(0,i.mdx)("a",{parentName:"p",href:"/"},"during development")," and ",(0,i.mdx)("a",{parentName:"p",href:"/"},"during build"),".\nIt enables you to use the same commands and APIs to compile any Component, regardless of the specific compiler it uses."),(0,i.mdx)("div",{className:"admonition admonition-info alert alert--info"},(0,i.mdx)("div",{parentName:"div",className:"admonition-heading"},(0,i.mdx)("h5",{parentName:"div"},(0,i.mdx)("span",{parentName:"h5",className:"admonition-icon"},(0,i.mdx)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16"},(0,i.mdx)("path",{parentName:"svg",fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}))),"info")),(0,i.mdx)("div",{parentName:"div",className:"admonition-content"},(0,i.mdx)("p",{parentName:"div"},"The specific compiler used by a Component (",(0,i.mdx)("a",{parentName:"p",href:"/"},"Babel"),", ",(0,i.mdx)("a",{parentName:"p",href:"/"},"TypeScript"),", and so on) is set by the Component's Env."))),(0,i.mdx)("h2",null,"Compiling during development"),(0,i.mdx)("p",null,"Run the following to compile all your Workspace Components:"),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre",className:"language-bash"},"bit compile\n")),(0,i.mdx)("p",null,"The following output lists the compilation results in a single format:"),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre",className:"language-bash"}," STATUS COMPONENT ID\n✔ SUCCESS apps/bit-dev\n✔ SUCCESS blocks/component/architecture-breakdown\n✔ SUCCESS blocks/footer\n✔ SUCCESS blocks/header\n✔ SUCCESS buttons/button\n✔ SUCCESS content/adding-components\n")),(0,i.mdx)("p",null,"To 'watch' Components for changes, and to auto-compile modified Components, run:"),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre"},"bit watch\n")),(0,i.mdx)("p",null,"The compiled code is written into each Component's corresponding package, in the ",(0,i.mdx)("a",{parentName:"p",href:"/dependencies/node-modules"},(0,i.mdx)("inlineCode",{parentName:"a"},"node_modules")," directory")," of your workspace.\nFor example, the compiled code for ",(0,i.mdx)("inlineCode",{parentName:"p"},"company.scope/ui/text")," will be found in the ",(0,i.mdx)("inlineCode",{parentName:"p"},"./node_modules/@company/scope.ui.text/dist")," directory (inside your workspace)."),(0,i.mdx)("p",null,"To learn more about compilation in the Workspace, see ",(0,i.mdx)("a",{parentName:"p",href:"/"},"'Compiling during development'"),"."),(0,i.mdx)("h2",null,"Compiling during build"),(0,i.mdx)("p",null,"Run the following to compile Components as part of the ",(0,i.mdx)("a",{parentName:"p",href:"/"},"build pipeline")," (which prepares Components for distribution):"),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre",className:"language-bash"},"bit build\n")),(0,i.mdx)("p",null,"The output to the terminal details the specific compilers being used, as well as the Envs that use them:"),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre",className:"language-bash"},'...\n✔ env "teambit.harmony/aspect", task "teambit.compilation/compiler:BabelCompiler (compile components for artifact dist)" has completed successfully in 363ms\n✔ env "teambit.react/react", task "teambit.compilation/compiler:TSCompiler (compile components for artifact dist)" has completed successfully in 1s\n✔ env "teambit.mdx/mdx", task "teambit.compilation/compiler:MDXCompiler (compile components)" has completed successfully in 879ms\n...\nthe build has been completed. total: 19 tasks\n')),(0,i.mdx)("p",null,"The compiled code is written into the ",(0,i.mdx)("a",{parentName:"p",href:"/"},"Component's Capsule"),". Run ",(0,i.mdx)("a",{parentName:"p",href:"/"},(0,i.mdx)("inlineCode",{parentName:"a"},"bit snap"))," or ",(0,i.mdx)("a",{parentName:"p",href:"/"},(0,i.mdx)("inlineCode",{parentName:"a"},"bit tag"))," to execute the build pipeline (as well as other pipelines), and have the compiled code persisted in the ",(0,i.mdx)("a",{parentName:"p",href:"/"},"Component version"),", and included in the ",(0,i.mdx)("a",{parentName:"p",href:"/"},"Component's package"),"."),(0,i.mdx)("p",null,"To learn more about compilation in the Workspace, see ",(0,i.mdx)("a",{parentName:"p",href:"/"},"'Compiling during build'"),"."),(0,i.mdx)("h2",null,"Compilation strategies and standards"),(0,i.mdx)("p",null,"The Compiler aspect does not set specific compilation strategies as these are defined by the ",(0,i.mdx)("a",{parentName:"p",href:"/"},"specific compilers")," themselves (and are often configurable by the Envs that use them)."),(0,i.mdx)("p",null,"However, all official Bit compilers are configured to favor dev experience when compiling during development, and to favor runtime performance and code universality, when compiling for distribution (during build)."),(0,i.mdx)("p",null,"For example, Bit's ",(0,i.mdx)("a",{parentName:"p",href:"/"},"TypeScript compiler")," performs type-checking when compiling during build but skips it when compiling during development.\nThis enables faster compilation and better dev experience."),(0,i.mdx)("p",null,"To examine a Component's specific compiler config, run the following:"),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre"},"bit env get COMPONENT_ID\n")),(0,i.mdx)("p",null,"For example:"),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre"},"bit env get company.demo/ui/card\n")),(0,i.mdx)("p",null,"The output details the Component's env config which includes the compiler config:"),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre",className:"language-bash"},'Environment: teambit.react/react\n...\nteambit.compilation/compiler\n\nconfigured compiler: teambit.typescript/typescript (TypeScript @ 4.4.2)\ncompiler config:\n{\n "compilerOptions": {\n "lib": [\n "es2019",\n "DOM",\n "ES6",\n "DOM.Iterable"\n ],\n "target": "es2015",\n "module": "commonjs",\n "jsx": "react",\n "declaration": true,\n "sourceMap": true,\n "skipLibCheck": true,\n "moduleResolution": "node",\n "esModuleInterop": true,\n "resolveJsonModule": true,\n "outDir": "dist"\n },\n "exclude": [\n "dist"\n ]\n}\n\n')),(0,i.mdx)("h2",null,"Setting a Component with a specific compiler"),(0,i.mdx)("p",null,"Specific compilers are applied on Components via the Components' Envs. For example, the ",(0,i.mdx)("inlineCode",{parentName:"p"},"company.demo/ui/card")," Component examined earlier, is applied with\nthe ",(0,i.mdx)("a",{parentName:"p",href:"/"},"TypeScript")," compiler by its Env, the React Env."),(0,i.mdx)("p",null,"To learn how to use a specific compiler, see ",(0,i.mdx)("a",{parentName:"p",href:"/"},"'Using compilers'"),".")))}u.__bit_component=o,u.isMDXComponent=!0},49998:(e,n,t)=>{Object.defineProperty(n,"Ay",{enumerable:!0,get:function(){return o.default}});var o=i(t(2044));function i(e){return e&&e.__esModule?e:{default:e}}i.__bit_component={id:"teambit.compilation/content/compiler-overview@1.95.0",homepage:"https://bit.dev/teambit/compilation/content/compiler-overview",exported:!0}},857:(e,n,t)=>{var o={id:"teambit.compilation/compiler@1.0.258",homepage:"https://bit.cloud/teambit/compilation/compiler",exported:!0};function i(){const e=r(t(41594));return i=function(){return e},e}function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.Logo=void 0,i.__bit_component=o,r.__bit_component=o;const a=()=>i().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},i().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/compiler.svg"}));a.__bit_component=o,n.Logo=a},5016:e=>{e.exports=MdxJsReact},41594:e=>{e.exports=React},65682:e=>{e.exports=TeambitMdxUiMdxScopeContext}},n={};function t(o){var i=n[o];if(void 0!==i)return i.exports;var r=n[o]={exports:{}};return e[o](r,r.exports,t),r.exports}t.d=(e,n)=>{for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{t.r(o),t.d(o,{compositions:()=>s,compositions_metadata:()=>f,overview:()=>u});var e={};t.r(e),t.d(e,{default:()=>c});var n=t(857),i=(t(41594),t(5016)),r=t(65682),a=t(49998),p=["components"];function m(){return m=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},m.apply(this,arguments)}var l={},d="wrapper";function c(e){var n=e.components,t=function(e,n){if(null==e)return{};var t,o,i=function(e,n){if(null==e)return{};var t,o,i={},r=Object.keys(e);for(o=0;o<r.length;o++)t=r[o],n.indexOf(t)>=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o<r.length;o++)t=r[o],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,p);return(0,i.mdx)(d,m({},l,t,{components:n,mdxType:"MDXLayout"}),(0,i.mdx)(r.MDXScopeProvider,{components:{CompilerOverview:a.Ay},mdxType:"MDXScopeProvider"},(0,i.mdx)(a.Ay,{mdxType:"CompilerOverview"})))}c.isMDXComponent=!0;const s=[n],u=[e],f={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),o})()));
1
+ !function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports["teambit.compilation/compiler-preview"]=n():e["teambit.compilation/compiler-preview"]=n()}(self,(()=>(()=>{"use strict";var e={4125:(e,n,t)=>{var o={id:"teambit.compilation/content/compiler-overview@1.95.0",homepage:"https://bit.dev/teambit/compilation/content/compiler-overview",exported:!0};Object.defineProperty(n,"__esModule",{value:!0}),n.default=u,p(t(41594));var i=t(5016),r=t(65682),a=["components"];function p(e){return e&&e.__esModule?e:{default:e}}function m(){return m=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},m.apply(this,arguments)}function l(e,n){if(null==e)return{};var t,o,i=c(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o<r.length;o++)t=r[o],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function c(e,n){if(null==e)return{};var t,o,i={},r=Object.keys(e);for(o=0;o<r.length;o++)t=r[o],n.indexOf(t)>=0||(i[t]=e[t]);return i}p.__bit_component=o,m.__bit_component=o,l.__bit_component=o,c.__bit_component=o;var d={},s="wrapper";function u(e){var n=e.components,t=l(e,a);return(0,i.mdx)(s,m({},d,t,{components:n,mdxType:"MDXLayout"}),(0,i.mdx)(r.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"},(0,i.mdx)("h1",null,"Compiler overview"),(0,i.mdx)("p",null,"The Compiler aspect provides a single interface for Component compilation, ",(0,i.mdx)("a",{parentName:"p",href:"/"},"during development")," and ",(0,i.mdx)("a",{parentName:"p",href:"/"},"during build"),".\nIt enables you to use the same commands and APIs to compile any Component, regardless of the specific compiler it uses."),(0,i.mdx)("div",{className:"admonition admonition-info alert alert--info"},(0,i.mdx)("div",{parentName:"div",className:"admonition-heading"},(0,i.mdx)("h5",{parentName:"div"},(0,i.mdx)("span",{parentName:"h5",className:"admonition-icon"},(0,i.mdx)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16"},(0,i.mdx)("path",{parentName:"svg",fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}))),"info")),(0,i.mdx)("div",{parentName:"div",className:"admonition-content"},(0,i.mdx)("p",{parentName:"div"},"The specific compiler used by a Component (",(0,i.mdx)("a",{parentName:"p",href:"/"},"Babel"),", ",(0,i.mdx)("a",{parentName:"p",href:"/"},"TypeScript"),", and so on) is set by the Component's Env."))),(0,i.mdx)("h2",null,"Compiling during development"),(0,i.mdx)("p",null,"Run the following to compile all your Workspace Components:"),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre",className:"language-bash"},"bit compile\n")),(0,i.mdx)("p",null,"The following output lists the compilation results in a single format:"),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre",className:"language-bash"}," STATUS COMPONENT ID\n✔ SUCCESS apps/bit-dev\n✔ SUCCESS blocks/component/architecture-breakdown\n✔ SUCCESS blocks/footer\n✔ SUCCESS blocks/header\n✔ SUCCESS buttons/button\n✔ SUCCESS content/adding-components\n")),(0,i.mdx)("p",null,"To 'watch' Components for changes, and to auto-compile modified Components, run:"),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre"},"bit watch\n")),(0,i.mdx)("p",null,"The compiled code is written into each Component's corresponding package, in the ",(0,i.mdx)("a",{parentName:"p",href:"/dependencies/node-modules"},(0,i.mdx)("inlineCode",{parentName:"a"},"node_modules")," directory")," of your workspace.\nFor example, the compiled code for ",(0,i.mdx)("inlineCode",{parentName:"p"},"company.scope/ui/text")," will be found in the ",(0,i.mdx)("inlineCode",{parentName:"p"},"./node_modules/@company/scope.ui.text/dist")," directory (inside your workspace)."),(0,i.mdx)("p",null,"To learn more about compilation in the Workspace, see ",(0,i.mdx)("a",{parentName:"p",href:"/"},"'Compiling during development'"),"."),(0,i.mdx)("h2",null,"Compiling during build"),(0,i.mdx)("p",null,"Run the following to compile Components as part of the ",(0,i.mdx)("a",{parentName:"p",href:"/"},"build pipeline")," (which prepares Components for distribution):"),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre",className:"language-bash"},"bit build\n")),(0,i.mdx)("p",null,"The output to the terminal details the specific compilers being used, as well as the Envs that use them:"),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre",className:"language-bash"},'...\n✔ env "teambit.harmony/aspect", task "teambit.compilation/compiler:BabelCompiler (compile components for artifact dist)" has completed successfully in 363ms\n✔ env "teambit.react/react", task "teambit.compilation/compiler:TSCompiler (compile components for artifact dist)" has completed successfully in 1s\n✔ env "teambit.mdx/mdx", task "teambit.compilation/compiler:MDXCompiler (compile components)" has completed successfully in 879ms\n...\nthe build has been completed. total: 19 tasks\n')),(0,i.mdx)("p",null,"The compiled code is written into the ",(0,i.mdx)("a",{parentName:"p",href:"/"},"Component's Capsule"),". Run ",(0,i.mdx)("a",{parentName:"p",href:"/"},(0,i.mdx)("inlineCode",{parentName:"a"},"bit snap"))," or ",(0,i.mdx)("a",{parentName:"p",href:"/"},(0,i.mdx)("inlineCode",{parentName:"a"},"bit tag"))," to execute the build pipeline (as well as other pipelines), and have the compiled code persisted in the ",(0,i.mdx)("a",{parentName:"p",href:"/"},"Component version"),", and included in the ",(0,i.mdx)("a",{parentName:"p",href:"/"},"Component's package"),"."),(0,i.mdx)("p",null,"To learn more about compilation in the Workspace, see ",(0,i.mdx)("a",{parentName:"p",href:"/"},"'Compiling during build'"),"."),(0,i.mdx)("h2",null,"Compilation strategies and standards"),(0,i.mdx)("p",null,"The Compiler aspect does not set specific compilation strategies as these are defined by the ",(0,i.mdx)("a",{parentName:"p",href:"/"},"specific compilers")," themselves (and are often configurable by the Envs that use them)."),(0,i.mdx)("p",null,"However, all official Bit compilers are configured to favor dev experience when compiling during development, and to favor runtime performance and code universality, when compiling for distribution (during build)."),(0,i.mdx)("p",null,"For example, Bit's ",(0,i.mdx)("a",{parentName:"p",href:"/"},"TypeScript compiler")," performs type-checking when compiling during build but skips it when compiling during development.\nThis enables faster compilation and better dev experience."),(0,i.mdx)("p",null,"To examine a Component's specific compiler config, run the following:"),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre"},"bit env get COMPONENT_ID\n")),(0,i.mdx)("p",null,"For example:"),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre"},"bit env get company.demo/ui/card\n")),(0,i.mdx)("p",null,"The output details the Component's env config which includes the compiler config:"),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre",className:"language-bash"},'Environment: teambit.react/react\n...\nteambit.compilation/compiler\n\nconfigured compiler: teambit.typescript/typescript (TypeScript @ 4.4.2)\ncompiler config:\n{\n "compilerOptions": {\n "lib": [\n "es2019",\n "DOM",\n "ES6",\n "DOM.Iterable"\n ],\n "target": "es2015",\n "module": "commonjs",\n "jsx": "react",\n "declaration": true,\n "sourceMap": true,\n "skipLibCheck": true,\n "moduleResolution": "node",\n "esModuleInterop": true,\n "resolveJsonModule": true,\n "outDir": "dist"\n },\n "exclude": [\n "dist"\n ]\n}\n\n')),(0,i.mdx)("h2",null,"Setting a Component with a specific compiler"),(0,i.mdx)("p",null,"Specific compilers are applied on Components via the Components' Envs. For example, the ",(0,i.mdx)("inlineCode",{parentName:"p"},"company.demo/ui/card")," Component examined earlier, is applied with\nthe ",(0,i.mdx)("a",{parentName:"p",href:"/"},"TypeScript")," compiler by its Env, the React Env."),(0,i.mdx)("p",null,"To learn how to use a specific compiler, see ",(0,i.mdx)("a",{parentName:"p",href:"/"},"'Using compilers'"),".")))}u.__bit_component=o,u.isMDXComponent=!0},43371:(e,n,t)=>{Object.defineProperty(n,"Ay",{enumerable:!0,get:function(){return o.default}});var o=i(t(4125));function i(e){return e&&e.__esModule?e:{default:e}}i.__bit_component={id:"teambit.compilation/content/compiler-overview@1.95.0",homepage:"https://bit.dev/teambit/compilation/content/compiler-overview",exported:!0}},21989:(e,n,t)=>{var o={id:"teambit.compilation/compiler@1.0.259",homepage:"https://bit.cloud/teambit/compilation/compiler",exported:!0};function i(){const e=r(t(41594));return i=function(){return e},e}function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.Logo=void 0,i.__bit_component=o,r.__bit_component=o;const a=()=>i().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},i().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/compiler.svg"}));a.__bit_component=o,n.Logo=a},5016:e=>{e.exports=MdxJsReact},41594:e=>{e.exports=React},65682:e=>{e.exports=TeambitMdxUiMdxScopeContext}},n={};function t(o){var i=n[o];if(void 0!==i)return i.exports;var r=n[o]={exports:{}};return e[o](r,r.exports,t),r.exports}t.d=(e,n)=>{for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{t.r(o),t.d(o,{compositions:()=>s,compositions_metadata:()=>f,overview:()=>u});var e={};t.r(e),t.d(e,{default:()=>d});var n=t(21989),i=(t(41594),t(5016)),r=t(65682),a=t(43371),p=["components"];function m(){return m=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},m.apply(this,arguments)}var l={},c="wrapper";function d(e){var n=e.components,t=function(e,n){if(null==e)return{};var t,o,i=function(e,n){if(null==e)return{};var t={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(n.indexOf(o)>=0)continue;t[o]=e[o]}return t}(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o<r.length;o++)t=r[o],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,p);return(0,i.mdx)(c,m({},l,t,{components:n,mdxType:"MDXLayout"}),(0,i.mdx)(r.MDXScopeProvider,{components:{CompilerOverview:a.Ay},mdxType:"MDXScopeProvider"},(0,i.mdx)(a.Ay,{mdxType:"CompilerOverview"})))}d.isMDXComponent=!0;const s=[n],u=[e],f={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),o})()));
@@ -56,7 +56,11 @@
56
56
  "line": 31,
57
57
  "character": 21
58
58
  },
59
- "name": "PubsubMain"
59
+ "name": "PubsubMain",
60
+ "componentId": {
61
+ "scope": "teambit.harmony",
62
+ "name": "pubsub"
63
+ }
60
64
  },
61
65
  "isOptional": false,
62
66
  "isSpread": false
@@ -76,7 +80,8 @@
76
80
  "line": 32,
77
81
  "character": 32
78
82
  },
79
- "name": "WorkspaceCompiler"
83
+ "name": "WorkspaceCompiler",
84
+ "internalFilePath": "workspace-compiler.ts"
80
85
  },
81
86
  "isOptional": false,
82
87
  "isSpread": false
@@ -96,7 +101,11 @@
96
101
  "line": 33,
97
102
  "character": 19
98
103
  },
99
- "name": "EnvsMain"
104
+ "name": "EnvsMain",
105
+ "componentId": {
106
+ "scope": "teambit.envs",
107
+ "name": "envs"
108
+ }
100
109
  },
101
110
  "isOptional": false,
102
111
  "isSpread": false
@@ -116,7 +125,11 @@
116
125
  "line": 34,
117
126
  "character": 22
118
127
  },
119
- "name": "BuilderMain"
128
+ "name": "BuilderMain",
129
+ "componentId": {
130
+ "scope": "teambit.pipelines",
131
+ "name": "builder"
132
+ }
120
133
  },
121
134
  "isOptional": false,
122
135
  "isSpread": false
@@ -136,7 +149,11 @@
136
149
  "line": 35,
137
150
  "character": 24
138
151
  },
139
- "name": "Workspace"
152
+ "name": "Workspace",
153
+ "componentId": {
154
+ "scope": "teambit.workspace",
155
+ "name": "workspace"
156
+ }
140
157
  },
141
158
  "isOptional": false,
142
159
  "isSpread": false
@@ -156,7 +173,11 @@
156
173
  "line": 36,
157
174
  "character": 33
158
175
  },
159
- "name": "DependencyResolverMain"
176
+ "name": "DependencyResolverMain",
177
+ "componentId": {
178
+ "scope": "teambit.dependencies",
179
+ "name": "dependency-resolver"
180
+ }
160
181
  },
161
182
  "isOptional": false,
162
183
  "isSpread": false
@@ -176,7 +197,8 @@
176
197
  "line": 37,
177
198
  "character": 30
178
199
  },
179
- "name": "CompilerService"
200
+ "name": "CompilerService",
201
+ "internalFilePath": "compiler.service.ts"
180
202
  },
181
203
  "isOptional": false,
182
204
  "isSpread": false
@@ -218,7 +240,11 @@
218
240
  "line": 40,
219
241
  "character": 24
220
242
  },
221
- "name": "ExecutionContext"
243
+ "name": "ExecutionContext",
244
+ "componentId": {
245
+ "scope": "teambit.envs",
246
+ "name": "envs"
247
+ }
222
248
  },
223
249
  "isOptional": false,
224
250
  "isSpread": false
@@ -302,7 +328,12 @@
302
328
  "line": 48,
303
329
  "character": 31
304
330
  },
305
- "name": "ComponentID"
331
+ "name": "ComponentID",
332
+ "componentId": {
333
+ "scope": "teambit.component",
334
+ "name": "component-id",
335
+ "version": "1.2.0"
336
+ }
306
337
  }
307
338
  },
308
339
  {
@@ -319,7 +350,12 @@
319
350
  "line": 48,
320
351
  "character": 47
321
352
  },
322
- "name": "ComponentID"
353
+ "name": "ComponentID",
354
+ "componentId": {
355
+ "scope": "teambit.component",
356
+ "name": "component-id",
357
+ "version": "1.2.0"
358
+ }
323
359
  }
324
360
  }
325
361
  ]
@@ -343,7 +379,8 @@
343
379
  "line": 49,
344
380
  "character": 14
345
381
  },
346
- "name": "CompileOptions"
382
+ "name": "CompileOptions",
383
+ "internalFilePath": "workspace-compiler.ts"
347
384
  },
348
385
  "isOptional": true,
349
386
  "defaultValue": "{ initiator: CompilationInitiator.ComponentAdded }",
@@ -468,7 +505,11 @@
468
505
  "line": 64,
469
506
  "character": 35
470
507
  },
471
- "name": "Component"
508
+ "name": "Component",
509
+ "componentId": {
510
+ "scope": "teambit.component",
511
+ "name": "component"
512
+ }
472
513
  },
473
514
  "isOptional": false,
474
515
  "isSpread": false
@@ -559,7 +600,11 @@
559
600
  "line": 74,
560
601
  "character": 36
561
602
  },
562
- "name": "Component"
603
+ "name": "Component",
604
+ "componentId": {
605
+ "scope": "teambit.component",
606
+ "name": "component"
607
+ }
563
608
  },
564
609
  "isOptional": false,
565
610
  "isSpread": false
@@ -632,7 +677,11 @@
632
677
  "line": 86,
633
678
  "character": 36
634
679
  },
635
- "name": "Component"
680
+ "name": "Component",
681
+ "componentId": {
682
+ "scope": "teambit.component",
683
+ "name": "component"
684
+ }
636
685
  },
637
686
  "isOptional": false,
638
687
  "isSpread": false
@@ -687,7 +736,11 @@
687
736
  "line": 93,
688
737
  "character": 34
689
738
  },
690
- "name": "Component"
739
+ "name": "Component",
740
+ "componentId": {
741
+ "scope": "teambit.component",
742
+ "name": "component"
743
+ }
691
744
  },
692
745
  "isOptional": false,
693
746
  "isSpread": false
@@ -709,7 +762,8 @@
709
762
  "line": 93,
710
763
  "character": 54
711
764
  },
712
- "name": "DistArtifact"
765
+ "name": "DistArtifact",
766
+ "internalFilePath": "dist-artifact.ts"
713
767
  }
714
768
  ]
715
769
  },
@@ -749,7 +803,11 @@
749
803
  "line": 100,
750
804
  "character": 42
751
805
  },
752
- "name": "Component"
806
+ "name": "Component",
807
+ "componentId": {
808
+ "scope": "teambit.component",
809
+ "name": "component"
810
+ }
753
811
  }
754
812
  },
755
813
  "isOptional": false,
@@ -883,7 +941,11 @@
883
941
  "line": 143,
884
942
  "character": 5
885
943
  },
886
- "name": "CLIMain"
944
+ "name": "CLIMain",
945
+ "componentId": {
946
+ "scope": "teambit.harmony",
947
+ "name": "cli"
948
+ }
887
949
  },
888
950
  {
889
951
  "__schema": "TypeRefSchema",
@@ -892,7 +954,11 @@
892
954
  "line": 144,
893
955
  "character": 5
894
956
  },
895
- "name": "Workspace"
957
+ "name": "Workspace",
958
+ "componentId": {
959
+ "scope": "teambit.workspace",
960
+ "name": "workspace"
961
+ }
896
962
  },
897
963
  {
898
964
  "__schema": "TypeRefSchema",
@@ -901,7 +967,11 @@
901
967
  "line": 145,
902
968
  "character": 5
903
969
  },
904
- "name": "EnvsMain"
970
+ "name": "EnvsMain",
971
+ "componentId": {
972
+ "scope": "teambit.envs",
973
+ "name": "envs"
974
+ }
905
975
  },
906
976
  {
907
977
  "__schema": "TypeRefSchema",
@@ -910,7 +980,11 @@
910
980
  "line": 146,
911
981
  "character": 5
912
982
  },
913
- "name": "LoggerMain"
983
+ "name": "LoggerMain",
984
+ "componentId": {
985
+ "scope": "teambit.harmony",
986
+ "name": "logger"
987
+ }
914
988
  },
915
989
  {
916
990
  "__schema": "TypeRefSchema",
@@ -919,7 +993,11 @@
919
993
  "line": 147,
920
994
  "character": 5
921
995
  },
922
- "name": "PubsubMain"
996
+ "name": "PubsubMain",
997
+ "componentId": {
998
+ "scope": "teambit.harmony",
999
+ "name": "pubsub"
1000
+ }
923
1001
  },
924
1002
  {
925
1003
  "__schema": "TypeRefSchema",
@@ -928,7 +1006,11 @@
928
1006
  "line": 148,
929
1007
  "character": 5
930
1008
  },
931
- "name": "AspectLoaderMain"
1009
+ "name": "AspectLoaderMain",
1010
+ "componentId": {
1011
+ "scope": "teambit.harmony",
1012
+ "name": "aspect-loader"
1013
+ }
932
1014
  },
933
1015
  {
934
1016
  "__schema": "TypeRefSchema",
@@ -937,7 +1019,11 @@
937
1019
  "line": 149,
938
1020
  "character": 5
939
1021
  },
940
- "name": "BuilderMain"
1022
+ "name": "BuilderMain",
1023
+ "componentId": {
1024
+ "scope": "teambit.pipelines",
1025
+ "name": "builder"
1026
+ }
941
1027
  },
942
1028
  {
943
1029
  "__schema": "TypeRefSchema",
@@ -946,7 +1032,11 @@
946
1032
  "line": 150,
947
1033
  "character": 5
948
1034
  },
949
- "name": "UiMain"
1035
+ "name": "UiMain",
1036
+ "componentId": {
1037
+ "scope": "teambit.ui-foundation",
1038
+ "name": "ui"
1039
+ }
950
1040
  },
951
1041
  {
952
1042
  "__schema": "TypeRefSchema",
@@ -955,7 +1045,11 @@
955
1045
  "line": 151,
956
1046
  "character": 5
957
1047
  },
958
- "name": "GeneratorMain"
1048
+ "name": "GeneratorMain",
1049
+ "componentId": {
1050
+ "scope": "teambit.generator",
1051
+ "name": "generator"
1052
+ }
959
1053
  },
960
1054
  {
961
1055
  "__schema": "TypeRefSchema",
@@ -964,7 +1058,11 @@
964
1058
  "line": 152,
965
1059
  "character": 5
966
1060
  },
967
- "name": "DependencyResolverMain"
1061
+ "name": "DependencyResolverMain",
1062
+ "componentId": {
1063
+ "scope": "teambit.dependencies",
1064
+ "name": "dependency-resolver"
1065
+ }
968
1066
  },
969
1067
  {
970
1068
  "__schema": "TypeRefSchema",
@@ -973,7 +1071,11 @@
973
1071
  "line": 153,
974
1072
  "character": 5
975
1073
  },
976
- "name": "WatcherMain"
1074
+ "name": "WatcherMain",
1075
+ "componentId": {
1076
+ "scope": "teambit.workspace",
1077
+ "name": "watcher"
1078
+ }
977
1079
  },
978
1080
  {
979
1081
  "__schema": "TypeRefSchema",
@@ -982,7 +1084,11 @@
982
1084
  "line": 154,
983
1085
  "character": 5
984
1086
  },
985
- "name": "IssuesMain"
1087
+ "name": "IssuesMain",
1088
+ "componentId": {
1089
+ "scope": "teambit.component",
1090
+ "name": "issues"
1091
+ }
986
1092
  }
987
1093
  ]
988
1094
  },
@@ -1061,6 +1167,10 @@
1061
1167
  "character": 13
1062
1168
  },
1063
1169
  "name": "EnvHandler",
1170
+ "componentId": {
1171
+ "scope": "teambit.envs",
1172
+ "name": "envs"
1173
+ },
1064
1174
  "typeArgs": [
1065
1175
  {
1066
1176
  "__schema": "TypeRefSchema",
@@ -1243,7 +1353,11 @@
1243
1353
  "line": 32,
1244
1354
  "character": 33
1245
1355
  },
1246
- "name": "DependencyResolverMain"
1356
+ "name": "DependencyResolverMain",
1357
+ "componentId": {
1358
+ "scope": "teambit.dependencies",
1359
+ "name": "dependency-resolver"
1360
+ }
1247
1361
  },
1248
1362
  "isOptional": false,
1249
1363
  "isSpread": false
@@ -1285,7 +1399,11 @@
1285
1399
  "line": 39,
1286
1400
  "character": 27
1287
1401
  },
1288
- "name": "BuildContext"
1402
+ "name": "BuildContext",
1403
+ "componentId": {
1404
+ "scope": "teambit.pipelines",
1405
+ "name": "builder"
1406
+ }
1289
1407
  },
1290
1408
  "isOptional": false,
1291
1409
  "isSpread": false
@@ -1329,7 +1447,11 @@
1329
1447
  "line": 49,
1330
1448
  "character": 26
1331
1449
  },
1332
- "name": "BuildContext"
1450
+ "name": "BuildContext",
1451
+ "componentId": {
1452
+ "scope": "teambit.pipelines",
1453
+ "name": "builder"
1454
+ }
1333
1455
  },
1334
1456
  "isOptional": false,
1335
1457
  "isSpread": false
@@ -1351,7 +1473,11 @@
1351
1473
  "line": 49,
1352
1474
  "character": 49
1353
1475
  },
1354
- "name": "BuiltTaskResult"
1476
+ "name": "BuiltTaskResult",
1477
+ "componentId": {
1478
+ "scope": "teambit.pipelines",
1479
+ "name": "builder"
1480
+ }
1355
1481
  }
1356
1482
  ]
1357
1483
  },
@@ -1384,7 +1510,11 @@
1384
1510
  "line": 77,
1385
1511
  "character": 29
1386
1512
  },
1387
- "name": "BuildContext"
1513
+ "name": "BuildContext",
1514
+ "componentId": {
1515
+ "scope": "teambit.pipelines",
1516
+ "name": "builder"
1517
+ }
1388
1518
  },
1389
1519
  "isOptional": false,
1390
1520
  "isSpread": false
@@ -1404,7 +1534,11 @@
1404
1534
  "line": 77,
1405
1535
  "character": 57
1406
1536
  },
1407
- "name": "TaskResultsList"
1537
+ "name": "TaskResultsList",
1538
+ "componentId": {
1539
+ "scope": "teambit.pipelines",
1540
+ "name": "builder"
1541
+ }
1408
1542
  },
1409
1543
  "isOptional": false,
1410
1544
  "isSpread": false
@@ -1459,7 +1593,11 @@
1459
1593
  "line": 82,
1460
1594
  "character": 40
1461
1595
  },
1462
- "name": "Capsule"
1596
+ "name": "Capsule",
1597
+ "componentId": {
1598
+ "scope": "teambit.component",
1599
+ "name": "isolator"
1600
+ }
1463
1601
  },
1464
1602
  "isOptional": false,
1465
1603
  "isSpread": false
@@ -1566,7 +1704,7 @@
1566
1704
  "_legacy": {
1567
1705
  "scope": "teambit.compilation",
1568
1706
  "name": "compiler",
1569
- "version": "1.0.258"
1707
+ "version": "1.0.259"
1570
1708
  },
1571
1709
  "_scope": "teambit.compilation"
1572
1710
  }
@@ -1621,6 +1759,10 @@
1621
1759
  "character": 15
1622
1760
  },
1623
1761
  "name": "EnvHandler",
1762
+ "componentId": {
1763
+ "scope": "teambit.envs",
1764
+ "name": "envs"
1765
+ },
1624
1766
  "typeArgs": [
1625
1767
  {
1626
1768
  "__schema": "TypeRefSchema",
@@ -2116,7 +2258,11 @@
2116
2258
  "line": 105,
2117
2259
  "character": 18
2118
2260
  },
2119
- "name": "BuildContext"
2261
+ "name": "BuildContext",
2262
+ "componentId": {
2263
+ "scope": "teambit.pipelines",
2264
+ "name": "builder"
2265
+ }
2120
2266
  },
2121
2267
  "isOptional": false,
2122
2268
  "isSpread": false
@@ -2138,7 +2284,11 @@
2138
2284
  "line": 105,
2139
2285
  "character": 41
2140
2286
  },
2141
- "name": "BuiltTaskResult"
2287
+ "name": "BuiltTaskResult",
2288
+ "componentId": {
2289
+ "scope": "teambit.pipelines",
2290
+ "name": "builder"
2291
+ }
2142
2292
  }
2143
2293
  ]
2144
2294
  },
@@ -2262,7 +2412,11 @@
2262
2412
  "line": 122,
2263
2413
  "character": 43
2264
2414
  },
2265
- "name": "Component"
2415
+ "name": "Component",
2416
+ "componentId": {
2417
+ "scope": "teambit.component",
2418
+ "name": "component"
2419
+ }
2266
2420
  },
2267
2421
  "isOptional": false,
2268
2422
  "isSpread": false
@@ -2422,7 +2576,11 @@
2422
2576
  "line": 138,
2423
2577
  "character": 22
2424
2578
  },
2425
- "name": "BuildContext"
2579
+ "name": "BuildContext",
2580
+ "componentId": {
2581
+ "scope": "teambit.pipelines",
2582
+ "name": "builder"
2583
+ }
2426
2584
  },
2427
2585
  "isOptional": false,
2428
2586
  "isSpread": false
@@ -2485,7 +2643,11 @@
2485
2643
  "line": 143,
2486
2644
  "character": 23
2487
2645
  },
2488
- "name": "BuildContext"
2646
+ "name": "BuildContext",
2647
+ "componentId": {
2648
+ "scope": "teambit.pipelines",
2649
+ "name": "builder"
2650
+ }
2489
2651
  },
2490
2652
  "isOptional": false,
2491
2653
  "isSpread": false
@@ -2505,7 +2667,11 @@
2505
2667
  "line": 143,
2506
2668
  "character": 51
2507
2669
  },
2508
- "name": "TaskResultsList"
2670
+ "name": "TaskResultsList",
2671
+ "componentId": {
2672
+ "scope": "teambit.pipelines",
2673
+ "name": "builder"
2674
+ }
2509
2675
  },
2510
2676
  "isOptional": false,
2511
2677
  "isSpread": false
@@ -2798,7 +2964,7 @@
2798
2964
  "_legacy": {
2799
2965
  "scope": "teambit.compilation",
2800
2966
  "name": "compiler",
2801
- "version": "1.0.258"
2967
+ "version": "1.0.259"
2802
2968
  },
2803
2969
  "_scope": "teambit.compilation"
2804
2970
  }
@@ -3405,7 +3571,8 @@
3405
3571
  "line": 8,
3406
3572
  "character": 54
3407
3573
  },
3408
- "name": "CompilerErrorEventData"
3574
+ "name": "CompilerErrorEventData",
3575
+ "internalFilePath": "events/compiler-error.ts"
3409
3576
  }
3410
3577
  ],
3411
3578
  "expression": {
@@ -3420,7 +3587,7 @@
3420
3587
  "_legacy": {
3421
3588
  "scope": "teambit.compilation",
3422
3589
  "name": "compiler",
3423
- "version": "1.0.258"
3590
+ "version": "1.0.259"
3424
3591
  },
3425
3592
  "_scope": "teambit.compilation"
3426
3593
  }
@@ -3476,7 +3643,11 @@
3476
3643
  "line": 31,
3477
3644
  "character": 21
3478
3645
  },
3479
- "name": "PubsubMain"
3646
+ "name": "PubsubMain",
3647
+ "componentId": {
3648
+ "scope": "teambit.harmony",
3649
+ "name": "pubsub"
3650
+ }
3480
3651
  },
3481
3652
  "isOptional": false,
3482
3653
  "isSpread": false
@@ -3496,7 +3667,8 @@
3496
3667
  "line": 32,
3497
3668
  "character": 32
3498
3669
  },
3499
- "name": "WorkspaceCompiler"
3670
+ "name": "WorkspaceCompiler",
3671
+ "internalFilePath": "workspace-compiler.ts"
3500
3672
  },
3501
3673
  "isOptional": false,
3502
3674
  "isSpread": false
@@ -3516,7 +3688,11 @@
3516
3688
  "line": 33,
3517
3689
  "character": 19
3518
3690
  },
3519
- "name": "EnvsMain"
3691
+ "name": "EnvsMain",
3692
+ "componentId": {
3693
+ "scope": "teambit.envs",
3694
+ "name": "envs"
3695
+ }
3520
3696
  },
3521
3697
  "isOptional": false,
3522
3698
  "isSpread": false
@@ -3536,7 +3712,11 @@
3536
3712
  "line": 34,
3537
3713
  "character": 22
3538
3714
  },
3539
- "name": "BuilderMain"
3715
+ "name": "BuilderMain",
3716
+ "componentId": {
3717
+ "scope": "teambit.pipelines",
3718
+ "name": "builder"
3719
+ }
3540
3720
  },
3541
3721
  "isOptional": false,
3542
3722
  "isSpread": false
@@ -3556,7 +3736,11 @@
3556
3736
  "line": 35,
3557
3737
  "character": 24
3558
3738
  },
3559
- "name": "Workspace"
3739
+ "name": "Workspace",
3740
+ "componentId": {
3741
+ "scope": "teambit.workspace",
3742
+ "name": "workspace"
3743
+ }
3560
3744
  },
3561
3745
  "isOptional": false,
3562
3746
  "isSpread": false
@@ -3576,7 +3760,11 @@
3576
3760
  "line": 36,
3577
3761
  "character": 33
3578
3762
  },
3579
- "name": "DependencyResolverMain"
3763
+ "name": "DependencyResolverMain",
3764
+ "componentId": {
3765
+ "scope": "teambit.dependencies",
3766
+ "name": "dependency-resolver"
3767
+ }
3580
3768
  },
3581
3769
  "isOptional": false,
3582
3770
  "isSpread": false
@@ -3596,7 +3784,8 @@
3596
3784
  "line": 37,
3597
3785
  "character": 30
3598
3786
  },
3599
- "name": "CompilerService"
3787
+ "name": "CompilerService",
3788
+ "internalFilePath": "compiler.service.ts"
3600
3789
  },
3601
3790
  "isOptional": false,
3602
3791
  "isSpread": false
@@ -3638,7 +3827,11 @@
3638
3827
  "line": 40,
3639
3828
  "character": 24
3640
3829
  },
3641
- "name": "ExecutionContext"
3830
+ "name": "ExecutionContext",
3831
+ "componentId": {
3832
+ "scope": "teambit.envs",
3833
+ "name": "envs"
3834
+ }
3642
3835
  },
3643
3836
  "isOptional": false,
3644
3837
  "isSpread": false
@@ -3722,7 +3915,12 @@
3722
3915
  "line": 48,
3723
3916
  "character": 31
3724
3917
  },
3725
- "name": "ComponentID"
3918
+ "name": "ComponentID",
3919
+ "componentId": {
3920
+ "scope": "teambit.component",
3921
+ "name": "component-id",
3922
+ "version": "1.2.0"
3923
+ }
3726
3924
  }
3727
3925
  },
3728
3926
  {
@@ -3739,7 +3937,12 @@
3739
3937
  "line": 48,
3740
3938
  "character": 47
3741
3939
  },
3742
- "name": "ComponentID"
3940
+ "name": "ComponentID",
3941
+ "componentId": {
3942
+ "scope": "teambit.component",
3943
+ "name": "component-id",
3944
+ "version": "1.2.0"
3945
+ }
3743
3946
  }
3744
3947
  }
3745
3948
  ]
@@ -3763,7 +3966,8 @@
3763
3966
  "line": 49,
3764
3967
  "character": 14
3765
3968
  },
3766
- "name": "CompileOptions"
3969
+ "name": "CompileOptions",
3970
+ "internalFilePath": "workspace-compiler.ts"
3767
3971
  },
3768
3972
  "isOptional": true,
3769
3973
  "defaultValue": "{ initiator: CompilationInitiator.ComponentAdded }",
@@ -3888,7 +4092,11 @@
3888
4092
  "line": 64,
3889
4093
  "character": 35
3890
4094
  },
3891
- "name": "Component"
4095
+ "name": "Component",
4096
+ "componentId": {
4097
+ "scope": "teambit.component",
4098
+ "name": "component"
4099
+ }
3892
4100
  },
3893
4101
  "isOptional": false,
3894
4102
  "isSpread": false
@@ -3979,7 +4187,11 @@
3979
4187
  "line": 74,
3980
4188
  "character": 36
3981
4189
  },
3982
- "name": "Component"
4190
+ "name": "Component",
4191
+ "componentId": {
4192
+ "scope": "teambit.component",
4193
+ "name": "component"
4194
+ }
3983
4195
  },
3984
4196
  "isOptional": false,
3985
4197
  "isSpread": false
@@ -4052,7 +4264,11 @@
4052
4264
  "line": 86,
4053
4265
  "character": 36
4054
4266
  },
4055
- "name": "Component"
4267
+ "name": "Component",
4268
+ "componentId": {
4269
+ "scope": "teambit.component",
4270
+ "name": "component"
4271
+ }
4056
4272
  },
4057
4273
  "isOptional": false,
4058
4274
  "isSpread": false
@@ -4107,7 +4323,11 @@
4107
4323
  "line": 93,
4108
4324
  "character": 34
4109
4325
  },
4110
- "name": "Component"
4326
+ "name": "Component",
4327
+ "componentId": {
4328
+ "scope": "teambit.component",
4329
+ "name": "component"
4330
+ }
4111
4331
  },
4112
4332
  "isOptional": false,
4113
4333
  "isSpread": false
@@ -4129,7 +4349,8 @@
4129
4349
  "line": 93,
4130
4350
  "character": 54
4131
4351
  },
4132
- "name": "DistArtifact"
4352
+ "name": "DistArtifact",
4353
+ "internalFilePath": "dist-artifact.ts"
4133
4354
  }
4134
4355
  ]
4135
4356
  },
@@ -4169,7 +4390,11 @@
4169
4390
  "line": 100,
4170
4391
  "character": 42
4171
4392
  },
4172
- "name": "Component"
4393
+ "name": "Component",
4394
+ "componentId": {
4395
+ "scope": "teambit.component",
4396
+ "name": "component"
4397
+ }
4173
4398
  }
4174
4399
  },
4175
4400
  "isOptional": false,
@@ -4303,7 +4528,11 @@
4303
4528
  "line": 143,
4304
4529
  "character": 5
4305
4530
  },
4306
- "name": "CLIMain"
4531
+ "name": "CLIMain",
4532
+ "componentId": {
4533
+ "scope": "teambit.harmony",
4534
+ "name": "cli"
4535
+ }
4307
4536
  },
4308
4537
  {
4309
4538
  "__schema": "TypeRefSchema",
@@ -4312,7 +4541,11 @@
4312
4541
  "line": 144,
4313
4542
  "character": 5
4314
4543
  },
4315
- "name": "Workspace"
4544
+ "name": "Workspace",
4545
+ "componentId": {
4546
+ "scope": "teambit.workspace",
4547
+ "name": "workspace"
4548
+ }
4316
4549
  },
4317
4550
  {
4318
4551
  "__schema": "TypeRefSchema",
@@ -4321,7 +4554,11 @@
4321
4554
  "line": 145,
4322
4555
  "character": 5
4323
4556
  },
4324
- "name": "EnvsMain"
4557
+ "name": "EnvsMain",
4558
+ "componentId": {
4559
+ "scope": "teambit.envs",
4560
+ "name": "envs"
4561
+ }
4325
4562
  },
4326
4563
  {
4327
4564
  "__schema": "TypeRefSchema",
@@ -4330,7 +4567,11 @@
4330
4567
  "line": 146,
4331
4568
  "character": 5
4332
4569
  },
4333
- "name": "LoggerMain"
4570
+ "name": "LoggerMain",
4571
+ "componentId": {
4572
+ "scope": "teambit.harmony",
4573
+ "name": "logger"
4574
+ }
4334
4575
  },
4335
4576
  {
4336
4577
  "__schema": "TypeRefSchema",
@@ -4339,7 +4580,11 @@
4339
4580
  "line": 147,
4340
4581
  "character": 5
4341
4582
  },
4342
- "name": "PubsubMain"
4583
+ "name": "PubsubMain",
4584
+ "componentId": {
4585
+ "scope": "teambit.harmony",
4586
+ "name": "pubsub"
4587
+ }
4343
4588
  },
4344
4589
  {
4345
4590
  "__schema": "TypeRefSchema",
@@ -4348,7 +4593,11 @@
4348
4593
  "line": 148,
4349
4594
  "character": 5
4350
4595
  },
4351
- "name": "AspectLoaderMain"
4596
+ "name": "AspectLoaderMain",
4597
+ "componentId": {
4598
+ "scope": "teambit.harmony",
4599
+ "name": "aspect-loader"
4600
+ }
4352
4601
  },
4353
4602
  {
4354
4603
  "__schema": "TypeRefSchema",
@@ -4357,7 +4606,11 @@
4357
4606
  "line": 149,
4358
4607
  "character": 5
4359
4608
  },
4360
- "name": "BuilderMain"
4609
+ "name": "BuilderMain",
4610
+ "componentId": {
4611
+ "scope": "teambit.pipelines",
4612
+ "name": "builder"
4613
+ }
4361
4614
  },
4362
4615
  {
4363
4616
  "__schema": "TypeRefSchema",
@@ -4366,7 +4619,11 @@
4366
4619
  "line": 150,
4367
4620
  "character": 5
4368
4621
  },
4369
- "name": "UiMain"
4622
+ "name": "UiMain",
4623
+ "componentId": {
4624
+ "scope": "teambit.ui-foundation",
4625
+ "name": "ui"
4626
+ }
4370
4627
  },
4371
4628
  {
4372
4629
  "__schema": "TypeRefSchema",
@@ -4375,7 +4632,11 @@
4375
4632
  "line": 151,
4376
4633
  "character": 5
4377
4634
  },
4378
- "name": "GeneratorMain"
4635
+ "name": "GeneratorMain",
4636
+ "componentId": {
4637
+ "scope": "teambit.generator",
4638
+ "name": "generator"
4639
+ }
4379
4640
  },
4380
4641
  {
4381
4642
  "__schema": "TypeRefSchema",
@@ -4384,7 +4645,11 @@
4384
4645
  "line": 152,
4385
4646
  "character": 5
4386
4647
  },
4387
- "name": "DependencyResolverMain"
4648
+ "name": "DependencyResolverMain",
4649
+ "componentId": {
4650
+ "scope": "teambit.dependencies",
4651
+ "name": "dependency-resolver"
4652
+ }
4388
4653
  },
4389
4654
  {
4390
4655
  "__schema": "TypeRefSchema",
@@ -4393,7 +4658,11 @@
4393
4658
  "line": 153,
4394
4659
  "character": 5
4395
4660
  },
4396
- "name": "WatcherMain"
4661
+ "name": "WatcherMain",
4662
+ "componentId": {
4663
+ "scope": "teambit.workspace",
4664
+ "name": "watcher"
4665
+ }
4397
4666
  },
4398
4667
  {
4399
4668
  "__schema": "TypeRefSchema",
@@ -4402,7 +4671,11 @@
4402
4671
  "line": 154,
4403
4672
  "character": 5
4404
4673
  },
4405
- "name": "IssuesMain"
4674
+ "name": "IssuesMain",
4675
+ "componentId": {
4676
+ "scope": "teambit.component",
4677
+ "name": "issues"
4678
+ }
4406
4679
  }
4407
4680
  ]
4408
4681
  },
@@ -4504,6 +4777,10 @@
4504
4777
  "character": 13
4505
4778
  },
4506
4779
  "name": "EnvHandler",
4780
+ "componentId": {
4781
+ "scope": "teambit.envs",
4782
+ "name": "envs"
4783
+ },
4507
4784
  "typeArgs": [
4508
4785
  {
4509
4786
  "__schema": "TypeRefSchema",
@@ -4677,7 +4954,11 @@
4677
4954
  "line": 32,
4678
4955
  "character": 33
4679
4956
  },
4680
- "name": "DependencyResolverMain"
4957
+ "name": "DependencyResolverMain",
4958
+ "componentId": {
4959
+ "scope": "teambit.dependencies",
4960
+ "name": "dependency-resolver"
4961
+ }
4681
4962
  },
4682
4963
  "isOptional": false,
4683
4964
  "isSpread": false
@@ -4719,7 +5000,11 @@
4719
5000
  "line": 39,
4720
5001
  "character": 27
4721
5002
  },
4722
- "name": "BuildContext"
5003
+ "name": "BuildContext",
5004
+ "componentId": {
5005
+ "scope": "teambit.pipelines",
5006
+ "name": "builder"
5007
+ }
4723
5008
  },
4724
5009
  "isOptional": false,
4725
5010
  "isSpread": false
@@ -4763,7 +5048,11 @@
4763
5048
  "line": 49,
4764
5049
  "character": 26
4765
5050
  },
4766
- "name": "BuildContext"
5051
+ "name": "BuildContext",
5052
+ "componentId": {
5053
+ "scope": "teambit.pipelines",
5054
+ "name": "builder"
5055
+ }
4767
5056
  },
4768
5057
  "isOptional": false,
4769
5058
  "isSpread": false
@@ -4785,7 +5074,11 @@
4785
5074
  "line": 49,
4786
5075
  "character": 49
4787
5076
  },
4788
- "name": "BuiltTaskResult"
5077
+ "name": "BuiltTaskResult",
5078
+ "componentId": {
5079
+ "scope": "teambit.pipelines",
5080
+ "name": "builder"
5081
+ }
4789
5082
  }
4790
5083
  ]
4791
5084
  },
@@ -4818,7 +5111,11 @@
4818
5111
  "line": 77,
4819
5112
  "character": 29
4820
5113
  },
4821
- "name": "BuildContext"
5114
+ "name": "BuildContext",
5115
+ "componentId": {
5116
+ "scope": "teambit.pipelines",
5117
+ "name": "builder"
5118
+ }
4822
5119
  },
4823
5120
  "isOptional": false,
4824
5121
  "isSpread": false
@@ -4838,7 +5135,11 @@
4838
5135
  "line": 77,
4839
5136
  "character": 57
4840
5137
  },
4841
- "name": "TaskResultsList"
5138
+ "name": "TaskResultsList",
5139
+ "componentId": {
5140
+ "scope": "teambit.pipelines",
5141
+ "name": "builder"
5142
+ }
4842
5143
  },
4843
5144
  "isOptional": false,
4844
5145
  "isSpread": false
@@ -4893,7 +5194,11 @@
4893
5194
  "line": 82,
4894
5195
  "character": 40
4895
5196
  },
4896
- "name": "Capsule"
5197
+ "name": "Capsule",
5198
+ "componentId": {
5199
+ "scope": "teambit.component",
5200
+ "name": "isolator"
5201
+ }
4897
5202
  },
4898
5203
  "isOptional": false,
4899
5204
  "isSpread": false
@@ -5000,7 +5305,7 @@
5000
5305
  "_legacy": {
5001
5306
  "scope": "teambit.compilation",
5002
5307
  "name": "compiler",
5003
- "version": "1.0.258"
5308
+ "version": "1.0.259"
5004
5309
  },
5005
5310
  "_scope": "teambit.compilation"
5006
5311
  }
@@ -5057,6 +5362,10 @@
5057
5362
  "character": 15
5058
5363
  },
5059
5364
  "name": "EnvHandler",
5365
+ "componentId": {
5366
+ "scope": "teambit.envs",
5367
+ "name": "envs"
5368
+ },
5060
5369
  "typeArgs": [
5061
5370
  {
5062
5371
  "__schema": "TypeRefSchema",
@@ -5988,7 +6297,11 @@
5988
6297
  "line": 105,
5989
6298
  "character": 18
5990
6299
  },
5991
- "name": "BuildContext"
6300
+ "name": "BuildContext",
6301
+ "componentId": {
6302
+ "scope": "teambit.pipelines",
6303
+ "name": "builder"
6304
+ }
5992
6305
  },
5993
6306
  "isOptional": false,
5994
6307
  "isSpread": false
@@ -6010,7 +6323,11 @@
6010
6323
  "line": 105,
6011
6324
  "character": 41
6012
6325
  },
6013
- "name": "BuiltTaskResult"
6326
+ "name": "BuiltTaskResult",
6327
+ "componentId": {
6328
+ "scope": "teambit.pipelines",
6329
+ "name": "builder"
6330
+ }
6014
6331
  }
6015
6332
  ]
6016
6333
  },
@@ -6134,7 +6451,11 @@
6134
6451
  "line": 122,
6135
6452
  "character": 43
6136
6453
  },
6137
- "name": "Component"
6454
+ "name": "Component",
6455
+ "componentId": {
6456
+ "scope": "teambit.component",
6457
+ "name": "component"
6458
+ }
6138
6459
  },
6139
6460
  "isOptional": false,
6140
6461
  "isSpread": false
@@ -6294,7 +6615,11 @@
6294
6615
  "line": 138,
6295
6616
  "character": 22
6296
6617
  },
6297
- "name": "BuildContext"
6618
+ "name": "BuildContext",
6619
+ "componentId": {
6620
+ "scope": "teambit.pipelines",
6621
+ "name": "builder"
6622
+ }
6298
6623
  },
6299
6624
  "isOptional": false,
6300
6625
  "isSpread": false
@@ -6357,7 +6682,11 @@
6357
6682
  "line": 143,
6358
6683
  "character": 23
6359
6684
  },
6360
- "name": "BuildContext"
6685
+ "name": "BuildContext",
6686
+ "componentId": {
6687
+ "scope": "teambit.pipelines",
6688
+ "name": "builder"
6689
+ }
6361
6690
  },
6362
6691
  "isOptional": false,
6363
6692
  "isSpread": false
@@ -6377,7 +6706,11 @@
6377
6706
  "line": 143,
6378
6707
  "character": 51
6379
6708
  },
6380
- "name": "TaskResultsList"
6709
+ "name": "TaskResultsList",
6710
+ "componentId": {
6711
+ "scope": "teambit.pipelines",
6712
+ "name": "builder"
6713
+ }
6381
6714
  },
6382
6715
  "isOptional": false,
6383
6716
  "isSpread": false
@@ -6670,7 +7003,7 @@
6670
7003
  "_legacy": {
6671
7004
  "scope": "teambit.compilation",
6672
7005
  "name": "compiler",
6673
- "version": "1.0.258"
7006
+ "version": "1.0.259"
6674
7007
  },
6675
7008
  "_scope": "teambit.compilation"
6676
7009
  }
@@ -6801,7 +7134,8 @@
6801
7134
  "line": 8,
6802
7135
  "character": 54
6803
7136
  },
6804
- "name": "CompilerErrorEventData"
7137
+ "name": "CompilerErrorEventData",
7138
+ "internalFilePath": "events/compiler-error.ts"
6805
7139
  }
6806
7140
  ],
6807
7141
  "expression": {
@@ -6816,7 +7150,7 @@
6816
7150
  "_legacy": {
6817
7151
  "scope": "teambit.compilation",
6818
7152
  "name": "compiler",
6819
- "version": "1.0.258"
7153
+ "version": "1.0.259"
6820
7154
  },
6821
7155
  "_scope": "teambit.compilation"
6822
7156
  }
@@ -6889,7 +7223,7 @@
6889
7223
  "componentId": {
6890
7224
  "scope": "teambit.compilation",
6891
7225
  "name": "compiler",
6892
- "version": "1.0.258"
7226
+ "version": "1.0.259"
6893
7227
  },
6894
7228
  "taggedModuleExports": []
6895
7229
  }
@@ -0,0 +1,7 @@
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.compilation_compiler@1.0.259/dist/compiler.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.compilation_compiler@1.0.259/dist/compiler.docs.mdx';
3
+
4
+ export const compositions = [compositions_0];
5
+ export const overview = [overview_0];
6
+
7
+ export const compositions_metadata = {"compositions":[{"displayName":"Logo","identifier":"Logo"}]};
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/compiler",
3
- "version": "1.0.258",
3
+ "version": "1.0.259",
4
4
  "homepage": "https://bit.cloud/teambit/compilation/compiler",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.compilation",
8
8
  "name": "compiler",
9
- "version": "1.0.258"
9
+ "version": "1.0.259"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -19,24 +19,24 @@
19
19
  "@teambit/component-id": "1.2.0",
20
20
  "@teambit/bit-roots": "0.0.133",
21
21
  "@teambit/bit-error": "0.0.404",
22
- "@teambit/envs": "1.0.258",
23
- "@teambit/cli": "0.0.862",
24
- "@teambit/logger": "0.0.955",
25
- "@teambit/pubsub": "1.0.258",
26
- "@teambit/aspect-loader": "1.0.258",
27
- "@teambit/builder": "1.0.258",
28
- "@teambit/component-issues": "0.0.147",
29
- "@teambit/component": "1.0.258",
30
- "@teambit/dependency-resolver": "1.0.258",
31
- "@teambit/generator": "1.0.259",
32
- "@teambit/issues": "1.0.258",
33
- "@teambit/ui": "1.0.258",
34
- "@teambit/watcher": "1.0.258",
35
- "@teambit/workspace": "1.0.258",
36
- "@teambit/isolator": "1.0.258",
22
+ "@teambit/envs": "1.0.259",
23
+ "@teambit/cli": "0.0.863",
24
+ "@teambit/logger": "0.0.956",
25
+ "@teambit/pubsub": "1.0.259",
26
+ "@teambit/aspect-loader": "1.0.259",
27
+ "@teambit/builder": "1.0.259",
28
+ "@teambit/component-issues": "0.0.148",
29
+ "@teambit/component": "1.0.259",
30
+ "@teambit/dependency-resolver": "1.0.259",
31
+ "@teambit/generator": "1.0.260",
32
+ "@teambit/issues": "1.0.259",
33
+ "@teambit/ui": "1.0.259",
34
+ "@teambit/watcher": "1.0.259",
35
+ "@teambit/workspace": "1.0.259",
36
+ "@teambit/isolator": "1.0.259",
37
37
  "@teambit/toolbox.fs.hard-link-directory": "0.0.21",
38
- "@teambit/multi-compiler": "1.0.258",
39
- "@teambit/workspace.modules.node-modules-linker": "0.0.171"
38
+ "@teambit/multi-compiler": "1.0.259",
39
+ "@teambit/workspace.modules.node-modules-linker": "0.0.172"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/fs-extra": "9.0.7",
@@ -1,7 +0,0 @@
1
- import * as compositions_0 from '/Users/giladshoham/Library/Caches/Bit/capsules/root/b5ea46ec3/teambit.compilation_compiler@1.0.258/dist/compiler.composition.js';
2
- import * as overview_0 from '/Users/giladshoham/Library/Caches/Bit/capsules/root/b5ea46ec3/teambit.compilation_compiler@1.0.258/dist/compiler.docs.mdx';
3
-
4
- export const compositions = [compositions_0];
5
- export const overview = [overview_0];
6
-
7
- export const compositions_metadata = {"compositions":[{"displayName":"Logo","identifier":"Logo"}]};