@teambit/eject 1.0.409 → 1.0.411

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.workspace/eject@1.0.409" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.workspace/eject@1.0.411" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.workspace/eject-preview"]=t():e["teambit.workspace/eject-preview"]=t()}(self,(()=>(()=>{"use strict";var e={3198:(e,t,o)=>{var n={id:"teambit.workspace/eject@1.0.409",homepage:"https://bit.cloud/teambit/workspace/eject",exported:!0};function r(){const e=i(o(41594));return r=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=n,i.__bit_component=n;const a=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/eject.svg"}));a.__bit_component=n,t.Logo=a},41594:e=>{e.exports=React}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};o.r(n),o.d(n,{compositions:()=>u,compositions_metadata:()=>b,overview:()=>f});var r={};o.r(r),o.d(r,{default:()=>m});var i=o(3198);o(41594);const a=MdxJsReact,p=TeambitMdxUiMdxScopeContext;var c=["components"];function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)({}).hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},d.apply(null,arguments)}var l={},s="wrapper";function m(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;o[n]=e[n]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,c);return(0,a.mdx)(s,d({},l,o,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(p.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"},(0,a.mdx)("p",null,"One of the common scenarios of using ",(0,a.mdx)("inlineCode",{parentName:"p"},"bit eject")," is to make a quick change to an external (component) dependency. The component needs to be imported first and once it's changed and exported, there is no need to keep it in the current workspace. Without ",(0,a.mdx)("inlineCode",{parentName:"p"},"eject"),", the next steps would be: 1) remove the component from the workspace by ",(0,a.mdx)("inlineCode",{parentName:"p"},"bit remove")," and 2) installing the component by ",(0,a.mdx)("inlineCode",{parentName:"p"},"bit install"),"."),(0,a.mdx)("p",null,(0,a.mdx)("inlineCode",{parentName:"p"},"bit eject")," combines the commands above to one command."),(0,a.mdx)("h2",null,"Eject process"),(0,a.mdx)("p",null,"The following steps are done during the ",(0,a.mdx)("inlineCode",{parentName:"p"},"eject")," process."),(0,a.mdx)("ol",null,(0,a.mdx)("li",{parentName:"ol"},"remove the component's data from node-modules so then it won't interfere with the package installation."),(0,a.mdx)("li",{parentName:"ol"},"remove the component from the .bitmap file."),(0,a.mdx)("li",{parentName:"ol"},"install the component as a package by the package manager and add the package to the ",(0,a.mdx)("inlineCode",{parentName:"li"},"workspace.json")," file."),(0,a.mdx)("li",{parentName:"ol"},"depends on the ",(0,a.mdx)("inlineCode",{parentName:"li"},"--keep-files")," flag, deletes the component files from the workspace."))))}m.isMDXComponent=!0;const u=[i],f=[r],b={compositions:[{displayName:"Logo",identifier:"Logo"}]};return n})()));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.workspace/eject-preview"]=t():e["teambit.workspace/eject-preview"]=t()}(self,(()=>(()=>{"use strict";var e={23713:(e,t,o)=>{var n={id:"teambit.workspace/eject@1.0.411",homepage:"https://bit.cloud/teambit/workspace/eject",exported:!0};function r(){const e=i(o(41594));return r=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=n,i.__bit_component=n;const a=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/eject.svg"}));a.__bit_component=n,t.Logo=a},41594:e=>{e.exports=React}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};o.r(n),o.d(n,{compositions:()=>u,compositions_metadata:()=>b,overview:()=>f});var r={};o.r(r),o.d(r,{default:()=>m});var i=o(23713);o(41594);const a=MdxJsReact,p=TeambitMdxUiMdxScopeContext;var c=["components"];function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)({}).hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},d.apply(null,arguments)}var l={},s="wrapper";function m(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;o[n]=e[n]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,c);return(0,a.mdx)(s,d({},l,o,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(p.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"},(0,a.mdx)("p",null,"One of the common scenarios of using ",(0,a.mdx)("inlineCode",{parentName:"p"},"bit eject")," is to make a quick change to an external (component) dependency. The component needs to be imported first and once it's changed and exported, there is no need to keep it in the current workspace. Without ",(0,a.mdx)("inlineCode",{parentName:"p"},"eject"),", the next steps would be: 1) remove the component from the workspace by ",(0,a.mdx)("inlineCode",{parentName:"p"},"bit remove")," and 2) installing the component by ",(0,a.mdx)("inlineCode",{parentName:"p"},"bit install"),"."),(0,a.mdx)("p",null,(0,a.mdx)("inlineCode",{parentName:"p"},"bit eject")," combines the commands above to one command."),(0,a.mdx)("h2",null,"Eject process"),(0,a.mdx)("p",null,"The following steps are done during the ",(0,a.mdx)("inlineCode",{parentName:"p"},"eject")," process."),(0,a.mdx)("ol",null,(0,a.mdx)("li",{parentName:"ol"},"remove the component's data from node-modules so then it won't interfere with the package installation."),(0,a.mdx)("li",{parentName:"ol"},"remove the component from the .bitmap file."),(0,a.mdx)("li",{parentName:"ol"},"install the component as a package by the package manager and add the package to the ",(0,a.mdx)("inlineCode",{parentName:"li"},"workspace.json")," file."),(0,a.mdx)("li",{parentName:"ol"},"depends on the ",(0,a.mdx)("inlineCode",{parentName:"li"},"--keep-files")," flag, deletes the component files from the workspace."))))}m.isMDXComponent=!0;const u=[i],f=[r],b={compositions:[{displayName:"Logo",identifier:"Logo"}]};return n})()));
@@ -20,6 +20,7 @@
20
20
  "line": 1,
