@teambit/bit 1.6.137 → 1.6.139
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.
- package/artifacts/__bit_junit.xml +1 -1
- package/artifacts/preview/teambit_harmony_bit-preview.js +1 -1
- package/artifacts/schema.json +6 -6
- package/dist/load-bit.js +1 -6
- package/dist/load-bit.js.map +1 -1
- package/dist/{preview-1713496942811.js → preview-1713669572180.js} +2 -2
- package/package.json +99 -99
|
@@ -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.harmony/bit@1.6.
|
|
3
|
+
<testsuite name="teambit.harmony/bit@1.6.139" tests="0" failures="0" errors="0" skipped="0"/>
|
|
4
4
|
</testsuites>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see teambit_harmony_bit-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.harmony/bit-preview"]=t():e["teambit.harmony/bit-preview"]=t()}(self,(()=>(()=>{var e={95154:(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 i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)&&n.length){var a=r.apply(null,n);a&&e.push(a)}else if("object"===i)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)}()},69920:(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 i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=r.apply(null,n);a&&e.push(a)}}else if("object"===i)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)}()},34368:(e,t)=>{"use strict";var n=Object.prototype.hasOwnProperty;function o(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function r(e){try{return encodeURIComponent(e)}catch(e){return null}}t.stringify=function(e,t){t=t||"";var o,i,a=[];for(i in"string"!=typeof t&&(t="?"),e)if(n.call(e,i)){if((o=e[i])||null!=o&&!isNaN(o)||(o=""),i=r(i),o=r(o),null===i||null===o)continue;a.push(i+"="+o)}return a.length?t+a.join("&"):""},t.parse=function(e){for(var t,n=/([^=?#&]+)=?([^&]*)/g,r={};t=n.exec(e);){var i=o(t[1]),a=o(t[2]);null===i||null===a||i in r||(r[i]=a)}return r}},97529:e=>{"use strict";e.exports=function(e,t){if(t=t.split(":")[0],!(e=+e))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},85315:(e,t,n)=>{"use strict";var o=n(97529),r=n(34368),i=/^[A-Za-z][A-Za-z0-9+-.]*:[\\/]+/,a=/^([a-z][a-z0-9.+-]*:)?([\\/]{1,})?([\S\s]*)/i,s=new RegExp("^[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]+");function u(e){return(e||"").toString().replace(s,"")}var c=[["#","hash"],["?","query"],function(e){return e.replace("\\","/")},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],l={hash:1,query:1};function p(e){var t,o=("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{}).location||{},r={},a=typeof(e=e||o);if("blob:"===e.protocol)r=new f(unescape(e.pathname),{});else if("string"===a)for(t in r=new f(e,{}),l)delete r[t];else if("object"===a){for(t in e)t in l||(r[t]=e[t]);void 0===r.slashes&&(r.slashes=i.test(e.href))}return r}function d(e){e=u(e);var t=a.exec(e);return{protocol:t[1]?t[1].toLowerCase():"",slashes:!!(t[2]&&t[2].length>=2),rest:t[2]&&1===t[2].length?"/"+t[3]:t[3]}}function f(e,t,n){if(e=u(e),!(this instanceof f))return new f(e,t,n);var i,a,s,l,m,b,_=c.slice(),h=typeof t,y=this,v=0;for("object"!==h&&"string"!==h&&(n=t,t=null),n&&"function"!=typeof n&&(n=r.parse),t=p(t),i=!(a=d(e||"")).protocol&&!a.slashes,y.slashes=a.slashes||i&&t.slashes,y.protocol=a.protocol||t.protocol||"",e=a.rest,a.slashes||(_[3]=[/(.*)/,"pathname"]);v<_.length;v++)"function"!=typeof(l=_[v])?(s=l[0],b=l[1],s!=s?y[b]=e:"string"==typeof s?~(m=e.indexOf(s))&&("number"==typeof l[2]?(y[b]=e.slice(0,m),e=e.slice(m+l[2])):(y[b]=e.slice(m),e=e.slice(0,m))):(m=s.exec(e))&&(y[b]=m[1],e=e.slice(0,m.index)),y[b]=y[b]||i&&l[3]&&t[b]||"",l[4]&&(y[b]=y[b].toLowerCase())):e=l(e);n&&(y.query=n(y.query)),i&&t.slashes&&"/"!==y.pathname.charAt(0)&&(""!==y.pathname||""!==t.pathname)&&(y.pathname=function(e,t){if(""===e)return t;for(var n=(t||"/").split("/").slice(0,-1).concat(e.split("/")),o=n.length,r=n[o-1],i=!1,a=0;o--;)"."===n[o]?n.splice(o,1):".."===n[o]?(n.splice(o,1),a++):a&&(0===o&&(i=!0),n.splice(o,1),a--);return i&&n.unshift(""),"."!==r&&".."!==r||n.push(""),n.join("/")}(y.pathname,t.pathname)),"/"!==y.pathname.charAt(0)&&y.hostname&&(y.pathname="/"+y.pathname),o(y.port,y.protocol)||(y.host=y.hostname,y.port=""),y.username=y.password="",y.auth&&(l=y.auth.split(":"),y.username=l[0]||"",y.password=l[1]||""),y.origin=y.protocol&&y.host&&"file:"!==y.protocol?y.protocol+"//"+y.host:"null",y.href=y.toString()}f.prototype={set:function(e,t,n){var i=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(n||r.parse)(t)),i[e]=t;break;case"port":i[e]=t,o(t,i.protocol)?t&&(i.host=i.hostname+":"+t):(i.host=i.hostname,i[e]="");break;case"hostname":i[e]=t,i.port&&(t+=":"+i.port),i.host=t;break;case"host":i[e]=t,/:\d+$/.test(t)?(t=t.split(":"),i.port=t.pop(),i.hostname=t.join(":")):(i.hostname=t,i.port="");break;case"protocol":i.protocol=t.toLowerCase(),i.slashes=!n;break;case"pathname":case"hash":if(t){var a="pathname"===e?"/":"#";i[e]=t.charAt(0)!==a?a+t:t}else i[e]=t;break;default:i[e]=t}for(var s=0;s<c.length;s++){var u=c[s];u[4]&&(i[u[1]]=i[u[1]].toLowerCase())}return i.origin=i.protocol&&i.host&&"file:"!==i.protocol?i.protocol+"//"+i.host:"null",i.href=i.toString(),i},toString:function(e){e&&"function"==typeof e||(e=r.stringify);var t,n=this,o=n.protocol;o&&":"!==o.charAt(o.length-1)&&(o+=":");var i=o+(n.slashes?"//":"");return n.username&&(i+=n.username,n.password&&(i+=":"+n.password),i+="@"),i+=n.host+n.pathname,(t="object"==typeof n.query?e(n.query):n.query)&&(i+="?"!==t.charAt(0)?"?"+t:t),n.hash&&(i+=n.hash),i}},f.extractProtocol=d,f.location=p,f.trimLeft=u,f.qs=r,e.exports=f},8304: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 i=r(n(41594)),a=r(n(95154)),s=r(n(69081));function u(e){var{alt:t,className:n,fullWidth:r}=e,u=o(e,["alt","className","fullWidth"]);return i.default.createElement("img",Object.assign({"data-bit-id":"teambit.base-ui/elements/image",alt:t},u,{className:a.default(s.default.image,r&&s.default.fullWidth,n)}))}u.__bit_component={id:"teambit.base-ui/elements/image@1.0.0",homepage:"https://bit.dev/teambit/base-ui/elements/image",exported:!0},t.BaseImage=u},55341: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(8304),t)},20035: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.CenterColumn=void 0;const i=r(n(41594)),a=r(n(95154)),s=r(n(64647));function u(e){var{children:t,className:n}=e,r=o(e,["children","className"]);return i.default.createElement("div",Object.assign({className:(0,a.default)(s.default.centerColumn,n)},r),t)}u.__bit_component={id:"teambit.base-ui/layout/page-frame@1.0.2",homepage:"https://bit.dev/teambit/base-ui/layout/page-frame",exported:!0},t.CenterColumn=u},68593:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CenterColumn=t.WideColumn=t.textColumn=t.wideColumn=t.centerColumn=void 0;const r=o(n(64647));t.centerColumn=r.default.centerColumn,t.wideColumn=r.default.wideColumn,t.textColumn=r.default.textColumn;var i=n(68709);Object.defineProperty(t,"WideColumn",{enumerable:!0,get:function(){return i.WideColumn}});var a=n(20035);Object.defineProperty(t,"CenterColumn",{enumerable:!0,get:function(){return a.CenterColumn}})},68709: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.WideColumn=void 0;const i=r(n(41594)),a=r(n(95154)),s=r(n(64647));function u(e){var{children:t,className:n}=e,r=o(e,["children","className"]);return i.default.createElement("div",Object.assign({className:(0,a.default)(s.default.wideColumn,n)},r),t)}u.__bit_component={id:"teambit.base-ui/layout/page-frame@1.0.2",homepage:"https://bit.dev/teambit/base-ui/layout/page-frame",exported:!0},t.WideColumn=u},67548:function(e,t,n){"use strict";var o={id:"teambit.base-ui/routing/compare-url@1.0.0",homepage:"https://bit.dev/teambit/base-ui/routing/compare-url",exported:!0},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.compareUrl=void 0;const i=r(n(85315));function a(e,t,{exact:n,strict:o}={}){if(e===t)return!0;o||(e=e.replace(/\/(?=[?#]|$)/,""),t=t.replace(/\/(?=[?#]|$)/,""));const r=i.default(e),a=i.default(t),l=s(r,a),p=!n||u(r,a),d=!o||c(r,a);return l&&p&&d}function s(e,t){return(!t.protocol||t.protocol===e.protocol)&&(!t.hostname||t.hostname===e.hostname)&&(!t.port||t.port===e.port)&&(!t.pathname||e.pathname.startsWith(t.pathname))&&(!t.query||l(t.query,e.query))&&(!t.hash||t.hash===e.hash)&&(!t.password||t.password===e.password)&&(!t.username||t.username===e.username)}function u(e,t){return(!t.pathname||e.pathname===t.pathname)&&(!t.query||l(e.query,t.query))}function c(e,t){return!t.pathname||e.pathname.endsWith("/")===t.pathname.endsWith("/")}function l(e,t){return Object.keys(e).every((n=>e[n]===t[n]))}a.__bit_component=o,t.compareUrl=a,s.__bit_component=o,u.__bit_component=o,c.__bit_component=o,l.__bit_component=o},84019:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compareUrl=void 0;var o=n(67548);Object.defineProperty(t,"compareUrl",{enumerable:!0,get:function(){return o.compareUrl}})},8169:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Link=void 0;var o=n(19557);Object.defineProperty(t,"Link",{enumerable:!0,get:function(){return o.Link}})},19557:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Link=void 0;const r=o(n(41594)),i=n(73505);function a(e){const t=i.useRouting().Link;return r.default.createElement(t,Object.assign({},e))}a.__bit_component={id:"teambit.base-ui/routing/link@1.0.0",homepage:"https://bit.dev/teambit/base-ui/routing/link",exported:!0},t.Link=a},57075:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NativeLink=void 0;var o=n(99421);Object.defineProperty(t,"NativeLink",{enumerable:!0,get:function(){return o.NativeLink}})},99421: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return r(t,e),t},a=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};Object.defineProperty(t,"__esModule",{value:!0}),t.NativeLink=void 0;const s=i(n(41594)),u={rel:"noopener",target:"_blank"};function c(e){var{href:t="",external:n,replace:o,onClick:r}=e,i=a(e,["href","external","replace","onClick"]);const c=n?u:{},l=s.useCallback((e=>{const i=null==r?void 0:r(e);return e.defaultPrevented||!o||n||(e.preventDefault(),window.location.replace(t)),i}),[t,o,r]);return s.default.createElement("a",Object.assign({},i,c,{onClick:l,href:t}))}c.__bit_component={id:"teambit.base-ui/routing/native-link@1.0.0",homepage:"https://bit.dev/teambit/base-ui/routing/native-link",exported:!0},t.NativeLink=c},13979:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NativeNavLink=void 0;var o=n(32589);Object.defineProperty(t,"NativeNavLink",{enumerable:!0,get:function(){return o.NativeNavLink}})},32589: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return r(t,e),t},a=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},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NativeNavLink=void 0;const u=i(n(41594)),c=s(n(95154)),l=n(57075),p=n(84019),d=n(92841);function f(e){var{activeClassName:t,activeStyle:n,isActive:o,exact:r,strict:i,style:s,className:f}=e,m=a(e,["activeClassName","activeStyle","isActive","exact","strict","style","className"]);const b=d.isBrowser?window.location.href:"/",_=u.useMemo((()=>m.href&&p.compareUrl(b,m.href)),[r,i,b,m.href]),h=(null==o?void 0:o())||_,y=u.useMemo((()=>h&&n?Object.assign(Object.assign({},s),n):s),[h,s]);return u.default.createElement(l.NativeLink,Object.assign({},m,{style:y,className:c.default(f,h&&t)}))}f.__bit_component={id:"teambit.base-ui/routing/native-nav-link@1.0.0",homepage:"https://bit.dev/teambit/base-ui/routing/native-nav-link",exported:!0},t.NativeNavLink=f},73505:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useLocation=t.useRouting=t.RoutingProvider=void 0;var o=n(25805);Object.defineProperty(t,"RoutingProvider",{enumerable:!0,get:function(){return o.RoutingProvider}}),Object.defineProperty(t,"useRouting",{enumerable:!0,get:function(){return o.useRouting}}),Object.defineProperty(t,"useLocation",{enumerable:!0,get:function(){return o.useLocation}})},25805:function(e,t,n){"use strict";var o={id:"teambit.base-ui/routing/routing-provider@1.0.0",homepage:"https://bit.dev/teambit/base-ui/routing/routing-provider",exported:!0},r=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]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.useLocation=t.useRouting=t.RoutingProvider=void 0;const s=a(n(41594)),u=n(57075),c=n(13979),l=n(92841),p={pathname:"/",search:"",hash:""},d={Link:u.NativeLink,NavLink:c.NativeNavLink,useLocation:()=>l.isBrowser?window.location:p},f=s.createContext(d);function m({value:e,children:t}){return s.default.createElement(f.Provider,{value:e},t)}function b(){return s.useContext(f)}function _(){return b().useLocation()}m.__bit_component=o,t.RoutingProvider=m,b.__bit_component=o,t.useRouting=b,_.__bit_component=o,t.useLocation=_},17889: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.Heading=void 0;const i=r(n(41594));function a(e){var{element:t="h1"}=e,n=o(e,["element"]);const r=t;return i.default.createElement(r,Object.assign({"data-bit-id":"teambit.base-ui/text/heading"},n))}a.__bit_component={id:"teambit.base-ui/text/heading@1.0.4",homepage:"https://bit.dev/teambit/base-ui/text/heading",exported:!0},t.Heading=a},38291:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Heading=void 0;var o=n(17889);Object.defineProperty(t,"Heading",{enumerable:!0,get:function(){return o.Heading}})},92841:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBrowser=void 0;var o=n(87272);Object.defineProperty(t,"isBrowser",{enumerable:!0,get:function(){return o.isBrowser}})},87272:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBrowser=void 0,t.isBrowser="undefined"!=typeof window},98613:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.bitComponent=void 0;const r=o(n(41594)),i=n(30130),a=o(n(52468));t.bitComponent=[{id:"teambit.bit/bit",href:"https://bit.cloud/teambit/harmony/bit",description:"Bit is an open-source component for composing component driven software",envIcon:"https://static.bit.dev/extensions-icons/default.svg",preview:r.default.createElement("div",{className:a.default.logo},r.default.createElement(i.Logo,{customSize:64}))}]},85264:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WhatIsBitQuickStart=t.Size=t.WhatIsBit=t.default=t.WhatIsBitLong=void 0;var r=n(70850);Object.defineProperty(t,"WhatIsBitLong",{enumerable:!0,get:function(){return o(r).default}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o(r).default}});var i=n(4095);Object.defineProperty(t,"WhatIsBit",{enumerable:!0,get:function(){return i.WhatIsBit}}),Object.defineProperty(t,"Size",{enumerable:!0,get:function(){return i.Size}});var a=n(48788);Object.defineProperty(t,"WhatIsBitQuickStart",{enumerable:!0,get:function(){return a.WhatIsBitQuickStart}})},60699:(e,t,n)=>{"use strict";var o={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=d,a(n(41594));var r=n(5016),i=["components"];function a(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():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},s.apply(this,arguments)}function u(e,t){if(null==e)return{};var n,o,r=c(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}a.__bit_component=o,s.__bit_component=o,u.__bit_component=o,c.__bit_component=o;var l={},p="wrapper";function d(e){var t=e.components,n=u(e,i);return(0,r.mdx)(p,s({},l,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("p",null,"Bit does not prescribe how to build your entire application. It helps you define and compose components and allows for every component to adopt the dev tools that best fit its nature.\nA React component is likely to be compiled, tested and perhaps even deployed using a composition of tools different than the one a backend-service component, or a generic function, may use.\nBit comes with native support in various dev tools like TypeScript, Babel, Jest, Webpack, ESLint, and ready made development environments for React, NodeJS, Angular and more. New tools can be easily integrated by adding one more component into Bit!"))}d.__bit_component=o,d.isMDXComponent=!0},96737:(e,t,n)=>{"use strict";var o={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=d,a(n(41594));var r=n(5016),i=["components"];function a(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():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},s.apply(this,arguments)}function u(e,t){if(null==e)return{};var n,o,r=c(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}a.__bit_component=o,s.__bit_component=o,u.__bit_component=o,c.__bit_component=o;var l={},p="wrapper";function d(e){var t=e.components,n=u(e,i);return(0,r.mdx)(p,s({},l,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("p",null,"Bit does not prescribe how to build your entire application. It helps you define and compose components and allows for every component to adopt the dev tools that best fit its nature.\nA React component is likely to be compiled, tested and perhaps even deployed using a composition of tools different than the one a backend-service component, or a generic function, may use.\nBit comes with native support in various dev tools like TypeScript, Babel, Jest, Webpack, ESLint, and ready made development environments for React, NodeJS, Angular and more. New tools can be easily integrated by adding one more component into Bit!"))}d.__bit_component=o,d.isMDXComponent=!0},45999:(e,t,n)=>{"use strict";var o={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=d,a(n(41594));var r=n(5016),i=["components"];function a(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():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},s.apply(this,arguments)}function u(e,t){if(null==e)return{};var n,o,r=c(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}a.__bit_component=o,s.__bit_component=o,u.__bit_component=o,c.__bit_component=o;var l={},p="wrapper";function d(e){var t=e.components,n=u(e,i);return(0,r.mdx)(p,s({},l,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("h3",null,"What is Bit?"),(0,r.mdx)("p",null,"Bit is an open-source tool for composing component-driven software."))}d.__bit_component=o,d.isMDXComponent=!0},48788:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WhatIsBitQuickStart=void 0;const r=o(n(41594)),i=n(59150),a=n(68593),s=n(24223),u=o(n(96737)),c=o(n(60699)),l=o(n(45999)),p=n(98613),d=o(n(69785)),f=()=>r.default.createElement(a.WideColumn,null,r.default.createElement(l.default,null),r.default.createElement(i.LeftRight,{className:d.default.leftRight,left:r.default.createElement(u.default,null),right:r.default.createElement(s.ComponentCardGroup,{components:p.bitComponent})}),r.default.createElement(c.default,null));f.__bit_component={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0},t.WhatIsBitQuickStart=f},35201:(e,t,n)=>{"use strict";var o={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=_,l(n(41594));var r=n(5016),i=n(24223),a=l(n(27096)),s=n(98613),u=l(n(52468)),c=["components"];function l(e){return e&&e.__esModule?e:{default:e}}function p(){return p=Object.assign?Object.assign.bind():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},p.apply(this,arguments)}function d(e,t){if(null==e)return{};var n,o,r=f(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[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={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}l.__bit_component=o,p.__bit_component=o,d.__bit_component=o,f.__bit_component=o;var m={},b="wrapper";function _(e){var t=e.components,n=d(e,c);return(0,r.mdx)(b,p({},m,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("p",null,"Bit is an open-source tool for composing component-driven software."),(0,r.mdx)(i.ComponentCardGroup,{components:s.bitComponent,className:u.default.bitCard,mdxType:"ComponentCardGroup"}),(0,r.mdx)("br",null),(0,r.mdx)(a.default,{components:s.bitComponent,mdxType:"WhatIsBitSmall"}),(0,r.mdx)("p",null,"Bit does not prescribe how to build your entire application. It helps you define and compose components and allows for every component to adopt the dev tools that best fit its nature.\nA React component is likely to be compiled, tested and perhaps even deployed using a composition of tools different than the one a backend-service component, or a generic function, may use.\nBit offers native support for various dev tools like ",(0,r.mdx)("a",{parentName:"p",href:"/tools/typescript"},"TypeScript"),", ",(0,r.mdx)("a",{parentName:"p",href:"/tools/babel"},"Babel"),", ",(0,r.mdx)("a",{parentName:"p",href:"/tools/jest"},"Jest"),", ",(0,r.mdx)("a",{parentName:"p",href:"/tools/webpack"},"Webpack"),", ",(0,r.mdx)("a",{parentName:"p",href:"/tools/eslint"},"ESLint")," and\nready made development environments for ",(0,r.mdx)("a",{parentName:"p",href:"/frameworks/react"},"React"),", ",(0,r.mdx)("a",{parentName:"p",href:"/frameworks/node"},"NodeJS"),", ",(0,r.mdx)("a",{parentName:"p",href:"/envs/angular"},"Angular")," and more. New tools can be easily integrated by\nextending Bit with one more component."))}_.__bit_component=o,_.isMDXComponent=!0},27096:(e,t,n)=>{"use strict";var o={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=d,a(n(41594));var r=n(5016),i=["components"];function a(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():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},s.apply(this,arguments)}function u(e,t){if(null==e)return{};var n,o,r=c(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}a.__bit_component=o,s.__bit_component=o,u.__bit_component=o,c.__bit_component=o;var l={},p="wrapper";function d(e){var t=e.components,n=u(e,i);return(0,r.mdx)(p,s({},l,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("p",null,"Bit stands at the intersection between product and engineering. ",(0,r.mdx)("strong",{parentName:"p"},"It helps you take complex product requirements, and break them down into independent,\nand reusable pieces called")," ",(0,r.mdx)("strong",{parentName:"p"},(0,r.mdx)("em",{parentName:"strong"},'"components"')),". It allows you to create components and compose them with each other. Components are described by names and APIs, and contain source code implementation.\nThey can be of different kinds like apps, pages, UI components, backend services and even content. You can ",(0,r.mdx)("a",{parentName:"p",href:"/thinking-in-components"},"think of almost anything in components"),"."),(0,r.mdx)("p",null,'It is common to think of components that function as full applications, as "large", whereas components that function as simple elements, like a \'button\', as "small".\nFor us, both types of components are "the same size", but each has a different responsibility. An app is a very concrete component. It has many dependencies and just a few (if any) dependents.\nA button, on the other hand, is very abstract. It has just a few dependencies and many dependents. Having this sort of dependents-to-dependencies ratio indicates that a component is highly-reusable.'))}d.__bit_component=o,d.isMDXComponent=!0},4095:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WhatIsBit=t.Size=void 0;const r=o(n(41594)),i=o(n(70850)),a=o(n(35201)),s=o(n(27096));var u;function c({size:e}){return e===u.SMALL?r.default.createElement(s.default,null):e===u.MEDIUM?r.default.createElement(a.default,null):r.default.createElement(i.default,null)}!function(e){e[e.SMALL=0]="SMALL",e[e.MEDIUM=1]="MEDIUM",e[e.LARGE=2]="LARGE"}(u=t.Size||(t.Size={})),c.__bit_component={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0},t.WhatIsBit=c},70850:(e,t,n)=>{"use strict";var o={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=f,s(n(41594));var r=n(5016),i=s(n(35201)),a=["components"];function s(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():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},u.apply(this,arguments)}function c(e,t){if(null==e)return{};var n,o,r=l(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function l(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}s.__bit_component=o,u.__bit_component=o,c.__bit_component=o,l.__bit_component=o;var p={},d="wrapper";function f(e){var t=e.components,n=c(e,a);return(0,r.mdx)(d,u({},p,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("h3",null,"What is Bit?"),(0,r.mdx)(i.default,{mdxType:"WhatIsBitShort"}),(0,r.mdx)("h3",null,"What can you do with Bit?"),(0,r.mdx)("p",null,"Anything is possible with Bit! We built ",(0,r.mdx)("a",{parentName:"p",href:"https://bit.dev"},"Bit")," and ",(0,r.mdx)("a",{parentName:"p",href:"https://bit.cloud"},"bit.cloud")," entirely using Bit. These are complex systems which includes infrastructure\ntools, cloud products and multiple user interfaces."),(0,r.mdx)("p",null,"People use Bit to create all kind of applications, from user interfaces with component-driven frameworks like React, Vue and Angular, to complex\nmicro-service architectures, serverless functions, CLI utilities, desktop applications, native mobile applications and even IoT. You can do with Bit about anything you can do with JS\nand even beyond."),(0,r.mdx)("h3",null,"What Bit supports?"),(0,r.mdx)("p",null,"Bit was built with TypeScript and supports it natively. It was designed to be language-agnostic, and will support other software languages in the future! For now, our development environments use TypeScript as the default compiler for JS and TS components. You can easily switch to Babel or any other compiler. Bit is completely agnostic to your tech stack."))}f.__bit_component=o,f.isMDXComponent=!0},30130:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Logo:()=>c,RecommendedSizes:()=>o});var o,r=n(41594),i=n.n(r),a=n(55341);!function(e){e[e.small=16]="small",e[e.medium=24]="medium",e[e.large=32]="large",e[e.xl=40]="xl"}(o||(o={}));const s=new URL(n(24522),n.b).toString();var u=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};function c(e){var{size:t,customSize:n,alt:o}=e,r=u(e,["size","customSize","alt"]);const c=n||t;return i().createElement(a.BaseImage,Object.assign({},r,{src:s,alt:o||"",height:c,width:c}))}c.__bit_component={id:"teambit.design/ui/brand/logo@1.96.2",homepage:"https://bit.dev/teambit/design/ui/brand/logo",exported:!0},c.defaultProps={size:o.medium,alt:"Bit"}},64912:function(e,t,n){"use strict";var o={id:"teambit.design/ui/heading@1.0.16",homepage:"https://bit.dev/teambit/design/ui/heading",exported:!0},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.H6=t.H5=t.H4=t.H3=t.H2=t.H1=void 0;const i=r(n(41594)),a=r(n(95154)),s=n(38291),u=r(n(99132)),c=r(n(71633)),l=r(n(97186));function p(e){return i.default.createElement(s.Heading,Object.assign({element:"h1"},e,{className:(0,a.default)(c.default.h1,l.default.h1,u.default[e.size||"lg"],e.className)}))}function d(e){return i.default.createElement(s.Heading,Object.assign({element:"h2"},e,{className:(0,a.default)(c.default.h2,u.default[e.size||"lg"],e.className)}))}function f(e){return i.default.createElement(s.Heading,Object.assign({element:"h3"},e,{className:(0,a.default)(c.default.h3,u.default[e.size||"md"],e.className)}))}function m(e){return i.default.createElement(s.Heading,Object.assign({element:"h4"},e,{className:(0,a.default)(c.default.h4,u.default[e.size||"sm"],e.className)}))}function b(e){return i.default.createElement(s.Heading,Object.assign({element:"h5"},e,{className:(0,a.default)(c.default.h5,u.default[e.size||"xs"],e.className)}))}function _(e){return i.default.createElement(s.Heading,Object.assign({element:"h6"},e,{className:(0,a.default)(c.default.h6,u.default[e.size||"xxs"],e.className)}))}p.__bit_component=o,t.H1=p,d.__bit_component=o,t.H2=d,f.__bit_component=o,t.H3=f,m.__bit_component=o,t.H4=m,b.__bit_component=o,t.H5=b,_.__bit_component=o,t.H6=_},32702: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(64912),t)},59150:(e,t,n)=>{"use strict";n.r(t),n.d(t,{LeftRight:()=>c});var o=n(41594),r=n.n(o),i=n(69920),a=n.n(i);const s={leftRight:"left-right_leftRight__45Eas"};var u=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};function c(e){var{left:t,right:n}=e,o=u(e,["left","right"]);return r().createElement("section",Object.assign({},o,{className:a()(s.leftRight,o.className)}),r().createElement("div",null,t),r().createElement("div",null,n))}c.__bit_component={id:"teambit.design/ui/layouts/sections/left-right@1.96.2",homepage:"https://bit.dev/teambit/design/ui/layouts/sections/left-right",exported:!0}},77619:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Ellipsis=void 0;const r=o(n(41594)),i=o(n(95154)),a=o(n(99800));function s(e){return r.default.createElement("div",Object.assign({},e,{className:(0,i.default)(e.className,a.default.ellipsisDiv)}))}s.__bit_component={id:"teambit.design/ui/styles/ellipsis@0.0.347",homepage:"https://bit.dev/teambit/design/ui/styles/ellipsis",exported:!0},t.Ellipsis=s},80974:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Ellipsis=t.ellipsis=void 0;const r=o(n(99800));t.ellipsis=r.default.ellipsis;var i=n(77619);Object.defineProperty(t,"Ellipsis",{enumerable:!0,get:function(){return i.Ellipsis}})},40739:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseComponentCard=void 0;const r=o(n(41594)),i=n(27346),a=n(66208),s=n(85570),u=n(14170);function c({id:e="",className:t,preview:n,version:o,description:c,isDeprecated:l,isVerified:p,children:d,contentClass:f}){return r.default.createElement(u.Card,{className:t},r.default.createElement(a.DeprecationSticker,{isDeprecated:l}),r.default.createElement(i.PreviewContainer,{preview:n}),r.default.createElement(s.ComponentDetails,{id:e,version:o,description:c,isVerified:p,className:f}),d)}c.__bit_component={id:"teambit.explorer/ui/gallery/base-component-card@0.0.492",homepage:"https://bit.dev/teambit/explorer/ui/gallery/base-component-card",exported:!0},t.BaseComponentCard=c},24806:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Card=void 0;const r=o(n(41594)),i=o(n(95154)),a=o(n(61027));function s({children:e,className:t}){return r.default.createElement("div",{className:(0,i.default)(a.default.componentCard,t)},e)}s.__bit_component={id:"teambit.explorer/ui/gallery/base-component-card@0.0.492",homepage:"https://bit.dev/teambit/explorer/ui/gallery/base-component-card",exported:!0},t.Card=s},14170:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Card=void 0;var o=n(24806);Object.defineProperty(t,"Card",{enumerable:!0,get:function(){return o.Card}})},34444:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DeprecationSticker=void 0;const r=o(n(41594)),i=o(n(95154)),a=o(n(5245));function s({isDeprecated:e}){return r.default.createElement("div",{className:(0,i.default)(a.default.deprecated,{[a.default.show]:e})},"deprecated")}s.__bit_component={id:"teambit.explorer/ui/gallery/base-component-card@0.0.492",homepage:"https://bit.dev/teambit/explorer/ui/gallery/base-component-card",exported:!0},t.DeprecationSticker=s},66208:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DeprecationSticker=void 0;var o=n(34444);Object.defineProperty(t,"DeprecationSticker",{enumerable:!0,get:function(){return o.DeprecationSticker}})},14128: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.ComponentDetails=void 0;const i=r(n(41594)),a=r(n(95154)),s=n(32506),u=n(80974),c=r(n(40017));function l(e){var{id:t,version:n,description:r,isVerified:l,className:p}=e,d=o(e,["id","version","description","isVerified","className"]);const f=t.split("/"),m=f.length>1&&f.slice(0,-1).join(" / "),b=f.slice(-1);return i.default.createElement("div",Object.assign({},d,{className:(0,a.default)(c.default.content,p)}),i.default.createElement("div",null,i.default.createElement("div",{className:c.default.nameSpace},m),i.default.createElement("div",{className:c.default.name},i.default.createElement("span",null,b),i.default.createElement("div",{className:c.default.versionHolder},n&&i.default.createElement(u.Ellipsis,null,"v",n),l&&i.default.createElement("img",{src:"https://static.bit.dev/extensions-icons/verified-field-badge.svg",className:c.default.img}))),i.default.createElement("div",{className:c.default.description},(0,s.ellipsis)(r||"",50))))}l.__bit_component={id:"teambit.explorer/ui/gallery/base-component-card@0.0.492",homepage:"https://bit.dev/teambit/explorer/ui/gallery/base-component-card",exported:!0},t.ComponentDetails=l},85570:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentDetails=void 0;var o=n(14128);Object.defineProperty(t,"ComponentDetails",{enumerable:!0,get:function(){return o.ComponentDetails}})},73107:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PreviewContainer=t.ComponentDetails=t.DeprecationSticker=t.Card=t.BaseComponentCard=void 0;var o=n(40739);Object.defineProperty(t,"BaseComponentCard",{enumerable:!0,get:function(){return o.BaseComponentCard}});var r=n(14170);Object.defineProperty(t,"Card",{enumerable:!0,get:function(){return r.Card}});var i=n(66208);Object.defineProperty(t,"DeprecationSticker",{enumerable:!0,get:function(){return i.DeprecationSticker}});var a=n(85570);Object.defineProperty(t,"ComponentDetails",{enumerable:!0,get:function(){return a.ComponentDetails}});var s=n(27346);Object.defineProperty(t,"PreviewContainer",{enumerable:!0,get:function(){return s.PreviewContainer}})},27346:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PreviewContainer=void 0;var o=n(30180);Object.defineProperty(t,"PreviewContainer",{enumerable:!0,get:function(){return o.PreviewContainer}})},30180: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.PreviewContainer=void 0;const i=r(n(41594)),a=r(n(95154)),s=r(n(11669));function u(e){var{preview:t,className:n}=e,r=o(e,["preview","className"]);return i.default.createElement("div",Object.assign({},r,{className:(0,a.default)(s.default.previewContainer,n)}),i.default.createElement("div",{className:(0,a.default)(s.default.preview,{[s.default.emptyPreview]:!t})},t))}u.__bit_component={id:"teambit.explorer/ui/gallery/base-component-card@0.0.492",homepage:"https://bit.dev/teambit/explorer/ui/gallery/base-component-card",exported:!0},t.PreviewContainer=u},30641: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.ComponentCardGroup=void 0;const i=r(n(41594)),a=n(32702),s=n(44674),u=n(17002);function c(e){var{title:t,components:n}=e,r=o(e,["title","components"]);return i.default.createElement("div",Object.assign({},r),t&&i.default.createElement(a.H2,null,t),i.default.createElement(s.ComponentGrid,null,n.map((e=>i.default.createElement(u.ComponentCard,Object.assign({key:e.id},e))))))}c.__bit_component={id:"teambit.explorer/ui/gallery/component-card-group@1.96.1",homepage:"https://bit.dev/teambit/explorer/ui/gallery/component-card-group",exported:!0},t.ComponentCardGroup=c},24223:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCardGroup=void 0;var o=n(30641);Object.defineProperty(t,"ComponentCardGroup",{enumerable:!0,get:function(){return o.ComponentCardGroup}})},18384:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCard=void 0;const r=o(n(41594)),i=n(8169),a=n(73107),s=o(n(63537));function u({id:e="",className:t,preview:n,version:o,description:u,envIcon:c,isDeprecated:l=!1,href:p,external:d}){return r.default.createElement(a.Card,{className:t},r.default.createElement(i.Link,{className:s.default.componentCardLink,href:p||e,external:d},r.default.createElement(a.DeprecationSticker,{isDeprecated:l}),r.default.createElement(a.PreviewContainer,{preview:n}),r.default.createElement(a.ComponentDetails,{id:e,version:o,description:u,className:s.default.content}),r.default.createElement("div",{className:s.default.bottom},r.default.createElement("div",{className:s.default.left}),r.default.createElement("img",{src:c,className:s.default.img}))))}u.__bit_component={id:"teambit.explorer/ui/gallery/component-card@0.0.495",homepage:"https://bit.dev/teambit/explorer/ui/gallery/component-card",exported:!0},t.ComponentCard=u},17002: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(18384),t)},81558: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.ComponentGrid=void 0;const i=r(n(41594)),a=r(n(95154)),s=r(n(60987));function u(e){var{children:t,className:n}=e,r=o(e,["children","className"]);return i.default.createElement("div",Object.assign({className:(0,a.default)(s.default.componentGrid,n)},r),t)}u.__bit_component={id:"teambit.explorer/ui/gallery/component-grid@0.0.486",homepage:"https://bit.dev/teambit/explorer/ui/gallery/component-grid",exported:!0},t.ComponentGrid=u},44674: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(81558),t)},78343:(e,t)=>{"use strict";function n(e,t){return e.length>t?`${e.substring(0,t)}...`:e}Object.defineProperty(t,"__esModule",{value:!0}),t.ellipsis=void 0,n.__bit_component={id:"teambit.toolbox/string/ellipsis@0.0.173",homepage:"https://bit.dev/teambit/toolbox/string/ellipsis",exported:!0},t.ellipsis=n},32506:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ellipsis=void 0;var o=n(78343);Object.defineProperty(t,"ellipsis",{enumerable:!0,get:function(){return o.ellipsis}})},92770:(e,t,n)=>{"use strict";var o={id:"teambit.harmony/bit@1.6.137",homepage:"https://bit.cloud/teambit/harmony/bit",exported:!0};function r(){const e=a(n(41594));return r=function(){return e},e}function i(){const e=n(30130);return i=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.BitLogo=void 0,r.__bit_component=o,i.__bit_component=o,a.__bit_component=o;const s=()=>r().default.createElement("div",{style:{width:"50%",margin:"auto"}},r().default.createElement(i().Logo,{customSize:64}));s.__bit_component=o,t.BitLogo=s},19494:(e,t,n)=>{"use strict";var o={id:"teambit.harmony/bit@1.6.137",homepage:"https://bit.cloud/teambit/harmony/bit",exported:!0};function r(){const e=a(n(41594));return r=function(){return e},e}function i(){const e=n(85264);return i=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}function s(){return r().default.createElement(i().WhatIsBit,null)}Object.defineProperty(t,"__esModule",{value:!0}),t.abstract=void 0,t.default=s,t.tags=void 0,r.__bit_component=o,i.__bit_component=o,a.__bit_component=o,t.tags=["components","software","composable","component-driven","collaboration","development","design","product","architecture","compounding"],t.abstract="Bit is an open source toolchain for component-driven software",s.__bit_component=o},69081:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={fullWidth:"image_fullWidth__6C+Bi"}},64647:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={centerColumn:"page-frame_centerColumn__rzqWt",wideColumn:"page-frame_wideColumn__hBSQT",textColumn:"page-frame_textColumn__LWad6"}},69785:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={}},52468:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={bitCard:"what-is-bit_bitCard__-Yg+8",logo:"what-is-bit_logo__l7QaU"}},99132:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={xxs:"heading-sizes_xxs__OAcXN",xs:"heading-sizes_xs__+fPmi",sm:"heading-sizes_sm__31fRv",md:"heading-sizes_md__IgU0z",lg:"heading-sizes_lg__JqEg2",xl:"heading-sizes_xl__MQkTK",xxl:"heading-sizes_xxl__08Vp4"}},71633:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={h1:"heading_h1__gQ2PL",h2:"heading_h2__O2NFs",h3:"heading_h3__FNkl6",h4:"heading_h4__epsy0",h5:"heading_h5__FoX9w",h6:"heading_h6__YPPR6"}},97186:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={h1:"margins_h1__JOILX"}},99800:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={ellipsis:"ellipsis_ellipsis__9lSBy",ellipsisDiv:"ellipsis_ellipsisDiv__xnIHU"}},61027:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={componentCard:"card_componentCard__XHeKX"}},5245:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={deprecated:"deprecation-sticker_deprecated__mb2KQ",show:"deprecation-sticker_show__zE+gn"}},40017:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={content:"details_content__7CCBR",nameSpace:"details_nameSpace__k5p6k",name:"details_name__Ps6zF",versionHolder:"details_versionHolder__wAcT4",img:"details_img__OZQFO",description:"details_description__h7vJZ"}},11669:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={previewContainer:"preview-container_previewContainer__DoLX4",preview:"preview-container_preview__nLphT",emptyPreview:"preview-container_emptyPreview__ldNJ4"}},63537:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={componentCardLink:"component-card_componentCardLink__aUJoq",bottom:"component-card_bottom__6vwi2",size:"component-card_size__Koppe",dot:"component-card_dot__ZInu-",img:"component-card_img__60kn9"}},60987:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={componentGrid:"component-grid_componentGrid__NS5X5"}},24522:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzU0IiBoZWlnaHQ9IjM1NCI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o8c3RvcCBzdG9wLWNvbG9yPSIjNzMzOThEIi8+CjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzU5NEE5NSIvPgo8L2xpbmVhckdyYWRpZW50Pgo8L2RlZnM+Cjwvc3ZnPgo="},5016:e=>{"use strict";e.exports=MdxJsReact},41594:e=>{"use strict";e.exports=React}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return e[o].call(i.exports,i,i.exports,n),i.exports}n.m=e,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})},n.b=document.baseURI||self.location.href;var o={};return(()=>{"use strict";n.r(o),n.d(o,{compositions:()=>r,compositions_metadata:()=>a,overview:()=>i});var e=n(92770),t=n(19494);const r=[e],i=[t],a={compositions:[{displayName:"Bit logo",identifier:"BitLogo"}]}})(),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.harmony/bit-preview"]=t():e["teambit.harmony/bit-preview"]=t()}(self,(()=>(()=>{var e={95154:(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 i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)&&n.length){var a=r.apply(null,n);a&&e.push(a)}else if("object"===i)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)}()},69920:(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 i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=r.apply(null,n);a&&e.push(a)}}else if("object"===i)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)}()},34368:(e,t)=>{"use strict";var n=Object.prototype.hasOwnProperty;function o(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function r(e){try{return encodeURIComponent(e)}catch(e){return null}}t.stringify=function(e,t){t=t||"";var o,i,a=[];for(i in"string"!=typeof t&&(t="?"),e)if(n.call(e,i)){if((o=e[i])||null!=o&&!isNaN(o)||(o=""),i=r(i),o=r(o),null===i||null===o)continue;a.push(i+"="+o)}return a.length?t+a.join("&"):""},t.parse=function(e){for(var t,n=/([^=?#&]+)=?([^&]*)/g,r={};t=n.exec(e);){var i=o(t[1]),a=o(t[2]);null===i||null===a||i in r||(r[i]=a)}return r}},97529:e=>{"use strict";e.exports=function(e,t){if(t=t.split(":")[0],!(e=+e))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},85315:(e,t,n)=>{"use strict";var o=n(97529),r=n(34368),i=/^[A-Za-z][A-Za-z0-9+-.]*:[\\/]+/,a=/^([a-z][a-z0-9.+-]*:)?([\\/]{1,})?([\S\s]*)/i,s=new RegExp("^[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]+");function u(e){return(e||"").toString().replace(s,"")}var c=[["#","hash"],["?","query"],function(e){return e.replace("\\","/")},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],l={hash:1,query:1};function p(e){var t,o=("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{}).location||{},r={},a=typeof(e=e||o);if("blob:"===e.protocol)r=new f(unescape(e.pathname),{});else if("string"===a)for(t in r=new f(e,{}),l)delete r[t];else if("object"===a){for(t in e)t in l||(r[t]=e[t]);void 0===r.slashes&&(r.slashes=i.test(e.href))}return r}function d(e){e=u(e);var t=a.exec(e);return{protocol:t[1]?t[1].toLowerCase():"",slashes:!!(t[2]&&t[2].length>=2),rest:t[2]&&1===t[2].length?"/"+t[3]:t[3]}}function f(e,t,n){if(e=u(e),!(this instanceof f))return new f(e,t,n);var i,a,s,l,m,b,_=c.slice(),h=typeof t,y=this,v=0;for("object"!==h&&"string"!==h&&(n=t,t=null),n&&"function"!=typeof n&&(n=r.parse),t=p(t),i=!(a=d(e||"")).protocol&&!a.slashes,y.slashes=a.slashes||i&&t.slashes,y.protocol=a.protocol||t.protocol||"",e=a.rest,a.slashes||(_[3]=[/(.*)/,"pathname"]);v<_.length;v++)"function"!=typeof(l=_[v])?(s=l[0],b=l[1],s!=s?y[b]=e:"string"==typeof s?~(m=e.indexOf(s))&&("number"==typeof l[2]?(y[b]=e.slice(0,m),e=e.slice(m+l[2])):(y[b]=e.slice(m),e=e.slice(0,m))):(m=s.exec(e))&&(y[b]=m[1],e=e.slice(0,m.index)),y[b]=y[b]||i&&l[3]&&t[b]||"",l[4]&&(y[b]=y[b].toLowerCase())):e=l(e);n&&(y.query=n(y.query)),i&&t.slashes&&"/"!==y.pathname.charAt(0)&&(""!==y.pathname||""!==t.pathname)&&(y.pathname=function(e,t){if(""===e)return t;for(var n=(t||"/").split("/").slice(0,-1).concat(e.split("/")),o=n.length,r=n[o-1],i=!1,a=0;o--;)"."===n[o]?n.splice(o,1):".."===n[o]?(n.splice(o,1),a++):a&&(0===o&&(i=!0),n.splice(o,1),a--);return i&&n.unshift(""),"."!==r&&".."!==r||n.push(""),n.join("/")}(y.pathname,t.pathname)),"/"!==y.pathname.charAt(0)&&y.hostname&&(y.pathname="/"+y.pathname),o(y.port,y.protocol)||(y.host=y.hostname,y.port=""),y.username=y.password="",y.auth&&(l=y.auth.split(":"),y.username=l[0]||"",y.password=l[1]||""),y.origin=y.protocol&&y.host&&"file:"!==y.protocol?y.protocol+"//"+y.host:"null",y.href=y.toString()}f.prototype={set:function(e,t,n){var i=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(n||r.parse)(t)),i[e]=t;break;case"port":i[e]=t,o(t,i.protocol)?t&&(i.host=i.hostname+":"+t):(i.host=i.hostname,i[e]="");break;case"hostname":i[e]=t,i.port&&(t+=":"+i.port),i.host=t;break;case"host":i[e]=t,/:\d+$/.test(t)?(t=t.split(":"),i.port=t.pop(),i.hostname=t.join(":")):(i.hostname=t,i.port="");break;case"protocol":i.protocol=t.toLowerCase(),i.slashes=!n;break;case"pathname":case"hash":if(t){var a="pathname"===e?"/":"#";i[e]=t.charAt(0)!==a?a+t:t}else i[e]=t;break;default:i[e]=t}for(var s=0;s<c.length;s++){var u=c[s];u[4]&&(i[u[1]]=i[u[1]].toLowerCase())}return i.origin=i.protocol&&i.host&&"file:"!==i.protocol?i.protocol+"//"+i.host:"null",i.href=i.toString(),i},toString:function(e){e&&"function"==typeof e||(e=r.stringify);var t,n=this,o=n.protocol;o&&":"!==o.charAt(o.length-1)&&(o+=":");var i=o+(n.slashes?"//":"");return n.username&&(i+=n.username,n.password&&(i+=":"+n.password),i+="@"),i+=n.host+n.pathname,(t="object"==typeof n.query?e(n.query):n.query)&&(i+="?"!==t.charAt(0)?"?"+t:t),n.hash&&(i+=n.hash),i}},f.extractProtocol=d,f.location=p,f.trimLeft=u,f.qs=r,e.exports=f},8304: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 i=r(n(41594)),a=r(n(95154)),s=r(n(69081));function u(e){var{alt:t,className:n,fullWidth:r}=e,u=o(e,["alt","className","fullWidth"]);return i.default.createElement("img",Object.assign({"data-bit-id":"teambit.base-ui/elements/image",alt:t},u,{className:a.default(s.default.image,r&&s.default.fullWidth,n)}))}u.__bit_component={id:"teambit.base-ui/elements/image@1.0.0",homepage:"https://bit.dev/teambit/base-ui/elements/image",exported:!0},t.BaseImage=u},55341: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(8304),t)},20035: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.CenterColumn=void 0;const i=r(n(41594)),a=r(n(95154)),s=r(n(64647));function u(e){var{children:t,className:n}=e,r=o(e,["children","className"]);return i.default.createElement("div",Object.assign({className:(0,a.default)(s.default.centerColumn,n)},r),t)}u.__bit_component={id:"teambit.base-ui/layout/page-frame@1.0.2",homepage:"https://bit.dev/teambit/base-ui/layout/page-frame",exported:!0},t.CenterColumn=u},68593:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CenterColumn=t.WideColumn=t.textColumn=t.wideColumn=t.centerColumn=void 0;const r=o(n(64647));t.centerColumn=r.default.centerColumn,t.wideColumn=r.default.wideColumn,t.textColumn=r.default.textColumn;var i=n(68709);Object.defineProperty(t,"WideColumn",{enumerable:!0,get:function(){return i.WideColumn}});var a=n(20035);Object.defineProperty(t,"CenterColumn",{enumerable:!0,get:function(){return a.CenterColumn}})},68709: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.WideColumn=void 0;const i=r(n(41594)),a=r(n(95154)),s=r(n(64647));function u(e){var{children:t,className:n}=e,r=o(e,["children","className"]);return i.default.createElement("div",Object.assign({className:(0,a.default)(s.default.wideColumn,n)},r),t)}u.__bit_component={id:"teambit.base-ui/layout/page-frame@1.0.2",homepage:"https://bit.dev/teambit/base-ui/layout/page-frame",exported:!0},t.WideColumn=u},67548:function(e,t,n){"use strict";var o={id:"teambit.base-ui/routing/compare-url@1.0.0",homepage:"https://bit.dev/teambit/base-ui/routing/compare-url",exported:!0},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.compareUrl=void 0;const i=r(n(85315));function a(e,t,{exact:n,strict:o}={}){if(e===t)return!0;o||(e=e.replace(/\/(?=[?#]|$)/,""),t=t.replace(/\/(?=[?#]|$)/,""));const r=i.default(e),a=i.default(t),l=s(r,a),p=!n||u(r,a),d=!o||c(r,a);return l&&p&&d}function s(e,t){return(!t.protocol||t.protocol===e.protocol)&&(!t.hostname||t.hostname===e.hostname)&&(!t.port||t.port===e.port)&&(!t.pathname||e.pathname.startsWith(t.pathname))&&(!t.query||l(t.query,e.query))&&(!t.hash||t.hash===e.hash)&&(!t.password||t.password===e.password)&&(!t.username||t.username===e.username)}function u(e,t){return(!t.pathname||e.pathname===t.pathname)&&(!t.query||l(e.query,t.query))}function c(e,t){return!t.pathname||e.pathname.endsWith("/")===t.pathname.endsWith("/")}function l(e,t){return Object.keys(e).every((n=>e[n]===t[n]))}a.__bit_component=o,t.compareUrl=a,s.__bit_component=o,u.__bit_component=o,c.__bit_component=o,l.__bit_component=o},84019:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compareUrl=void 0;var o=n(67548);Object.defineProperty(t,"compareUrl",{enumerable:!0,get:function(){return o.compareUrl}})},8169:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Link=void 0;var o=n(19557);Object.defineProperty(t,"Link",{enumerable:!0,get:function(){return o.Link}})},19557:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Link=void 0;const r=o(n(41594)),i=n(73505);function a(e){const t=i.useRouting().Link;return r.default.createElement(t,Object.assign({},e))}a.__bit_component={id:"teambit.base-ui/routing/link@1.0.0",homepage:"https://bit.dev/teambit/base-ui/routing/link",exported:!0},t.Link=a},57075:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NativeLink=void 0;var o=n(99421);Object.defineProperty(t,"NativeLink",{enumerable:!0,get:function(){return o.NativeLink}})},99421: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return r(t,e),t},a=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};Object.defineProperty(t,"__esModule",{value:!0}),t.NativeLink=void 0;const s=i(n(41594)),u={rel:"noopener",target:"_blank"};function c(e){var{href:t="",external:n,replace:o,onClick:r}=e,i=a(e,["href","external","replace","onClick"]);const c=n?u:{},l=s.useCallback((e=>{const i=null==r?void 0:r(e);return e.defaultPrevented||!o||n||(e.preventDefault(),window.location.replace(t)),i}),[t,o,r]);return s.default.createElement("a",Object.assign({},i,c,{onClick:l,href:t}))}c.__bit_component={id:"teambit.base-ui/routing/native-link@1.0.0",homepage:"https://bit.dev/teambit/base-ui/routing/native-link",exported:!0},t.NativeLink=c},13979:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NativeNavLink=void 0;var o=n(32589);Object.defineProperty(t,"NativeNavLink",{enumerable:!0,get:function(){return o.NativeNavLink}})},32589: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return r(t,e),t},a=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},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NativeNavLink=void 0;const u=i(n(41594)),c=s(n(95154)),l=n(57075),p=n(84019),d=n(92841);function f(e){var{activeClassName:t,activeStyle:n,isActive:o,exact:r,strict:i,style:s,className:f}=e,m=a(e,["activeClassName","activeStyle","isActive","exact","strict","style","className"]);const b=d.isBrowser?window.location.href:"/",_=u.useMemo((()=>m.href&&p.compareUrl(b,m.href)),[r,i,b,m.href]),h=(null==o?void 0:o())||_,y=u.useMemo((()=>h&&n?Object.assign(Object.assign({},s),n):s),[h,s]);return u.default.createElement(l.NativeLink,Object.assign({},m,{style:y,className:c.default(f,h&&t)}))}f.__bit_component={id:"teambit.base-ui/routing/native-nav-link@1.0.0",homepage:"https://bit.dev/teambit/base-ui/routing/native-nav-link",exported:!0},t.NativeNavLink=f},73505:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useLocation=t.useRouting=t.RoutingProvider=void 0;var o=n(25805);Object.defineProperty(t,"RoutingProvider",{enumerable:!0,get:function(){return o.RoutingProvider}}),Object.defineProperty(t,"useRouting",{enumerable:!0,get:function(){return o.useRouting}}),Object.defineProperty(t,"useLocation",{enumerable:!0,get:function(){return o.useLocation}})},25805:function(e,t,n){"use strict";var o={id:"teambit.base-ui/routing/routing-provider@1.0.0",homepage:"https://bit.dev/teambit/base-ui/routing/routing-provider",exported:!0},r=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]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.useLocation=t.useRouting=t.RoutingProvider=void 0;const s=a(n(41594)),u=n(57075),c=n(13979),l=n(92841),p={pathname:"/",search:"",hash:""},d={Link:u.NativeLink,NavLink:c.NativeNavLink,useLocation:()=>l.isBrowser?window.location:p},f=s.createContext(d);function m({value:e,children:t}){return s.default.createElement(f.Provider,{value:e},t)}function b(){return s.useContext(f)}function _(){return b().useLocation()}m.__bit_component=o,t.RoutingProvider=m,b.__bit_component=o,t.useRouting=b,_.__bit_component=o,t.useLocation=_},17889: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.Heading=void 0;const i=r(n(41594));function a(e){var{element:t="h1"}=e,n=o(e,["element"]);const r=t;return i.default.createElement(r,Object.assign({"data-bit-id":"teambit.base-ui/text/heading"},n))}a.__bit_component={id:"teambit.base-ui/text/heading@1.0.4",homepage:"https://bit.dev/teambit/base-ui/text/heading",exported:!0},t.Heading=a},38291:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Heading=void 0;var o=n(17889);Object.defineProperty(t,"Heading",{enumerable:!0,get:function(){return o.Heading}})},92841:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBrowser=void 0;var o=n(87272);Object.defineProperty(t,"isBrowser",{enumerable:!0,get:function(){return o.isBrowser}})},87272:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBrowser=void 0,t.isBrowser="undefined"!=typeof window},98613:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.bitComponent=void 0;const r=o(n(41594)),i=n(30130),a=o(n(52468));t.bitComponent=[{id:"teambit.bit/bit",href:"https://bit.cloud/teambit/harmony/bit",description:"Bit is an open-source component for composing component driven software",envIcon:"https://static.bit.dev/extensions-icons/default.svg",preview:r.default.createElement("div",{className:a.default.logo},r.default.createElement(i.Logo,{customSize:64}))}]},85264:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WhatIsBitQuickStart=t.Size=t.WhatIsBit=t.default=t.WhatIsBitLong=void 0;var r=n(70850);Object.defineProperty(t,"WhatIsBitLong",{enumerable:!0,get:function(){return o(r).default}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o(r).default}});var i=n(4095);Object.defineProperty(t,"WhatIsBit",{enumerable:!0,get:function(){return i.WhatIsBit}}),Object.defineProperty(t,"Size",{enumerable:!0,get:function(){return i.Size}});var a=n(48788);Object.defineProperty(t,"WhatIsBitQuickStart",{enumerable:!0,get:function(){return a.WhatIsBitQuickStart}})},60699:(e,t,n)=>{"use strict";var o={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=d,a(n(41594));var r=n(5016),i=["components"];function a(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():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},s.apply(this,arguments)}function u(e,t){if(null==e)return{};var n,o,r=c(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}a.__bit_component=o,s.__bit_component=o,u.__bit_component=o,c.__bit_component=o;var l={},p="wrapper";function d(e){var t=e.components,n=u(e,i);return(0,r.mdx)(p,s({},l,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("p",null,"Bit does not prescribe how to build your entire application. It helps you define and compose components and allows for every component to adopt the dev tools that best fit its nature.\nA React component is likely to be compiled, tested and perhaps even deployed using a composition of tools different than the one a backend-service component, or a generic function, may use.\nBit comes with native support in various dev tools like TypeScript, Babel, Jest, Webpack, ESLint, and ready made development environments for React, NodeJS, Angular and more. New tools can be easily integrated by adding one more component into Bit!"))}d.__bit_component=o,d.isMDXComponent=!0},96737:(e,t,n)=>{"use strict";var o={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=d,a(n(41594));var r=n(5016),i=["components"];function a(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():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},s.apply(this,arguments)}function u(e,t){if(null==e)return{};var n,o,r=c(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}a.__bit_component=o,s.__bit_component=o,u.__bit_component=o,c.__bit_component=o;var l={},p="wrapper";function d(e){var t=e.components,n=u(e,i);return(0,r.mdx)(p,s({},l,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("p",null,"Bit does not prescribe how to build your entire application. It helps you define and compose components and allows for every component to adopt the dev tools that best fit its nature.\nA React component is likely to be compiled, tested and perhaps even deployed using a composition of tools different than the one a backend-service component, or a generic function, may use.\nBit comes with native support in various dev tools like TypeScript, Babel, Jest, Webpack, ESLint, and ready made development environments for React, NodeJS, Angular and more. New tools can be easily integrated by adding one more component into Bit!"))}d.__bit_component=o,d.isMDXComponent=!0},45999:(e,t,n)=>{"use strict";var o={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=d,a(n(41594));var r=n(5016),i=["components"];function a(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():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},s.apply(this,arguments)}function u(e,t){if(null==e)return{};var n,o,r=c(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}a.__bit_component=o,s.__bit_component=o,u.__bit_component=o,c.__bit_component=o;var l={},p="wrapper";function d(e){var t=e.components,n=u(e,i);return(0,r.mdx)(p,s({},l,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("h3",null,"What is Bit?"),(0,r.mdx)("p",null,"Bit is an open-source tool for composing component-driven software."))}d.__bit_component=o,d.isMDXComponent=!0},48788:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WhatIsBitQuickStart=void 0;const r=o(n(41594)),i=n(59150),a=n(68593),s=n(24223),u=o(n(96737)),c=o(n(60699)),l=o(n(45999)),p=n(98613),d=o(n(69785)),f=()=>r.default.createElement(a.WideColumn,null,r.default.createElement(l.default,null),r.default.createElement(i.LeftRight,{className:d.default.leftRight,left:r.default.createElement(u.default,null),right:r.default.createElement(s.ComponentCardGroup,{components:p.bitComponent})}),r.default.createElement(c.default,null));f.__bit_component={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0},t.WhatIsBitQuickStart=f},35201:(e,t,n)=>{"use strict";var o={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=_,l(n(41594));var r=n(5016),i=n(24223),a=l(n(27096)),s=n(98613),u=l(n(52468)),c=["components"];function l(e){return e&&e.__esModule?e:{default:e}}function p(){return p=Object.assign?Object.assign.bind():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},p.apply(this,arguments)}function d(e,t){if(null==e)return{};var n,o,r=f(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[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={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}l.__bit_component=o,p.__bit_component=o,d.__bit_component=o,f.__bit_component=o;var m={},b="wrapper";function _(e){var t=e.components,n=d(e,c);return(0,r.mdx)(b,p({},m,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("p",null,"Bit is an open-source tool for composing component-driven software."),(0,r.mdx)(i.ComponentCardGroup,{components:s.bitComponent,className:u.default.bitCard,mdxType:"ComponentCardGroup"}),(0,r.mdx)("br",null),(0,r.mdx)(a.default,{components:s.bitComponent,mdxType:"WhatIsBitSmall"}),(0,r.mdx)("p",null,"Bit does not prescribe how to build your entire application. It helps you define and compose components and allows for every component to adopt the dev tools that best fit its nature.\nA React component is likely to be compiled, tested and perhaps even deployed using a composition of tools different than the one a backend-service component, or a generic function, may use.\nBit offers native support for various dev tools like ",(0,r.mdx)("a",{parentName:"p",href:"/tools/typescript"},"TypeScript"),", ",(0,r.mdx)("a",{parentName:"p",href:"/tools/babel"},"Babel"),", ",(0,r.mdx)("a",{parentName:"p",href:"/tools/jest"},"Jest"),", ",(0,r.mdx)("a",{parentName:"p",href:"/tools/webpack"},"Webpack"),", ",(0,r.mdx)("a",{parentName:"p",href:"/tools/eslint"},"ESLint")," and\nready made development environments for ",(0,r.mdx)("a",{parentName:"p",href:"/frameworks/react"},"React"),", ",(0,r.mdx)("a",{parentName:"p",href:"/frameworks/node"},"NodeJS"),", ",(0,r.mdx)("a",{parentName:"p",href:"/envs/angular"},"Angular")," and more. New tools can be easily integrated by\nextending Bit with one more component."))}_.__bit_component=o,_.isMDXComponent=!0},27096:(e,t,n)=>{"use strict";var o={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=d,a(n(41594));var r=n(5016),i=["components"];function a(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():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},s.apply(this,arguments)}function u(e,t){if(null==e)return{};var n,o,r=c(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}a.__bit_component=o,s.__bit_component=o,u.__bit_component=o,c.__bit_component=o;var l={},p="wrapper";function d(e){var t=e.components,n=u(e,i);return(0,r.mdx)(p,s({},l,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("p",null,"Bit stands at the intersection between product and engineering. ",(0,r.mdx)("strong",{parentName:"p"},"It helps you take complex product requirements, and break them down into independent,\nand reusable pieces called")," ",(0,r.mdx)("strong",{parentName:"p"},(0,r.mdx)("em",{parentName:"strong"},'"components"')),". It allows you to create components and compose them with each other. Components are described by names and APIs, and contain source code implementation.\nThey can be of different kinds like apps, pages, UI components, backend services and even content. You can ",(0,r.mdx)("a",{parentName:"p",href:"/thinking-in-components"},"think of almost anything in components"),"."),(0,r.mdx)("p",null,'It is common to think of components that function as full applications, as "large", whereas components that function as simple elements, like a \'button\', as "small".\nFor us, both types of components are "the same size", but each has a different responsibility. An app is a very concrete component. It has many dependencies and just a few (if any) dependents.\nA button, on the other hand, is very abstract. It has just a few dependencies and many dependents. Having this sort of dependents-to-dependencies ratio indicates that a component is highly-reusable.'))}d.__bit_component=o,d.isMDXComponent=!0},4095:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WhatIsBit=t.Size=void 0;const r=o(n(41594)),i=o(n(70850)),a=o(n(35201)),s=o(n(27096));var u;function c({size:e}){return e===u.SMALL?r.default.createElement(s.default,null):e===u.MEDIUM?r.default.createElement(a.default,null):r.default.createElement(i.default,null)}!function(e){e[e.SMALL=0]="SMALL",e[e.MEDIUM=1]="MEDIUM",e[e.LARGE=2]="LARGE"}(u=t.Size||(t.Size={})),c.__bit_component={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0},t.WhatIsBit=c},70850:(e,t,n)=>{"use strict";var o={id:"teambit.bit/content/what-is-bit@1.96.2",homepage:"https://bit.dev/teambit/bit/content/what-is-bit",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=f,s(n(41594));var r=n(5016),i=s(n(35201)),a=["components"];function s(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():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},u.apply(this,arguments)}function c(e,t){if(null==e)return{};var n,o,r=l(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function l(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}s.__bit_component=o,u.__bit_component=o,c.__bit_component=o,l.__bit_component=o;var p={},d="wrapper";function f(e){var t=e.components,n=c(e,a);return(0,r.mdx)(d,u({},p,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("h3",null,"What is Bit?"),(0,r.mdx)(i.default,{mdxType:"WhatIsBitShort"}),(0,r.mdx)("h3",null,"What can you do with Bit?"),(0,r.mdx)("p",null,"Anything is possible with Bit! We built ",(0,r.mdx)("a",{parentName:"p",href:"https://bit.dev"},"Bit")," and ",(0,r.mdx)("a",{parentName:"p",href:"https://bit.cloud"},"bit.cloud")," entirely using Bit. These are complex systems which includes infrastructure\ntools, cloud products and multiple user interfaces."),(0,r.mdx)("p",null,"People use Bit to create all kind of applications, from user interfaces with component-driven frameworks like React, Vue and Angular, to complex\nmicro-service architectures, serverless functions, CLI utilities, desktop applications, native mobile applications and even IoT. You can do with Bit about anything you can do with JS\nand even beyond."),(0,r.mdx)("h3",null,"What Bit supports?"),(0,r.mdx)("p",null,"Bit was built with TypeScript and supports it natively. It was designed to be language-agnostic, and will support other software languages in the future! For now, our development environments use TypeScript as the default compiler for JS and TS components. You can easily switch to Babel or any other compiler. Bit is completely agnostic to your tech stack."))}f.__bit_component=o,f.isMDXComponent=!0},30130:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Logo:()=>c,RecommendedSizes:()=>o});var o,r=n(41594),i=n.n(r),a=n(55341);!function(e){e[e.small=16]="small",e[e.medium=24]="medium",e[e.large=32]="large",e[e.xl=40]="xl"}(o||(o={}));const s=new URL(n(24522),n.b).toString();var u=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};function c(e){var{size:t,customSize:n,alt:o}=e,r=u(e,["size","customSize","alt"]);const c=n||t;return i().createElement(a.BaseImage,Object.assign({},r,{src:s,alt:o||"",height:c,width:c}))}c.__bit_component={id:"teambit.design/ui/brand/logo@1.96.2",homepage:"https://bit.dev/teambit/design/ui/brand/logo",exported:!0},c.defaultProps={size:o.medium,alt:"Bit"}},64912:function(e,t,n){"use strict";var o={id:"teambit.design/ui/heading@1.0.16",homepage:"https://bit.dev/teambit/design/ui/heading",exported:!0},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.H6=t.H5=t.H4=t.H3=t.H2=t.H1=void 0;const i=r(n(41594)),a=r(n(95154)),s=n(38291),u=r(n(99132)),c=r(n(71633)),l=r(n(97186));function p(e){return i.default.createElement(s.Heading,Object.assign({element:"h1"},e,{className:(0,a.default)(c.default.h1,l.default.h1,u.default[e.size||"lg"],e.className)}))}function d(e){return i.default.createElement(s.Heading,Object.assign({element:"h2"},e,{className:(0,a.default)(c.default.h2,u.default[e.size||"lg"],e.className)}))}function f(e){return i.default.createElement(s.Heading,Object.assign({element:"h3"},e,{className:(0,a.default)(c.default.h3,u.default[e.size||"md"],e.className)}))}function m(e){return i.default.createElement(s.Heading,Object.assign({element:"h4"},e,{className:(0,a.default)(c.default.h4,u.default[e.size||"sm"],e.className)}))}function b(e){return i.default.createElement(s.Heading,Object.assign({element:"h5"},e,{className:(0,a.default)(c.default.h5,u.default[e.size||"xs"],e.className)}))}function _(e){return i.default.createElement(s.Heading,Object.assign({element:"h6"},e,{className:(0,a.default)(c.default.h6,u.default[e.size||"xxs"],e.className)}))}p.__bit_component=o,t.H1=p,d.__bit_component=o,t.H2=d,f.__bit_component=o,t.H3=f,m.__bit_component=o,t.H4=m,b.__bit_component=o,t.H5=b,_.__bit_component=o,t.H6=_},32702: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(64912),t)},59150:(e,t,n)=>{"use strict";n.r(t),n.d(t,{LeftRight:()=>c});var o=n(41594),r=n.n(o),i=n(69920),a=n.n(i);const s={leftRight:"left-right_leftRight__45Eas"};var u=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};function c(e){var{left:t,right:n}=e,o=u(e,["left","right"]);return r().createElement("section",Object.assign({},o,{className:a()(s.leftRight,o.className)}),r().createElement("div",null,t),r().createElement("div",null,n))}c.__bit_component={id:"teambit.design/ui/layouts/sections/left-right@1.96.2",homepage:"https://bit.dev/teambit/design/ui/layouts/sections/left-right",exported:!0}},77619:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Ellipsis=void 0;const r=o(n(41594)),i=o(n(95154)),a=o(n(99800));function s(e){return r.default.createElement("div",Object.assign({},e,{className:(0,i.default)(e.className,a.default.ellipsisDiv)}))}s.__bit_component={id:"teambit.design/ui/styles/ellipsis@0.0.347",homepage:"https://bit.dev/teambit/design/ui/styles/ellipsis",exported:!0},t.Ellipsis=s},80974:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Ellipsis=t.ellipsis=void 0;const r=o(n(99800));t.ellipsis=r.default.ellipsis;var i=n(77619);Object.defineProperty(t,"Ellipsis",{enumerable:!0,get:function(){return i.Ellipsis}})},40739:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseComponentCard=void 0;const r=o(n(41594)),i=n(27346),a=n(66208),s=n(85570),u=n(14170);function c({id:e="",className:t,preview:n,version:o,description:c,isDeprecated:l,isVerified:p,children:d,contentClass:f}){return r.default.createElement(u.Card,{className:t},r.default.createElement(a.DeprecationSticker,{isDeprecated:l}),r.default.createElement(i.PreviewContainer,{preview:n}),r.default.createElement(s.ComponentDetails,{id:e,version:o,description:c,isVerified:p,className:f}),d)}c.__bit_component={id:"teambit.explorer/ui/gallery/base-component-card@0.0.492",homepage:"https://bit.dev/teambit/explorer/ui/gallery/base-component-card",exported:!0},t.BaseComponentCard=c},24806:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Card=void 0;const r=o(n(41594)),i=o(n(95154)),a=o(n(61027));function s({children:e,className:t}){return r.default.createElement("div",{className:(0,i.default)(a.default.componentCard,t)},e)}s.__bit_component={id:"teambit.explorer/ui/gallery/base-component-card@0.0.492",homepage:"https://bit.dev/teambit/explorer/ui/gallery/base-component-card",exported:!0},t.Card=s},14170:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Card=void 0;var o=n(24806);Object.defineProperty(t,"Card",{enumerable:!0,get:function(){return o.Card}})},34444:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DeprecationSticker=void 0;const r=o(n(41594)),i=o(n(95154)),a=o(n(5245));function s({isDeprecated:e}){return r.default.createElement("div",{className:(0,i.default)(a.default.deprecated,{[a.default.show]:e})},"deprecated")}s.__bit_component={id:"teambit.explorer/ui/gallery/base-component-card@0.0.492",homepage:"https://bit.dev/teambit/explorer/ui/gallery/base-component-card",exported:!0},t.DeprecationSticker=s},66208:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DeprecationSticker=void 0;var o=n(34444);Object.defineProperty(t,"DeprecationSticker",{enumerable:!0,get:function(){return o.DeprecationSticker}})},14128: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.ComponentDetails=void 0;const i=r(n(41594)),a=r(n(95154)),s=n(32506),u=n(80974),c=r(n(40017));function l(e){var{id:t,version:n,description:r,isVerified:l,className:p}=e,d=o(e,["id","version","description","isVerified","className"]);const f=t.split("/"),m=f.length>1&&f.slice(0,-1).join(" / "),b=f.slice(-1);return i.default.createElement("div",Object.assign({},d,{className:(0,a.default)(c.default.content,p)}),i.default.createElement("div",null,i.default.createElement("div",{className:c.default.nameSpace},m),i.default.createElement("div",{className:c.default.name},i.default.createElement("span",null,b),i.default.createElement("div",{className:c.default.versionHolder},n&&i.default.createElement(u.Ellipsis,null,"v",n),l&&i.default.createElement("img",{src:"https://static.bit.dev/extensions-icons/verified-field-badge.svg",className:c.default.img}))),i.default.createElement("div",{className:c.default.description},(0,s.ellipsis)(r||"",50))))}l.__bit_component={id:"teambit.explorer/ui/gallery/base-component-card@0.0.492",homepage:"https://bit.dev/teambit/explorer/ui/gallery/base-component-card",exported:!0},t.ComponentDetails=l},85570:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentDetails=void 0;var o=n(14128);Object.defineProperty(t,"ComponentDetails",{enumerable:!0,get:function(){return o.ComponentDetails}})},73107:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PreviewContainer=t.ComponentDetails=t.DeprecationSticker=t.Card=t.BaseComponentCard=void 0;var o=n(40739);Object.defineProperty(t,"BaseComponentCard",{enumerable:!0,get:function(){return o.BaseComponentCard}});var r=n(14170);Object.defineProperty(t,"Card",{enumerable:!0,get:function(){return r.Card}});var i=n(66208);Object.defineProperty(t,"DeprecationSticker",{enumerable:!0,get:function(){return i.DeprecationSticker}});var a=n(85570);Object.defineProperty(t,"ComponentDetails",{enumerable:!0,get:function(){return a.ComponentDetails}});var s=n(27346);Object.defineProperty(t,"PreviewContainer",{enumerable:!0,get:function(){return s.PreviewContainer}})},27346:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PreviewContainer=void 0;var o=n(30180);Object.defineProperty(t,"PreviewContainer",{enumerable:!0,get:function(){return o.PreviewContainer}})},30180: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.PreviewContainer=void 0;const i=r(n(41594)),a=r(n(95154)),s=r(n(11669));function u(e){var{preview:t,className:n}=e,r=o(e,["preview","className"]);return i.default.createElement("div",Object.assign({},r,{className:(0,a.default)(s.default.previewContainer,n)}),i.default.createElement("div",{className:(0,a.default)(s.default.preview,{[s.default.emptyPreview]:!t})},t))}u.__bit_component={id:"teambit.explorer/ui/gallery/base-component-card@0.0.492",homepage:"https://bit.dev/teambit/explorer/ui/gallery/base-component-card",exported:!0},t.PreviewContainer=u},30641: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.ComponentCardGroup=void 0;const i=r(n(41594)),a=n(32702),s=n(44674),u=n(17002);function c(e){var{title:t,components:n}=e,r=o(e,["title","components"]);return i.default.createElement("div",Object.assign({},r),t&&i.default.createElement(a.H2,null,t),i.default.createElement(s.ComponentGrid,null,n.map((e=>i.default.createElement(u.ComponentCard,Object.assign({key:e.id},e))))))}c.__bit_component={id:"teambit.explorer/ui/gallery/component-card-group@1.96.1",homepage:"https://bit.dev/teambit/explorer/ui/gallery/component-card-group",exported:!0},t.ComponentCardGroup=c},24223:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCardGroup=void 0;var o=n(30641);Object.defineProperty(t,"ComponentCardGroup",{enumerable:!0,get:function(){return o.ComponentCardGroup}})},18384:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentCard=void 0;const r=o(n(41594)),i=n(8169),a=n(73107),s=o(n(63537));function u({id:e="",className:t,preview:n,version:o,description:u,envIcon:c,isDeprecated:l=!1,href:p,external:d}){return r.default.createElement(a.Card,{className:t},r.default.createElement(i.Link,{className:s.default.componentCardLink,href:p||e,external:d},r.default.createElement(a.DeprecationSticker,{isDeprecated:l}),r.default.createElement(a.PreviewContainer,{preview:n}),r.default.createElement(a.ComponentDetails,{id:e,version:o,description:u,className:s.default.content}),r.default.createElement("div",{className:s.default.bottom},r.default.createElement("div",{className:s.default.left}),r.default.createElement("img",{src:c,className:s.default.img}))))}u.__bit_component={id:"teambit.explorer/ui/gallery/component-card@0.0.495",homepage:"https://bit.dev/teambit/explorer/ui/gallery/component-card",exported:!0},t.ComponentCard=u},17002: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(18384),t)},81558: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.ComponentGrid=void 0;const i=r(n(41594)),a=r(n(95154)),s=r(n(60987));function u(e){var{children:t,className:n}=e,r=o(e,["children","className"]);return i.default.createElement("div",Object.assign({className:(0,a.default)(s.default.componentGrid,n)},r),t)}u.__bit_component={id:"teambit.explorer/ui/gallery/component-grid@0.0.486",homepage:"https://bit.dev/teambit/explorer/ui/gallery/component-grid",exported:!0},t.ComponentGrid=u},44674: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(81558),t)},78343:(e,t)=>{"use strict";function n(e,t){return e.length>t?`${e.substring(0,t)}...`:e}Object.defineProperty(t,"__esModule",{value:!0}),t.ellipsis=void 0,n.__bit_component={id:"teambit.toolbox/string/ellipsis@0.0.173",homepage:"https://bit.dev/teambit/toolbox/string/ellipsis",exported:!0},t.ellipsis=n},32506:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ellipsis=void 0;var o=n(78343);Object.defineProperty(t,"ellipsis",{enumerable:!0,get:function(){return o.ellipsis}})},38504:(e,t,n)=>{"use strict";var o={id:"teambit.harmony/bit@1.6.139",homepage:"https://bit.cloud/teambit/harmony/bit",exported:!0};function r(){const e=a(n(41594));return r=function(){return e},e}function i(){const e=n(30130);return i=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.BitLogo=void 0,r.__bit_component=o,i.__bit_component=o,a.__bit_component=o;const s=()=>r().default.createElement("div",{style:{width:"50%",margin:"auto"}},r().default.createElement(i().Logo,{customSize:64}));s.__bit_component=o,t.BitLogo=s},48660:(e,t,n)=>{"use strict";var o={id:"teambit.harmony/bit@1.6.139",homepage:"https://bit.cloud/teambit/harmony/bit",exported:!0};function r(){const e=a(n(41594));return r=function(){return e},e}function i(){const e=n(85264);return i=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}function s(){return r().default.createElement(i().WhatIsBit,null)}Object.defineProperty(t,"__esModule",{value:!0}),t.abstract=void 0,t.default=s,t.tags=void 0,r.__bit_component=o,i.__bit_component=o,a.__bit_component=o,t.tags=["components","software","composable","component-driven","collaboration","development","design","product","architecture","compounding"],t.abstract="Bit is an open source toolchain for component-driven software",s.__bit_component=o},69081:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={fullWidth:"image_fullWidth__6C+Bi"}},64647:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={centerColumn:"page-frame_centerColumn__rzqWt",wideColumn:"page-frame_wideColumn__hBSQT",textColumn:"page-frame_textColumn__LWad6"}},69785:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={}},52468:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={bitCard:"what-is-bit_bitCard__-Yg+8",logo:"what-is-bit_logo__l7QaU"}},99132:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={xxs:"heading-sizes_xxs__OAcXN",xs:"heading-sizes_xs__+fPmi",sm:"heading-sizes_sm__31fRv",md:"heading-sizes_md__IgU0z",lg:"heading-sizes_lg__JqEg2",xl:"heading-sizes_xl__MQkTK",xxl:"heading-sizes_xxl__08Vp4"}},71633:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={h1:"heading_h1__gQ2PL",h2:"heading_h2__O2NFs",h3:"heading_h3__FNkl6",h4:"heading_h4__epsy0",h5:"heading_h5__FoX9w",h6:"heading_h6__YPPR6"}},97186:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={h1:"margins_h1__JOILX"}},99800:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={ellipsis:"ellipsis_ellipsis__9lSBy",ellipsisDiv:"ellipsis_ellipsisDiv__xnIHU"}},61027:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={componentCard:"card_componentCard__XHeKX"}},5245:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={deprecated:"deprecation-sticker_deprecated__mb2KQ",show:"deprecation-sticker_show__zE+gn"}},40017:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={content:"details_content__7CCBR",nameSpace:"details_nameSpace__k5p6k",name:"details_name__Ps6zF",versionHolder:"details_versionHolder__wAcT4",img:"details_img__OZQFO",description:"details_description__h7vJZ"}},11669:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={previewContainer:"preview-container_previewContainer__DoLX4",preview:"preview-container_preview__nLphT",emptyPreview:"preview-container_emptyPreview__ldNJ4"}},63537:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={componentCardLink:"component-card_componentCardLink__aUJoq",bottom:"component-card_bottom__6vwi2",size:"component-card_size__Koppe",dot:"component-card_dot__ZInu-",img:"component-card_img__60kn9"}},60987:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const o={componentGrid:"component-grid_componentGrid__NS5X5"}},24522:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzU0IiBoZWlnaHQ9IjM1NCIgdmlld0JveD0iMCAwIDM1NCAzNTQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xNzcgMzQ4QzI3MS40NDEgMzQ4IDM0OCAyNzEuNDQxIDM0OCAxNzdDMzQ4IDgyLjU1OTMgMjcxLjQ0MSA2IDE3NyA2QzgyLjU1OTMgNiA2IDgyLjU1OTMgNiAxNzdDNiAyNzEuNDQxIDgyLjU1OTMgMzQ4IDE3NyAzNDhaIiBmaWxsPSJ1cmwoI3BhaW50MF9saW5lYXIpIiBzdHJva2U9IiM3QjcwQjYiIHN0cm9rZS13aWR0aD0iMTIiLz4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNjEuMjY1IDE5MS43MDlDMTYxLjI2NSAyMDkuNzI3IDE1MC41MjggMjIxLjMyOCAxMzEuMjc1IDIyMS4zMjhDMTI0LjM2NCAyMjEuMzI4IDExNy45NDcgMjE5Ljk3MSAxMTMuMDEgMjE3LjEzMkMxMDcuMzMzIDIxMy45MjMgMTA3LjMzMyAyMDkuODUxIDEwNy4zMzMgMjA1LjY1NVYxNDMuMzMxQzEwNy4zMzMgMTM4Ljg4OCAxMTAuMDQ4IDEzNi42NjcgMTE1LjYwMiAxMzYuNjY3QzEyMS4xNTUgMTM2LjY2NyAxMjMuODcgMTM4Ljg4OCAxMjMuODcgMTQzLjMzMVYxNjcuMDI2QzEyNi45NTYgMTY0LjkyOCAxMzEuMDI4IDE2My45NDEgMTM1LjcxOCAx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d2lkdGg9IjEyIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KPGRlZnM+CjxsaW5lYXJHcmFkaWVudCBpZD0icGFpbnQwX2xpbmVhciIgeDE9IjE3NyIgeTE9IjEyIiB4Mj0iMTc3IiB5Mj0iMzM4Ljc5NiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgo8c3RvcCBzdG9wLWNvbG9yPSIjNzMzOThEIi8+CjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzU5NEE5NSIvPgo8L2xpbmVhckdyYWRpZW50Pgo8L2RlZnM+Cjwvc3ZnPgo="},5016:e=>{"use strict";e.exports=MdxJsReact},41594:e=>{"use strict";e.exports=React}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return e[o].call(i.exports,i,i.exports,n),i.exports}n.m=e,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})},n.b=document.baseURI||self.location.href;var o={};return(()=>{"use strict";n.r(o),n.d(o,{compositions:()=>r,compositions_metadata:()=>a,overview:()=>i});var e=n(38504),t=n(48660);const r=[e],i=[t],a={compositions:[{displayName:"Bit logo",identifier:"BitLogo"}]}})(),o})()));
|
package/artifacts/schema.json
CHANGED
|
@@ -320,7 +320,7 @@
|
|
|
320
320
|
"__schema": "FunctionLikeSchema",
|
|
321
321
|
"location": {
|
|
322
322
|
"filePath": "load-bit.ts",
|
|
323
|
-
"line":
|
|
323
|
+
"line": 363,
|
|
324
324
|
"character": 1
|
|
325
325
|
},
|
|
326
326
|
"signature": "function restoreGlobalsFromSnapshot(snapshot: LegacyGlobal[]): void",
|
|
@@ -330,7 +330,7 @@
|
|
|
330
330
|
"__schema": "ParameterSchema",
|
|
331
331
|
"location": {
|
|
332
332
|
"filePath": "load-bit.ts",
|
|
333
|
-
"line":
|
|
333
|
+
"line": 363,
|
|
334
334
|
"character": 44
|
|
335
335
|
},
|
|
336
336
|
"name": "snapshot",
|
|
@@ -338,14 +338,14 @@
|
|
|
338
338
|
"__schema": "TypeArraySchema",
|
|
339
339
|
"location": {
|
|
340
340
|
"filePath": "load-bit.ts",
|
|
341
|
-
"line":
|
|
341
|
+
"line": 363,
|
|
342
342
|
"character": 54
|
|
343
343
|
},
|
|
344
344
|
"type": {
|
|
345
345
|
"__schema": "TypeRefSchema",
|
|
346
346
|
"location": {
|
|
347
347
|
"filePath": "load-bit.ts",
|
|
348
|
-
"line":
|
|
348
|
+
"line": 363,
|
|
349
349
|
"character": 54
|
|
350
350
|
},
|
|
351
351
|
"name": "LegacyGlobal"
|
|
@@ -359,7 +359,7 @@
|
|
|
359
359
|
"__schema": "InferenceTypeSchema",
|
|
360
360
|
"location": {
|
|
361
361
|
"filePath": "load-bit.ts",
|
|
362
|
-
"line":
|
|
362
|
+
"line": 363,
|
|
363
363
|
"character": 1
|
|
364
364
|
},
|
|
365
365
|
"type": "void"
|
|
@@ -475,7 +475,7 @@
|
|
|
475
475
|
"componentId": {
|
|
476
476
|
"scope": "teambit.harmony",
|
|
477
477
|
"name": "bit",
|
|
478
|
-
"version": "1.6.
|
|
478
|
+
"version": "1.6.139"
|
|
479
479
|
},
|
|
480
480
|
"taggedModuleExports": []
|
|
481
481
|
}
|
package/dist/load-bit.js
CHANGED
|
@@ -276,7 +276,7 @@ async function getWsConfig(consumerPath, configOpts) {
|
|
|
276
276
|
* @param config
|
|
277
277
|
*/
|
|
278
278
|
function attachVersionsFromBitmap(config, consumerInfo) {
|
|
279
|
-
if (!consumerInfo || !consumerInfo.hasBitMap) {
|
|
279
|
+
if (!consumerInfo || !consumerInfo.hasBitMap || !consumerInfo.hasConsumerConfig) {
|
|
280
280
|
return config;
|
|
281
281
|
}
|
|
282
282
|
const rawConfig = config.toObject();
|
|
@@ -486,11 +486,6 @@ function takeLegacyGlobalsSnapshot() {
|
|
|
486
486
|
methodName: 'workspaceConfigEnsuringRegistry',
|
|
487
487
|
value: _workspaceConfig().default.workspaceConfigEnsuringRegistry,
|
|
488
488
|
empty: undefined
|
|
489
|
-
}, {
|
|
490
|
-
classInstance: _workspaceConfig().default,
|
|
491
|
-
methodName: 'workspaceConfigIsExistRegistry',
|
|
492
|
-
value: _workspaceConfig().default.workspaceConfigIsExistRegistry,
|
|
493
|
-
empty: undefined
|
|
494
489
|
}, {
|
|
495
490
|
classInstance: _workspaceConfig().default,
|
|
496
491
|
methodName: 'workspaceConfigLoadingRegistry',
|
package/dist/load-bit.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_toolboxPerformance","data","require","_aspectLoader","_commentJson","_interopRequireDefault","_cli","_config","_harmony","_harmonyConfig","_legacyBitId","_consumer","_bitMap","_bitError","_componentLoader","_componentConfig","_componentOverrides","_workspaceModules","_semver","_bootstrap","_clearCache","_config2","_workspaceConfig","_componentId","_scopeModules","_logger","_action","_fsExtra","_path","_manifests","_bit","_bitMain","obj","__esModule","default","process","on","err","console","error","exit","nativeCompileCache","install","loadLegacyConfig","config","harmony","Harmony","load","ConfigAspect","ConfigRuntime","name","toObject","run","aspect","runtime","requireAspects","getConfig","cwd","consumerInfo","getConsumerInfo","scopePath","findScopePath","globalConfigOpts","configOpts","global","shouldThrow","path","getWsConfig","attachVersionsFromBitmap","Config","loadGlobal","consumerPath","wsPath","join","fileContent","readFile","includes","Error","constructor","message","location","line","column","toString","hasBitMap","rawConfig","rawBitmap","BitMap","loadRawSync","parsedBitMap","json","parse","undefined","_bit_lane","removeNonComponentFields","e","wsConfig","BitError","defaultScope","allBitmapIds","Object","keys","map","id","getComponentIdFromComponentJson","bitMapBitIds","ComponentIdList","fromArray","result","entries","reduce","acc","aspectId","aspectConfig","newAspectEntry","VERSION_DELIMITER","manifestsMap","versionFromBitmap","getVersionFromBitMapIds","aspectBitId","ComponentID","fromString","found","searchWithoutVersion","searchWithoutScopeAndVersion","hasVersion","version","dirPath","getAspectDistDir","files","readdir","runtimeFile","find","file","resolve","getMainAspect","mainAspectDir","getAspectDir","BitAspect","packageName","getCoreAspectPackageName","packageJson","getCoreAspectName","shouldLoadInSafeMode","currentCommand","argv","safeModeCommands","hasSafeModeFlag","isSafeModeCommand","isClearCacheCommand","shouldRunAsDaemon","env","BIT_DAEMON","loadBit","clearGlobalsIfNeeded","logger","info","registerCoreExtensions","configMap","verifyEngine","aspectsToLoad","CLIAspect","loadCLIOnly","push","ClearCacheAspect","isDaemon","MainRuntime","aspectLoader","get","setCoreAspects","values","setMainAspect","bitConfig","engine","bitVersion","getHarmonyVersion","satisfies","msg","engineStrict","runCLI","cli","hasWorkspace","loadConsumer","cache","PackageJsonTransformer","packageJsonTransformersRegistry","length","legacyGlobals","takeLegacyGlobalsSnapshot","forEach","classInstance","methodName","empty","ComponentLoader","value","onComponentLoadSubscribers","ComponentOverrides","componentOverridesLoadingRegistry","ComponentConfig","componentConfigLoadingRegistry","loadDeps","ExtensionDataList","toModelObjectsHook","WorkspaceConfig","workspaceConfigEnsuringRegistry","workspaceConfigIsExistRegistry","workspaceConfigLoadingRegistry","ExternalActions","externalActions","restoreGlobalsFromSnapshot","snapshot"],"sources":["load-bit.ts"],"sourcesContent":["/* eslint-disable import/no-dynamic-require */\n/* eslint-disable import/first */\nprocess.on('uncaughtException', (err) => {\n // eslint-disable-next-line no-console\n console.error('uncaughtException', err);\n process.exit(1);\n});\n\nimport { nativeCompileCache } from '@teambit/toolbox.performance.v8-cache';\n\n// Enable v8 compile cache, keep this before other imports\nnativeCompileCache?.install();\n\nimport './hook-require';\n\nimport {\n getAspectDir,\n getAspectDistDir,\n AspectLoaderMain,\n getCoreAspectPackageName,\n getCoreAspectName,\n} from '@teambit/aspect-loader';\nimport json from 'comment-json';\nimport { CLIAspect, CLIMain, MainRuntime } from '@teambit/cli';\nimport { ConfigAspect, ConfigRuntime } from '@teambit/config';\nimport { Harmony, RuntimeDefinition, Extension } from '@teambit/harmony';\n// TODO: expose this types from harmony (once we have a way to expose it only for node)\nimport { Config, ConfigOptions } from '@teambit/harmony/dist/harmony-config';\nimport { VERSION_DELIMITER } from '@teambit/legacy-bit-id';\nimport { getConsumerInfo, loadConsumer } from '@teambit/legacy/dist/consumer';\nimport { ConsumerInfo } from '@teambit/legacy/dist/consumer/consumer-locator';\nimport BitMap from '@teambit/legacy/dist/consumer/bit-map';\nimport { BitError } from '@teambit/bit-error';\nimport ComponentLoader from '@teambit/legacy/dist/consumer/component/component-loader';\nimport ComponentConfig from '@teambit/legacy/dist/consumer/config/component-config';\nimport ComponentOverrides from '@teambit/legacy/dist/consumer/config/component-overrides';\nimport { PackageJsonTransformer } from '@teambit/workspace.modules.node-modules-linker';\nimport { satisfies } from 'semver';\nimport { getHarmonyVersion } from '@teambit/legacy/dist/bootstrap';\nimport ClearCacheAspect from '@teambit/clear-cache';\nimport { ExtensionDataList } from '@teambit/legacy/dist/consumer/config';\nimport WorkspaceConfig from '@teambit/legacy/dist/consumer/config/workspace-config';\nimport { ComponentIdList, ComponentID } from '@teambit/component-id';\nimport { findScopePath } from '@teambit/scope.modules.find-scope-path';\nimport logger from '@teambit/legacy/dist/logger/logger';\nimport { ExternalActions } from '@teambit/legacy/dist/api/scope/lib/action';\nimport { readdir, readFile } from 'fs-extra';\nimport { resolve, join } from 'path';\nimport { manifestsMap } from './manifests';\nimport { BitAspect } from './bit.aspect';\nimport { registerCoreExtensions } from './bit.main.runtime';\nimport { BitConfig } from './bit.provider';\n\nasync function loadLegacyConfig(config: any) {\n const harmony = await Harmony.load([ConfigAspect], ConfigRuntime.name, config.toObject());\n await harmony.run(async (aspect: Extension, runtime: RuntimeDefinition) => requireAspects(aspect, runtime));\n}\n\nasync function getConfig(cwd = process.cwd()) {\n const consumerInfo = await getConsumerInfo(cwd);\n const scopePath = findScopePath(cwd);\n const globalConfigOpts = {\n name: '.bitrc.jsonc',\n };\n const configOpts: ConfigOptions = {\n global: globalConfigOpts,\n shouldThrow: false,\n cwd: consumerInfo?.path || scopePath,\n };\n\n if (consumerInfo) {\n const config = await getWsConfig(consumerInfo.path, configOpts);\n return attachVersionsFromBitmap(config, consumerInfo);\n }\n\n if (scopePath && !consumerInfo) {\n return Config.load('scope.jsonc', configOpts);\n }\n\n return Config.loadGlobal(globalConfigOpts);\n}\n\nasync function getWsConfig(consumerPath: string, configOpts: ConfigOptions) {\n try {\n return Config.load('workspace.jsonc', configOpts);\n } catch (err: any) {\n // file is there. otherwise, Config.load wouldn't throw.\n const wsPath = join(consumerPath, 'workspace.jsonc');\n const fileContent = await readFile(wsPath, 'utf-8');\n // if it has conflicts markers, ask the user to fix them\n if (fileContent.includes('<<<<<<<') || fileContent.includes('>>>>>>>')) {\n throw new Error(`please fix the conflicts in workspace.jsonc to continue`);\n }\n if (err.constructor.name === 'ReadConfigError' && err.err?.message) {\n const location = err.err.line && err.err.column ? ` (${err.err.line}:${err.err.column})` : '';\n throw new Error(`failed parsing the workspace.jsonc file at ${wsPath}. error: ${err.err.toString()}${location}`);\n }\n throw err;\n }\n}\n\n/**\n * This will attach versions of aspects configured in the config without version by resolves them from the bitmap file\n * It's required in order to support a usecase which you develop a local aspect and configure it in your workspace.jsonc\n * in that case you always want the workspace.jsonc config to be linked to your local aspect\n * but you don't want to change your workspace.jsonc version after each tag of the aspect\n * @param config\n */\nfunction attachVersionsFromBitmap(config: Config, consumerInfo: ConsumerInfo): Config {\n if (!consumerInfo || !consumerInfo.hasBitMap) {\n return config;\n }\n const rawConfig = config.toObject();\n const rawBitmap = BitMap.loadRawSync(consumerInfo.path);\n let parsedBitMap = {};\n try {\n parsedBitMap = rawBitmap ? json.parse(rawBitmap?.toString('utf8'), undefined, true) : {};\n // @todo: remove this if statement once we don't need the migration of the bitmap file for lanes\n // @ts-ignore\n if (parsedBitMap?._bit_lane?.name) {\n // backward compatibility. if \"_bit_land\" has the old format, then, later, when the bitmap is loaded again,\n // it'll take care of the migration.\n parsedBitMap = {};\n }\n BitMap.removeNonComponentFields(parsedBitMap);\n // Do nothing here, invalid bitmaps will be handled later\n // eslint-disable-next-line no-empty\n } catch (e: any) {}\n const wsConfig = rawConfig['teambit.workspace/workspace'];\n if (!wsConfig) throw new BitError('workspace.jsonc is missing the \"teambit.workspace/workspace\" property');\n const defaultScope = wsConfig.defaultScope;\n if (!defaultScope)\n throw new BitError('workspace.jsonc is missing the \"defaultScope\" property in \"teambit.workspace/workspace\"');\n const allBitmapIds = Object.keys(parsedBitMap).map((id) =>\n BitMap.getComponentIdFromComponentJson(id, parsedBitMap[id], defaultScope)\n );\n const bitMapBitIds = ComponentIdList.fromArray(allBitmapIds);\n const result = Object.entries(rawConfig).reduce((acc, [aspectId, aspectConfig]) => {\n let newAspectEntry = aspectId;\n // In case the id already has a version we don't want to get it from the bitmap\n // We also don't want to add versions for core aspects\n if (!aspectId.includes(VERSION_DELIMITER) && !manifestsMap[aspectId]) {\n const versionFromBitmap = getVersionFromBitMapIds(bitMapBitIds, aspectId);\n if (versionFromBitmap) {\n newAspectEntry = `${aspectId}${VERSION_DELIMITER}${versionFromBitmap}`;\n }\n }\n acc[newAspectEntry] = aspectConfig;\n return acc;\n }, {});\n return new Config(result);\n}\n\nfunction getVersionFromBitMapIds(allBitmapIds: ComponentIdList, aspectId: string): string | undefined {\n let aspectBitId: ComponentID;\n try {\n aspectBitId = ComponentID.fromString(aspectId);\n } catch (err: any) {\n throw new Error(\n `unable to parse the component-id \"${aspectId}\" from the workspace.jsonc file, make sure this is a component id`\n );\n }\n // start by searching id in the bitmap with exact match (including scope name)\n // in case the aspect is not exported yet, it will be in the bitmap without a scope,\n // while in the aspect id it will have the default scope\n const found =\n allBitmapIds.searchWithoutVersion(aspectBitId) || allBitmapIds.searchWithoutScopeAndVersion(aspectBitId);\n return found && found.hasVersion() ? found.version : undefined;\n}\n\nexport async function requireAspects(aspect: Extension, runtime: RuntimeDefinition) {\n const id = aspect.name;\n if (!id) throw new Error('could not retrieve aspect id');\n const dirPath = getAspectDistDir(id);\n const files = await readdir(dirPath);\n const runtimeFile = files.find((file) => file.includes(`.${runtime.name}.runtime.js`));\n if (!runtimeFile) return;\n // eslint-disable-next-line\n require(resolve(`${dirPath}/${runtimeFile}`));\n}\n\nfunction getMainAspect() {\n const mainAspectDir = getAspectDir(BitAspect.id);\n let version: string | undefined;\n const packageName = getCoreAspectPackageName(BitAspect.id);\n\n try {\n // eslint-disable-next-line global-require\n const packageJson = require(`${mainAspectDir}/package.json`);\n version = packageJson.version;\n } catch (err: any) {\n version = undefined;\n }\n\n return {\n path: mainAspectDir,\n version,\n packageName,\n aspect: BitAspect,\n name: getCoreAspectName(BitAspect.id),\n id: BitAspect.id,\n };\n}\n\n/**\n * Bit may crush during the aspect loading phase or workspace/consumer initialization.\n * normally, this is the desired behavior, however, some commands are there to help overcome these\n * errors, such as \"bit clear-cache\". for these commands we're better off loading the bare minimum,\n * which is only the CLI aspect.\n *\n * at this stage we don't have the commands objects, so we can't check the command/flags from there\n * instead, we have to check the `process.argv.` directly instead, which is not 100% accurate.\n */\nfunction shouldLoadInSafeMode() {\n const currentCommand = process.argv[2];\n const safeModeCommands = ['init', 'cat-scope', 'cat-object', 'cat-component', 'cmp', 'cat-lane', 'config', 'remote'];\n const hasSafeModeFlag = process.argv.includes('--safe-mode');\n const isSafeModeCommand = safeModeCommands.includes(currentCommand) || isClearCacheCommand();\n return isSafeModeCommand || hasSafeModeFlag;\n}\n\nfunction isClearCacheCommand() {\n return process.argv[2] === 'clear-cache' || process.argv[2] === 'cc';\n}\n\nfunction shouldRunAsDaemon() {\n return process.env.BIT_DAEMON === 'true';\n}\n\nexport async function loadBit(path = process.cwd()) {\n clearGlobalsIfNeeded();\n logger.info(`*** Loading Bit *** argv:\\n${process.argv.join('\\n')}`);\n const config = await getConfig(path);\n registerCoreExtensions();\n await loadLegacyConfig(config);\n const configMap = config.toObject();\n configMap[BitAspect.id] ||= {};\n configMap[BitAspect.id].cwd = path;\n verifyEngine(configMap[BitAspect.id]);\n\n const aspectsToLoad = [CLIAspect];\n const loadCLIOnly = shouldLoadInSafeMode();\n if (isClearCacheCommand()) aspectsToLoad.push(ClearCacheAspect);\n if (!loadCLIOnly) {\n aspectsToLoad.push(BitAspect);\n }\n if (shouldRunAsDaemon()) {\n logger.isDaemon = true;\n }\n const harmony = await Harmony.load(aspectsToLoad, MainRuntime.name, configMap);\n\n await harmony.run(async (aspect: Extension, runtime: RuntimeDefinition) => requireAspects(aspect, runtime));\n if (loadCLIOnly) return harmony;\n const aspectLoader = harmony.get<AspectLoaderMain>('teambit.harmony/aspect-loader');\n aspectLoader.setCoreAspects(Object.values(manifestsMap));\n aspectLoader.setMainAspect(getMainAspect());\n return harmony;\n}\n\nfunction verifyEngine(bitConfig: BitConfig) {\n if (!bitConfig.engine) {\n return;\n }\n const bitVersion = getHarmonyVersion(true);\n if (satisfies(bitVersion, bitConfig.engine)) {\n return;\n }\n const msg = `your bit version \"${bitVersion}\" doesn't satisfies the required \"${bitConfig.engine}\" version`;\n if (bitConfig.engineStrict) {\n throw new Error(`error: ${msg}`);\n }\n logger.console(msg, 'warn', 'yellow');\n}\n\nexport async function runCLI() {\n const harmony = await loadBit();\n const cli = harmony.get<CLIMain>('teambit.harmony/cli');\n let hasWorkspace = true;\n try {\n harmony.get('teambit.workspace/workspace');\n } catch (err: any) {\n hasWorkspace = false;\n }\n await cli.run(hasWorkspace);\n}\n\nexport type LegacyGlobal = { classInstance: any; methodName: string; value: any; empty: any };\n\n/**\n * loadBit may gets called multiple times (currently, it's happening during e2e-tests that call loadBit).\n * when it happens, the static methods in this function still have the callbacks that were added in\n * the previous loadBit call. this callbacks have the old data such as workspace/bitmap/consumer\n * of the previous workspace, which leads to hard-to-debug issues.\n */\nfunction clearGlobalsIfNeeded() {\n if (!loadConsumer.cache && !PackageJsonTransformer.packageJsonTransformersRegistry.length) {\n return;\n }\n delete loadConsumer.cache;\n\n const legacyGlobals = takeLegacyGlobalsSnapshot();\n legacyGlobals.forEach((global) => {\n global.classInstance[global.methodName] = global.empty;\n });\n}\n\nexport function takeLegacyGlobalsSnapshot(): LegacyGlobal[] {\n const legacyGlobals: LegacyGlobal[] = [\n {\n classInstance: ComponentLoader,\n methodName: 'onComponentLoadSubscribers',\n value: ComponentLoader.onComponentLoadSubscribers,\n empty: [],\n },\n {\n classInstance: ComponentOverrides,\n methodName: 'componentOverridesLoadingRegistry',\n value: ComponentOverrides.componentOverridesLoadingRegistry,\n empty: {},\n },\n {\n classInstance: ComponentConfig,\n methodName: 'componentConfigLoadingRegistry',\n value: ComponentConfig.componentConfigLoadingRegistry,\n empty: {},\n },\n {\n classInstance: PackageJsonTransformer,\n methodName: 'packageJsonTransformersRegistry',\n value: PackageJsonTransformer.packageJsonTransformersRegistry,\n empty: [],\n },\n { classInstance: ComponentLoader, methodName: 'loadDeps', value: ComponentLoader.loadDeps, empty: undefined },\n {\n classInstance: ExtensionDataList,\n methodName: 'toModelObjectsHook',\n value: ExtensionDataList.toModelObjectsHook,\n empty: [],\n },\n {\n classInstance: WorkspaceConfig,\n methodName: 'workspaceConfigEnsuringRegistry',\n value: WorkspaceConfig.workspaceConfigEnsuringRegistry,\n empty: undefined,\n },\n {\n classInstance: WorkspaceConfig,\n methodName: 'workspaceConfigIsExistRegistry',\n value: WorkspaceConfig.workspaceConfigIsExistRegistry,\n empty: undefined,\n },\n {\n classInstance: WorkspaceConfig,\n methodName: 'workspaceConfigLoadingRegistry',\n value: WorkspaceConfig.workspaceConfigLoadingRegistry,\n empty: undefined,\n },\n {\n classInstance: ExternalActions,\n methodName: 'externalActions',\n value: ExternalActions.externalActions,\n empty: [],\n },\n ];\n\n return legacyGlobals;\n}\n\nexport function restoreGlobalsFromSnapshot(snapshot: LegacyGlobal[]) {\n snapshot.forEach((global) => {\n global.classInstance[global.methodName] = global.value;\n });\n}\n"],"mappings":";;;;;;;;;;AAQA,SAAAA,oBAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,mBAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAKAC,OAAA;AAEA,SAAAC,cAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,aAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAOA,SAAAG,aAAA;EAAA,MAAAH,IAAA,GAAAI,sBAAA,CAAAH,OAAA;EAAAE,YAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAK,KAAA;EAAA,MAAAL,IAAA,GAAAC,OAAA;EAAAI,IAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAM,QAAA;EAAA,MAAAN,IAAA,GAAAC,OAAA;EAAAK,OAAA,YAAAA,CAAA;IAAA,OAAAN,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAO,SAAA;EAAA,MAAAP,IAAA,GAAAC,OAAA;EAAAM,QAAA,YAAAA,CAAA;IAAA,OAAAP,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAQ,eAAA;EAAA,MAAAR,IAAA,GAAAC,OAAA;EAAAO,cAAA,YAAAA,CAAA;IAAA,OAAAR,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAS,aAAA;EAAA,MAAAT,IAAA,GAAAC,OAAA;EAAAQ,YAAA,YAAAA,CAAA;IAAA,OAAAT,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAU,UAAA;EAAA,MAAAV,IAAA,GAAAC,OAAA;EAAAS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EAAEiB,yBAAe;IAC9BhB,UAAU,EAAE,iBAAiB;IAC7BG,KAAK,EAAEa,yBAAe,CAACC,eAAe;IACtChB,KAAK,EAAE;EACT,CAAC,CACF;EAED,OAAOL,aAAa;AACtB;AAEO,SAASsB,0BAA0BA,CAACC,QAAwB,EAAE;EACnEA,QAAQ,CAACrB,OAAO,CAAE7H,MAAM,IAAK;IAC3BA,MAAM,CAAC8H,aAAa,CAAC9H,MAAM,CAAC+H,UAAU,CAAC,GAAG/H,MAAM,CAACkI,KAAK;EACxD,CAAC,CAAC;AACJ","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_toolboxPerformance","data","require","_aspectLoader","_commentJson","_interopRequireDefault","_cli","_config","_harmony","_harmonyConfig","_legacyBitId","_consumer","_bitMap","_bitError","_componentLoader","_componentConfig","_componentOverrides","_workspaceModules","_semver","_bootstrap","_clearCache","_config2","_workspaceConfig","_componentId","_scopeModules","_logger","_action","_fsExtra","_path","_manifests","_bit","_bitMain","obj","__esModule","default","process","on","err","console","error","exit","nativeCompileCache","install","loadLegacyConfig","config","harmony","Harmony","load","ConfigAspect","ConfigRuntime","name","toObject","run","aspect","runtime","requireAspects","getConfig","cwd","consumerInfo","getConsumerInfo","scopePath","findScopePath","globalConfigOpts","configOpts","global","shouldThrow","path","getWsConfig","attachVersionsFromBitmap","Config","loadGlobal","consumerPath","wsPath","join","fileContent","readFile","includes","Error","constructor","message","location","line","column","toString","hasBitMap","hasConsumerConfig","rawConfig","rawBitmap","BitMap","loadRawSync","parsedBitMap","json","parse","undefined","_bit_lane","removeNonComponentFields","e","wsConfig","BitError","defaultScope","allBitmapIds","Object","keys","map","id","getComponentIdFromComponentJson","bitMapBitIds","ComponentIdList","fromArray","result","entries","reduce","acc","aspectId","aspectConfig","newAspectEntry","VERSION_DELIMITER","manifestsMap","versionFromBitmap","getVersionFromBitMapIds","aspectBitId","ComponentID","fromString","found","searchWithoutVersion","searchWithoutScopeAndVersion","hasVersion","version","dirPath","getAspectDistDir","files","readdir","runtimeFile","find","file","resolve","getMainAspect","mainAspectDir","getAspectDir","BitAspect","packageName","getCoreAspectPackageName","packageJson","getCoreAspectName","shouldLoadInSafeMode","currentCommand","argv","safeModeCommands","hasSafeModeFlag","isSafeModeCommand","isClearCacheCommand","shouldRunAsDaemon","env","BIT_DAEMON","loadBit","clearGlobalsIfNeeded","logger","info","registerCoreExtensions","configMap","verifyEngine","aspectsToLoad","CLIAspect","loadCLIOnly","push","ClearCacheAspect","isDaemon","MainRuntime","aspectLoader","get","setCoreAspects","values","setMainAspect","bitConfig","engine","bitVersion","getHarmonyVersion","satisfies","msg","engineStrict","runCLI","cli","hasWorkspace","loadConsumer","cache","PackageJsonTransformer","packageJsonTransformersRegistry","length","legacyGlobals","takeLegacyGlobalsSnapshot","forEach","classInstance","methodName","empty","ComponentLoader","value","onComponentLoadSubscribers","ComponentOverrides","componentOverridesLoadingRegistry","ComponentConfig","componentConfigLoadingRegistry","loadDeps","ExtensionDataList","toModelObjectsHook","WorkspaceConfig","workspaceConfigEnsuringRegistry","workspaceConfigLoadingRegistry","ExternalActions","externalActions","restoreGlobalsFromSnapshot","snapshot"],"sources":["load-bit.ts"],"sourcesContent":["/* eslint-disable import/no-dynamic-require */\n/* eslint-disable import/first */\nprocess.on('uncaughtException', (err) => {\n // eslint-disable-next-line no-console\n console.error('uncaughtException', err);\n process.exit(1);\n});\n\nimport { nativeCompileCache } from '@teambit/toolbox.performance.v8-cache';\n\n// Enable v8 compile cache, keep this before other imports\nnativeCompileCache?.install();\n\nimport './hook-require';\n\nimport {\n getAspectDir,\n getAspectDistDir,\n AspectLoaderMain,\n getCoreAspectPackageName,\n getCoreAspectName,\n} from '@teambit/aspect-loader';\nimport json from 'comment-json';\nimport { CLIAspect, CLIMain, MainRuntime } from '@teambit/cli';\nimport { ConfigAspect, ConfigRuntime } from '@teambit/config';\nimport { Harmony, RuntimeDefinition, Extension } from '@teambit/harmony';\n// TODO: expose this types from harmony (once we have a way to expose it only for node)\nimport { Config, ConfigOptions } from '@teambit/harmony/dist/harmony-config';\nimport { VERSION_DELIMITER } from '@teambit/legacy-bit-id';\nimport { getConsumerInfo, loadConsumer } from '@teambit/legacy/dist/consumer';\nimport { ConsumerInfo } from '@teambit/legacy/dist/consumer/consumer-locator';\nimport BitMap from '@teambit/legacy/dist/consumer/bit-map';\nimport { BitError } from '@teambit/bit-error';\nimport ComponentLoader from '@teambit/legacy/dist/consumer/component/component-loader';\nimport ComponentConfig from '@teambit/legacy/dist/consumer/config/component-config';\nimport ComponentOverrides from '@teambit/legacy/dist/consumer/config/component-overrides';\nimport { PackageJsonTransformer } from '@teambit/workspace.modules.node-modules-linker';\nimport { satisfies } from 'semver';\nimport { getHarmonyVersion } from '@teambit/legacy/dist/bootstrap';\nimport ClearCacheAspect from '@teambit/clear-cache';\nimport { ExtensionDataList } from '@teambit/legacy/dist/consumer/config';\nimport WorkspaceConfig from '@teambit/legacy/dist/consumer/config/workspace-config';\nimport { ComponentIdList, ComponentID } from '@teambit/component-id';\nimport { findScopePath } from '@teambit/scope.modules.find-scope-path';\nimport logger from '@teambit/legacy/dist/logger/logger';\nimport { ExternalActions } from '@teambit/legacy/dist/api/scope/lib/action';\nimport { readdir, readFile } from 'fs-extra';\nimport { resolve, join } from 'path';\nimport { manifestsMap } from './manifests';\nimport { BitAspect } from './bit.aspect';\nimport { registerCoreExtensions } from './bit.main.runtime';\nimport { BitConfig } from './bit.provider';\n\nasync function loadLegacyConfig(config: any) {\n const harmony = await Harmony.load([ConfigAspect], ConfigRuntime.name, config.toObject());\n await harmony.run(async (aspect: Extension, runtime: RuntimeDefinition) => requireAspects(aspect, runtime));\n}\n\nasync function getConfig(cwd = process.cwd()) {\n const consumerInfo = await getConsumerInfo(cwd);\n const scopePath = findScopePath(cwd);\n const globalConfigOpts = {\n name: '.bitrc.jsonc',\n };\n const configOpts: ConfigOptions = {\n global: globalConfigOpts,\n shouldThrow: false,\n cwd: consumerInfo?.path || scopePath,\n };\n\n if (consumerInfo) {\n const config = await getWsConfig(consumerInfo.path, configOpts);\n return attachVersionsFromBitmap(config, consumerInfo);\n }\n\n if (scopePath && !consumerInfo) {\n return Config.load('scope.jsonc', configOpts);\n }\n\n return Config.loadGlobal(globalConfigOpts);\n}\n\nasync function getWsConfig(consumerPath: string, configOpts: ConfigOptions) {\n try {\n return Config.load('workspace.jsonc', configOpts);\n } catch (err: any) {\n // file is there. otherwise, Config.load wouldn't throw.\n const wsPath = join(consumerPath, 'workspace.jsonc');\n const fileContent = await readFile(wsPath, 'utf-8');\n // if it has conflicts markers, ask the user to fix them\n if (fileContent.includes('<<<<<<<') || fileContent.includes('>>>>>>>')) {\n throw new Error(`please fix the conflicts in workspace.jsonc to continue`);\n }\n if (err.constructor.name === 'ReadConfigError' && err.err?.message) {\n const location = err.err.line && err.err.column ? ` (${err.err.line}:${err.err.column})` : '';\n throw new Error(`failed parsing the workspace.jsonc file at ${wsPath}. error: ${err.err.toString()}${location}`);\n }\n throw err;\n }\n}\n\n/**\n * This will attach versions of aspects configured in the config without version by resolves them from the bitmap file\n * It's required in order to support a usecase which you develop a local aspect and configure it in your workspace.jsonc\n * in that case you always want the workspace.jsonc config to be linked to your local aspect\n * but you don't want to change your workspace.jsonc version after each tag of the aspect\n * @param config\n */\nfunction attachVersionsFromBitmap(config: Config, consumerInfo: ConsumerInfo): Config {\n if (!consumerInfo || !consumerInfo.hasBitMap || !consumerInfo.hasConsumerConfig) {\n return config;\n }\n const rawConfig = config.toObject();\n const rawBitmap = BitMap.loadRawSync(consumerInfo.path);\n let parsedBitMap = {};\n try {\n parsedBitMap = rawBitmap ? json.parse(rawBitmap?.toString('utf8'), undefined, true) : {};\n // @todo: remove this if statement once we don't need the migration of the bitmap file for lanes\n // @ts-ignore\n if (parsedBitMap?._bit_lane?.name) {\n // backward compatibility. if \"_bit_land\" has the old format, then, later, when the bitmap is loaded again,\n // it'll take care of the migration.\n parsedBitMap = {};\n }\n BitMap.removeNonComponentFields(parsedBitMap);\n // Do nothing here, invalid bitmaps will be handled later\n // eslint-disable-next-line no-empty\n } catch (e: any) {}\n const wsConfig = rawConfig['teambit.workspace/workspace'];\n if (!wsConfig) throw new BitError('workspace.jsonc is missing the \"teambit.workspace/workspace\" property');\n const defaultScope = wsConfig.defaultScope;\n if (!defaultScope)\n throw new BitError('workspace.jsonc is missing the \"defaultScope\" property in \"teambit.workspace/workspace\"');\n const allBitmapIds = Object.keys(parsedBitMap).map((id) =>\n BitMap.getComponentIdFromComponentJson(id, parsedBitMap[id], defaultScope)\n );\n const bitMapBitIds = ComponentIdList.fromArray(allBitmapIds);\n const result = Object.entries(rawConfig).reduce((acc, [aspectId, aspectConfig]) => {\n let newAspectEntry = aspectId;\n // In case the id already has a version we don't want to get it from the bitmap\n // We also don't want to add versions for core aspects\n if (!aspectId.includes(VERSION_DELIMITER) && !manifestsMap[aspectId]) {\n const versionFromBitmap = getVersionFromBitMapIds(bitMapBitIds, aspectId);\n if (versionFromBitmap) {\n newAspectEntry = `${aspectId}${VERSION_DELIMITER}${versionFromBitmap}`;\n }\n }\n acc[newAspectEntry] = aspectConfig;\n return acc;\n }, {});\n return new Config(result);\n}\n\nfunction getVersionFromBitMapIds(allBitmapIds: ComponentIdList, aspectId: string): string | undefined {\n let aspectBitId: ComponentID;\n try {\n aspectBitId = ComponentID.fromString(aspectId);\n } catch (err: any) {\n throw new Error(\n `unable to parse the component-id \"${aspectId}\" from the workspace.jsonc file, make sure this is a component id`\n );\n }\n // start by searching id in the bitmap with exact match (including scope name)\n // in case the aspect is not exported yet, it will be in the bitmap without a scope,\n // while in the aspect id it will have the default scope\n const found =\n allBitmapIds.searchWithoutVersion(aspectBitId) || allBitmapIds.searchWithoutScopeAndVersion(aspectBitId);\n return found && found.hasVersion() ? found.version : undefined;\n}\n\nexport async function requireAspects(aspect: Extension, runtime: RuntimeDefinition) {\n const id = aspect.name;\n if (!id) throw new Error('could not retrieve aspect id');\n const dirPath = getAspectDistDir(id);\n const files = await readdir(dirPath);\n const runtimeFile = files.find((file) => file.includes(`.${runtime.name}.runtime.js`));\n if (!runtimeFile) return;\n // eslint-disable-next-line\n require(resolve(`${dirPath}/${runtimeFile}`));\n}\n\nfunction getMainAspect() {\n const mainAspectDir = getAspectDir(BitAspect.id);\n let version: string | undefined;\n const packageName = getCoreAspectPackageName(BitAspect.id);\n\n try {\n // eslint-disable-next-line global-require\n const packageJson = require(`${mainAspectDir}/package.json`);\n version = packageJson.version;\n } catch (err: any) {\n version = undefined;\n }\n\n return {\n path: mainAspectDir,\n version,\n packageName,\n aspect: BitAspect,\n name: getCoreAspectName(BitAspect.id),\n id: BitAspect.id,\n };\n}\n\n/**\n * Bit may crush during the aspect loading phase or workspace/consumer initialization.\n * normally, this is the desired behavior, however, some commands are there to help overcome these\n * errors, such as \"bit clear-cache\". for these commands we're better off loading the bare minimum,\n * which is only the CLI aspect.\n *\n * at this stage we don't have the commands objects, so we can't check the command/flags from there\n * instead, we have to check the `process.argv.` directly instead, which is not 100% accurate.\n */\nfunction shouldLoadInSafeMode() {\n const currentCommand = process.argv[2];\n const safeModeCommands = ['init', 'cat-scope', 'cat-object', 'cat-component', 'cmp', 'cat-lane', 'config', 'remote'];\n const hasSafeModeFlag = process.argv.includes('--safe-mode');\n const isSafeModeCommand = safeModeCommands.includes(currentCommand) || isClearCacheCommand();\n return isSafeModeCommand || hasSafeModeFlag;\n}\n\nfunction isClearCacheCommand() {\n return process.argv[2] === 'clear-cache' || process.argv[2] === 'cc';\n}\n\nfunction shouldRunAsDaemon() {\n return process.env.BIT_DAEMON === 'true';\n}\n\nexport async function loadBit(path = process.cwd()) {\n clearGlobalsIfNeeded();\n logger.info(`*** Loading Bit *** argv:\\n${process.argv.join('\\n')}`);\n const config = await getConfig(path);\n registerCoreExtensions();\n await loadLegacyConfig(config);\n const configMap = config.toObject();\n configMap[BitAspect.id] ||= {};\n configMap[BitAspect.id].cwd = path;\n verifyEngine(configMap[BitAspect.id]);\n\n const aspectsToLoad = [CLIAspect];\n const loadCLIOnly = shouldLoadInSafeMode();\n if (isClearCacheCommand()) aspectsToLoad.push(ClearCacheAspect);\n if (!loadCLIOnly) {\n aspectsToLoad.push(BitAspect);\n }\n if (shouldRunAsDaemon()) {\n logger.isDaemon = true;\n }\n const harmony = await Harmony.load(aspectsToLoad, MainRuntime.name, configMap);\n\n await harmony.run(async (aspect: Extension, runtime: RuntimeDefinition) => requireAspects(aspect, runtime));\n if (loadCLIOnly) return harmony;\n const aspectLoader = harmony.get<AspectLoaderMain>('teambit.harmony/aspect-loader');\n aspectLoader.setCoreAspects(Object.values(manifestsMap));\n aspectLoader.setMainAspect(getMainAspect());\n return harmony;\n}\n\nfunction verifyEngine(bitConfig: BitConfig) {\n if (!bitConfig.engine) {\n return;\n }\n const bitVersion = getHarmonyVersion(true);\n if (satisfies(bitVersion, bitConfig.engine)) {\n return;\n }\n const msg = `your bit version \"${bitVersion}\" doesn't satisfies the required \"${bitConfig.engine}\" version`;\n if (bitConfig.engineStrict) {\n throw new Error(`error: ${msg}`);\n }\n logger.console(msg, 'warn', 'yellow');\n}\n\nexport async function runCLI() {\n const harmony = await loadBit();\n const cli = harmony.get<CLIMain>('teambit.harmony/cli');\n let hasWorkspace = true;\n try {\n harmony.get('teambit.workspace/workspace');\n } catch (err: any) {\n hasWorkspace = false;\n }\n await cli.run(hasWorkspace);\n}\n\nexport type LegacyGlobal = { classInstance: any; methodName: string; value: any; empty: any };\n\n/**\n * loadBit may gets called multiple times (currently, it's happening during e2e-tests that call loadBit).\n * when it happens, the static methods in this function still have the callbacks that were added in\n * the previous loadBit call. this callbacks have the old data such as workspace/bitmap/consumer\n * of the previous workspace, which leads to hard-to-debug issues.\n */\nfunction clearGlobalsIfNeeded() {\n if (!loadConsumer.cache && !PackageJsonTransformer.packageJsonTransformersRegistry.length) {\n return;\n }\n delete loadConsumer.cache;\n\n const legacyGlobals = takeLegacyGlobalsSnapshot();\n legacyGlobals.forEach((global) => {\n global.classInstance[global.methodName] = global.empty;\n });\n}\n\nexport function takeLegacyGlobalsSnapshot(): LegacyGlobal[] {\n const legacyGlobals: LegacyGlobal[] = [\n {\n classInstance: ComponentLoader,\n methodName: 'onComponentLoadSubscribers',\n value: ComponentLoader.onComponentLoadSubscribers,\n empty: [],\n },\n {\n classInstance: ComponentOverrides,\n methodName: 'componentOverridesLoadingRegistry',\n value: ComponentOverrides.componentOverridesLoadingRegistry,\n empty: {},\n },\n {\n classInstance: ComponentConfig,\n methodName: 'componentConfigLoadingRegistry',\n value: ComponentConfig.componentConfigLoadingRegistry,\n empty: {},\n },\n {\n classInstance: PackageJsonTransformer,\n methodName: 'packageJsonTransformersRegistry',\n value: PackageJsonTransformer.packageJsonTransformersRegistry,\n empty: [],\n },\n { classInstance: ComponentLoader, methodName: 'loadDeps', value: ComponentLoader.loadDeps, empty: undefined },\n {\n classInstance: ExtensionDataList,\n methodName: 'toModelObjectsHook',\n value: ExtensionDataList.toModelObjectsHook,\n empty: [],\n },\n {\n classInstance: WorkspaceConfig,\n methodName: 'workspaceConfigEnsuringRegistry',\n value: WorkspaceConfig.workspaceConfigEnsuringRegistry,\n empty: undefined,\n },\n {\n classInstance: WorkspaceConfig,\n methodName: 'workspaceConfigLoadingRegistry',\n value: WorkspaceConfig.workspaceConfigLoadingRegistry,\n empty: undefined,\n },\n {\n classInstance: ExternalActions,\n methodName: 'externalActions',\n value: ExternalActions.externalActions,\n empty: [],\n },\n ];\n\n return legacyGlobals;\n}\n\nexport function restoreGlobalsFromSnapshot(snapshot: LegacyGlobal[]) {\n snapshot.forEach((global) => {\n global.classInstance[global.methodName] = global.value;\n });\n}\n"],"mappings":";;;;;;;;;;AAQA,SAAAA,oBAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,mBAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAKAC,OAAA;AAEA,SAAAC,cAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,aAAA,YAAAA,CAAA;IAAA,OAA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3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_bit@1.6.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_bit@1.6.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_bit@1.6.139/dist/bit.compositions.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_bit@1.6.139/dist/bit.docs.js';
|
|
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/bit",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.139",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/harmony/bit",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.harmony",
|
|
8
8
|
"name": "bit",
|
|
9
|
-
"version": "1.6.
|
|
9
|
+
"version": "1.6.139"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"comment-json": "3.0.3",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@yarnpkg/plugin-pack": "3.2.0",
|
|
35
35
|
"@yarnpkg/core": "3.5.2",
|
|
36
36
|
"@yarnpkg/cli": "3.6.1",
|
|
37
|
-
"@teambit/legacy": "1.0.
|
|
37
|
+
"@teambit/legacy": "1.0.686",
|
|
38
38
|
"@apollo/client": "3.6.9",
|
|
39
39
|
"@teambit/harmony": "0.4.6",
|
|
40
40
|
"@teambit/design.ui.brand.logo": "1.96.2",
|
|
@@ -46,109 +46,109 @@
|
|
|
46
46
|
"@teambit/base-react.navigation.link": "2.0.27",
|
|
47
47
|
"@teambit/toolbox.performance.v8-cache": "0.0.33",
|
|
48
48
|
"@teambit/cli": "0.0.862",
|
|
49
|
-
"@teambit/aspect-loader": "1.0.
|
|
49
|
+
"@teambit/aspect-loader": "1.0.246",
|
|
50
50
|
"@teambit/clear-cache": "0.0.407",
|
|
51
|
-
"@teambit/config": "0.0.
|
|
51
|
+
"@teambit/config": "0.0.997",
|
|
52
52
|
"@teambit/workspace.modules.node-modules-linker": "0.0.171",
|
|
53
|
-
"@teambit/api-reference": "1.0.
|
|
54
|
-
"@teambit/api-server": "1.0.
|
|
55
|
-
"@teambit/application": "1.0.
|
|
56
|
-
"@teambit/aspect": "1.0.
|
|
57
|
-
"@teambit/babel": "1.0.
|
|
58
|
-
"@teambit/builder": "1.0.
|
|
59
|
-
"@teambit/bundler": "1.0.
|
|
53
|
+
"@teambit/api-reference": "1.0.246",
|
|
54
|
+
"@teambit/api-server": "1.0.246",
|
|
55
|
+
"@teambit/application": "1.0.246",
|
|
56
|
+
"@teambit/aspect": "1.0.246",
|
|
57
|
+
"@teambit/babel": "1.0.246",
|
|
58
|
+
"@teambit/builder": "1.0.246",
|
|
59
|
+
"@teambit/bundler": "1.0.246",
|
|
60
60
|
"@teambit/cache": "0.0.955",
|
|
61
|
-
"@teambit/changelog": "1.0.
|
|
62
|
-
"@teambit/checkout": "1.0.
|
|
63
|
-
"@teambit/cloud": "0.0.
|
|
64
|
-
"@teambit/code": "1.0.
|
|
65
|
-
"@teambit/command-bar": "1.0.
|
|
66
|
-
"@teambit/community": "1.0.
|
|
67
|
-
"@teambit/compiler": "1.0.
|
|
68
|
-
"@teambit/component-compare": "1.0.
|
|
69
|
-
"@teambit/component-log": "1.0.
|
|
70
|
-
"@teambit/component-sizer": "1.0.
|
|
71
|
-
"@teambit/component-tree": "1.0.
|
|
72
|
-
"@teambit/component-writer": "1.0.
|
|
73
|
-
"@teambit/component": "1.0.
|
|
74
|
-
"@teambit/compositions": "1.0.
|
|
75
|
-
"@teambit/config-merger": "0.0.
|
|
76
|
-
"@teambit/dependencies": "1.0.
|
|
77
|
-
"@teambit/dependency-resolver": "1.0.
|
|
78
|
-
"@teambit/deprecation": "1.0.
|
|
79
|
-
"@teambit/dev-files": "1.0.
|
|
80
|
-
"@teambit/diagnostic": "1.0.
|
|
81
|
-
"@teambit/docs": "1.0.
|
|
82
|
-
"@teambit/eject": "1.0.
|
|
83
|
-
"@teambit/env": "1.0.
|
|
84
|
-
"@teambit/envs": "1.0.
|
|
85
|
-
"@teambit/eslint": "1.0.
|
|
86
|
-
"@teambit/export": "1.0.
|
|
61
|
+
"@teambit/changelog": "1.0.246",
|
|
62
|
+
"@teambit/checkout": "1.0.246",
|
|
63
|
+
"@teambit/cloud": "0.0.522",
|
|
64
|
+
"@teambit/code": "1.0.246",
|
|
65
|
+
"@teambit/command-bar": "1.0.246",
|
|
66
|
+
"@teambit/community": "1.0.246",
|
|
67
|
+
"@teambit/compiler": "1.0.246",
|
|
68
|
+
"@teambit/component-compare": "1.0.246",
|
|
69
|
+
"@teambit/component-log": "1.0.246",
|
|
70
|
+
"@teambit/component-sizer": "1.0.246",
|
|
71
|
+
"@teambit/component-tree": "1.0.246",
|
|
72
|
+
"@teambit/component-writer": "1.0.246",
|
|
73
|
+
"@teambit/component": "1.0.246",
|
|
74
|
+
"@teambit/compositions": "1.0.246",
|
|
75
|
+
"@teambit/config-merger": "0.0.113",
|
|
76
|
+
"@teambit/dependencies": "1.0.246",
|
|
77
|
+
"@teambit/dependency-resolver": "1.0.246",
|
|
78
|
+
"@teambit/deprecation": "1.0.246",
|
|
79
|
+
"@teambit/dev-files": "1.0.246",
|
|
80
|
+
"@teambit/diagnostic": "1.0.246",
|
|
81
|
+
"@teambit/docs": "1.0.246",
|
|
82
|
+
"@teambit/eject": "1.0.246",
|
|
83
|
+
"@teambit/env": "1.0.246",
|
|
84
|
+
"@teambit/envs": "1.0.246",
|
|
85
|
+
"@teambit/eslint": "1.0.246",
|
|
86
|
+
"@teambit/export": "1.0.246",
|
|
87
87
|
"@teambit/express": "0.0.961",
|
|
88
|
-
"@teambit/forking": "1.0.
|
|
89
|
-
"@teambit/formatter": "1.0.
|
|
90
|
-
"@teambit/generator": "1.0.
|
|
91
|
-
"@teambit/git": "1.0.
|
|
88
|
+
"@teambit/forking": "1.0.246",
|
|
89
|
+
"@teambit/formatter": "1.0.246",
|
|
90
|
+
"@teambit/generator": "1.0.247",
|
|
91
|
+
"@teambit/git": "1.0.246",
|
|
92
92
|
"@teambit/global-config": "0.0.865",
|
|
93
|
-
"@teambit/graph": "1.0.
|
|
94
|
-
"@teambit/graphql": "1.0.
|
|
95
|
-
"@teambit/harmony-ui-app": "1.0.
|
|
96
|
-
"@teambit/html": "1.0.
|
|
97
|
-
"@teambit/importer": "1.0.
|
|
98
|
-
"@teambit/insights": "1.0.
|
|
99
|
-
"@teambit/install": "1.0.
|
|
100
|
-
"@teambit/ipc-events": "1.0.
|
|
101
|
-
"@teambit/isolator": "1.0.
|
|
102
|
-
"@teambit/issues": "1.0.
|
|
103
|
-
"@teambit/jest": "1.0.
|
|
104
|
-
"@teambit/lanes": "1.0.
|
|
105
|
-
"@teambit/linter": "1.0.
|
|
106
|
-
"@teambit/lister": "1.0.
|
|
93
|
+
"@teambit/graph": "1.0.246",
|
|
94
|
+
"@teambit/graphql": "1.0.246",
|
|
95
|
+
"@teambit/harmony-ui-app": "1.0.246",
|
|
96
|
+
"@teambit/html": "1.0.246",
|
|
97
|
+
"@teambit/importer": "1.0.246",
|
|
98
|
+
"@teambit/insights": "1.0.246",
|
|
99
|
+
"@teambit/install": "1.0.246",
|
|
100
|
+
"@teambit/ipc-events": "1.0.246",
|
|
101
|
+
"@teambit/isolator": "1.0.246",
|
|
102
|
+
"@teambit/issues": "1.0.246",
|
|
103
|
+
"@teambit/jest": "1.0.246",
|
|
104
|
+
"@teambit/lanes": "1.0.246",
|
|
105
|
+
"@teambit/linter": "1.0.246",
|
|
106
|
+
"@teambit/lister": "1.0.246",
|
|
107
107
|
"@teambit/logger": "0.0.955",
|
|
108
|
-
"@teambit/mdx": "1.0.
|
|
109
|
-
"@teambit/merge-lanes": "1.0.
|
|
110
|
-
"@teambit/merging": "1.0.
|
|
111
|
-
"@teambit/mocha": "1.0.
|
|
112
|
-
"@teambit/mover": "1.0.
|
|
113
|
-
"@teambit/multi-compiler": "1.0.
|
|
114
|
-
"@teambit/multi-tester": "1.0.
|
|
115
|
-
"@teambit/new-component-helper": "1.0.
|
|
116
|
-
"@teambit/node": "1.0.
|
|
117
|
-
"@teambit/notifications": "1.0.
|
|
108
|
+
"@teambit/mdx": "1.0.246",
|
|
109
|
+
"@teambit/merge-lanes": "1.0.246",
|
|
110
|
+
"@teambit/merging": "1.0.246",
|
|
111
|
+
"@teambit/mocha": "1.0.246",
|
|
112
|
+
"@teambit/mover": "1.0.246",
|
|
113
|
+
"@teambit/multi-compiler": "1.0.246",
|
|
114
|
+
"@teambit/multi-tester": "1.0.246",
|
|
115
|
+
"@teambit/new-component-helper": "1.0.246",
|
|
116
|
+
"@teambit/node": "1.0.246",
|
|
117
|
+
"@teambit/notifications": "1.0.246",
|
|
118
118
|
"@teambit/panels": "0.0.864",
|
|
119
|
-
"@teambit/pkg": "1.0.
|
|
120
|
-
"@teambit/pnpm": "1.0.
|
|
121
|
-
"@teambit/prettier": "1.0.
|
|
122
|
-
"@teambit/preview": "1.0.
|
|
123
|
-
"@teambit/pubsub": "1.0.
|
|
124
|
-
"@teambit/react-native": "1.0.
|
|
125
|
-
"@teambit/react-router": "1.0.
|
|
126
|
-
"@teambit/react": "1.0.
|
|
127
|
-
"@teambit/readme": "1.0.
|
|
128
|
-
"@teambit/refactoring": "1.0.
|
|
129
|
-
"@teambit/remove": "1.0.
|
|
130
|
-
"@teambit/renaming": "1.0.
|
|
131
|
-
"@teambit/schema": "1.0.
|
|
132
|
-
"@teambit/scope": "1.0.
|
|
133
|
-
"@teambit/sidebar": "1.0.
|
|
134
|
-
"@teambit/sign": "1.0.
|
|
135
|
-
"@teambit/snapping": "1.0.
|
|
136
|
-
"@teambit/stash": "1.0.
|
|
137
|
-
"@teambit/status": "1.0.
|
|
138
|
-
"@teambit/tester": "1.0.
|
|
139
|
-
"@teambit/tracker": "1.0.
|
|
140
|
-
"@teambit/typescript": "1.0.
|
|
141
|
-
"@teambit/ui": "1.0.
|
|
142
|
-
"@teambit/update-dependencies": "1.0.
|
|
143
|
-
"@teambit/user-agent": "1.0.
|
|
144
|
-
"@teambit/variants": "0.0.
|
|
145
|
-
"@teambit/version-history": "0.0.
|
|
146
|
-
"@teambit/watcher": "1.0.
|
|
147
|
-
"@teambit/webpack": "1.0.
|
|
119
|
+
"@teambit/pkg": "1.0.246",
|
|
120
|
+
"@teambit/pnpm": "1.0.246",
|
|
121
|
+
"@teambit/prettier": "1.0.246",
|
|
122
|
+
"@teambit/preview": "1.0.246",
|
|
123
|
+
"@teambit/pubsub": "1.0.246",
|
|
124
|
+
"@teambit/react-native": "1.0.246",
|
|
125
|
+
"@teambit/react-router": "1.0.246",
|
|
126
|
+
"@teambit/react": "1.0.246",
|
|
127
|
+
"@teambit/readme": "1.0.246",
|
|
128
|
+
"@teambit/refactoring": "1.0.246",
|
|
129
|
+
"@teambit/remove": "1.0.246",
|
|
130
|
+
"@teambit/renaming": "1.0.246",
|
|
131
|
+
"@teambit/schema": "1.0.246",
|
|
132
|
+
"@teambit/scope": "1.0.246",
|
|
133
|
+
"@teambit/sidebar": "1.0.246",
|
|
134
|
+
"@teambit/sign": "1.0.246",
|
|
135
|
+
"@teambit/snapping": "1.0.246",
|
|
136
|
+
"@teambit/stash": "1.0.246",
|
|
137
|
+
"@teambit/status": "1.0.246",
|
|
138
|
+
"@teambit/tester": "1.0.246",
|
|
139
|
+
"@teambit/tracker": "1.0.246",
|
|
140
|
+
"@teambit/typescript": "1.0.246",
|
|
141
|
+
"@teambit/ui": "1.0.246",
|
|
142
|
+
"@teambit/update-dependencies": "1.0.246",
|
|
143
|
+
"@teambit/user-agent": "1.0.246",
|
|
144
|
+
"@teambit/variants": "0.0.1090",
|
|
145
|
+
"@teambit/version-history": "0.0.38",
|
|
146
|
+
"@teambit/watcher": "1.0.246",
|
|
147
|
+
"@teambit/webpack": "1.0.246",
|
|
148
148
|
"@teambit/worker": "0.0.1166",
|
|
149
|
-
"@teambit/workspace-config-files": "1.0.
|
|
150
|
-
"@teambit/workspace": "1.0.
|
|
151
|
-
"@teambit/yarn": "1.0.
|
|
149
|
+
"@teambit/workspace-config-files": "1.0.246",
|
|
150
|
+
"@teambit/workspace": "1.0.246",
|
|
151
|
+
"@teambit/yarn": "1.0.246"
|
|
152
152
|
},
|
|
153
153
|
"devDependencies": {
|
|
154
154
|
"@types/fs-extra": "9.0.7",
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
"@teambit/harmony.envs.core-aspect-env": "0.0.33"
|
|
160
160
|
},
|
|
161
161
|
"peerDependencies": {
|
|
162
|
-
"@teambit/legacy": "1.0.
|
|
162
|
+
"@teambit/legacy": "1.0.686",
|
|
163
163
|
"react": "17.0.2",
|
|
164
164
|
"@types/react": "^17.0.73"
|
|
165
165
|
},
|