@teambit/eject 1.0.412 → 1.0.414
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.
|
3
|
+
<testsuite name="teambit.workspace/eject@1.0.414" 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={
|
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={93244:(e,t,o)=>{var n={id:"teambit.workspace/eject@1.0.414",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(93244);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})()));
|
package/artifacts/schema.json
CHANGED
@@ -373,7 +373,7 @@
|
|
373
373
|
"componentId": {
|
374
374
|
"scope": "teambit.component",
|
375
375
|
"name": "component-id",
|
376
|
-
"version": "1.2.
|
376
|
+
"version": "1.2.2"
|
377
377
|
}
|
378
378
|
},
|
379
379
|
"isOptional": false
|
@@ -899,7 +899,7 @@
|
|
899
899
|
"componentId": {
|
900
900
|
"scope": "teambit.component",
|
901
901
|
"name": "component-id",
|
902
|
-
"version": "1.2.
|
902
|
+
"version": "1.2.2"
|
903
903
|
}
|
904
904
|
},
|
905
905
|
"isOptional": false
|
@@ -1059,7 +1059,7 @@
|
|
1059
1059
|
"componentId": {
|
1060
1060
|
"scope": "teambit.component",
|
1061
1061
|
"name": "component-id",
|
1062
|
-
"version": "1.2.
|
1062
|
+
"version": "1.2.2"
|
1063
1063
|
}
|
1064
1064
|
},
|
1065
1065
|
"isOptional": false
|
@@ -1659,7 +1659,7 @@
|
|
1659
1659
|
"componentId": {
|
1660
1660
|
"scope": "teambit.component",
|
1661
1661
|
"name": "component-id",
|
1662
|
-
"version": "1.2.
|
1662
|
+
"version": "1.2.2"
|
1663
1663
|
}
|
1664
1664
|
},
|
1665
1665
|
"isOptional": false
|
@@ -1684,7 +1684,7 @@
|
|
1684
1684
|
"componentId": {
|
1685
1685
|
"scope": "teambit.component",
|
1686
1686
|
"name": "component-id",
|
1687
|
-
"version": "1.2.
|
1687
|
+
"version": "1.2.2"
|
1688
1688
|
}
|
1689
1689
|
},
|
1690
1690
|
"isOptional": false
|
@@ -1709,7 +1709,7 @@
|
|
1709
1709
|
"componentId": {
|
1710
1710
|
"scope": "teambit.component",
|
1711
1711
|
"name": "component-id",
|
1712
|
-
"version": "1.2.
|
1712
|
+
"version": "1.2.2"
|
1713
1713
|
}
|
1714
1714
|
},
|
1715
1715
|
"isOptional": false
|
@@ -1734,7 +1734,7 @@
|
|
1734
1734
|
"componentId": {
|
1735
1735
|
"scope": "teambit.component",
|
1736
1736
|
"name": "component-id",
|
1737
|
-
"version": "1.2.
|
1737
|
+
"version": "1.2.2"
|
1738
1738
|
}
|
1739
1739
|
},
|
1740
1740
|
"isOptional": false
|
@@ -1785,7 +1785,7 @@
|
|
1785
1785
|
"componentId": {
|
1786
1786
|
"scope": "teambit.workspace",
|
1787
1787
|
"name": "eject",
|
1788
|
-
"version": "1.0.
|
1788
|
+
"version": "1.0.414"
|
1789
1789
|
},
|
1790
1790
|
"taggedModuleExports": []
|
1791
1791
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_eject@1.0.
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_eject@1.0.
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_eject@1.0.414/dist/eject.composition.js';
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_eject@1.0.414/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.
|
3
|
+
"version": "1.0.414",
|
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.
|
9
|
+
"version": "1.0.414"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"chalk": "2.4.2",
|
13
|
-
"@teambit/component-id": "1.2.
|
13
|
+
"@teambit/component-id": "1.2.2",
|
14
14
|
"@teambit/harmony": "0.4.6",
|
15
|
-
"@teambit/component.sources": "0.0.
|
16
|
-
"@teambit/install": "1.0.
|
17
|
-
"@teambit/logger": "0.0.
|
18
|
-
"@teambit/pkg.modules.component-package-name": "0.0.
|
19
|
-
"@teambit/remove": "1.0.
|
20
|
-
"@teambit/workspace": "1.0.
|
21
|
-
"@teambit/cli": "0.0.
|
15
|
+
"@teambit/component.sources": "0.0.32",
|
16
|
+
"@teambit/install": "1.0.414",
|
17
|
+
"@teambit/logger": "0.0.1084",
|
18
|
+
"@teambit/pkg.modules.component-package-name": "0.0.5",
|
19
|
+
"@teambit/remove": "1.0.414",
|
20
|
+
"@teambit/workspace": "1.0.414",
|
21
|
+
"@teambit/cli": "0.0.991"
|
22
22
|
},
|
23
23
|
"devDependencies": {
|
24
24
|
"@types/mocha": "9.1.0",
|