@teambit/workspace 1.0.489 → 1.0.491
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.workspace/workspace@1.0.
|
|
3
|
+
<testsuite name="teambit.workspace/workspace@1.0.491" tests="0" failures="0" errors="0" skipped="0"/>
|
|
4
4
|
</testsuites>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see teambit_workspace_workspace-preview.js.LICENSE.txt */
|
|
2
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.workspace/workspace-preview"]=t():e["teambit.workspace/workspace-preview"]=t()}(self,(()=>(()=>{var e={8443:(e,t)=>{var n;!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)&&n.length){var i=r.apply(null,n);i&&e.push(i)}else if("object"===a)for(var s in n)o.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},9685:(e,t)=>{var n;!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var i=r.apply(null,n);i&&e.push(i)}}else if("object"===a)if(n.toString===Object.prototype.toString)for(var s in n)o.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},8552:()=>{!function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof HTMLElement){var e=!1;try{var t=document.createElement("div");t.addEventListener("focus",(function(e){e.preventDefault(),e.stopPropagation()}),!0),t.focus(Object.defineProperty({},"preventScroll",{get:function(){e=!0}}))}catch(e){}void 0!==HTMLElement.prototype.nativeFocus||e||(HTMLElement.prototype.nativeFocus=HTMLElement.prototype.focus,HTMLElement.prototype.focus=function(e){var t=window.scrollY||window.pageYOffset;this.nativeFocus(),e&&e.preventScroll&&setTimeout((function(){window.scroll(window.scrollX||window.pageXOffset,t)}),0)})}}()},456:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNavigator=t.isBrowser=t.off=t.on=t.noop=void 0,t.noop=function(){},t.on=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.addEventListener&&e.addEventListener.apply(e,t)},t.off=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.removeEventListener&&e.removeEventListener.apply(e,t)},t.isBrowser="undefined"!=typeof window,t.isNavigator="undefined"!=typeof navigator},4286:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1594);t.default=function(e){o.useEffect(e,[])}},1084:(e,t,n)=>{"use strict";var o=n(1594),r=n(456),a=r.isBrowser?window:null,i=function(e){return!!e.addEventListener},s=function(e){return!!e.on};t.A=function(e,t,n,c){void 0===n&&(n=a),o.useEffect((function(){if(t&&n)return i(n)?r.on(n,e,t,c):s(n)&&n.on(e,t,c),function(){i(n)?r.off(n,e,t,c):s(n)&&n.off(e,t,c)}}),[e,t,n,JSON.stringify(c)])}},9768:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(7046),r=n(1594),a=o.__importDefault(n(2896));t.default=function(e){var t=r.useRef(0),n=r.useState(e),o=n[0],i=n[1],s=r.useCallback((function(e){cancelAnimationFrame(t.current),t.current=requestAnimationFrame((function(){i(e)}))}),[]);return a.default((function(){cancelAnimationFrame(t.current)})),[o,s]}},2896:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(7046),r=n(1594),a=o.__importDefault(n(4286));t.default=function(e){var t=r.useRef(e);t.current=e,a.default((function(){return function(){return t.current()}}))}},4843:(e,t,n)=>{"use strict";var o=n(7046),r=n(1594),a=o.__importDefault(n(9768)),i=n(456);t.A=function(e){var t=void 0===e?{}:e,n=t.initialWidth,o=void 0===n?1/0:n,s=t.initialHeight,c=void 0===s?1/0:s,l=t.onChange,p=a.default({width:i.isBrowser?window.innerWidth:o,height:i.isBrowser?window.innerHeight:c}),u=p[0],d=p[1];return r.useEffect((function(){if(i.isBrowser){var e=function(){var e=window.innerWidth,t=window.innerHeight;d({width:e,height:t}),l&&l(e,t)};return i.on(window,"resize",e),function(){i.off(window,"resize",e)}}}),[]),u}},8888:function(e,t,n){"use strict";var o=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseImage=void 0;const a=r(n(1594)),i=r(n(8443)),s=r(n(4749));function c(e){var{alt:t,className:n,fullWidth:r}=e,c=o(e,["alt","className","fullWidth"]);return a.default.createElement("img",Object.assign({"data-bit-id":"teambit.base-ui/elements/image",alt:t},c,{className:i.default(s.default.image,r&&s.default.fullWidth,n)}))}c.__bit_component={id:"teambit.base-ui/elements/image@1.0.0",homepage:"https://bit.dev/teambit/base-ui/elements/image",exported:!0},t.BaseImage=c},4437:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(8888),t)},6614:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Image:()=>y});var o=n(1594),r=n.n(o),a=n(9685),i=n.n(a);n(8552);const s=ReactDom;var c=n(1084),l=n(4843),p=n(7046),u=function(e){return e+"ms"},d={getBoundingClientRect:function(){return{height:0,left:0,top:0,width:0}},style:{transform:null}},m=(0,o.memo)((function(e){var t=e.children,n=e.closeText,a=void 0===n?"Unzoom Image":n,i=e.onUnload,m=e.onLoad,f=e.overlayBgColorEnd,h=void 0===f?"rgba(255, 255, 255, 0.95)":f,y=e.overlayBgColorStart,v=void 0===y?"rgba(255, 255, 255, 0)":y,g=e.parentRef,w=e.portalEl,b=void 0===w?document.body:w,_=e.scrollableEl,x=void 0===_?window:_,O=e.transitionDuration,k=void 0===O?300:O,j=e.zoomMargin,N=void 0===j?0:j,P=e.zoomZindex,S=void 0===P?2147483647:P,E=(0,o.useRef)(null),C=(0,o.useState)(0)[1],T=(0,o.useState)(!1),I=T[0],M=T[1],D=(0,o.useState)(!1),z=D[0],B=D[1],A=(0,l.A)(),R=A.width,L=A.height,W=(0,o.useCallback)((function(e){e.preventDefault(),B(!0)}),[]),F=(0,o.useCallback)((function(e){"Escape"!==e.key&&27!==e.keyCode||(e.stopPropagation(),B(!0))}),[]),H=(0,o.useCallback)((function(){C((function(e){return e+1})),z||B(!0)}),[z]);(0,c.A)("keydown",F,document),(0,c.A)("scroll",H,x),(0,o.useEffect)((function(){M(!0),m(),E.current&&E.current.focus({preventScroll:!0})}),[m]),(0,o.useEffect)((function(){var e=z?setTimeout(i,k):null;return function(){e&&clearTimeout(e)}}),[z,i,k]);var U=g.current||d,X=U.getBoundingClientRect(),Y=X.height,G=X.left,Z=X.top,$=X.width,q=function(e){var t=e.isLoaded,n=e.isUnloading,o=e.overlayBgColorEnd,r=e.zoomZindex,a={backgroundColor:e.overlayBgColorStart,transitionDuration:u(e.transitionDuration),zIndex:r};return t&&!n&&(a.backgroundColor=o),a}({isLoaded:I,isUnloading:z,overlayBgColorEnd:h,overlayBgColorStart:v,transitionDuration:k,zoomZindex:S}),K=function(e){var t=e.height,n=e.innerHeight,o=e.innerWidth,r=e.isLoaded,a=e.isUnloading,i=e.left,s=e.originalTransform,c=e.top,l=e.transitionDuration,d=e.width,m=e.zoomMargin,f=u(l);if(!r||a){var h=(0,p.__spreadArrays)(["scale(1)","translate(0, 0)"],s?[s]:[]).join(" ");return{height:t,left:i,top:c,transform:h,WebkitTransform:h,transitionDuration:f,width:d}}var y=function(e){var t=e.zoomMargin,n=e.innerWidth/(e.width+t),o=e.innerHeight/(e.height+t);return Math.min(n,o)}({height:t,innerWidth:o,innerHeight:n,width:d,zoomMargin:m}),v=(o/2-(i+d/2))/y,g=(n/2-(c+t/2))/y,w=(0,p.__spreadArrays)(["scale("+y+")","translate("+v+"px, "+g+"px)"],s?[s]:[]).join(" ");return{height:t,left:i,top:c,transform:w,WebkitTransform:w,transitionDuration:f,width:d}}({height:Y,isLoaded:I,innerHeight:L,innerWidth:R,isUnloading:z,left:G,originalTransform:U.style.transform,top:Z,transitionDuration:k,width:$,zoomMargin:N});return(0,s.createPortal)(r().createElement("div",{"aria-modal":!0,"data-rmiz-overlay":!0,role:"dialog",style:q},r().createElement("div",{"data-rmiz-modal-content":!0,style:K},t),r().createElement("button",{"aria-label":a,"data-rmiz-btn-close":!0,onClick:W,ref:E})),b)}));const f=(0,o.memo)((function(e){var t=e.children,n=e.closeText,a=void 0===n?"Unzoom image":n,i=e.overlayBgColorEnd,s=void 0===i?"rgba(255, 255, 255, 0.95)":i,c=e.overlayBgColorStart,l=void 0===c?"rgba(255, 255, 255, 0)":c,p=e.portalEl,u=e.openText,d=void 0===u?"Zoom image":u,f=e.scrollableEl,h=e.transitionDuration,y=void 0===h?300:h,v=e.wrapElement,g=void 0===v?"div":v,w=e.wrapStyle,b=e.zoomMargin,_=void 0===b?0:b,x=e.zoomZindex,O=void 0===x?2147483647:x,k=(0,o.useState)(!1),j=k[0],N=k[1],P=(0,o.useState)(!1),S=P[0],E=P[1],C=(0,o.useRef)(null),T=(0,o.useRef)(null),I=(0,o.useCallback)((function(e){j||(e.preventDefault(),N(!0))}),[j]),M=(0,o.useCallback)((function(){E(!0)}),[]),D=(0,o.useCallback)((function(){N(!1),E(!1),T.current&&T.current.focus({preventScroll:!0})}),[]),z=j&&S?"hidden":"visible";return r().createElement(o.StrictMode,null,r().createElement(g,{"data-rmiz-wrap":z,ref:C,style:w},t,r().createElement("button",{"aria-label":d,"data-rmiz-btn-open":!0,onClick:I,ref:T}),"undefined"!=typeof window&&j&&r().createElement(m,{closeText:a,onLoad:M,onUnload:D,overlayBgColorEnd:s,overlayBgColorStart:l,parentRef:C,portalEl:p,scrollableEl:f,transitionDuration:y,zoomMargin:_,zoomZindex:O},t)))}));var h=n(4437);const y=e=>{var{center:t=!0,width:n,alt:o,src:a,className:s}=e,c=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}(e,["center","width","alt","src","className"]);return r().createElement("div",{style:{width:n||"100%"},className:i()(t&&"image_center__6-xCb",s)},r().createElement(f,null,r().createElement(h.BaseImage,Object.assign({fullWidth:!0,alt:o,src:a},c))))};y.__bit_component={id:"teambit.docs/ui/zoomable-image@1.95.0",homepage:"https://bit.dev/teambit/docs/ui/zoomable-image",exported:!0}},1593:(e,t,n)=>{"use strict";Object.defineProperty(t,"Ay",{enumerable:!0,get:function(){return o.default}});var o=r(n(6475));function r(e){return e&&e.__esModule?e:{default:e}}r.__bit_component={id:"teambit.workspace/content/workspace-overview@1.95.0",homepage:"https://bit.dev/teambit/workspace/content/workspace-overview",exported:!0}},6475:(e,t,n)=>{"use strict";var o={id:"teambit.workspace/content/workspace-overview@1.95.0",homepage:"https://bit.dev/teambit/workspace/content/workspace-overview",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=v,u(n(1594));var r=n(5016),a=n(5682),i=n(6614),s=u(n(8800)),c=u(n(176)),l=u(n(6903)),p=["components"];function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},d.apply(this,arguments)}function m(e,t){if(null==e)return{};var n,o,r=f(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function f(e,t){if(null==e)return{};var n,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}u.__bit_component=o,d.__bit_component=o,m.__bit_component=o,f.__bit_component=o;var h={},y="wrapper";function v(e){var t=e.components,n=m(e,p);return(0,r.mdx)(y,d({},h,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(a.MDXScopeProvider,{components:{Image:i.Image,wsScreenshot:s.default,looseComponents:c.default,multiRepo:l.default},mdxType:"MDXScopeProvider"},(0,r.mdx)("h1",null,"Workspace Overview"),(0,r.mdx)("p",null,"You can use the Bit workspace to either create, use or import components, make changes to them, and export these changes back.\nWorkspaces are tech-agnonstic and allow development of components of all kinds. They can be used by a single developer maintaining few components, exist on top of\nexisting repositories or shared as a Workspace component."),(0,r.mdx)(i.Image,{src:c.default,width:"85%",mdxType:"Image"}),(0,r.mdx)("p",null,"Get started and generate a demo workspace:"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-bash"},"bit new react demo\n")),(0,r.mdx)("h2",null,"Component development server"),(0,r.mdx)("p",null,"All components in your workspace are rendered and presented on a local development server. To start it, run the following command:"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-sh"},"bit start\n")),(0,r.mdx)(i.Image,{src:s.default,width:"80%",mdxType:"Image"}),(0,r.mdx)("h2",null,"Simple, scalable dev experience"),(0,r.mdx)("p",null,"Keeping a similar dev-experience across workspaces allows you to jump in and out from codebases. When you don't need to deal with a per-project setup or learn the workflow commands/scripts you simply focus on the code."),(0,r.mdx)("p",null,"Simple dev experience means you can ",(0,r.mdx)("strong",{parentName:"p"},"easily onboard")," yourself to a workspace, thanks to:"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("strong",{parentName:"li"},"Use the same commands")," - Regardless of the tooling and configs used in a workspace, you use the same commands (",(0,r.mdx)("inlineCode",{parentName:"li"},"compile"),", ",(0,r.mdx)("inlineCode",{parentName:"li"},"test"),", etc) and get similarly structured outputs."),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("strong",{parentName:"li"},"Minimal configuration")," - Most of the configuration and setup is automated. No need to define per-component dependencies and no additional files needed to change a component's build pipeline."),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("strong",{parentName:"li"},"Templates and standards")," - Create new components with templates and apply your formatting, linting, compilation and testing standards with a single policy."),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("strong",{parentName:"li"},"Components are directories")," - Each ",(0,r.mdx)("a",{parentName:"li",href:"docs/workspace/component-directory"},"component in your workspace is a directory")," so relevant files, assets and tests available in a single place.")),(0,r.mdx)("p",null,"This makes it easy to scale the amount of components in a workspace, scale the amount of workspaces and even scale the amount of developers!"),(0,r.mdx)("h2",null,"Composition of components"),(0,r.mdx)("p",null,'The workspace is a container for the components. You get a monolithic-like developer experience and ability to refactor many components in a single place. In this "container" a component manages its own implementation, history and config (',(0,r.mdx)("a",{parentName:"p",href:"/docs/components/component-overview"},"read more"),").",(0,r.mdx)("br",{parentName:"p"}),"\n","This allows you to be flexible with how you structure a workspace and its contents. For example, you can ",(0,r.mdx)("a",{parentName:"p",href:"/docs/components/importing-components"},"import a component"),":"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-bash"},"bit import teambit.community/ui/graph/bubble-graph\n")),(0,r.mdx)("p",null,"Bit adds the new component to the list of components in the workspace, pulls down the complete revision history, configs and dependencies. Now you can do local modifications, see the component when running ",(0,r.mdx)("inlineCode",{parentName:"p"},"bit start"),", and maintain it as if you implemented it in your own workspace."),(0,r.mdx)("p",null,"In the same sense you can ",(0,r.mdx)("inlineCode",{parentName:"p"},"export")," and even ",(0,r.mdx)("inlineCode",{parentName:"p"},"eject")," any of your components from a workspace, and more it to another one. So if you started with building all components in the same place, you are not locked to that decision."),(0,r.mdx)(i.Image,{src:l.default,width:"85%",mdxType:"Image"}),(0,r.mdx)("h3",null,"Personalize your workspace"),(0,r.mdx)("p",null,"With composability in mind you can personalize your workspace on a per-feature basis or on the work you are currently focus on. You can start your flow by using ",(0,r.mdx)("inlineCode",{parentName:"p"},"bit import")," and fetch all required components, starting to modify and work on them as needed.",(0,r.mdx)("br",{parentName:"p"}),"\n","When done, you can version and eject unneeded components. Instead of you working in the boundaries of your workspace, have the workspace fit to your current work."),(0,r.mdx)("h2",null,"Configuration-less"),(0,r.mdx)("p",null,"Regardless of the amount of components you have in your workspace, and how different they may be in their configuration, it only requires two files to manage components."),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},"workspace.jsonc")," - Contains the configuration policy for all components in the workspace."),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},".bitmap")," - Maps Bit components to their corresponding location (dir) in the workspace.")),(0,r.mdx)("p",null,"With both these files you track where each component is located and can apply configuration from a centralized location according to various ",(0,r.mdx)("a",{parentName:"p",href:"/docs/workspace/variants"},(0,r.mdx)("inlineCode",{parentName:"a"},"variant"))," rules. The workspace then calculates the configuration to apply on a per-component basis."),(0,r.mdx)("p",null,"The end result is a clean workspace where you have a minimal amount of configuration files, no matter how many components you have and their variants."),(0,r.mdx)("h2",null,"Any dev environment, any framework"),(0,r.mdx)("p",null,"Angular modules, React components, Node modules or any other type of components you might need are rendered with the same ",(0,r.mdx)("a",{parentName:"p",href:"docs/workspace/workspace-ui"},"workspace UI"),", compiled by the same ",(0,r.mdx)("inlineCode",{parentName:"p"},"compile")," command, etc.",(0,r.mdx)("br",{parentName:"p"}),"\n","You can maintain components of different types and frameworks in a Bit workspace, as each component has it's own configured ",(0,r.mdx)("a",{parentName:"p",href:"/docs/envs/envs-overview"},"Component Development Environment"),", which the workspace use to run various workflows."),(0,r.mdx)("h2",null,"Components in the workspace"),(0,r.mdx)("p",null,"A Bit Workspace manages many components. It aims to create symmetry between component naming and the directory structure."),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-sh"},"├── cart\n│ ├── purchase-summary\n│ └── shopping-cart\n└── design\n ├── ui\n │ ├── button\n │ └── card // for example, the corresponding component ID: my-org.design/ui/button\n └── theme\n ├── color-pallet\n └── theme-context\n")),(0,r.mdx)("div",{className:"admonition admonition-tip alert alert--success"},(0,r.mdx)("div",{parentName:"div",className:"admonition-heading"},(0,r.mdx)("h5",{parentName:"div"},(0,r.mdx)("span",{parentName:"h5",className:"admonition-icon"},(0,r.mdx)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"16",viewBox:"0 0 12 16"},(0,r.mdx)("path",{parentName:"svg",fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"}))),"The structure is not rigid. You can sort components however you see fit.")),(0,r.mdx)("div",{parentName:"div",className:"admonition-content"})),(0,r.mdx)("p",null,"For each component Bit generates a link in the root ",(0,r.mdx)("inlineCode",{parentName:"p"},"node_modules")," directory according to the component ID. It contains the compiled output of a component."),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-bash"},"└── node_modules\n └── @my-org\n └── my-scope.ui.card\n")),(0,r.mdx)("p",null,"Use these modules when consuming one component in another, even in the same workspace."),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import { Card } from '@my-org/my-scope.ui.card';\n")),(0,r.mdx)("div",{className:"admonition admonition-info alert alert--info"},(0,r.mdx)("div",{parentName:"div",className:"admonition-heading"},(0,r.mdx)("h5",{parentName:"div"},(0,r.mdx)("span",{parentName:"h5",className:"admonition-icon"},(0,r.mdx)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16"},(0,r.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"}))),"Absolute import statements decouple a component from the project's file structure.")),(0,r.mdx)("div",{parentName:"div",className:"admonition-content"})),(0,r.mdx)("h2",null,"Dependency Policy"),(0,r.mdx)("p",null,"The workspace dependency policy defines how external dependencies are installed and in which version. You may apply complex setups to have multiple versions of a dependency installed to fit different components. It allows you to determine where you want to adopt to a new version and which components should still use past versions."),(0,r.mdx)("p",null,"In your workspace you also have a ",(0,r.mdx)("a",{parentName:"p",href:"/docs/dependencies/dependencies-overview"},"dependency resolver")," that uses the policy to determine the type of dependency on a per-component basis.",(0,r.mdx)("br",{parentName:"p"}),"\n","Types of dependencies, like ",(0,r.mdx)("inlineCode",{parentName:"p"},"dependency")," and ",(0,r.mdx)("inlineCode",{parentName:"p"},"devDependency")," are contextual for each component. Meaning that according to where a component ",(0,r.mdx)("inlineCode",{parentName:"p"},"import"),"s a dependency, it will be set with the corresponding type. For example, a dependency only used in a test file will set as a ",(0,r.mdx)("inlineCode",{parentName:"p"},"devDependency")," for that specific component."),(0,r.mdx)("h2",null,"Performance"),(0,r.mdx)("p",null,"Bit workspace is optimized for quick and snappy feedback loop on code changes. It leaves the tough work of ensuring de-coupling and isolation to a more robust CI flow."),(0,r.mdx)("p",null,"To optimize performance even further any time you change a component Bit find which components are affected by the change. Bit then build your modified components and their affected dependents."),(0,r.mdx)("h2",null,"Integrate to existing codebases"),(0,r.mdx)("p",null,"Bit is a build tool that allows you to manage independent components. You may create a Bit workspace in a fresh directory or initialize one as part of an existing repository.",(0,r.mdx)("br",{parentName:"p"}),"\n","You can get started working on independent components alongside projects built with ",(0,r.mdx)("a",{parentName:"p",href:"https://angular.io/tutorial/toh-pt0"},"Angular"),", ",(0,r.mdx)("a",{parentName:"p",href:"https://create-react-app.dev"},"CRA")," and even ",(0,r.mdx)("a",{parentName:"p",href:"https://lerna.js.org"},"Lerna"),"."),(0,r.mdx)("p",null,(0,r.mdx)("inlineCode",{parentName:"p"},"cd")," to a pre-existing repository and run:"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-bash"},"bit init\n")),(0,r.mdx)("p",null,"From here you may use any Bit command and flow to build independent components and integrate them into your application.")))}v.__bit_component=o,v.isMDXComponent=!0},9755:(e,t,n)=>{"use strict";var o={id:"teambit.workspace/workspace@1.0.489",homepage:"https://bit.cloud/teambit/workspace/workspace",exported:!0};function r(){const e=a(n(1594));return r=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=o,a.__bit_component=o;const i=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/workspace.svg"}));i.__bit_component=o,t.Logo=i},4749:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={fullWidth:"image_fullWidth__sELLz"}},176:(e,t,n)=>{"use strict";e.exports=n.p+"static/images/b40d450de296e275550f.png"},6903:(e,t,n)=>{"use strict";e.exports=n.p+"static/images/2f046646df38433e90d7.png"},8800:(e,t,n)=>{"use strict";e.exports=n.p+"static/images/cb67fb802479e2710016.png"},5016:e=>{"use strict";e.exports=MdxJsReact},1594:e=>{"use strict";e.exports=React},5682:e=>{"use strict";e.exports=TeambitMdxUiMdxScopeContext},7046:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>z,__assign:()=>a,__asyncDelegator:()=>j,__asyncGenerator:()=>k,__asyncValues:()=>N,__await:()=>O,__awaiter:()=>f,__classPrivateFieldGet:()=>I,__classPrivateFieldIn:()=>D,__classPrivateFieldSet:()=>M,__createBinding:()=>y,__decorate:()=>s,__disposeResources:()=>A,__esDecorate:()=>l,__exportStar:()=>v,__extends:()=>r,__generator:()=>h,__importDefault:()=>T,__importStar:()=>C,__makeTemplateObject:()=>P,__metadata:()=>m,__param:()=>c,__propKey:()=>u,__read:()=>w,__rest:()=>i,__rewriteRelativeImportExtension:()=>R,__runInitializers:()=>p,__setFunctionName:()=>d,__spread:()=>b,__spreadArray:()=>x,__spreadArrays:()=>_,__values:()=>g,default:()=>L});var o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)};function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(){return a=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a.apply(this,arguments)};function i(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}function s(e,t,n,o){var r,a=arguments.length,i=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(i=(a<3?r(i):a>3?r(t,n,i):r(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i}function c(e,t){return function(n,o){t(n,o,e)}}function l(e,t,n,o,r,a){function i(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,c=o.kind,l="getter"===c?"get":"setter"===c?"set":"value",p=!t&&e?o.static?e:e.prototype:null,u=t||(p?Object.getOwnPropertyDescriptor(p,o.name):{}),d=!1,m=n.length-1;m>=0;m--){var f={};for(var h in o)f[h]="access"===h?{}:o[h];for(var h in o.access)f.access[h]=o.access[h];f.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");a.push(i(e||null))};var y=(0,n[m])("accessor"===c?{get:u.get,set:u.set}:u[l],f);if("accessor"===c){if(void 0===y)continue;if(null===y||"object"!=typeof y)throw new TypeError("Object expected");(s=i(y.get))&&(u.get=s),(s=i(y.set))&&(u.set=s),(s=i(y.init))&&r.unshift(s)}else(s=i(y))&&("field"===c?r.unshift(s):u[l]=s)}p&&Object.defineProperty(p,o.name,u),d=!0}function p(e,t,n){for(var o=arguments.length>2,r=0;r<t.length;r++)n=o?t[r].call(e,n):t[r].call(e);return o?n:void 0}function u(e){return"symbol"==typeof e?e:"".concat(e)}function d(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function m(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function f(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{c(o.next(e))}catch(e){a(e)}}function s(e){try{c(o.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}c((o=o.apply(e,t||[])).next())}))}function h(e,t){var n,o,r,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=s(0),i.throw=s(1),i.return=s(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,o&&(r=2&s[0]?o.return:s[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,s[1])).done)return r;switch(o=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,o=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]<r[3])){a.label=s[1];break}if(6===s[0]&&a.label<r[1]){a.label=r[1],r=s;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(s);break}r[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],o=0}finally{n=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}var y=Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]};function v(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||y(t,e,n)}function g(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],o=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function w(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,a=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(o=a.next()).done;)i.push(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return i}function b(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(w(arguments[t]));return e}function _(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var o=Array(e),r=0;for(t=0;t<n;t++)for(var a=arguments[t],i=0,s=a.length;i<s;i++,r++)o[r]=a[i];return o}function x(e,t,n){if(n||2===arguments.length)for(var o,r=0,a=t.length;r<a;r++)!o&&r in t||(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}function O(e){return this instanceof O?(this.v=e,this):new O(e)}function k(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),a=[];return o=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),i("next"),i("throw"),i("return",(function(e){return function(t){return Promise.resolve(t).then(e,l)}})),o[Symbol.asyncIterator]=function(){return this},o;function i(e,t){r[e]&&(o[e]=function(t){return new Promise((function(n,o){a.push([e,t,n,o])>1||s(e,t)}))},t&&(o[e]=t(o[e])))}function s(e,t){try{(n=r[e](t)).value instanceof O?Promise.resolve(n.value.v).then(c,l):p(a[0][2],n)}catch(e){p(a[0][3],e)}var n}function c(e){s("next",e)}function l(e){s("throw",e)}function p(e,t){e(t),a.shift(),a.length&&s(a[0][0],a[0][1])}}function j(e){var t,n;return t={},o("next"),o("throw",(function(e){throw e})),o("return"),t[Symbol.iterator]=function(){return this},t;function o(o,r){t[o]=e[o]?function(t){return(n=!n)?{value:O(e[o](t)),done:!1}:r?r(t):t}:r}}function N(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=g(e),t={},o("next"),o("throw"),o("return"),t[Symbol.asyncIterator]=function(){return this},t);function o(n){t[n]=e[n]&&function(t){return new Promise((function(o,r){!function(e,t,n,o){Promise.resolve(o).then((function(t){e({value:t,done:n})}),t)}(o,r,(t=e[n](t)).done,t.value)}))}}}function P(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var S=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},E=function(e){return E=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},E(e)};function C(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=E(e),o=0;o<n.length;o++)"default"!==n[o]&&y(t,e,n[o]);return S(t,e),t}function T(e){return e&&e.__esModule?e:{default:e}}function I(e,t,n,o){if("a"===n&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?o:"a"===n?o.call(e):o?o.value:t.get(e)}function M(e,t,n,o,r){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?r.call(e,n):r?r.value=n:t.set(e,n),n}function D(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function z(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var o,r;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");o=t[Symbol.asyncDispose]}if(void 0===o){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");o=t[Symbol.dispose],n&&(r=o)}if("function"!=typeof o)throw new TypeError("Object not disposable.");r&&(o=function(){try{r.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:o,async:n})}else n&&e.stack.push({async:!0});return t}var B="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var o=new Error(n);return o.name="SuppressedError",o.error=e,o.suppressed=t,o};function A(e){function t(t){e.error=e.hasError?new B(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,o=0;return function r(){for(;n=e.stack.pop();)try{if(!n.async&&1===o)return o=0,e.stack.push(n),Promise.resolve().then(r);if(n.dispose){var a=n.dispose.call(n.value);if(n.async)return o|=2,Promise.resolve(a).then(r,(function(e){return t(e),r()}))}else o|=1}catch(e){t(e)}if(1===o)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function R(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,(function(e,n,o,r,a){return n?t?".jsx":".js":!o||r&&a?o+r+"."+a.toLowerCase()+"js":e})):e}const L={__extends:r,__assign:a,__rest:i,__decorate:s,__param:c,__esDecorate:l,__runInitializers:p,__propKey:u,__setFunctionName:d,__metadata:m,__awaiter:f,__generator:h,__createBinding:y,__exportStar:v,__values:g,__read:w,__spread:b,__spreadArrays:_,__spreadArray:x,__await:O,__asyncGenerator:k,__asyncDelegator:j,__asyncValues:N,__makeTemplateObject:P,__importStar:C,__importDefault:T,__classPrivateFieldGet:I,__classPrivateFieldSet:M,__classPrivateFieldIn:D,__addDisposableResource:z,__disposeResources:A,__rewriteRelativeImportExtension:R}}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var a=t[o]={exports:{}};return e[o].call(a.exports,a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var o=t.getElementsByTagName("script");if(o.length)for(var r=o.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=o[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})();var o={};return(()=>{"use strict";n.r(o),n.d(o,{compositions:()=>d,compositions_metadata:()=>f,overview:()=>m});var e={};n.r(e),n.d(e,{default:()=>u});var t=n(9755),r=(n(1594),n(5016)),a=n(5682),i=n(1593),s=["components"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},c.apply(null,arguments)}var l={},p="wrapper";function u(e){var t=e.components,n=function(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.includes(o))continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,s);return(0,r.mdx)(p,c({},l,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(a.MDXScopeProvider,{components:{WorkspaceOverview:i.Ay},mdxType:"MDXScopeProvider"},(0,r.mdx)(i.Ay,{mdxType:"WorkspaceOverview"})))}u.isMDXComponent=!0;const d=[t],m=[e],f={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),o})()));
|
|
2
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.workspace/workspace-preview"]=t():e["teambit.workspace/workspace-preview"]=t()}(self,(()=>(()=>{var e={8443:(e,t)=>{var n;!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)&&n.length){var i=r.apply(null,n);i&&e.push(i)}else if("object"===a)for(var s in n)o.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},9685:(e,t)=>{var n;!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var i=r.apply(null,n);i&&e.push(i)}}else if("object"===a)if(n.toString===Object.prototype.toString)for(var s in n)o.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},8552:()=>{!function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof HTMLElement){var e=!1;try{var t=document.createElement("div");t.addEventListener("focus",(function(e){e.preventDefault(),e.stopPropagation()}),!0),t.focus(Object.defineProperty({},"preventScroll",{get:function(){e=!0}}))}catch(e){}void 0!==HTMLElement.prototype.nativeFocus||e||(HTMLElement.prototype.nativeFocus=HTMLElement.prototype.focus,HTMLElement.prototype.focus=function(e){var t=window.scrollY||window.pageYOffset;this.nativeFocus(),e&&e.preventScroll&&setTimeout((function(){window.scroll(window.scrollX||window.pageXOffset,t)}),0)})}}()},456:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNavigator=t.isBrowser=t.off=t.on=t.noop=void 0,t.noop=function(){},t.on=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.addEventListener&&e.addEventListener.apply(e,t)},t.off=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.removeEventListener&&e.removeEventListener.apply(e,t)},t.isBrowser="undefined"!=typeof window,t.isNavigator="undefined"!=typeof navigator},4286:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1594);t.default=function(e){o.useEffect(e,[])}},1084:(e,t,n)=>{"use strict";var o=n(1594),r=n(456),a=r.isBrowser?window:null,i=function(e){return!!e.addEventListener},s=function(e){return!!e.on};t.A=function(e,t,n,c){void 0===n&&(n=a),o.useEffect((function(){if(t&&n)return i(n)?r.on(n,e,t,c):s(n)&&n.on(e,t,c),function(){i(n)?r.off(n,e,t,c):s(n)&&n.off(e,t,c)}}),[e,t,n,JSON.stringify(c)])}},9768:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(7046),r=n(1594),a=o.__importDefault(n(2896));t.default=function(e){var t=r.useRef(0),n=r.useState(e),o=n[0],i=n[1],s=r.useCallback((function(e){cancelAnimationFrame(t.current),t.current=requestAnimationFrame((function(){i(e)}))}),[]);return a.default((function(){cancelAnimationFrame(t.current)})),[o,s]}},2896:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(7046),r=n(1594),a=o.__importDefault(n(4286));t.default=function(e){var t=r.useRef(e);t.current=e,a.default((function(){return function(){return t.current()}}))}},4843:(e,t,n)=>{"use strict";var o=n(7046),r=n(1594),a=o.__importDefault(n(9768)),i=n(456);t.A=function(e){var t=void 0===e?{}:e,n=t.initialWidth,o=void 0===n?1/0:n,s=t.initialHeight,c=void 0===s?1/0:s,l=t.onChange,p=a.default({width:i.isBrowser?window.innerWidth:o,height:i.isBrowser?window.innerHeight:c}),u=p[0],d=p[1];return r.useEffect((function(){if(i.isBrowser){var e=function(){var e=window.innerWidth,t=window.innerHeight;d({width:e,height:t}),l&&l(e,t)};return i.on(window,"resize",e),function(){i.off(window,"resize",e)}}}),[]),u}},8888:function(e,t,n){"use strict";var o=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseImage=void 0;const a=r(n(1594)),i=r(n(8443)),s=r(n(4749));function c(e){var{alt:t,className:n,fullWidth:r}=e,c=o(e,["alt","className","fullWidth"]);return a.default.createElement("img",Object.assign({"data-bit-id":"teambit.base-ui/elements/image",alt:t},c,{className:i.default(s.default.image,r&&s.default.fullWidth,n)}))}c.__bit_component={id:"teambit.base-ui/elements/image@1.0.0",homepage:"https://bit.dev/teambit/base-ui/elements/image",exported:!0},t.BaseImage=c},4437:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(8888),t)},6614:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Image:()=>y});var o=n(1594),r=n.n(o),a=n(9685),i=n.n(a);n(8552);const s=ReactDom;var c=n(1084),l=n(4843),p=n(7046),u=function(e){return e+"ms"},d={getBoundingClientRect:function(){return{height:0,left:0,top:0,width:0}},style:{transform:null}},m=(0,o.memo)((function(e){var t=e.children,n=e.closeText,a=void 0===n?"Unzoom Image":n,i=e.onUnload,m=e.onLoad,f=e.overlayBgColorEnd,h=void 0===f?"rgba(255, 255, 255, 0.95)":f,y=e.overlayBgColorStart,v=void 0===y?"rgba(255, 255, 255, 0)":y,g=e.parentRef,w=e.portalEl,b=void 0===w?document.body:w,_=e.scrollableEl,x=void 0===_?window:_,O=e.transitionDuration,k=void 0===O?300:O,j=e.zoomMargin,N=void 0===j?0:j,P=e.zoomZindex,S=void 0===P?2147483647:P,E=(0,o.useRef)(null),C=(0,o.useState)(0)[1],T=(0,o.useState)(!1),I=T[0],M=T[1],D=(0,o.useState)(!1),z=D[0],B=D[1],A=(0,l.A)(),R=A.width,L=A.height,W=(0,o.useCallback)((function(e){e.preventDefault(),B(!0)}),[]),F=(0,o.useCallback)((function(e){"Escape"!==e.key&&27!==e.keyCode||(e.stopPropagation(),B(!0))}),[]),H=(0,o.useCallback)((function(){C((function(e){return e+1})),z||B(!0)}),[z]);(0,c.A)("keydown",F,document),(0,c.A)("scroll",H,x),(0,o.useEffect)((function(){M(!0),m(),E.current&&E.current.focus({preventScroll:!0})}),[m]),(0,o.useEffect)((function(){var e=z?setTimeout(i,k):null;return function(){e&&clearTimeout(e)}}),[z,i,k]);var U=g.current||d,X=U.getBoundingClientRect(),Y=X.height,G=X.left,Z=X.top,$=X.width,q=function(e){var t=e.isLoaded,n=e.isUnloading,o=e.overlayBgColorEnd,r=e.zoomZindex,a={backgroundColor:e.overlayBgColorStart,transitionDuration:u(e.transitionDuration),zIndex:r};return t&&!n&&(a.backgroundColor=o),a}({isLoaded:I,isUnloading:z,overlayBgColorEnd:h,overlayBgColorStart:v,transitionDuration:k,zoomZindex:S}),K=function(e){var t=e.height,n=e.innerHeight,o=e.innerWidth,r=e.isLoaded,a=e.isUnloading,i=e.left,s=e.originalTransform,c=e.top,l=e.transitionDuration,d=e.width,m=e.zoomMargin,f=u(l);if(!r||a){var h=(0,p.__spreadArrays)(["scale(1)","translate(0, 0)"],s?[s]:[]).join(" ");return{height:t,left:i,top:c,transform:h,WebkitTransform:h,transitionDuration:f,width:d}}var y=function(e){var t=e.zoomMargin,n=e.innerWidth/(e.width+t),o=e.innerHeight/(e.height+t);return Math.min(n,o)}({height:t,innerWidth:o,innerHeight:n,width:d,zoomMargin:m}),v=(o/2-(i+d/2))/y,g=(n/2-(c+t/2))/y,w=(0,p.__spreadArrays)(["scale("+y+")","translate("+v+"px, "+g+"px)"],s?[s]:[]).join(" ");return{height:t,left:i,top:c,transform:w,WebkitTransform:w,transitionDuration:f,width:d}}({height:Y,isLoaded:I,innerHeight:L,innerWidth:R,isUnloading:z,left:G,originalTransform:U.style.transform,top:Z,transitionDuration:k,width:$,zoomMargin:N});return(0,s.createPortal)(r().createElement("div",{"aria-modal":!0,"data-rmiz-overlay":!0,role:"dialog",style:q},r().createElement("div",{"data-rmiz-modal-content":!0,style:K},t),r().createElement("button",{"aria-label":a,"data-rmiz-btn-close":!0,onClick:W,ref:E})),b)}));const f=(0,o.memo)((function(e){var t=e.children,n=e.closeText,a=void 0===n?"Unzoom image":n,i=e.overlayBgColorEnd,s=void 0===i?"rgba(255, 255, 255, 0.95)":i,c=e.overlayBgColorStart,l=void 0===c?"rgba(255, 255, 255, 0)":c,p=e.portalEl,u=e.openText,d=void 0===u?"Zoom image":u,f=e.scrollableEl,h=e.transitionDuration,y=void 0===h?300:h,v=e.wrapElement,g=void 0===v?"div":v,w=e.wrapStyle,b=e.zoomMargin,_=void 0===b?0:b,x=e.zoomZindex,O=void 0===x?2147483647:x,k=(0,o.useState)(!1),j=k[0],N=k[1],P=(0,o.useState)(!1),S=P[0],E=P[1],C=(0,o.useRef)(null),T=(0,o.useRef)(null),I=(0,o.useCallback)((function(e){j||(e.preventDefault(),N(!0))}),[j]),M=(0,o.useCallback)((function(){E(!0)}),[]),D=(0,o.useCallback)((function(){N(!1),E(!1),T.current&&T.current.focus({preventScroll:!0})}),[]),z=j&&S?"hidden":"visible";return r().createElement(o.StrictMode,null,r().createElement(g,{"data-rmiz-wrap":z,ref:C,style:w},t,r().createElement("button",{"aria-label":d,"data-rmiz-btn-open":!0,onClick:I,ref:T}),"undefined"!=typeof window&&j&&r().createElement(m,{closeText:a,onLoad:M,onUnload:D,overlayBgColorEnd:s,overlayBgColorStart:l,parentRef:C,portalEl:p,scrollableEl:f,transitionDuration:y,zoomMargin:_,zoomZindex:O},t)))}));var h=n(4437);const y=e=>{var{center:t=!0,width:n,alt:o,src:a,className:s}=e,c=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}(e,["center","width","alt","src","className"]);return r().createElement("div",{style:{width:n||"100%"},className:i()(t&&"image_center__6-xCb",s)},r().createElement(f,null,r().createElement(h.BaseImage,Object.assign({fullWidth:!0,alt:o,src:a},c))))};y.__bit_component={id:"teambit.docs/ui/zoomable-image@1.95.0",homepage:"https://bit.dev/teambit/docs/ui/zoomable-image",exported:!0}},1593:(e,t,n)=>{"use strict";Object.defineProperty(t,"Ay",{enumerable:!0,get:function(){return o.default}});var o=r(n(6475));function r(e){return e&&e.__esModule?e:{default:e}}r.__bit_component={id:"teambit.workspace/content/workspace-overview@1.95.0",homepage:"https://bit.dev/teambit/workspace/content/workspace-overview",exported:!0}},6475:(e,t,n)=>{"use strict";var o={id:"teambit.workspace/content/workspace-overview@1.95.0",homepage:"https://bit.dev/teambit/workspace/content/workspace-overview",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=v,u(n(1594));var r=n(5016),a=n(5682),i=n(6614),s=u(n(8800)),c=u(n(176)),l=u(n(6903)),p=["components"];function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},d.apply(this,arguments)}function m(e,t){if(null==e)return{};var n,o,r=f(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function f(e,t){if(null==e)return{};var n,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}u.__bit_component=o,d.__bit_component=o,m.__bit_component=o,f.__bit_component=o;var h={},y="wrapper";function v(e){var t=e.components,n=m(e,p);return(0,r.mdx)(y,d({},h,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(a.MDXScopeProvider,{components:{Image:i.Image,wsScreenshot:s.default,looseComponents:c.default,multiRepo:l.default},mdxType:"MDXScopeProvider"},(0,r.mdx)("h1",null,"Workspace Overview"),(0,r.mdx)("p",null,"You can use the Bit workspace to either create, use or import components, make changes to them, and export these changes back.\nWorkspaces are tech-agnonstic and allow development of components of all kinds. They can be used by a single developer maintaining few components, exist on top of\nexisting repositories or shared as a Workspace component."),(0,r.mdx)(i.Image,{src:c.default,width:"85%",mdxType:"Image"}),(0,r.mdx)("p",null,"Get started and generate a demo workspace:"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-bash"},"bit new react demo\n")),(0,r.mdx)("h2",null,"Component development server"),(0,r.mdx)("p",null,"All components in your workspace are rendered and presented on a local development server. To start it, run the following command:"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-sh"},"bit start\n")),(0,r.mdx)(i.Image,{src:s.default,width:"80%",mdxType:"Image"}),(0,r.mdx)("h2",null,"Simple, scalable dev experience"),(0,r.mdx)("p",null,"Keeping a similar dev-experience across workspaces allows you to jump in and out from codebases. When you don't need to deal with a per-project setup or learn the workflow commands/scripts you simply focus on the code."),(0,r.mdx)("p",null,"Simple dev experience means you can ",(0,r.mdx)("strong",{parentName:"p"},"easily onboard")," yourself to a workspace, thanks to:"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("strong",{parentName:"li"},"Use the same commands")," - Regardless of the tooling and configs used in a workspace, you use the same commands (",(0,r.mdx)("inlineCode",{parentName:"li"},"compile"),", ",(0,r.mdx)("inlineCode",{parentName:"li"},"test"),", etc) and get similarly structured outputs."),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("strong",{parentName:"li"},"Minimal configuration")," - Most of the configuration and setup is automated. No need to define per-component dependencies and no additional files needed to change a component's build pipeline."),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("strong",{parentName:"li"},"Templates and standards")," - Create new components with templates and apply your formatting, linting, compilation and testing standards with a single policy."),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("strong",{parentName:"li"},"Components are directories")," - Each ",(0,r.mdx)("a",{parentName:"li",href:"docs/workspace/component-directory"},"component in your workspace is a directory")," so relevant files, assets and tests available in a single place.")),(0,r.mdx)("p",null,"This makes it easy to scale the amount of components in a workspace, scale the amount of workspaces and even scale the amount of developers!"),(0,r.mdx)("h2",null,"Composition of components"),(0,r.mdx)("p",null,'The workspace is a container for the components. You get a monolithic-like developer experience and ability to refactor many components in a single place. In this "container" a component manages its own implementation, history and config (',(0,r.mdx)("a",{parentName:"p",href:"/docs/components/component-overview"},"read more"),").",(0,r.mdx)("br",{parentName:"p"}),"\n","This allows you to be flexible with how you structure a workspace and its contents. For example, you can ",(0,r.mdx)("a",{parentName:"p",href:"/docs/components/importing-components"},"import a component"),":"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-bash"},"bit import teambit.community/ui/graph/bubble-graph\n")),(0,r.mdx)("p",null,"Bit adds the new component to the list of components in the workspace, pulls down the complete revision history, configs and dependencies. Now you can do local modifications, see the component when running ",(0,r.mdx)("inlineCode",{parentName:"p"},"bit start"),", and maintain it as if you implemented it in your own workspace."),(0,r.mdx)("p",null,"In the same sense you can ",(0,r.mdx)("inlineCode",{parentName:"p"},"export")," and even ",(0,r.mdx)("inlineCode",{parentName:"p"},"eject")," any of your components from a workspace, and more it to another one. So if you started with building all components in the same place, you are not locked to that decision."),(0,r.mdx)(i.Image,{src:l.default,width:"85%",mdxType:"Image"}),(0,r.mdx)("h3",null,"Personalize your workspace"),(0,r.mdx)("p",null,"With composability in mind you can personalize your workspace on a per-feature basis or on the work you are currently focus on. You can start your flow by using ",(0,r.mdx)("inlineCode",{parentName:"p"},"bit import")," and fetch all required components, starting to modify and work on them as needed.",(0,r.mdx)("br",{parentName:"p"}),"\n","When done, you can version and eject unneeded components. Instead of you working in the boundaries of your workspace, have the workspace fit to your current work."),(0,r.mdx)("h2",null,"Configuration-less"),(0,r.mdx)("p",null,"Regardless of the amount of components you have in your workspace, and how different they may be in their configuration, it only requires two files to manage components."),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},"workspace.jsonc")," - Contains the configuration policy for all components in the workspace."),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},".bitmap")," - Maps Bit components to their corresponding location (dir) in the workspace.")),(0,r.mdx)("p",null,"With both these files you track where each component is located and can apply configuration from a centralized location according to various ",(0,r.mdx)("a",{parentName:"p",href:"/docs/workspace/variants"},(0,r.mdx)("inlineCode",{parentName:"a"},"variant"))," rules. The workspace then calculates the configuration to apply on a per-component basis."),(0,r.mdx)("p",null,"The end result is a clean workspace where you have a minimal amount of configuration files, no matter how many components you have and their variants."),(0,r.mdx)("h2",null,"Any dev environment, any framework"),(0,r.mdx)("p",null,"Angular modules, React components, Node modules or any other type of components you might need are rendered with the same ",(0,r.mdx)("a",{parentName:"p",href:"docs/workspace/workspace-ui"},"workspace UI"),", compiled by the same ",(0,r.mdx)("inlineCode",{parentName:"p"},"compile")," command, etc.",(0,r.mdx)("br",{parentName:"p"}),"\n","You can maintain components of different types and frameworks in a Bit workspace, as each component has it's own configured ",(0,r.mdx)("a",{parentName:"p",href:"/docs/envs/envs-overview"},"Component Development Environment"),", which the workspace use to run various workflows."),(0,r.mdx)("h2",null,"Components in the workspace"),(0,r.mdx)("p",null,"A Bit Workspace manages many components. It aims to create symmetry between component naming and the directory structure."),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-sh"},"├── cart\n│ ├── purchase-summary\n│ └── shopping-cart\n└── design\n ├── ui\n │ ├── button\n │ └── card // for example, the corresponding component ID: my-org.design/ui/button\n └── theme\n ├── color-pallet\n └── theme-context\n")),(0,r.mdx)("div",{className:"admonition admonition-tip alert alert--success"},(0,r.mdx)("div",{parentName:"div",className:"admonition-heading"},(0,r.mdx)("h5",{parentName:"div"},(0,r.mdx)("span",{parentName:"h5",className:"admonition-icon"},(0,r.mdx)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"16",viewBox:"0 0 12 16"},(0,r.mdx)("path",{parentName:"svg",fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"}))),"The structure is not rigid. You can sort components however you see fit.")),(0,r.mdx)("div",{parentName:"div",className:"admonition-content"})),(0,r.mdx)("p",null,"For each component Bit generates a link in the root ",(0,r.mdx)("inlineCode",{parentName:"p"},"node_modules")," directory according to the component ID. It contains the compiled output of a component."),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-bash"},"└── node_modules\n └── @my-org\n └── my-scope.ui.card\n")),(0,r.mdx)("p",null,"Use these modules when consuming one component in another, even in the same workspace."),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import { Card } from '@my-org/my-scope.ui.card';\n")),(0,r.mdx)("div",{className:"admonition admonition-info alert alert--info"},(0,r.mdx)("div",{parentName:"div",className:"admonition-heading"},(0,r.mdx)("h5",{parentName:"div"},(0,r.mdx)("span",{parentName:"h5",className:"admonition-icon"},(0,r.mdx)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16"},(0,r.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"}))),"Absolute import statements decouple a component from the project's file structure.")),(0,r.mdx)("div",{parentName:"div",className:"admonition-content"})),(0,r.mdx)("h2",null,"Dependency Policy"),(0,r.mdx)("p",null,"The workspace dependency policy defines how external dependencies are installed and in which version. You may apply complex setups to have multiple versions of a dependency installed to fit different components. It allows you to determine where you want to adopt to a new version and which components should still use past versions."),(0,r.mdx)("p",null,"In your workspace you also have a ",(0,r.mdx)("a",{parentName:"p",href:"/docs/dependencies/dependencies-overview"},"dependency resolver")," that uses the policy to determine the type of dependency on a per-component basis.",(0,r.mdx)("br",{parentName:"p"}),"\n","Types of dependencies, like ",(0,r.mdx)("inlineCode",{parentName:"p"},"dependency")," and ",(0,r.mdx)("inlineCode",{parentName:"p"},"devDependency")," are contextual for each component. Meaning that according to where a component ",(0,r.mdx)("inlineCode",{parentName:"p"},"import"),"s a dependency, it will be set with the corresponding type. For example, a dependency only used in a test file will set as a ",(0,r.mdx)("inlineCode",{parentName:"p"},"devDependency")," for that specific component."),(0,r.mdx)("h2",null,"Performance"),(0,r.mdx)("p",null,"Bit workspace is optimized for quick and snappy feedback loop on code changes. It leaves the tough work of ensuring de-coupling and isolation to a more robust CI flow."),(0,r.mdx)("p",null,"To optimize performance even further any time you change a component Bit find which components are affected by the change. Bit then build your modified components and their affected dependents."),(0,r.mdx)("h2",null,"Integrate to existing codebases"),(0,r.mdx)("p",null,"Bit is a build tool that allows you to manage independent components. You may create a Bit workspace in a fresh directory or initialize one as part of an existing repository.",(0,r.mdx)("br",{parentName:"p"}),"\n","You can get started working on independent components alongside projects built with ",(0,r.mdx)("a",{parentName:"p",href:"https://angular.io/tutorial/toh-pt0"},"Angular"),", ",(0,r.mdx)("a",{parentName:"p",href:"https://create-react-app.dev"},"CRA")," and even ",(0,r.mdx)("a",{parentName:"p",href:"https://lerna.js.org"},"Lerna"),"."),(0,r.mdx)("p",null,(0,r.mdx)("inlineCode",{parentName:"p"},"cd")," to a pre-existing repository and run:"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-bash"},"bit init\n")),(0,r.mdx)("p",null,"From here you may use any Bit command and flow to build independent components and integrate them into your application.")))}v.__bit_component=o,v.isMDXComponent=!0},196:(e,t,n)=>{"use strict";var o={id:"teambit.workspace/workspace@1.0.491",homepage:"https://bit.cloud/teambit/workspace/workspace",exported:!0};function r(){const e=a(n(1594));return r=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=o,a.__bit_component=o;const i=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/workspace.svg"}));i.__bit_component=o,t.Logo=i},4749:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={fullWidth:"image_fullWidth__sELLz"}},176:(e,t,n)=>{"use strict";e.exports=n.p+"static/images/b40d450de296e275550f.png"},6903:(e,t,n)=>{"use strict";e.exports=n.p+"static/images/2f046646df38433e90d7.png"},8800:(e,t,n)=>{"use strict";e.exports=n.p+"static/images/cb67fb802479e2710016.png"},5016:e=>{"use strict";e.exports=MdxJsReact},1594:e=>{"use strict";e.exports=React},5682:e=>{"use strict";e.exports=TeambitMdxUiMdxScopeContext},7046:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>z,__assign:()=>a,__asyncDelegator:()=>j,__asyncGenerator:()=>k,__asyncValues:()=>N,__await:()=>O,__awaiter:()=>f,__classPrivateFieldGet:()=>I,__classPrivateFieldIn:()=>D,__classPrivateFieldSet:()=>M,__createBinding:()=>y,__decorate:()=>s,__disposeResources:()=>A,__esDecorate:()=>l,__exportStar:()=>v,__extends:()=>r,__generator:()=>h,__importDefault:()=>T,__importStar:()=>C,__makeTemplateObject:()=>P,__metadata:()=>m,__param:()=>c,__propKey:()=>u,__read:()=>w,__rest:()=>i,__rewriteRelativeImportExtension:()=>R,__runInitializers:()=>p,__setFunctionName:()=>d,__spread:()=>b,__spreadArray:()=>x,__spreadArrays:()=>_,__values:()=>g,default:()=>L});var o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)};function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(){return a=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a.apply(this,arguments)};function i(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}function s(e,t,n,o){var r,a=arguments.length,i=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(i=(a<3?r(i):a>3?r(t,n,i):r(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i}function c(e,t){return function(n,o){t(n,o,e)}}function l(e,t,n,o,r,a){function i(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,c=o.kind,l="getter"===c?"get":"setter"===c?"set":"value",p=!t&&e?o.static?e:e.prototype:null,u=t||(p?Object.getOwnPropertyDescriptor(p,o.name):{}),d=!1,m=n.length-1;m>=0;m--){var f={};for(var h in o)f[h]="access"===h?{}:o[h];for(var h in o.access)f.access[h]=o.access[h];f.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");a.push(i(e||null))};var y=(0,n[m])("accessor"===c?{get:u.get,set:u.set}:u[l],f);if("accessor"===c){if(void 0===y)continue;if(null===y||"object"!=typeof y)throw new TypeError("Object expected");(s=i(y.get))&&(u.get=s),(s=i(y.set))&&(u.set=s),(s=i(y.init))&&r.unshift(s)}else(s=i(y))&&("field"===c?r.unshift(s):u[l]=s)}p&&Object.defineProperty(p,o.name,u),d=!0}function p(e,t,n){for(var o=arguments.length>2,r=0;r<t.length;r++)n=o?t[r].call(e,n):t[r].call(e);return o?n:void 0}function u(e){return"symbol"==typeof e?e:"".concat(e)}function d(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function m(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function f(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{c(o.next(e))}catch(e){a(e)}}function s(e){try{c(o.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}c((o=o.apply(e,t||[])).next())}))}function h(e,t){var n,o,r,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=s(0),i.throw=s(1),i.return=s(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,o&&(r=2&s[0]?o.return:s[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,s[1])).done)return r;switch(o=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,o=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]<r[3])){a.label=s[1];break}if(6===s[0]&&a.label<r[1]){a.label=r[1],r=s;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(s);break}r[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],o=0}finally{n=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}var y=Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]};function v(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||y(t,e,n)}function g(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],o=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function w(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,a=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(o=a.next()).done;)i.push(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return i}function b(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(w(arguments[t]));return e}function _(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var o=Array(e),r=0;for(t=0;t<n;t++)for(var a=arguments[t],i=0,s=a.length;i<s;i++,r++)o[r]=a[i];return o}function x(e,t,n){if(n||2===arguments.length)for(var o,r=0,a=t.length;r<a;r++)!o&&r in t||(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}function O(e){return this instanceof O?(this.v=e,this):new O(e)}function k(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),a=[];return o=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),i("next"),i("throw"),i("return",(function(e){return function(t){return Promise.resolve(t).then(e,l)}})),o[Symbol.asyncIterator]=function(){return this},o;function i(e,t){r[e]&&(o[e]=function(t){return new Promise((function(n,o){a.push([e,t,n,o])>1||s(e,t)}))},t&&(o[e]=t(o[e])))}function s(e,t){try{(n=r[e](t)).value instanceof O?Promise.resolve(n.value.v).then(c,l):p(a[0][2],n)}catch(e){p(a[0][3],e)}var n}function c(e){s("next",e)}function l(e){s("throw",e)}function p(e,t){e(t),a.shift(),a.length&&s(a[0][0],a[0][1])}}function j(e){var t,n;return t={},o("next"),o("throw",(function(e){throw e})),o("return"),t[Symbol.iterator]=function(){return this},t;function o(o,r){t[o]=e[o]?function(t){return(n=!n)?{value:O(e[o](t)),done:!1}:r?r(t):t}:r}}function N(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=g(e),t={},o("next"),o("throw"),o("return"),t[Symbol.asyncIterator]=function(){return this},t);function o(n){t[n]=e[n]&&function(t){return new Promise((function(o,r){!function(e,t,n,o){Promise.resolve(o).then((function(t){e({value:t,done:n})}),t)}(o,r,(t=e[n](t)).done,t.value)}))}}}function P(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var S=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},E=function(e){return E=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},E(e)};function C(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=E(e),o=0;o<n.length;o++)"default"!==n[o]&&y(t,e,n[o]);return S(t,e),t}function T(e){return e&&e.__esModule?e:{default:e}}function I(e,t,n,o){if("a"===n&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?o:"a"===n?o.call(e):o?o.value:t.get(e)}function M(e,t,n,o,r){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?r.call(e,n):r?r.value=n:t.set(e,n),n}function D(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function z(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var o,r;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");o=t[Symbol.asyncDispose]}if(void 0===o){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");o=t[Symbol.dispose],n&&(r=o)}if("function"!=typeof o)throw new TypeError("Object not disposable.");r&&(o=function(){try{r.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:o,async:n})}else n&&e.stack.push({async:!0});return t}var B="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var o=new Error(n);return o.name="SuppressedError",o.error=e,o.suppressed=t,o};function A(e){function t(t){e.error=e.hasError?new B(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,o=0;return function r(){for(;n=e.stack.pop();)try{if(!n.async&&1===o)return o=0,e.stack.push(n),Promise.resolve().then(r);if(n.dispose){var a=n.dispose.call(n.value);if(n.async)return o|=2,Promise.resolve(a).then(r,(function(e){return t(e),r()}))}else o|=1}catch(e){t(e)}if(1===o)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function R(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,(function(e,n,o,r,a){return n?t?".jsx":".js":!o||r&&a?o+r+"."+a.toLowerCase()+"js":e})):e}const L={__extends:r,__assign:a,__rest:i,__decorate:s,__param:c,__esDecorate:l,__runInitializers:p,__propKey:u,__setFunctionName:d,__metadata:m,__awaiter:f,__generator:h,__createBinding:y,__exportStar:v,__values:g,__read:w,__spread:b,__spreadArrays:_,__spreadArray:x,__await:O,__asyncGenerator:k,__asyncDelegator:j,__asyncValues:N,__makeTemplateObject:P,__importStar:C,__importDefault:T,__classPrivateFieldGet:I,__classPrivateFieldSet:M,__classPrivateFieldIn:D,__addDisposableResource:z,__disposeResources:A,__rewriteRelativeImportExtension:R}}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var a=t[o]={exports:{}};return e[o].call(a.exports,a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var o=t.getElementsByTagName("script");if(o.length)for(var r=o.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=o[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})();var o={};return(()=>{"use strict";n.r(o),n.d(o,{compositions:()=>d,compositions_metadata:()=>f,overview:()=>m});var e={};n.r(e),n.d(e,{default:()=>u});var t=n(196),r=(n(1594),n(5016)),a=n(5682),i=n(1593),s=["components"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},c.apply(null,arguments)}var l={},p="wrapper";function u(e){var t=e.components,n=function(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.includes(o))continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,s);return(0,r.mdx)(p,c({},l,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(a.MDXScopeProvider,{components:{WorkspaceOverview:i.Ay},mdxType:"MDXScopeProvider"},(0,r.mdx)(i.Ay,{mdxType:"WorkspaceOverview"})))}u.isMDXComponent=!0;const d=[t],m=[e],f={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),o})()));
|
package/artifacts/schema.json
CHANGED
|
@@ -317,7 +317,7 @@
|
|
|
317
317
|
"componentId": {
|
|
318
318
|
"scope": "teambit.legacy",
|
|
319
319
|
"name": "consumer",
|
|
320
|
-
"version": "0.0.
|
|
320
|
+
"version": "0.0.3"
|
|
321
321
|
}
|
|
322
322
|
},
|
|
323
323
|
"isOptional": false,
|
|
@@ -486,7 +486,7 @@
|
|
|
486
486
|
"componentId": {
|
|
487
487
|
"scope": "teambit.legacy",
|
|
488
488
|
"name": "component-list",
|
|
489
|
-
"version": "0.0.
|
|
489
|
+
"version": "0.0.57"
|
|
490
490
|
}
|
|
491
491
|
},
|
|
492
492
|
"isOptional": true,
|
|
@@ -1417,7 +1417,7 @@
|
|
|
1417
1417
|
"componentId": {
|
|
1418
1418
|
"scope": "teambit.component",
|
|
1419
1419
|
"name": "component-issues",
|
|
1420
|
-
"version": "0.0.
|
|
1420
|
+
"version": "0.0.152"
|
|
1421
1421
|
}
|
|
1422
1422
|
},
|
|
1423
1423
|
{
|
|
@@ -2747,7 +2747,7 @@
|
|
|
2747
2747
|
"componentId": {
|
|
2748
2748
|
"scope": "teambit.scope",
|
|
2749
2749
|
"name": "objects",
|
|
2750
|
-
"version": "0.0.
|
|
2750
|
+
"version": "0.0.3"
|
|
2751
2751
|
}
|
|
2752
2752
|
}
|
|
2753
2753
|
}
|
|
@@ -3255,7 +3255,7 @@
|
|
|
3255
3255
|
"componentId": {
|
|
3256
3256
|
"scope": "teambit.legacy",
|
|
3257
3257
|
"name": "extension-data",
|
|
3258
|
-
"version": "0.0.
|
|
3258
|
+
"version": "0.0.5"
|
|
3259
3259
|
}
|
|
3260
3260
|
},
|
|
3261
3261
|
"isOptional": false,
|
|
@@ -3351,7 +3351,7 @@
|
|
|
3351
3351
|
"componentId": {
|
|
3352
3352
|
"scope": "teambit.legacy",
|
|
3353
3353
|
"name": "consumer-component",
|
|
3354
|
-
"version": "0.0.
|
|
3354
|
+
"version": "0.0.4"
|
|
3355
3355
|
}
|
|
3356
3356
|
},
|
|
3357
3357
|
{
|
|
@@ -3508,7 +3508,7 @@
|
|
|
3508
3508
|
"componentId": {
|
|
3509
3509
|
"scope": "teambit.legacy",
|
|
3510
3510
|
"name": "consumer-component",
|
|
3511
|
-
"version": "0.0.
|
|
3511
|
+
"version": "0.0.4"
|
|
3512
3512
|
}
|
|
3513
3513
|
},
|
|
3514
3514
|
"isOptional": true,
|
|
@@ -4506,7 +4506,7 @@
|
|
|
4506
4506
|
"componentId": {
|
|
4507
4507
|
"scope": "teambit.scope",
|
|
4508
4508
|
"name": "objects",
|
|
4509
|
-
"version": "0.0.
|
|
4509
|
+
"version": "0.0.3"
|
|
4510
4510
|
}
|
|
4511
4511
|
},
|
|
4512
4512
|
{
|
|
@@ -4617,7 +4617,7 @@
|
|
|
4617
4617
|
"componentId": {
|
|
4618
4618
|
"scope": "teambit.scope",
|
|
4619
4619
|
"name": "objects",
|
|
4620
|
-
"version": "0.0.
|
|
4620
|
+
"version": "0.0.3"
|
|
4621
4621
|
}
|
|
4622
4622
|
},
|
|
4623
4623
|
{
|
|
@@ -4658,7 +4658,7 @@
|
|
|
4658
4658
|
"componentId": {
|
|
4659
4659
|
"scope": "teambit.legacy",
|
|
4660
4660
|
"name": "extension-data",
|
|
4661
|
-
"version": "0.0.
|
|
4661
|
+
"version": "0.0.5"
|
|
4662
4662
|
}
|
|
4663
4663
|
},
|
|
4664
4664
|
"modifiers": []
|
|
@@ -4761,7 +4761,7 @@
|
|
|
4761
4761
|
"componentId": {
|
|
4762
4762
|
"scope": "teambit.component",
|
|
4763
4763
|
"name": "sources",
|
|
4764
|
-
"version": "0.0.
|
|
4764
|
+
"version": "0.0.55"
|
|
4765
4765
|
}
|
|
4766
4766
|
}
|
|
4767
4767
|
]
|
|
@@ -5044,7 +5044,7 @@
|
|
|
5044
5044
|
"componentId": {
|
|
5045
5045
|
"scope": "teambit.legacy",
|
|
5046
5046
|
"name": "extension-data",
|
|
5047
|
-
"version": "0.0.
|
|
5047
|
+
"version": "0.0.5"
|
|
5048
5048
|
}
|
|
5049
5049
|
}
|
|
5050
5050
|
]
|
|
@@ -5905,7 +5905,7 @@
|
|
|
5905
5905
|
"componentId": {
|
|
5906
5906
|
"scope": "teambit.legacy",
|
|
5907
5907
|
"name": "consumer-component",
|
|
5908
|
-
"version": "0.0.
|
|
5908
|
+
"version": "0.0.4"
|
|
5909
5909
|
}
|
|
5910
5910
|
}
|
|
5911
5911
|
},
|
|
@@ -6519,7 +6519,7 @@
|
|
|
6519
6519
|
"componentId": {
|
|
6520
6520
|
"scope": "teambit.scope",
|
|
6521
6521
|
"name": "objects",
|
|
6522
|
-
"version": "0.0.
|
|
6522
|
+
"version": "0.0.3"
|
|
6523
6523
|
}
|
|
6524
6524
|
},
|
|
6525
6525
|
{
|
|
@@ -6814,7 +6814,7 @@
|
|
|
6814
6814
|
"componentId": {
|
|
6815
6815
|
"scope": "teambit.legacy",
|
|
6816
6816
|
"name": "bit-map",
|
|
6817
|
-
"version": "0.0.
|
|
6817
|
+
"version": "0.0.60"
|
|
6818
6818
|
}
|
|
6819
6819
|
},
|
|
6820
6820
|
"isOptional": true,
|
|
@@ -9178,7 +9178,7 @@
|
|
|
9178
9178
|
"componentId": {
|
|
9179
9179
|
"scope": "teambit.legacy",
|
|
9180
9180
|
"name": "extension-data",
|
|
9181
|
-
"version": "0.0.
|
|
9181
|
+
"version": "0.0.5"
|
|
9182
9182
|
}
|
|
9183
9183
|
},
|
|
9184
9184
|
"isOptional": false,
|
|
@@ -10179,7 +10179,7 @@
|
|
|
10179
10179
|
"componentId": {
|
|
10180
10180
|
"scope": "teambit.legacy",
|
|
10181
10181
|
"name": "extension-data",
|
|
10182
|
-
"version": "0.0.
|
|
10182
|
+
"version": "0.0.5"
|
|
10183
10183
|
}
|
|
10184
10184
|
}
|
|
10185
10185
|
},
|
|
@@ -10254,7 +10254,7 @@
|
|
|
10254
10254
|
"componentId": {
|
|
10255
10255
|
"scope": "teambit.legacy",
|
|
10256
10256
|
"name": "extension-data",
|
|
10257
|
-
"version": "0.0.
|
|
10257
|
+
"version": "0.0.5"
|
|
10258
10258
|
}
|
|
10259
10259
|
},
|
|
10260
10260
|
"isOptional": false,
|
|
@@ -10824,7 +10824,7 @@
|
|
|
10824
10824
|
"componentId": {
|
|
10825
10825
|
"scope": "teambit.legacy",
|
|
10826
10826
|
"name": "extension-data",
|
|
10827
|
-
"version": "0.0.
|
|
10827
|
+
"version": "0.0.5"
|
|
10828
10828
|
}
|
|
10829
10829
|
},
|
|
10830
10830
|
"isOptional": false,
|
|
@@ -10881,7 +10881,7 @@
|
|
|
10881
10881
|
"componentId": {
|
|
10882
10882
|
"scope": "teambit.component",
|
|
10883
10883
|
"name": "sources",
|
|
10884
|
-
"version": "0.0.
|
|
10884
|
+
"version": "0.0.55"
|
|
10885
10885
|
}
|
|
10886
10886
|
}
|
|
10887
10887
|
},
|
|
@@ -11275,7 +11275,7 @@
|
|
|
11275
11275
|
"_legacy": {
|
|
11276
11276
|
"scope": "teambit.workspace",
|
|
11277
11277
|
"name": "workspace",
|
|
11278
|
-
"version": "1.0.
|
|
11278
|
+
"version": "1.0.491"
|
|
11279
11279
|
},
|
|
11280
11280
|
"_scope": "teambit.workspace"
|
|
11281
11281
|
}
|
|
@@ -11486,7 +11486,7 @@
|
|
|
11486
11486
|
"_legacy": {
|
|
11487
11487
|
"scope": "teambit.workspace",
|
|
11488
11488
|
"name": "workspace",
|
|
11489
|
-
"version": "1.0.
|
|
11489
|
+
"version": "1.0.491"
|
|
11490
11490
|
},
|
|
11491
11491
|
"_scope": "teambit.workspace"
|
|
11492
11492
|
}
|
|
@@ -11944,7 +11944,7 @@
|
|
|
11944
11944
|
"_legacy": {
|
|
11945
11945
|
"scope": "teambit.workspace",
|
|
11946
11946
|
"name": "workspace",
|
|
11947
|
-
"version": "1.0.
|
|
11947
|
+
"version": "1.0.491"
|
|
11948
11948
|
},
|
|
11949
11949
|
"_scope": "teambit.workspace"
|
|
11950
11950
|
}
|
|
@@ -12100,7 +12100,7 @@
|
|
|
12100
12100
|
"_legacy": {
|
|
12101
12101
|
"scope": "teambit.workspace",
|
|
12102
12102
|
"name": "workspace",
|
|
12103
|
-
"version": "1.0.
|
|
12103
|
+
"version": "1.0.491"
|
|
12104
12104
|
},
|
|
12105
12105
|
"_scope": "teambit.workspace"
|
|
12106
12106
|
}
|
|
@@ -12236,7 +12236,7 @@
|
|
|
12236
12236
|
"_legacy": {
|
|
12237
12237
|
"scope": "teambit.workspace",
|
|
12238
12238
|
"name": "workspace",
|
|
12239
|
-
"version": "1.0.
|
|
12239
|
+
"version": "1.0.491"
|
|
12240
12240
|
},
|
|
12241
12241
|
"_scope": "teambit.workspace"
|
|
12242
12242
|
}
|
|
@@ -12461,7 +12461,7 @@
|
|
|
12461
12461
|
"componentId": {
|
|
12462
12462
|
"scope": "teambit.component",
|
|
12463
12463
|
"name": "ui/component-drawer",
|
|
12464
|
-
"version": "0.0.
|
|
12464
|
+
"version": "0.0.424"
|
|
12465
12465
|
}
|
|
12466
12466
|
},
|
|
12467
12467
|
"isOptional": false,
|
|
@@ -12486,7 +12486,7 @@
|
|
|
12486
12486
|
"componentId": {
|
|
12487
12487
|
"scope": "teambit.component",
|
|
12488
12488
|
"name": "ui/component-drawer",
|
|
12489
|
-
"version": "0.0.
|
|
12489
|
+
"version": "0.0.424"
|
|
12490
12490
|
}
|
|
12491
12491
|
},
|
|
12492
12492
|
"isOptional": false,
|
|
@@ -13200,7 +13200,7 @@
|
|
|
13200
13200
|
"componentId": {
|
|
13201
13201
|
"scope": "teambit.component",
|
|
13202
13202
|
"name": "ui/component-drawer",
|
|
13203
|
-
"version": "0.0.
|
|
13203
|
+
"version": "0.0.424"
|
|
13204
13204
|
}
|
|
13205
13205
|
},
|
|
13206
13206
|
{
|
|
@@ -13214,7 +13214,7 @@
|
|
|
13214
13214
|
"componentId": {
|
|
13215
13215
|
"scope": "teambit.component",
|
|
13216
13216
|
"name": "ui/component-drawer",
|
|
13217
|
-
"version": "0.0.
|
|
13217
|
+
"version": "0.0.424"
|
|
13218
13218
|
}
|
|
13219
13219
|
},
|
|
13220
13220
|
{
|
|
@@ -13409,7 +13409,7 @@
|
|
|
13409
13409
|
"componentId": {
|
|
13410
13410
|
"scope": "teambit.legacy",
|
|
13411
13411
|
"name": "consumer-component",
|
|
13412
|
-
"version": "0.0.
|
|
13412
|
+
"version": "0.0.4"
|
|
13413
13413
|
}
|
|
13414
13414
|
},
|
|
13415
13415
|
"isOptional": true,
|
|
@@ -14094,7 +14094,7 @@
|
|
|
14094
14094
|
"componentId": {
|
|
14095
14095
|
"scope": "teambit.component",
|
|
14096
14096
|
"name": "component-descriptor",
|
|
14097
|
-
"version": "0.0.
|
|
14097
|
+
"version": "0.0.429"
|
|
14098
14098
|
}
|
|
14099
14099
|
}
|
|
14100
14100
|
},
|
|
@@ -14395,7 +14395,7 @@
|
|
|
14395
14395
|
"_legacy": {
|
|
14396
14396
|
"scope": "teambit.workspace",
|
|
14397
14397
|
"name": "workspace",
|
|
14398
|
-
"version": "1.0.
|
|
14398
|
+
"version": "1.0.491"
|
|
14399
14399
|
},
|
|
14400
14400
|
"_scope": "teambit.workspace"
|
|
14401
14401
|
}
|
|
@@ -14657,7 +14657,7 @@
|
|
|
14657
14657
|
"componentId": {
|
|
14658
14658
|
"scope": "teambit.component",
|
|
14659
14659
|
"name": "component-issues",
|
|
14660
|
-
"version": "0.0.
|
|
14660
|
+
"version": "0.0.152"
|
|
14661
14661
|
}
|
|
14662
14662
|
},
|
|
14663
14663
|
{
|
|
@@ -14764,7 +14764,7 @@
|
|
|
14764
14764
|
"_legacy": {
|
|
14765
14765
|
"scope": "teambit.workspace",
|
|
14766
14766
|
"name": "workspace",
|
|
14767
|
-
"version": "1.0.
|
|
14767
|
+
"version": "1.0.491"
|
|
14768
14768
|
},
|
|
14769
14769
|
"_scope": "teambit.workspace"
|
|
14770
14770
|
}
|
|
@@ -15181,7 +15181,7 @@
|
|
|
15181
15181
|
"componentId": {
|
|
15182
15182
|
"scope": "teambit.legacy",
|
|
15183
15183
|
"name": "extension-data",
|
|
15184
|
-
"version": "0.0.
|
|
15184
|
+
"version": "0.0.5"
|
|
15185
15185
|
}
|
|
15186
15186
|
},
|
|
15187
15187
|
"isOptional": false,
|
|
@@ -15379,7 +15379,7 @@
|
|
|
15379
15379
|
"componentId": {
|
|
15380
15380
|
"scope": "teambit.component",
|
|
15381
15381
|
"name": "sources",
|
|
15382
|
-
"version": "0.0.
|
|
15382
|
+
"version": "0.0.55"
|
|
15383
15383
|
}
|
|
15384
15384
|
}
|
|
15385
15385
|
]
|
|
@@ -15742,7 +15742,7 @@
|
|
|
15742
15742
|
"componentId": {
|
|
15743
15743
|
"scope": "teambit.scope",
|
|
15744
15744
|
"name": "objects",
|
|
15745
|
-
"version": "0.0.
|
|
15745
|
+
"version": "0.0.3"
|
|
15746
15746
|
}
|
|
15747
15747
|
},
|
|
15748
15748
|
"isOptional": false,
|
|
@@ -15774,7 +15774,7 @@
|
|
|
15774
15774
|
"componentId": {
|
|
15775
15775
|
"scope": "teambit.component",
|
|
15776
15776
|
"name": "sources",
|
|
15777
|
-
"version": "0.0.
|
|
15777
|
+
"version": "0.0.55"
|
|
15778
15778
|
}
|
|
15779
15779
|
}
|
|
15780
15780
|
},
|
|
@@ -15828,7 +15828,7 @@
|
|
|
15828
15828
|
"componentId": {
|
|
15829
15829
|
"scope": "teambit.scope",
|
|
15830
15830
|
"name": "objects",
|
|
15831
|
-
"version": "0.0.
|
|
15831
|
+
"version": "0.0.3"
|
|
15832
15832
|
}
|
|
15833
15833
|
}
|
|
15834
15834
|
},
|
|
@@ -15897,7 +15897,7 @@
|
|
|
15897
15897
|
"componentId": {
|
|
15898
15898
|
"scope": "teambit.component",
|
|
15899
15899
|
"name": "sources",
|
|
15900
|
-
"version": "0.0.
|
|
15900
|
+
"version": "0.0.55"
|
|
15901
15901
|
}
|
|
15902
15902
|
}
|
|
15903
15903
|
},
|
|
@@ -15940,7 +15940,7 @@
|
|
|
15940
15940
|
"componentId": {
|
|
15941
15941
|
"scope": "teambit.component",
|
|
15942
15942
|
"name": "sources",
|
|
15943
|
-
"version": "0.0.
|
|
15943
|
+
"version": "0.0.55"
|
|
15944
15944
|
}
|
|
15945
15945
|
}
|
|
15946
15946
|
}
|
|
@@ -17264,7 +17264,7 @@
|
|
|
17264
17264
|
"componentId": {
|
|
17265
17265
|
"scope": "teambit.legacy",
|
|
17266
17266
|
"name": "consumer",
|
|
17267
|
-
"version": "0.0.
|
|
17267
|
+
"version": "0.0.3"
|
|
17268
17268
|
}
|
|
17269
17269
|
},
|
|
17270
17270
|
"isOptional": false,
|
|
@@ -17433,7 +17433,7 @@
|
|
|
17433
17433
|
"componentId": {
|
|
17434
17434
|
"scope": "teambit.legacy",
|
|
17435
17435
|
"name": "component-list",
|
|
17436
|
-
"version": "0.0.
|
|
17436
|
+
"version": "0.0.57"
|
|
17437
17437
|
}
|
|
17438
17438
|
},
|
|
17439
17439
|
"isOptional": true,
|
|
@@ -18364,7 +18364,7 @@
|
|
|
18364
18364
|
"componentId": {
|
|
18365
18365
|
"scope": "teambit.component",
|
|
18366
18366
|
"name": "component-issues",
|
|
18367
|
-
"version": "0.0.
|
|
18367
|
+
"version": "0.0.152"
|
|
18368
18368
|
}
|
|
18369
18369
|
},
|
|
18370
18370
|
{
|
|
@@ -19694,7 +19694,7 @@
|
|
|
19694
19694
|
"componentId": {
|
|
19695
19695
|
"scope": "teambit.scope",
|
|
19696
19696
|
"name": "objects",
|
|
19697
|
-
"version": "0.0.
|
|
19697
|
+
"version": "0.0.3"
|
|
19698
19698
|
}
|
|
19699
19699
|
}
|
|
19700
19700
|
}
|
|
@@ -20202,7 +20202,7 @@
|
|
|
20202
20202
|
"componentId": {
|
|
20203
20203
|
"scope": "teambit.legacy",
|
|
20204
20204
|
"name": "extension-data",
|
|
20205
|
-
"version": "0.0.
|
|
20205
|
+
"version": "0.0.5"
|
|
20206
20206
|
}
|
|
20207
20207
|
},
|
|
20208
20208
|
"isOptional": false,
|
|
@@ -20298,7 +20298,7 @@
|
|
|
20298
20298
|
"componentId": {
|
|
20299
20299
|
"scope": "teambit.legacy",
|
|
20300
20300
|
"name": "consumer-component",
|
|
20301
|
-
"version": "0.0.
|
|
20301
|
+
"version": "0.0.4"
|
|
20302
20302
|
}
|
|
20303
20303
|
},
|
|
20304
20304
|
{
|
|
@@ -20455,7 +20455,7 @@
|
|
|
20455
20455
|
"componentId": {
|
|
20456
20456
|
"scope": "teambit.legacy",
|
|
20457
20457
|
"name": "consumer-component",
|
|
20458
|
-
"version": "0.0.
|
|
20458
|
+
"version": "0.0.4"
|
|
20459
20459
|
}
|
|
20460
20460
|
},
|
|
20461
20461
|
"isOptional": true,
|
|
@@ -21453,7 +21453,7 @@
|
|
|
21453
21453
|
"componentId": {
|
|
21454
21454
|
"scope": "teambit.scope",
|
|
21455
21455
|
"name": "objects",
|
|
21456
|
-
"version": "0.0.
|
|
21456
|
+
"version": "0.0.3"
|
|
21457
21457
|
}
|
|
21458
21458
|
},
|
|
21459
21459
|
{
|
|
@@ -21564,7 +21564,7 @@
|
|
|
21564
21564
|
"componentId": {
|
|
21565
21565
|
"scope": "teambit.scope",
|
|
21566
21566
|
"name": "objects",
|
|
21567
|
-
"version": "0.0.
|
|
21567
|
+
"version": "0.0.3"
|
|
21568
21568
|
}
|
|
21569
21569
|
},
|
|
21570
21570
|
{
|
|
@@ -21605,7 +21605,7 @@
|
|
|
21605
21605
|
"componentId": {
|
|
21606
21606
|
"scope": "teambit.legacy",
|
|
21607
21607
|
"name": "extension-data",
|
|
21608
|
-
"version": "0.0.
|
|
21608
|
+
"version": "0.0.5"
|
|
21609
21609
|
}
|
|
21610
21610
|
},
|
|
21611
21611
|
"modifiers": []
|
|
@@ -21708,7 +21708,7 @@
|
|
|
21708
21708
|
"componentId": {
|
|
21709
21709
|
"scope": "teambit.component",
|
|
21710
21710
|
"name": "sources",
|
|
21711
|
-
"version": "0.0.
|
|
21711
|
+
"version": "0.0.55"
|
|
21712
21712
|
}
|
|
21713
21713
|
}
|
|
21714
21714
|
]
|
|
@@ -21991,7 +21991,7 @@
|
|
|
21991
21991
|
"componentId": {
|
|
21992
21992
|
"scope": "teambit.legacy",
|
|
21993
21993
|
"name": "extension-data",
|
|
21994
|
-
"version": "0.0.
|
|
21994
|
+
"version": "0.0.5"
|
|
21995
21995
|
}
|
|
21996
21996
|
}
|
|
21997
21997
|
]
|
|
@@ -22852,7 +22852,7 @@
|
|
|
22852
22852
|
"componentId": {
|
|
22853
22853
|
"scope": "teambit.legacy",
|
|
22854
22854
|
"name": "consumer-component",
|
|
22855
|
-
"version": "0.0.
|
|
22855
|
+
"version": "0.0.4"
|
|
22856
22856
|
}
|
|
22857
22857
|
}
|
|
22858
22858
|
},
|
|
@@ -23466,7 +23466,7 @@
|
|
|
23466
23466
|
"componentId": {
|
|
23467
23467
|
"scope": "teambit.scope",
|
|
23468
23468
|
"name": "objects",
|
|
23469
|
-
"version": "0.0.
|
|
23469
|
+
"version": "0.0.3"
|
|
23470
23470
|
}
|
|
23471
23471
|
},
|
|
23472
23472
|
{
|
|
@@ -23761,7 +23761,7 @@
|
|
|
23761
23761
|
"componentId": {
|
|
23762
23762
|
"scope": "teambit.legacy",
|
|
23763
23763
|
"name": "bit-map",
|
|
23764
|
-
"version": "0.0.
|
|
23764
|
+
"version": "0.0.60"
|
|
23765
23765
|
}
|
|
23766
23766
|
},
|
|
23767
23767
|
"isOptional": true,
|
|
@@ -26125,7 +26125,7 @@
|
|
|
26125
26125
|
"componentId": {
|
|
26126
26126
|
"scope": "teambit.legacy",
|
|
26127
26127
|
"name": "extension-data",
|
|
26128
|
-
"version": "0.0.
|
|
26128
|
+
"version": "0.0.5"
|
|
26129
26129
|
}
|
|
26130
26130
|
},
|
|
26131
26131
|
"isOptional": false,
|
|
@@ -27126,7 +27126,7 @@
|
|
|
27126
27126
|
"componentId": {
|
|
27127
27127
|
"scope": "teambit.legacy",
|
|
27128
27128
|
"name": "extension-data",
|
|
27129
|
-
"version": "0.0.
|
|
27129
|
+
"version": "0.0.5"
|
|
27130
27130
|
}
|
|
27131
27131
|
}
|
|
27132
27132
|
},
|
|
@@ -27201,7 +27201,7 @@
|
|
|
27201
27201
|
"componentId": {
|
|
27202
27202
|
"scope": "teambit.legacy",
|
|
27203
27203
|
"name": "extension-data",
|
|
27204
|
-
"version": "0.0.
|
|
27204
|
+
"version": "0.0.5"
|
|
27205
27205
|
}
|
|
27206
27206
|
},
|
|
27207
27207
|
"isOptional": false,
|
|
@@ -27771,7 +27771,7 @@
|
|
|
27771
27771
|
"componentId": {
|
|
27772
27772
|
"scope": "teambit.legacy",
|
|
27773
27773
|
"name": "extension-data",
|
|
27774
|
-
"version": "0.0.
|
|
27774
|
+
"version": "0.0.5"
|
|
27775
27775
|
}
|
|
27776
27776
|
},
|
|
27777
27777
|
"isOptional": false,
|
|
@@ -27828,7 +27828,7 @@
|
|
|
27828
27828
|
"componentId": {
|
|
27829
27829
|
"scope": "teambit.component",
|
|
27830
27830
|
"name": "sources",
|
|
27831
|
-
"version": "0.0.
|
|
27831
|
+
"version": "0.0.55"
|
|
27832
27832
|
}
|
|
27833
27833
|
}
|
|
27834
27834
|
},
|
|
@@ -28222,7 +28222,7 @@
|
|
|
28222
28222
|
"_legacy": {
|
|
28223
28223
|
"scope": "teambit.workspace",
|
|
28224
28224
|
"name": "workspace",
|
|
28225
|
-
"version": "1.0.
|
|
28225
|
+
"version": "1.0.491"
|
|
28226
28226
|
},
|
|
28227
28227
|
"_scope": "teambit.workspace"
|
|
28228
28228
|
}
|
|
@@ -28279,7 +28279,7 @@
|
|
|
28279
28279
|
"componentId": {
|
|
28280
28280
|
"scope": "teambit.legacy",
|
|
28281
28281
|
"name": "extension-data",
|
|
28282
|
-
"version": "0.0.
|
|
28282
|
+
"version": "0.0.5"
|
|
28283
28283
|
}
|
|
28284
28284
|
},
|
|
28285
28285
|
"isOptional": false
|
|
@@ -28330,7 +28330,7 @@
|
|
|
28330
28330
|
"componentId": {
|
|
28331
28331
|
"scope": "teambit.legacy",
|
|
28332
28332
|
"name": "extension-data",
|
|
28333
|
-
"version": "0.0.
|
|
28333
|
+
"version": "0.0.5"
|
|
28334
28334
|
}
|
|
28335
28335
|
},
|
|
28336
28336
|
"isOptional": false
|
|
@@ -29706,7 +29706,7 @@
|
|
|
29706
29706
|
"componentId": {
|
|
29707
29707
|
"scope": "teambit.legacy",
|
|
29708
29708
|
"name": "consumer",
|
|
29709
|
-
"version": "0.0.
|
|
29709
|
+
"version": "0.0.3"
|
|
29710
29710
|
}
|
|
29711
29711
|
},
|
|
29712
29712
|
{
|
|
@@ -29893,7 +29893,7 @@
|
|
|
29893
29893
|
"_legacy": {
|
|
29894
29894
|
"scope": "teambit.workspace",
|
|
29895
29895
|
"name": "workspace",
|
|
29896
|
-
"version": "1.0.
|
|
29896
|
+
"version": "1.0.491"
|
|
29897
29897
|
},
|
|
29898
29898
|
"_scope": "teambit.workspace"
|
|
29899
29899
|
}
|
|
@@ -30137,7 +30137,7 @@
|
|
|
30137
30137
|
"_legacy": {
|
|
30138
30138
|
"scope": "teambit.workspace",
|
|
30139
30139
|
"name": "workspace",
|
|
30140
|
-
"version": "1.0.
|
|
30140
|
+
"version": "1.0.491"
|
|
30141
30141
|
},
|
|
30142
30142
|
"_scope": "teambit.workspace"
|
|
30143
30143
|
}
|
|
@@ -30361,7 +30361,7 @@
|
|
|
30361
30361
|
"_legacy": {
|
|
30362
30362
|
"scope": "teambit.workspace",
|
|
30363
30363
|
"name": "workspace",
|
|
30364
|
-
"version": "1.0.
|
|
30364
|
+
"version": "1.0.491"
|
|
30365
30365
|
},
|
|
30366
30366
|
"_scope": "teambit.workspace"
|
|
30367
30367
|
}
|
|
@@ -30684,7 +30684,7 @@
|
|
|
30684
30684
|
"componentId": {
|
|
30685
30685
|
"scope": "teambit.component",
|
|
30686
30686
|
"name": "ui/component-drawer",
|
|
30687
|
-
"version": "0.0.
|
|
30687
|
+
"version": "0.0.424"
|
|
30688
30688
|
}
|
|
30689
30689
|
},
|
|
30690
30690
|
"isOptional": false,
|
|
@@ -30709,7 +30709,7 @@
|
|
|
30709
30709
|
"componentId": {
|
|
30710
30710
|
"scope": "teambit.component",
|
|
30711
30711
|
"name": "ui/component-drawer",
|
|
30712
|
-
"version": "0.0.
|
|
30712
|
+
"version": "0.0.424"
|
|
30713
30713
|
}
|
|
30714
30714
|
},
|
|
30715
30715
|
"isOptional": false,
|
|
@@ -31423,7 +31423,7 @@
|
|
|
31423
31423
|
"componentId": {
|
|
31424
31424
|
"scope": "teambit.component",
|
|
31425
31425
|
"name": "ui/component-drawer",
|
|
31426
|
-
"version": "0.0.
|
|
31426
|
+
"version": "0.0.424"
|
|
31427
31427
|
}
|
|
31428
31428
|
},
|
|
31429
31429
|
{
|
|
@@ -31437,7 +31437,7 @@
|
|
|
31437
31437
|
"componentId": {
|
|
31438
31438
|
"scope": "teambit.component",
|
|
31439
31439
|
"name": "ui/component-drawer",
|
|
31440
|
-
"version": "0.0.
|
|
31440
|
+
"version": "0.0.424"
|
|
31441
31441
|
}
|
|
31442
31442
|
},
|
|
31443
31443
|
{
|
|
@@ -32085,7 +32085,7 @@
|
|
|
32085
32085
|
"componentId": {
|
|
32086
32086
|
"scope": "teambit.legacy",
|
|
32087
32087
|
"name": "consumer-component",
|
|
32088
|
-
"version": "0.0.
|
|
32088
|
+
"version": "0.0.4"
|
|
32089
32089
|
}
|
|
32090
32090
|
},
|
|
32091
32091
|
"isOptional": true,
|
|
@@ -32932,7 +32932,7 @@
|
|
|
32932
32932
|
"componentId": {
|
|
32933
32933
|
"scope": "teambit.component",
|
|
32934
32934
|
"name": "component-descriptor",
|
|
32935
|
-
"version": "0.0.
|
|
32935
|
+
"version": "0.0.429"
|
|
32936
32936
|
}
|
|
32937
32937
|
}
|
|
32938
32938
|
},
|
|
@@ -33380,7 +33380,7 @@
|
|
|
33380
33380
|
"componentId": {
|
|
33381
33381
|
"scope": "teambit.component",
|
|
33382
33382
|
"name": "component-issues",
|
|
33383
|
-
"version": "0.0.
|
|
33383
|
+
"version": "0.0.152"
|
|
33384
33384
|
}
|
|
33385
33385
|
},
|
|
33386
33386
|
{
|
|
@@ -33487,7 +33487,7 @@
|
|
|
33487
33487
|
"_legacy": {
|
|
33488
33488
|
"scope": "teambit.workspace",
|
|
33489
33489
|
"name": "workspace",
|
|
33490
|
-
"version": "1.0.
|
|
33490
|
+
"version": "1.0.491"
|
|
33491
33491
|
},
|
|
33492
33492
|
"_scope": "teambit.workspace"
|
|
33493
33493
|
}
|
|
@@ -33747,7 +33747,7 @@
|
|
|
33747
33747
|
"componentId": {
|
|
33748
33748
|
"scope": "teambit.legacy",
|
|
33749
33749
|
"name": "extension-data",
|
|
33750
|
-
"version": "0.0.
|
|
33750
|
+
"version": "0.0.5"
|
|
33751
33751
|
}
|
|
33752
33752
|
},
|
|
33753
33753
|
"isOptional": false,
|
|
@@ -33945,7 +33945,7 @@
|
|
|
33945
33945
|
"componentId": {
|
|
33946
33946
|
"scope": "teambit.component",
|
|
33947
33947
|
"name": "sources",
|
|
33948
|
-
"version": "0.0.
|
|
33948
|
+
"version": "0.0.55"
|
|
33949
33949
|
}
|
|
33950
33950
|
}
|
|
33951
33951
|
]
|
|
@@ -34703,7 +34703,7 @@
|
|
|
34703
34703
|
"componentId": {
|
|
34704
34704
|
"scope": "teambit.scope",
|
|
34705
34705
|
"name": "objects",
|
|
34706
|
-
"version": "0.0.
|
|
34706
|
+
"version": "0.0.3"
|
|
34707
34707
|
}
|
|
34708
34708
|
},
|
|
34709
34709
|
"isOptional": false,
|
|
@@ -34735,7 +34735,7 @@
|
|
|
34735
34735
|
"componentId": {
|
|
34736
34736
|
"scope": "teambit.component",
|
|
34737
34737
|
"name": "sources",
|
|
34738
|
-
"version": "0.0.
|
|
34738
|
+
"version": "0.0.55"
|
|
34739
34739
|
}
|
|
34740
34740
|
}
|
|
34741
34741
|
},
|
|
@@ -34789,7 +34789,7 @@
|
|
|
34789
34789
|
"componentId": {
|
|
34790
34790
|
"scope": "teambit.scope",
|
|
34791
34791
|
"name": "objects",
|
|
34792
|
-
"version": "0.0.
|
|
34792
|
+
"version": "0.0.3"
|
|
34793
34793
|
}
|
|
34794
34794
|
}
|
|
34795
34795
|
},
|
|
@@ -34858,7 +34858,7 @@
|
|
|
34858
34858
|
"componentId": {
|
|
34859
34859
|
"scope": "teambit.component",
|
|
34860
34860
|
"name": "sources",
|
|
34861
|
-
"version": "0.0.
|
|
34861
|
+
"version": "0.0.55"
|
|
34862
34862
|
}
|
|
34863
34863
|
}
|
|
34864
34864
|
},
|
|
@@ -34901,7 +34901,7 @@
|
|
|
34901
34901
|
"componentId": {
|
|
34902
34902
|
"scope": "teambit.component",
|
|
34903
34903
|
"name": "sources",
|
|
34904
|
-
"version": "0.0.
|
|
34904
|
+
"version": "0.0.55"
|
|
34905
34905
|
}
|
|
34906
34906
|
}
|
|
34907
34907
|
}
|
|
@@ -35459,7 +35459,7 @@
|
|
|
35459
35459
|
"componentId": {
|
|
35460
35460
|
"scope": "teambit.legacy",
|
|
35461
35461
|
"name": "consumer",
|
|
35462
|
-
"version": "0.0.
|
|
35462
|
+
"version": "0.0.3"
|
|
35463
35463
|
}
|
|
35464
35464
|
},
|
|
35465
35465
|
"isOptional": false,
|
|
@@ -35618,7 +35618,7 @@
|
|
|
35618
35618
|
"componentId": {
|
|
35619
35619
|
"scope": "teambit.legacy",
|
|
35620
35620
|
"name": "consumer",
|
|
35621
|
-
"version": "0.0.
|
|
35621
|
+
"version": "0.0.3"
|
|
35622
35622
|
}
|
|
35623
35623
|
},
|
|
35624
35624
|
"isOptional": false,
|
|
@@ -35765,7 +35765,7 @@
|
|
|
35765
35765
|
"componentId": {
|
|
35766
35766
|
"scope": "teambit.legacy",
|
|
35767
35767
|
"name": "consumer",
|
|
35768
|
-
"version": "0.0.
|
|
35768
|
+
"version": "0.0.3"
|
|
35769
35769
|
}
|
|
35770
35770
|
},
|
|
35771
35771
|
"isOptional": false,
|
|
@@ -35866,7 +35866,7 @@
|
|
|
35866
35866
|
"componentId": {
|
|
35867
35867
|
"scope": "teambit.workspace",
|
|
35868
35868
|
"name": "workspace",
|
|
35869
|
-
"version": "1.0.
|
|
35869
|
+
"version": "1.0.491"
|
|
35870
35870
|
},
|
|
35871
35871
|
"taggedModuleExports": []
|
|
35872
35872
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.491/dist/workspace.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.491/dist/workspace.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/workspace",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.491",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/workspace/workspace",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.workspace",
|
|
8
8
|
"name": "workspace",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.491"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"lodash": "4.17.21",
|
|
@@ -53,70 +53,70 @@
|
|
|
53
53
|
"@teambit/explorer.ui.gallery.component-grid": "0.0.496",
|
|
54
54
|
"@teambit/scopes.scope-id": "0.0.7",
|
|
55
55
|
"@teambit/workspace.ui.empty-workspace": "0.0.508",
|
|
56
|
-
"@teambit/component": "1.0.
|
|
57
|
-
"@teambit/dependency-resolver": "1.0.
|
|
58
|
-
"@teambit/envs": "1.0.
|
|
59
|
-
"@teambit/legacy.extension-data": "0.0.
|
|
60
|
-
"@teambit/legacy.scope": "0.0.
|
|
61
|
-
"@teambit/legacy.consumer-component": "0.0.
|
|
62
|
-
"@teambit/legacy.consumer": "0.0.
|
|
63
|
-
"@teambit/legacy.bit-map": "0.0.
|
|
56
|
+
"@teambit/component": "1.0.491",
|
|
57
|
+
"@teambit/dependency-resolver": "1.0.491",
|
|
58
|
+
"@teambit/envs": "1.0.491",
|
|
59
|
+
"@teambit/legacy.extension-data": "0.0.5",
|
|
60
|
+
"@teambit/legacy.scope": "0.0.3",
|
|
61
|
+
"@teambit/legacy.consumer-component": "0.0.4",
|
|
62
|
+
"@teambit/legacy.consumer": "0.0.3",
|
|
63
|
+
"@teambit/legacy.bit-map": "0.0.60",
|
|
64
64
|
"@teambit/toolbox.fs.last-modified": "0.0.2",
|
|
65
65
|
"@teambit/toolbox.path.path": "0.0.5",
|
|
66
|
-
"@teambit/logger": "0.0.
|
|
67
|
-
"@teambit/scope.objects": "0.0.
|
|
68
|
-
"@teambit/scope": "1.0.
|
|
69
|
-
"@teambit/graph": "1.0.
|
|
70
|
-
"@teambit/cli": "0.0.
|
|
71
|
-
"@teambit/isolator": "1.0.
|
|
72
|
-
"@teambit/component-tree": "1.0.
|
|
66
|
+
"@teambit/logger": "0.0.1161",
|
|
67
|
+
"@teambit/scope.objects": "0.0.3",
|
|
68
|
+
"@teambit/scope": "1.0.491",
|
|
69
|
+
"@teambit/graph": "1.0.491",
|
|
70
|
+
"@teambit/cli": "0.0.1068",
|
|
71
|
+
"@teambit/isolator": "1.0.491",
|
|
72
|
+
"@teambit/component-tree": "1.0.491",
|
|
73
73
|
"@teambit/legacy.constants": "0.0.2",
|
|
74
74
|
"@teambit/harmony.modules.resolved-component": "0.0.499",
|
|
75
75
|
"@teambit/legacy.utils": "0.0.9",
|
|
76
|
-
"@teambit/watcher": "1.0.
|
|
77
|
-
"@teambit/aspect-loader": "1.0.
|
|
78
|
-
"@teambit/config": "0.0.
|
|
79
|
-
"@teambit/global-config": "0.0.
|
|
76
|
+
"@teambit/watcher": "1.0.491",
|
|
77
|
+
"@teambit/aspect-loader": "1.0.491",
|
|
78
|
+
"@teambit/config": "0.0.1242",
|
|
79
|
+
"@teambit/global-config": "0.0.1071",
|
|
80
80
|
"@teambit/harmony.modules.requireable-component": "0.0.499",
|
|
81
81
|
"@teambit/toolbox.modules.module-resolver": "0.0.8",
|
|
82
|
-
"@teambit/workspace.modules.node-modules-linker": "0.0.
|
|
83
|
-
"@teambit/graphql": "1.0.
|
|
84
|
-
"@teambit/bundler": "1.0.
|
|
85
|
-
"@teambit/legacy.consumer-config": "0.0.
|
|
86
|
-
"@teambit/pubsub": "1.0.
|
|
87
|
-
"@teambit/ui": "1.0.
|
|
88
|
-
"@teambit/variants": "0.0.
|
|
89
|
-
"@teambit/component-issues": "0.0.
|
|
90
|
-
"@teambit/component.sources": "0.0.
|
|
82
|
+
"@teambit/workspace.modules.node-modules-linker": "0.0.231",
|
|
83
|
+
"@teambit/graphql": "1.0.491",
|
|
84
|
+
"@teambit/bundler": "1.0.491",
|
|
85
|
+
"@teambit/legacy.consumer-config": "0.0.3",
|
|
86
|
+
"@teambit/pubsub": "1.0.491",
|
|
87
|
+
"@teambit/ui": "1.0.491",
|
|
88
|
+
"@teambit/variants": "0.0.1335",
|
|
89
|
+
"@teambit/component-issues": "0.0.152",
|
|
90
|
+
"@teambit/component.sources": "0.0.55",
|
|
91
91
|
"@teambit/harmony.modules.in-memory-cache": "0.0.4",
|
|
92
|
-
"@teambit/legacy.component-list": "0.0.
|
|
93
|
-
"@teambit/legacy.scope-api": "0.0.
|
|
94
|
-
"@teambit/scope.network": "0.0.
|
|
95
|
-
"@teambit/scope.remotes": "0.0.
|
|
92
|
+
"@teambit/legacy.component-list": "0.0.57",
|
|
93
|
+
"@teambit/legacy.scope-api": "0.0.58",
|
|
94
|
+
"@teambit/scope.network": "0.0.3",
|
|
95
|
+
"@teambit/scope.remotes": "0.0.3",
|
|
96
96
|
"@teambit/toolbox.path.is-path-inside": "0.0.497",
|
|
97
97
|
"@teambit/workspace.modules.match-pattern": "0.0.506",
|
|
98
|
-
"@teambit/component.ui.component-drawer": "0.0.
|
|
99
|
-
"@teambit/lanes.hooks.use-lane-components": "0.0.
|
|
98
|
+
"@teambit/component.ui.component-drawer": "0.0.424",
|
|
99
|
+
"@teambit/lanes.hooks.use-lane-components": "0.0.274",
|
|
100
100
|
"@teambit/lanes.hooks.use-lanes": "0.0.276",
|
|
101
101
|
"@teambit/ui-foundation.ui.side-bar": "0.0.891",
|
|
102
|
-
"@teambit/command-bar": "1.0.
|
|
102
|
+
"@teambit/command-bar": "1.0.491",
|
|
103
103
|
"@teambit/component.ui.component-filters.component-filter-context": "0.0.231",
|
|
104
104
|
"@teambit/component.ui.component-filters.deprecate-filter": "0.0.229",
|
|
105
105
|
"@teambit/component.ui.component-filters.env-filter": "0.0.242",
|
|
106
106
|
"@teambit/component.ui.component-filters.show-main-filter": "0.0.222",
|
|
107
|
-
"@teambit/sidebar": "1.0.
|
|
107
|
+
"@teambit/sidebar": "1.0.491",
|
|
108
108
|
"@teambit/ui-foundation.ui.react-router.slot-router": "0.0.513",
|
|
109
109
|
"@teambit/harmony.modules.concurrency": "0.0.3",
|
|
110
110
|
"@teambit/toolbox.promise.map-pool": "0.0.2",
|
|
111
111
|
"@teambit/workspace.ui.use-workspace-mode": "0.0.2",
|
|
112
|
-
"@teambit/component-descriptor": "0.0.
|
|
113
|
-
"@teambit/deprecation": "1.0.
|
|
112
|
+
"@teambit/component-descriptor": "0.0.429",
|
|
113
|
+
"@teambit/deprecation": "1.0.491",
|
|
114
114
|
"@teambit/ui-foundation.ui.buttons.collapser": "0.0.225",
|
|
115
115
|
"@teambit/workspace.ui.preserve-workspace-mode": "0.0.2",
|
|
116
116
|
"@teambit/cloud.hooks.use-cloud-scopes": "0.0.5",
|
|
117
117
|
"@teambit/design.ui.tooltip": "0.0.372",
|
|
118
|
-
"@teambit/preview.ui.preview-placeholder": "0.0.
|
|
119
|
-
"@teambit/workspace.ui.workspace-component-card": "0.0.
|
|
118
|
+
"@teambit/preview.ui.preview-placeholder": "0.0.530",
|
|
119
|
+
"@teambit/workspace.ui.workspace-component-card": "0.0.538"
|
|
120
120
|
},
|
|
121
121
|
"devDependencies": {
|
|
122
122
|
"@types/lodash": "4.14.165",
|
|
@@ -136,8 +136,7 @@
|
|
|
136
136
|
"@apollo/client": "^3.6.0",
|
|
137
137
|
"react": "^17.0.0 || ^18.0.0",
|
|
138
138
|
"react-router-dom": "^6.16.0",
|
|
139
|
-
"@types/react": "^17.0.73"
|
|
140
|
-
"@teambit/legacy": "1.0.624"
|
|
139
|
+
"@types/react": "^17.0.73"
|
|
141
140
|
},
|
|
142
141
|
"license": "Apache-2.0",
|
|
143
142
|
"optionalDependencies": {},
|