@teambit/isolator 1.0.410 → 1.0.411
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<testsuites tests="0" failures="0" errors="0" skipped="0">
|
3
|
-
<testsuite name="teambit.component/isolator@1.0.
|
3
|
+
<testsuite name="teambit.component/isolator@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.component/isolator-preview"]=t():e["teambit.component/isolator-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.component/isolator-preview"]=t():e["teambit.component/isolator-preview"]=t()}(self,(()=>(()=>{"use strict";var e={67171:(e,t,o)=>{var n={id:"teambit.component/isolator@1.0.411",homepage:"https://bit.cloud/teambit/component/isolator",exported:!0};function r(){const e=a(o(41594));return r=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=n,a.__bit_component=n;const s=()=>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/isolator.svg"}));s.__bit_component=n,t.Logo=s},41594:e=>{e.exports=React}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,o),a.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:()=>m,compositions_metadata:()=>h,overview:()=>f});var r={};o.r(r),o.d(r,{default:()=>u});var a=o(67171);o(41594);const s=MdxJsReact,i=TeambitMdxUiMdxScopeContext;var l=["components"];function p(){return p=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},p.apply(null,arguments)}var c={},d="wrapper";function u(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 a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)o=a[n],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,l);return(0,s.mdx)(d,p({},c,o,{components:t,mdxType:"MDXLayout"}),(0,s.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"},(0,s.mdx)("h2",null,"Isolate a component"),(0,s.mdx)("pre",null,(0,s.mdx)("code",{parentName:"pre",className:"language-bash"},"bit create-capsule ui/button\n")),(0,s.mdx)("h2",null,"Entities"),(0,s.mdx)("h3",null,"Capsule"),(0,s.mdx)("p",null,"Bit implements a filesystem capsule, which is an isolated folder containing the component files.\nCapsules include the component files and links to other capsules that include the component's dependencies."),(0,s.mdx)("h3",null,"Network"),(0,s.mdx)("p",null,"A network is a group of capsules, related to one another by their dependencies.\nA network includes a graph of all seed components given to it, as well as a list of the capsules."),(0,s.mdx)("p",null,"Example:"),(0,s.mdx)("pre",null,(0,s.mdx)("code",{parentName:"pre",className:"language-javascript"},"const Network = {\n graph: Graph,\n capsules: CapsuleList,\n};\n")),(0,s.mdx)("h2",null,"API"),(0,s.mdx)("p",null,"The exact particularities of this API are beyond the scope of this readme. Instead, this document opts to\nprovide a general description of the methods of this API and their purpose."),(0,s.mdx)("h3",null,"Isolator.isolateComponents"),(0,s.mdx)("p",null,"This method receives a list of components, create capsule for the components and write the components data into the capsule.\nIt returns a list of capsules.")))}u.isMDXComponent=!0;const m=[a],f=[r],h={compositions:[{displayName:"Logo",identifier:"Logo"}]};return n})()));
|
package/artifacts/schema.json
CHANGED
@@ -20,6 +20,7 @@
|
|
20
20
|
"line": 1,
|
21
21
|
"character": 10
|
22
22
|
},
|
23
|
+
"signature": "const CAPSULE_READY_FILE: \".bit-capsule-ready\"",
|
23
24
|
"name": "CAPSULE_READY_FILE",
|
24
25
|
"exportNode": {
|
25
26
|
"__schema": "VariableLikeSchema",
|
@@ -50,6 +51,7 @@
|
|
50
51
|
"line": 2,
|
51
52
|
"character": 10
|
52
53
|
},
|
54
|
+
"signature": "class Network",
|
53
55
|
"name": "Network",
|
54
56
|
"exportNode": {
|
55
57
|
"__schema": "ClassSchema",
|
@@ -334,6 +336,7 @@
|
|
334
336
|
"line": 3,
|
335
337
|
"character": 10
|
336
338
|
},
|
339
|
+
"signature": "class FsContainer",
|
337
340
|
"name": "FsContainer",
|
338
341
|
"exportNode": {
|
339
342
|
"__schema": "ClassSchema",
|
@@ -1227,7 +1230,7 @@
|
|
1227
1230
|
"_legacy": {
|
1228
1231
|
"scope": "teambit.component",
|
1229
1232
|
"name": "isolator",
|
1230
|
-
"version": "1.0.
|
1233
|
+
"version": "1.0.411"
|
1231
1234
|
},
|
1232
1235
|
"_scope": "teambit.component"
|
1233
1236
|
}
|
@@ -1243,6 +1246,7 @@
|
|
1243
1246
|
"line": 3,
|
1244
1247
|
"character": 23
|
1245
1248
|
},
|
1249
|
+
"signature": "class Capsule",
|
1246
1250
|
"name": "Capsule",
|
1247
1251
|
"exportNode": {
|
1248
1252
|
"__schema": "ClassSchema",
|
@@ -2434,7 +2438,7 @@
|
|
2434
2438
|
"_legacy": {
|
2435
2439
|
"scope": "teambit.component",
|
2436
2440
|
"name": "isolator",
|
2437
|
-
"version": "1.0.
|
2441
|
+
"version": "1.0.411"
|
2438
2442
|
},
|
2439
2443
|
"_scope": "teambit.component"
|
2440
2444
|
}
|
@@ -2451,6 +2455,7 @@
|
|
2451
2455
|
"line": 3,
|
2452
2456
|
"character": 32
|
2453
2457
|
},
|
2458
|
+
"signature": "class ContainerExec",
|
2454
2459
|
"name": "ContainerExec",
|
2455
2460
|
"exportNode": {
|
2456
2461
|
"__schema": "ClassSchema",
|
@@ -2719,7 +2724,7 @@
|
|
2719
2724
|
"_legacy": {
|
2720
2725
|
"scope": "teambit.component",
|
2721
2726
|
"name": "isolator",
|
2722
|
-
"version": "1.0.
|
2727
|
+
"version": "1.0.411"
|
2723
2728
|
},
|
2724
2729
|
"_scope": "teambit.component"
|
2725
2730
|
}
|
@@ -2748,7 +2753,7 @@
|
|
2748
2753
|
"_legacy": {
|
2749
2754
|
"scope": "teambit.component",
|
2750
2755
|
"name": "isolator",
|
2751
|
-
"version": "1.0.
|
2756
|
+
"version": "1.0.411"
|
2752
2757
|
},
|
2753
2758
|
"_scope": "teambit.component"
|
2754
2759
|
}
|
@@ -2764,6 +2769,7 @@
|
|
2764
2769
|
"line": 4,
|
2765
2770
|
"character": 15
|
2766
2771
|
},
|
2772
|
+
"signature": "class IsolatorMain",
|
2767
2773
|
"name": "IsolatorMain",
|
2768
2774
|
"exportNode": {
|
2769
2775
|
"__schema": "ClassSchema",
|
@@ -4102,6 +4108,7 @@
|
|
4102
4108
|
"line": 4,
|
4103
4109
|
"character": 29
|
4104
4110
|
},
|
4111
|
+
"signature": "type IsolateComponentsOptions = CreateGraphOptions & {\n name?: string | undefined;\n rootBaseDir?: string | undefined;\n baseDir?: string | undefined;\n useHash?: boolean | undefined;\n alwaysNew?: boolean | undefined;\n ... 16 more ...;\n cacheCapsulesDir?: string | undefined;\n}",
|
4105
4112
|
"name": "IsolateComponentsOptions",
|
4106
4113
|
"exportNode": {
|
4107
4114
|
"__schema": "TypeSchema",
|
@@ -4807,6 +4814,7 @@
|
|
4807
4814
|
"line": 5,
|
4808
4815
|
"character": 10
|
4809
4816
|
},
|
4817
|
+
"signature": "const IsolatorAspect: Aspect",
|
4810
4818
|
"name": "IsolatorAspect",
|
4811
4819
|
"exportNode": {
|
4812
4820
|
"__schema": "VariableLikeSchema",
|
@@ -4842,6 +4850,7 @@
|
|
4842
4850
|
"line": 6,
|
4843
4851
|
"character": 21
|
4844
4852
|
},
|
4853
|
+
"signature": "class CapsuleList",
|
4845
4854
|
"name": "default",
|
4846
4855
|
"exportNode": {
|
4847
4856
|
"__schema": "ClassSchema",
|
@@ -5404,7 +5413,7 @@
|
|
5404
5413
|
"_legacy": {
|
5405
5414
|
"scope": "teambit.component",
|
5406
5415
|
"name": "isolator",
|
5407
|
-
"version": "1.0.
|
5416
|
+
"version": "1.0.411"
|
5408
5417
|
},
|
5409
5418
|
"_scope": "teambit.component"
|
5410
5419
|
}
|
@@ -5850,7 +5859,7 @@
|
|
5850
5859
|
"_legacy": {
|
5851
5860
|
"scope": "teambit.component",
|
5852
5861
|
"name": "isolator",
|
5853
|
-
"version": "1.0.
|
5862
|
+
"version": "1.0.411"
|
5854
5863
|
},
|
5855
5864
|
"_scope": "teambit.component"
|
5856
5865
|
}
|
@@ -5911,7 +5920,7 @@
|
|
5911
5920
|
"_legacy": {
|
5912
5921
|
"scope": "teambit.component",
|
5913
5922
|
"name": "isolator",
|
5914
|
-
"version": "1.0.
|
5923
|
+
"version": "1.0.411"
|
5915
5924
|
},
|
5916
5925
|
"_scope": "teambit.component"
|
5917
5926
|
}
|
@@ -6811,7 +6820,7 @@
|
|
6811
6820
|
"_legacy": {
|
6812
6821
|
"scope": "teambit.component",
|
6813
6822
|
"name": "isolator",
|
6814
|
-
"version": "1.0.
|
6823
|
+
"version": "1.0.411"
|
6815
6824
|
},
|
6816
6825
|
"_scope": "teambit.component"
|
6817
6826
|
}
|
@@ -8053,7 +8062,7 @@
|
|
8053
8062
|
"_legacy": {
|
8054
8063
|
"scope": "teambit.component",
|
8055
8064
|
"name": "isolator",
|
8056
|
-
"version": "1.0.
|
8065
|
+
"version": "1.0.411"
|
8057
8066
|
},
|
8058
8067
|
"_scope": "teambit.component"
|
8059
8068
|
}
|
@@ -8340,7 +8349,7 @@
|
|
8340
8349
|
"_legacy": {
|
8341
8350
|
"scope": "teambit.component",
|
8342
8351
|
"name": "isolator",
|
8343
|
-
"version": "1.0.
|
8352
|
+
"version": "1.0.411"
|
8344
8353
|
},
|
8345
8354
|
"_scope": "teambit.component"
|
8346
8355
|
}
|
@@ -8369,7 +8378,7 @@
|
|
8369
8378
|
"_legacy": {
|
8370
8379
|
"scope": "teambit.component",
|
8371
8380
|
"name": "isolator",
|
8372
|
-
"version": "1.0.
|
8381
|
+
"version": "1.0.411"
|
8373
8382
|
},
|
8374
8383
|
"_scope": "teambit.component"
|
8375
8384
|
}
|
@@ -11899,7 +11908,7 @@
|
|
11899
11908
|
"_legacy": {
|
11900
11909
|
"scope": "teambit.component",
|
11901
11910
|
"name": "isolator",
|
11902
|
-
"version": "1.0.
|
11911
|
+
"version": "1.0.411"
|
11903
11912
|
},
|
11904
11913
|
"_scope": "teambit.component"
|
11905
11914
|
}
|
@@ -11915,7 +11924,7 @@
|
|
11915
11924
|
"componentId": {
|
11916
11925
|
"scope": "teambit.component",
|
11917
11926
|
"name": "isolator",
|
11918
|
-
"version": "1.0.
|
11927
|
+
"version": "1.0.411"
|
11919
11928
|
},
|
11920
11929
|
"taggedModuleExports": []
|
11921
11930
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_isolator@1.0.
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_isolator@1.0.
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_isolator@1.0.411/dist/isolator.composition.js';
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_isolator@1.0.411/dist/isolator.docs.md';
|
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/isolator",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.411",
|
4
4
|
"homepage": "https://bit.cloud/teambit/component/isolator",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"componentId": {
|
7
7
|
"scope": "teambit.component",
|
8
8
|
"name": "isolator",
|
9
|
-
"version": "1.0.
|
9
|
+
"version": "1.0.411"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"chalk": "2.4.2",
|
@@ -26,20 +26,20 @@
|
|
26
26
|
"@teambit/component-id": "1.2.0",
|
27
27
|
"@teambit/graph.cleargraph": "0.0.11",
|
28
28
|
"@teambit/harmony": "0.4.6",
|
29
|
-
"@teambit/component": "1.0.
|
30
|
-
"@teambit/dependency-resolver": "1.0.
|
31
|
-
"@teambit/aspect-loader": "1.0.
|
32
|
-
"@teambit/cli": "0.0.
|
29
|
+
"@teambit/component": "1.0.411",
|
30
|
+
"@teambit/dependency-resolver": "1.0.411",
|
31
|
+
"@teambit/aspect-loader": "1.0.411",
|
32
|
+
"@teambit/cli": "0.0.988",
|
33
33
|
"@teambit/component-package-version": "0.0.434",
|
34
|
-
"@teambit/component.sources": "0.0.
|
34
|
+
"@teambit/component.sources": "0.0.30",
|
35
35
|
"@teambit/dependencies.fs.linked-dependencies": "0.0.9",
|
36
|
-
"@teambit/global-config": "0.0.
|
37
|
-
"@teambit/graph": "1.0.
|
36
|
+
"@teambit/global-config": "0.0.991",
|
37
|
+
"@teambit/graph": "1.0.411",
|
38
38
|
"@teambit/harmony.modules.concurrency": "0.0.1",
|
39
39
|
"@teambit/legacy.utils": "0.0.5",
|
40
|
-
"@teambit/logger": "0.0.
|
40
|
+
"@teambit/logger": "0.0.1081",
|
41
41
|
"@teambit/pkg.modules.component-package-name": "0.0.4",
|
42
|
-
"@teambit/workspace.modules.node-modules-linker": "0.0.
|
42
|
+
"@teambit/workspace.modules.node-modules-linker": "0.0.205"
|
43
43
|
},
|
44
44
|
"devDependencies": {
|
45
45
|
"@types/fs-extra": "9.0.7",
|