21
21
  "character": 15
22
22
  },
23
+ "signature": "class EjectMain",
23
24
  "name": "EjectMain",
24
25
  "exportNode": {
25
26
  "__schema": "ClassSchema",
@@ -333,6 +334,7 @@
333
334
  "line": 2,
334
335
  "character": 15
335
336
  },
337
+ "signature": "type EjectResults = {\n ejectedComponents: ComponentIdList;\n failedComponents: FailedComponents;\n}",
336
338
  "name": "EjectResults",
337
339
  "exportNode": {
338
340
  "__schema": "TypeSchema",
@@ -408,6 +410,7 @@
408
410
  "line": 3,
409
411
  "character": 10
410
412
  },
413
+ "signature": "const successEjectMessage: \"successfully ejected the following components\"",
411
414
  "name": "successEjectMessage",
412
415
  "exportNode": {
413
416
  "__schema": "VariableLikeSchema",
@@ -438,6 +441,7 @@
438
441
  "line": 3,
439
442
  "character": 31
440
443
  },
444
+ "signature": "function ejectTemplate(ejectResults: EjectResults): string",
441
445
  "name": "ejectTemplate",
442
446
  "exportNode": {
443
447
  "__schema": "FunctionLikeSchema",
@@ -491,6 +495,7 @@
491
495
  "line": 4,
492
496
  "character": 10
493
497
  },
498
+ "signature": "const EjectAspect: Aspect",
494
499
  "name": "EjectAspect",
495
500
  "exportNode": {
496
501
  "__schema": "VariableLikeSchema",
@@ -1780,7 +1785,7 @@
1780
1785
  "componentId": {
1781
1786
  "scope": "teambit.workspace",
1782
1787
  "name": "eject",
1783
- "version": "1.0.409"
1788
+ "version": "1.0.411"
1784
1789
  },
1785
1790
  "taggedModuleExports": []
1786
1791
  }
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_eject@1.0.409/dist/eject.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_eject@1.0.409/dist/eject.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_eject@1.0.411/dist/eject.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_eject@1.0.411/dist/eject.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@teambit/eject",
3
- "version": "1.0.409",
3
+ "version": "1.0.411",
4
4
  "homepage": "https://bit.cloud/teambit/workspace/eject",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.workspace",
8
8
  "name": "eject",
9
- "version": "1.0.409"
9
+ "version": "1.0.411"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
13
13
  "@teambit/component-id": "1.2.0",
14
14
  "@teambit/harmony": "0.4.6",
15
- "@teambit/component.sources": "0.0.29",
16
- "@teambit/install": "1.0.409",
17
- "@teambit/logger": "0.0.1079",
15
+ "@teambit/component.sources": "0.0.30",
16
+ "@teambit/install": "1.0.411",
17
+ "@teambit/logger": "0.0.1081",
18
18
  "@teambit/pkg.modules.component-package-name": "0.0.4",
19
- "@teambit/remove": "1.0.409",
20
- "@teambit/workspace": "1.0.409",
21
- "@teambit/cli": "0.0.986"
19
+ "@teambit/remove": "1.0.411",
20
+ "@teambit/workspace": "1.0.411",
21
+ "@teambit/cli": "0.0.988"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@types/mocha": "9.1.0",