@teambit/isolator 1.0.227 → 1.0.228

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.227" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.component/isolator@1.0.228" 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={33445:(e,t,o)=>{var n={id:"teambit.component/isolator@1.0.227",homepage:"https://bit.cloud/teambit/component/isolator",exported:!0};function r(){const e=s(o(41594));return r=function(){return e},e}function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=n,s.__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/isolator.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 s=t[n]={exports:{}};return e[n](s,s.exports,o),s.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={};return(()=>{o.r(n),o.d(n,{compositions:()=>d,compositions_metadata:()=>m,overview:()=>u});var e={};o.r(e),o.d(e,{default:()=>c});var t=o(33445);o(41594);const r=MdxJsReact,s=TeambitMdxUiMdxScopeContext;var a=["components"];function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},i.apply(this,arguments)}var l={},p="wrapper";function c(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,n,r={},s=Object.keys(e);for(n=0;n<s.length;n++)o=s[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)o=s[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,a);return(0,r.mdx)(p,i({},l,o,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(s.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"},(0,r.mdx)("h2",null,"Isolate a component"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-bash"},"bit create-capsule ui/button\n")),(0,r.mdx)("h2",null,"Entities"),(0,r.mdx)("h3",null,"Capsule"),(0,r.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,r.mdx)("h3",null,"Network"),(0,r.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,r.mdx)("p",null,"Example:"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"const Network = {\n graph: Graph,\n capsules: CapsuleList,\n};\n")),(0,r.mdx)("h2",null,"API"),(0,r.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,r.mdx)("h3",null,"Isolator.isolateComponents"),(0,r.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.")))}c.isMDXComponent=!0;const d=[t],u=[e],m={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),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.component/isolator-preview"]=t():e["teambit.component/isolator-preview"]=t()}(self,(()=>(()=>{"use strict";var e={39124:(e,t,o)=>{var n={id:"teambit.component/isolator@1.0.228",homepage:"https://bit.cloud/teambit/component/isolator",exported:!0};function r(){const e=s(o(41594));return r=function(){return e},e}function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=n,s.__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/isolator.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 s=t[n]={exports:{}};return e[n](s,s.exports,o),s.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={};return(()=>{o.r(n),o.d(n,{compositions:()=>d,compositions_metadata:()=>m,overview:()=>u});var e={};o.r(e),o.d(e,{default:()=>c});var t=o(39124);o(41594);const r=MdxJsReact,s=TeambitMdxUiMdxScopeContext;var a=["components"];function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},i.apply(this,arguments)}var l={},p="wrapper";function c(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,n,r={},s=Object.keys(e);for(n=0;n<s.length;n++)o=s[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)o=s[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,a);return(0,r.mdx)(p,i({},l,o,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(s.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"},(0,r.mdx)("h2",null,"Isolate a component"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-bash"},"bit create-capsule ui/button\n")),(0,r.mdx)("h2",null,"Entities"),(0,r.mdx)("h3",null,"Capsule"),(0,r.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,r.mdx)("h3",null,"Network"),(0,r.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,r.mdx)("p",null,"Example:"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"const Network = {\n graph: Graph,\n capsules: CapsuleList,\n};\n")),(0,r.mdx)("h2",null,"API"),(0,r.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,r.mdx)("h3",null,"Isolator.isolateComponents"),(0,r.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.")))}c.isMDXComponent=!0;const d=[t],u=[e],m={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),n})()));
@@ -1199,7 +1199,7 @@
1199
1199
  "_legacy": {
1200
1200
  "scope": "teambit.component",
1201
1201
  "name": "isolator",
1202
- "version": "1.0.227"
1202
+ "version": "1.0.228"
1203
1203
  },
1204
1204
  "_scope": "teambit.component"
1205
1205
  }
@@ -2396,7 +2396,7 @@
2396
2396
  "_legacy": {
2397
2397
  "scope": "teambit.component",
2398
2398
  "name": "isolator",
2399
- "version": "1.0.227"
2399
+ "version": "1.0.228"
2400
2400
  },
2401
2401
  "_scope": "teambit.component"
2402
2402
  }
@@ -2672,7 +2672,7 @@
2672
2672
  "_legacy": {
2673
2673
  "scope": "teambit.component",
2674
2674
  "name": "isolator",
2675
- "version": "1.0.227"
2675
+ "version": "1.0.228"
2676
2676
  },
2677
2677
  "_scope": "teambit.component"
2678
2678
  }
@@ -2701,7 +2701,7 @@
2701
2701
  "_legacy": {
2702
2702
  "scope": "teambit.component",
2703
2703
  "name": "isolator",
2704
- "version": "1.0.227"
2704
+ "version": "1.0.228"
2705
2705
  },
2706
2706
  "_scope": "teambit.component"
2707
2707
  }
@@ -5055,7 +5055,48 @@
5055
5055
  "__schema": "FunctionLikeSchema",
5056
5056
  "location": {
5057
5057
  "filePath": "capsule-list.ts",
5058
- "line": 30,
5058
+ "line": 29,
5059
+ "character": 3
5060
+ },
5061
+ "signature": "(method) CapsuleList.getGraphIds(): Graph<Component, string>",
5062
+ "name": "getGraphIds",
5063
+ "params": [],
5064
+ "returnType": {
5065
+ "__schema": "TypeRefSchema",
5066
+ "location": {
5067
+ "filePath": "capsule-list.ts",
5068
+ "line": 29,
5069
+ "character": 18
5070
+ },
5071
+ "name": "Graph",
5072
+ "typeArgs": [
5073
+ {
5074
+ "__schema": "TypeRefSchema",
5075
+ "location": {
5076
+ "filePath": "capsule-list.ts",
5077
+ "line": 29,
5078
+ "character": 24
5079
+ },
5080
+ "name": "Component"
5081
+ },
5082
+ {
5083
+ "__schema": "KeywordTypeSchema",
5084
+ "location": {
5085
+ "filePath": "capsule-list.ts",
5086
+ "line": 29,
5087
+ "character": 35
5088
+ },
5089
+ "name": "string"
5090
+ }
5091
+ ]
5092
+ },
5093
+ "modifiers": []
5094
+ },
5095
+ {
5096
+ "__schema": "FunctionLikeSchema",
5097
+ "location": {
5098
+ "filePath": "capsule-list.ts",
5099
+ "line": 48,
5059
5100
  "character": 3
5060
5101
  },
5061
5102
  "signature": "(method) CapsuleList.toposort(depResolver: DependencyResolverMain): Promise<CapsuleList>",
@@ -5065,7 +5106,7 @@
5065
5106
  "__schema": "ParameterSchema",
5066
5107
  "location": {
5067
5108
  "filePath": "capsule-list.ts",
5068
- "line": 30,
5109
+ "line": 48,
5069
5110
  "character": 18
5070
5111
  },
5071
5112
  "name": "depResolver",
@@ -5073,7 +5114,7 @@
5073
5114
  "__schema": "TypeRefSchema",
5074
5115
  "location": {
5075
5116
  "filePath": "capsule-list.ts",
5076
- "line": 30,
5117
+ "line": 48,
5077
5118
  "character": 31
5078
5119
  },
5079
5120
  "name": "DependencyResolverMain"
@@ -5086,7 +5127,7 @@
5086
5127
  "__schema": "TypeRefSchema",
5087
5128
  "location": {
5088
5129
  "filePath": "capsule-list.ts",
5089
- "line": 30,
5130
+ "line": 48,
5090
5131
  "character": 56
5091
5132
  },
5092
5133
  "name": "Promise",
@@ -5095,7 +5136,7 @@
5095
5136
  "__schema": "TypeRefSchema",
5096
5137
  "location": {
5097
5138
  "filePath": "capsule-list.ts",
5098
- "line": 30,
5139
+ "line": 48,
5099
5140
  "character": 64
5100
5141
  },
5101
5142
  "name": "CapsuleList"
@@ -5110,7 +5151,7 @@
5110
5151
  "__schema": "FunctionLikeSchema",
5111
5152
  "location": {
5112
5153
  "filePath": "capsule-list.ts",
5113
- "line": 54,
5154
+ "line": 72,
5114
5155
  "character": 3
5115
5156
  },
5116
5157
  "signature": "(method) CapsuleList.fromArray(capsules: Capsule[]): CapsuleList",
@@ -5120,7 +5161,7 @@
5120
5161
  "__schema": "ParameterSchema",
5121
5162
  "location": {
5122
5163
  "filePath": "capsule-list.ts",
5123
- "line": 54,
5164
+ "line": 72,
5124
5165
  "character": 20
5125
5166
  },
5126
5167
  "name": "capsules",
@@ -5128,14 +5169,14 @@
5128
5169
  "__schema": "TypeArraySchema",
5129
5170
  "location": {
5130
5171
  "filePath": "capsule-list.ts",
5131
- "line": 54,
5172
+ "line": 72,
5132
5173
  "character": 30
5133
5174
  },
5134
5175
  "type": {
5135
5176
  "__schema": "TypeRefSchema",
5136
5177
  "location": {
5137
5178
  "filePath": "capsule-list.ts",
5138
- "line": 54,
5179
+ "line": 72,
5139
5180
  "character": 30
5140
5181
  },
5141
5182
  "name": "Capsule"
@@ -5149,7 +5190,7 @@
5149
5190
  "__schema": "TypeRefSchema",
5150
5191
  "location": {
5151
5192
  "filePath": "capsule-list.ts",
5152
- "line": 54,
5193
+ "line": 72,
5153
5194
  "character": 3
5154
5195
  },
5155
5196
  "name": "CapsuleList",
@@ -5163,14 +5204,14 @@
5163
5204
  "__schema": "FunctionLikeSchema",
5164
5205
  "location": {
5165
5206
  "filePath": "capsule-list.ts",
5166
- "line": 61,
5207
+ "line": 79,
5167
5208
  "character": 3
5168
5209
  },
5169
5210
  "doc": {
5170
5211
  "__schema": "DocSchema",
5171
5212
  "location": {
5172
5213
  "filePath": "capsule-list.ts",
5173
- "line": 57,
5214
+ "line": 75,
5174
5215
  "character": 3
5175
5216
  },
5176
5217
  "raw": "/**\n * determines whether or not a capsule can theoretically use the dists saved in the last snap, rather than re-compile them.\n * practically, this optimization is used for components that have typescript as their compiler.\n */",
@@ -5183,7 +5224,7 @@
5183
5224
  "__schema": "ParameterSchema",
5184
5225
  "location": {
5185
5226
  "filePath": "capsule-list.ts",
5186
- "line": 61,
5227
+ "line": 79,
5187
5228
  "character": 47
5188
5229
  },
5189
5230
  "name": "component",
@@ -5191,7 +5232,7 @@
5191
5232
  "__schema": "TypeRefSchema",
5192
5233
  "location": {
5193
5234
  "filePath": "capsule-list.ts",
5194
- "line": 61,
5235
+ "line": 79,
5195
5236
  "character": 58
5196
5237
  },
5197
5238
  "name": "Component"
@@ -5204,7 +5245,7 @@
5204
5245
  "__schema": "TypeRefSchema",
5205
5246
  "location": {
5206
5247
  "filePath": "capsule-list.ts",
5207
- "line": 61,
5248
+ "line": 79,
5208
5249
  "character": 70
5209
5250
  },
5210
5251
  "name": "Promise",
@@ -5213,7 +5254,7 @@
5213
5254
  "__schema": "KeywordTypeSchema",
5214
5255
  "location": {
5215
5256
  "filePath": "capsule-list.ts",
5216
- "line": 61,
5257
+ "line": 79,
5217
5258
  "character": 78
5218
5259
  },
5219
5260
  "name": "boolean"
@@ -5258,7 +5299,7 @@
5258
5299
  "_legacy": {
5259
5300
  "scope": "teambit.component",
5260
5301
  "name": "isolator",
5261
- "version": "1.0.227"
5302
+ "version": "1.0.228"
5262
5303
  },
5263
5304
  "_scope": "teambit.component"
5264
5305
  }
@@ -5700,7 +5741,7 @@
5700
5741
  "_legacy": {
5701
5742
  "scope": "teambit.component",
5702
5743
  "name": "isolator",
5703
- "version": "1.0.227"
5744
+ "version": "1.0.228"
5704
5745
  },
5705
5746
  "_scope": "teambit.component"
5706
5747
  }
@@ -5761,7 +5802,7 @@
5761
5802
  "_legacy": {
5762
5803
  "scope": "teambit.component",
5763
5804
  "name": "isolator",
5764
- "version": "1.0.227"
5805
+ "version": "1.0.228"
5765
5806
  },
5766
5807
  "_scope": "teambit.component"
5767
5808
  }
@@ -6661,7 +6702,7 @@
6661
6702
  "_legacy": {
6662
6703
  "scope": "teambit.component",
6663
6704
  "name": "isolator",
6664
- "version": "1.0.227"
6705
+ "version": "1.0.228"
6665
6706
  },
6666
6707
  "_scope": "teambit.component"
6667
6708
  }
@@ -7902,7 +7943,7 @@
7902
7943
  "_legacy": {
7903
7944
  "scope": "teambit.component",
7904
7945
  "name": "isolator",
7905
- "version": "1.0.227"
7946
+ "version": "1.0.228"
7906
7947
  },
7907
7948
  "_scope": "teambit.component"
7908
7949
  }
@@ -8189,7 +8230,7 @@
8189
8230
  "_legacy": {
8190
8231
  "scope": "teambit.component",
8191
8232
  "name": "isolator",
8192
- "version": "1.0.227"
8233
+ "version": "1.0.228"
8193
8234
  },
8194
8235
  "_scope": "teambit.component"
8195
8236
  }
@@ -8218,7 +8259,7 @@
8218
8259
  "_legacy": {
8219
8260
  "scope": "teambit.component",
8220
8261
  "name": "isolator",
8221
- "version": "1.0.227"
8262
+ "version": "1.0.228"
8222
8263
  },
8223
8264
  "_scope": "teambit.component"
8224
8265
  }
@@ -11445,7 +11486,48 @@
11445
11486
  "__schema": "FunctionLikeSchema",
11446
11487
  "location": {
11447
11488
  "filePath": "capsule-list.ts",
11448
- "line": 30,
11489
+ "line": 29,
11490
+ "character": 3
11491
+ },
11492
+ "signature": "(method) CapsuleList.getGraphIds(): Graph<Component, string>",
11493
+ "name": "getGraphIds",
11494
+ "params": [],
11495
+ "returnType": {
11496
+ "__schema": "TypeRefSchema",
11497
+ "location": {
11498
+ "filePath": "capsule-list.ts",
11499
+ "line": 29,
11500
+ "character": 18
11501
+ },
11502
+ "name": "Graph",
11503
+ "typeArgs": [
11504
+ {
11505
+ "__schema": "TypeRefSchema",
11506
+ "location": {
11507
+ "filePath": "capsule-list.ts",
11508
+ "line": 29,
11509
+ "character": 24
11510
+ },
11511
+ "name": "Component"
11512
+ },
11513
+ {
11514
+ "__schema": "KeywordTypeSchema",
11515
+ "location": {
11516
+ "filePath": "capsule-list.ts",
11517
+ "line": 29,
11518
+ "character": 35
11519
+ },
11520
+ "name": "string"
11521
+ }
11522
+ ]
11523
+ },
11524
+ "modifiers": []
11525
+ },
11526
+ {
11527
+ "__schema": "FunctionLikeSchema",
11528
+ "location": {
11529
+ "filePath": "capsule-list.ts",
11530
+ "line": 48,
11449
11531
  "character": 3
11450
11532
  },
11451
11533
  "signature": "(method) CapsuleList.toposort(depResolver: DependencyResolverMain): Promise<CapsuleList>",
@@ -11455,7 +11537,7 @@
11455
11537
  "__schema": "ParameterSchema",
11456
11538
  "location": {
11457
11539
  "filePath": "capsule-list.ts",
11458
- "line": 30,
11540
+ "line": 48,
11459
11541
  "character": 18
11460
11542
  },
11461
11543
  "name": "depResolver",
@@ -11463,7 +11545,7 @@
11463
11545
  "__schema": "TypeRefSchema",
11464
11546
  "location": {
11465
11547
  "filePath": "capsule-list.ts",
11466
- "line": 30,
11548
+ "line": 48,
11467
11549
  "character": 31
11468
11550
  },
11469
11551
  "name": "DependencyResolverMain"
@@ -11476,7 +11558,7 @@
11476
11558
  "__schema": "TypeRefSchema",
11477
11559
  "location": {
11478
11560
  "filePath": "capsule-list.ts",
11479
- "line": 30,
11561
+ "line": 48,
11480
11562
  "character": 56
11481
11563
  },
11482
11564
  "name": "Promise",
@@ -11485,7 +11567,7 @@
11485
11567
  "__schema": "TypeRefSchema",
11486
11568
  "location": {
11487
11569
  "filePath": "capsule-list.ts",
11488
- "line": 30,
11570
+ "line": 48,
11489
11571
  "character": 64
11490
11572
  },
11491
11573
  "name": "CapsuleList"
@@ -11500,7 +11582,7 @@
11500
11582
  "__schema": "FunctionLikeSchema",
11501
11583
  "location": {
11502
11584
  "filePath": "capsule-list.ts",
11503
- "line": 54,
11585
+ "line": 72,
11504
11586
  "character": 3
11505
11587
  },
11506
11588
  "signature": "(method) CapsuleList.fromArray(capsules: Capsule[]): CapsuleList",
@@ -11510,7 +11592,7 @@
11510
11592
  "__schema": "ParameterSchema",
11511
11593
  "location": {
11512
11594
  "filePath": "capsule-list.ts",
11513
- "line": 54,
11595
+ "line": 72,
11514
11596
  "character": 20
11515
11597
  },
11516
11598
  "name": "capsules",
@@ -11518,14 +11600,14 @@
11518
11600
  "__schema": "TypeArraySchema",
11519
11601
  "location": {
11520
11602
  "filePath": "capsule-list.ts",
11521
- "line": 54,
11603
+ "line": 72,
11522
11604
  "character": 30
11523
11605
  },
11524
11606
  "type": {
11525
11607
  "__schema": "TypeRefSchema",
11526
11608
  "location": {
11527
11609
  "filePath": "capsule-list.ts",
11528
- "line": 54,
11610
+ "line": 72,
11529
11611
  "character": 30
11530
11612
  },
11531
11613
  "name": "Capsule"
@@ -11539,7 +11621,7 @@
11539
11621
  "__schema": "TypeRefSchema",
11540
11622
  "location": {
11541
11623
  "filePath": "capsule-list.ts",
11542
- "line": 54,
11624
+ "line": 72,
11543
11625
  "character": 3
11544
11626
  },
11545
11627
  "name": "CapsuleList",
@@ -11553,14 +11635,14 @@
11553
11635
  "__schema": "FunctionLikeSchema",
11554
11636
  "location": {
11555
11637
  "filePath": "capsule-list.ts",
11556
- "line": 61,
11638
+ "line": 79,
11557
11639
  "character": 3
11558
11640
  },
11559
11641
  "doc": {
11560
11642
  "__schema": "DocSchema",
11561
11643
  "location": {
11562
11644
  "filePath": "capsule-list.ts",
11563
- "line": 57,
11645
+ "line": 75,
11564
11646
  "character": 3
11565
11647
  },
11566
11648
  "raw": "/**\n * determines whether or not a capsule can theoretically use the dists saved in the last snap, rather than re-compile them.\n * practically, this optimization is used for components that have typescript as their compiler.\n */",
@@ -11573,7 +11655,7 @@
11573
11655
  "__schema": "ParameterSchema",
11574
11656
  "location": {
11575
11657
  "filePath": "capsule-list.ts",
11576
- "line": 61,
11658
+ "line": 79,
11577
11659
  "character": 47
11578
11660
  },
11579
11661
  "name": "component",
@@ -11581,7 +11663,7 @@
11581
11663
  "__schema": "TypeRefSchema",
11582
11664
  "location": {
11583
11665
  "filePath": "capsule-list.ts",
11584
- "line": 61,
11666
+ "line": 79,
11585
11667
  "character": 58
11586
11668
  },
11587
11669
  "name": "Component"
@@ -11594,7 +11676,7 @@
11594
11676
  "__schema": "TypeRefSchema",
11595
11677
  "location": {
11596
11678
  "filePath": "capsule-list.ts",
11597
- "line": 61,
11679
+ "line": 79,
11598
11680
  "character": 70
11599
11681
  },
11600
11682
  "name": "Promise",
@@ -11603,7 +11685,7 @@
11603
11685
  "__schema": "KeywordTypeSchema",
11604
11686
  "location": {
11605
11687
  "filePath": "capsule-list.ts",
11606
- "line": 61,
11688
+ "line": 79,
11607
11689
  "character": 78
11608
11690
  },
11609
11691
  "name": "boolean"
@@ -11648,7 +11730,7 @@
11648
11730
  "_legacy": {
11649
11731
  "scope": "teambit.component",
11650
11732
  "name": "isolator",
11651
- "version": "1.0.227"
11733
+ "version": "1.0.228"
11652
11734
  },
11653
11735
  "_scope": "teambit.component"
11654
11736
  }
@@ -11664,7 +11746,7 @@
11664
11746
  "componentId": {
11665
11747
  "scope": "teambit.component",
11666
11748
  "name": "isolator",
11667
- "version": "1.0.227"
11749
+ "version": "1.0.228"
11668
11750
  },
11669
11751
  "taggedModuleExports": []
11670
11752
  }
@@ -41,6 +41,21 @@ class CapsuleList extends Array {
41
41
  getAllComponents() {
42
42
  return this.map(c => c.component);
43
43
  }
44
+ getGraphIds() {
45
+ const components = this.getAllComponents();
46
+ const graph = new (_graph().Graph)();
47
+ components.forEach(comp => graph.setNode(new (_graph().Node)(comp.id.toString(), comp)));
48
+ const compIdsStr = components.map(c => c.id.toString());
49
+ components.forEach(comp => {
50
+ const deps = comp.getDependencies();
51
+ deps.forEach(dep => {
52
+ if (compIdsStr.includes(dep.id)) {
53
+ graph.setEdge(new (_graph().Edge)(comp.id.toString(), dep.id, dep.type));
54
+ }
55
+ });
56
+ });
57
+ return graph;
58
+ }
44
59
  // Sort the capsules by their dependencies. The capsules with no dependencies will be first. Returns a new array.
45
60
  async toposort(depResolver) {
46
61
  const components = this.getAllComponents();
@@ -1 +1 @@
1
- {"version":3,"names":["_graph","data","require","_path","CapsuleList","Array","getCapsule","id","find","capsule","component","isEqual","getCapsuleByLegacyId","getCapsuleIgnoreVersion","ignoreVersion","getAllCapsuleDirs","map","path","getIdByPathInCapsule","pathInCapsule","normalizedPathInCapsule","normalize","found","getAllComponents","c","toposort","depResolver","components","graph","Graph","forEach","comp","setNode","Node","getPackageName","node","nodes","deps","getDependencies","attr","dep","depPkgName","hasNode","setEdge","Edge","lifecycle","sortedSeeders","sortedCapsules","fromArray","capsules","capsuleUsePreviouslySavedDists","isModified","buildStatus","exports","default"],"sources":["capsule-list.ts"],"sourcesContent":["import type { Component } from '@teambit/component';\nimport { Dependency, DependencyResolverMain } from '@teambit/dependency-resolver';\nimport { Edge, Graph, Node } from '@teambit/graph.cleargraph';\nimport { ComponentID } from '@teambit/component-id';\nimport { normalize } from 'path';\nimport { Capsule } from './capsule';\n\nexport default class CapsuleList extends Array<Capsule> {\n getCapsule(id: ComponentID): Capsule | undefined {\n return this.find((capsule) => capsule.component.id.isEqual(id));\n }\n getCapsuleByLegacyId(id: ComponentID): Capsule | undefined {\n return this.find((capsule) => capsule.component.id.isEqual(id));\n }\n getCapsuleIgnoreVersion(id: ComponentID): Capsule | undefined {\n return this.find((capsule) => capsule.component.id.isEqual(id, { ignoreVersion: true }));\n }\n getAllCapsuleDirs(): string[] {\n return this.map((capsule) => capsule.path);\n }\n getIdByPathInCapsule(pathInCapsule: string): ComponentID | null {\n const normalizedPathInCapsule = normalize(pathInCapsule);\n const found = this.find((capsule) => normalizedPathInCapsule === normalize(capsule.path));\n return found ? found.component.id : null;\n }\n getAllComponents(): Component[] {\n return this.map((c) => c.component);\n }\n // Sort the capsules by their dependencies. The capsules with no dependencies will be first. Returns a new array.\n async toposort(depResolver: DependencyResolverMain): Promise<CapsuleList> {\n const components = this.getAllComponents();\n const graph = new Graph<Component, string>();\n\n // Build a graph with all the components from the current capsule list\n components.forEach((comp: Component) => graph.setNode(new Node(depResolver.getPackageName(comp), comp)));\n\n // Add edges between the components according to their interdependencies\n for (const node of graph.nodes) {\n // eslint-disable-next-line no-await-in-loop\n const deps = await depResolver.getDependencies(node.attr);\n deps.forEach((dep: Dependency) => {\n const depPkgName = dep.getPackageName?.();\n if (depPkgName && graph.hasNode(depPkgName)) {\n graph.setEdge(new Edge(node.id, depPkgName, dep.lifecycle));\n }\n });\n }\n\n const sortedSeeders = graph.toposort(true);\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const sortedCapsules: Capsule[] = sortedSeeders.map((node: Node<Component>) => this.getCapsule(node.attr.id)!);\n return CapsuleList.fromArray(sortedCapsules);\n }\n static fromArray(capsules: Capsule[]) {\n return new CapsuleList(...capsules);\n }\n /**\n * determines whether or not a capsule can theoretically use the dists saved in the last snap, rather than re-compile them.\n * practically, this optimization is used for components that have typescript as their compiler.\n */\n static async capsuleUsePreviouslySavedDists(component: Component): Promise<boolean> {\n const isModified = await component.isModified();\n return component.buildStatus === 'succeed' && !isModified;\n }\n}\n"],"mappings":";;;;;;AAEA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAE,MAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,KAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAGe,MAAMG,WAAW,SAASC,KAAK,CAAU;EACtDC,UAAUA,CAACC,EAAe,EAAuB;IAC/C,OAAO,IAAI,CAACC,IAAI,CAAEC,OAAO,IAAKA,OAAO,CAACC,SAAS,CAACH,EAAE,CAACI,OAAO,CAACJ,EAAE,CAAC,CAAC;EACjE;EACAK,oBAAoBA,CAACL,EAAe,EAAuB;IACzD,OAAO,IAAI,CAACC,IAAI,CAAEC,OAAO,IAAKA,OAAO,CAACC,SAAS,CAACH,EAAE,CAACI,OAAO,CAACJ,EAAE,CAAC,CAAC;EACjE;EACAM,uBAAuBA,CAACN,EAAe,EAAuB;IAC5D,OAAO,IAAI,CAACC,IAAI,CAAEC,OAAO,IAAKA,OAAO,CAACC,SAAS,CAACH,EAAE,CAACI,OAAO,CAACJ,EAAE,EAAE;MAAEO,aAAa,EAAE;IAAK,CAAC,CAAC,CAAC;EAC1F;EACAC,iBAAiBA,CAAA,EAAa;IAC5B,OAAO,IAAI,CAACC,GAAG,CAAEP,OAAO,IAAKA,OAAO,CAACQ,IAAI,CAAC;EAC5C;EACAC,oBAAoBA,CAACC,aAAqB,EAAsB;IAC9D,MAAMC,uBAAuB,GAAG,IAAAC,iBAAS,EAACF,aAAa,CAAC;IACxD,MAAMG,KAAK,GAAG,IAAI,CAACd,IAAI,CAAEC,OAAO,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AAI,CAACI,IAAI,CAAChC,EAAE,CAAE,CAAC;IAC9G,OAAOH,WAAW,CAAC4C,SAAS,CAACD,cAAc,CAAC;EAC9C;EACA,OAAOC,SAASA,CAACC,QAAmB,EAAE;IACpC,OAAO,IAAI7C,WAAW,CAAC,GAAG6C,QAAQ,CAAC;EACrC;EACA;AACF;AACA;AACA;EACE,aAAaC,8BAA8BA,CAACxC,SAAoB,EAAoB;IAClF,MAAMyC,UAAU,GAAG,MAAMzC,SAAS,CAACyC,UAAU,CAAC,CAAC;IAC/C,OAAOzC,SAAS,CAAC0C,WAAW,KAAK,SAAS,IAAI,CAACD,UAAU;EAC3D;AACF;AAACE,OAAA,CAAAC,OAAA,GAAAlD,WAAA","ignoreList":[]}
1
+ {"version":3,"names":["_graph","data","require","_path","CapsuleList","Array","getCapsule","id","find","capsule","component","isEqual","getCapsuleByLegacyId","getCapsuleIgnoreVersion","ignoreVersion","getAllCapsuleDirs","map","path","getIdByPathInCapsule","pathInCapsule","normalizedPathInCapsule","normalize","found","getAllComponents","c","getGraphIds","components","graph","Graph","forEach","comp","setNode","Node","toString","compIdsStr","deps","getDependencies","dep","includes","setEdge","Edge","type","toposort","depResolver","getPackageName","node","nodes","attr","depPkgName","hasNode","lifecycle","sortedSeeders","sortedCapsules","fromArray","capsules","capsuleUsePreviouslySavedDists","isModified","buildStatus","exports","default"],"sources":["capsule-list.ts"],"sourcesContent":["import type { Component } from '@teambit/component';\nimport { Dependency, DependencyResolverMain } from '@teambit/dependency-resolver';\nimport { Edge, Graph, Node } from '@teambit/graph.cleargraph';\nimport { ComponentID } from '@teambit/component-id';\nimport { normalize } from 'path';\nimport { Capsule } from './capsule';\n\nexport default class CapsuleList extends Array<Capsule> {\n getCapsule(id: ComponentID): Capsule | undefined {\n return this.find((capsule) => capsule.component.id.isEqual(id));\n }\n getCapsuleByLegacyId(id: ComponentID): Capsule | undefined {\n return this.find((capsule) => capsule.component.id.isEqual(id));\n }\n getCapsuleIgnoreVersion(id: ComponentID): Capsule | undefined {\n return this.find((capsule) => capsule.component.id.isEqual(id, { ignoreVersion: true }));\n }\n getAllCapsuleDirs(): string[] {\n return this.map((capsule) => capsule.path);\n }\n getIdByPathInCapsule(pathInCapsule: string): ComponentID | null {\n const normalizedPathInCapsule = normalize(pathInCapsule);\n const found = this.find((capsule) => normalizedPathInCapsule === normalize(capsule.path));\n return found ? found.component.id : null;\n }\n getAllComponents(): Component[] {\n return this.map((c) => c.component);\n }\n getGraphIds(): Graph<Component, string> {\n const components = this.getAllComponents();\n const graph = new Graph<Component, string>();\n\n components.forEach((comp: Component) => graph.setNode(new Node(comp.id.toString(), comp)));\n const compIdsStr = components.map((c) => c.id.toString());\n\n components.forEach((comp) => {\n const deps = comp.getDependencies();\n deps.forEach((dep) => {\n if (compIdsStr.includes(dep.id)) {\n graph.setEdge(new Edge(comp.id.toString(), dep.id, dep.type));\n }\n });\n });\n\n return graph;\n }\n // Sort the capsules by their dependencies. The capsules with no dependencies will be first. Returns a new array.\n async toposort(depResolver: DependencyResolverMain): Promise<CapsuleList> {\n const components = this.getAllComponents();\n const graph = new Graph<Component, string>();\n\n // Build a graph with all the components from the current capsule list\n components.forEach((comp: Component) => graph.setNode(new Node(depResolver.getPackageName(comp), comp)));\n\n // Add edges between the components according to their interdependencies\n for (const node of graph.nodes) {\n // eslint-disable-next-line no-await-in-loop\n const deps = await depResolver.getDependencies(node.attr);\n deps.forEach((dep: Dependency) => {\n const depPkgName = dep.getPackageName?.();\n if (depPkgName && graph.hasNode(depPkgName)) {\n graph.setEdge(new Edge(node.id, depPkgName, dep.lifecycle));\n }\n });\n }\n\n const sortedSeeders = graph.toposort(true);\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const sortedCapsules: Capsule[] = sortedSeeders.map((node: Node<Component>) => this.getCapsule(node.attr.id)!);\n return CapsuleList.fromArray(sortedCapsules);\n }\n static fromArray(capsules: Capsule[]) {\n return new CapsuleList(...capsules);\n }\n /**\n * determines whether or not a capsule can theoretically use the dists saved in the last snap, rather than re-compile them.\n * practically, this optimization is used for components that have typescript as their compiler.\n */\n static async capsuleUsePreviouslySavedDists(component: Component): Promise<boolean> {\n const isModified = await component.isModified();\n return component.buildStatus === 'succeed' && !isModified;\n }\n}\n"],"mappings":";;;;;;AAEA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAE,MAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,KAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAGe,MAAMG,WAAW,SAASC,KAAK,CAAU;EACtDC,UAAUA,CAACC,EAAe,EAAuB;IAC/C,OAAO,IAAI,CAACC,IAAI,CAAEC,OAAO,IAAKA,OAAO,CAACC,SAAS,CAACH,EAAE,CAACI,OAAO,CAACJ,EAAE,CAAC,CAAC;EACjE;EACAK,oBAAoBA,CAACL,EAAe,EAAuB;IACzD,OAAO,IAAI,CAACC,IAAI,CAAEC,OAAO,IAAKA,OAAO,CAACC,SAAS,CAACH,EAAE,CAACI,OAAO,CAACJ,EAAE,CAAC,CAAC;EACjE;EACAM,uBAAuBA,CAACN,EAAe,EAAuB;IAC5D,OAAO,IAAI,CAACC,IAAI,CAAEC,OAAO,IAAKA,OAAO,CAACC,SAAS,CAACH,EAAE,CAACI,OAAO,CAACJ,EAAE,EAAE;MAAEO,aAAa,EAAE;IAAK,CAAC,CAAC,CAAC;EAC1F;EACAC,iBAAiBA,CAAA,EAAa;IAC5B,OAAO,IAAI,CAACC,GAAG,CAAEP,OAAO,IAAKA,OAAO,CAACQ,IAAI,CAAC;EAC5C;EACAC,oBAAoBA,CAACC,aAAqB,EAAsB;IAC9D,MAAMC,uBAAuB,GAAG,IAAAC,iBAAS,EAACF,aAAa,CAAC;IACxD,MAAMG,KAAK,GAAG,IAAI,CAACd,IAAI,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O9C,SAAS,CAAC+C,WAAW,KAAK,SAAS,IAAI,CAACD,UAAU;EAC3D;AACF;AAACE,OAAA,CAAAC,OAAA,GAAAvD,WAAA","ignoreList":[]}
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_isolator@1.0.227/dist/isolator.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_isolator@1.0.227/dist/isolator.docs.md';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_isolator@1.0.228/dist/isolator.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_isolator@1.0.228/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.227",
3
+ "version": "1.0.228",
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.227"
9
+ "version": "1.0.228"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -26,15 +26,15 @@
26
26
  "@teambit/component-id": "1.2.0",
27
27
  "@teambit/graph.cleargraph": "0.0.8",
28
28
  "@teambit/harmony": "0.4.6",
29
- "@teambit/component": "1.0.227",
30
- "@teambit/dependency-resolver": "1.0.227",
31
- "@teambit/aspect-loader": "1.0.227",
32
- "@teambit/cli": "0.0.860",
29
+ "@teambit/component": "1.0.228",
30
+ "@teambit/dependency-resolver": "1.0.228",
31
+ "@teambit/aspect-loader": "1.0.228",
32
+ "@teambit/cli": "0.0.861",
33
33
  "@teambit/component-package-version": "0.0.433",
34
34
  "@teambit/dependencies.fs.linked-dependencies": "0.0.9",
35
- "@teambit/global-config": "0.0.863",
36
- "@teambit/graph": "1.0.227",
37
- "@teambit/logger": "0.0.953",
35
+ "@teambit/global-config": "0.0.864",
36
+ "@teambit/graph": "1.0.228",
37
+ "@teambit/logger": "0.0.954",
38
38
  "@teambit/workspace.modules.node-modules-linker": "0.0.167"
39
39
  },
40
40
  "devDependencies": {
package/tsconfig.json CHANGED
@@ -39,22 +39,22 @@
39
39
  ],
40
40
  "references": [
41
41
  {
42
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component@1.0.227"
42
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component@1.0.228"
43
43
  },
44
44
  {
45
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_aspect-loader@1.0.227"
45
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_aspect-loader@1.0.228"
46
46
  },
47
47
  {
48
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_cli@0.0.860"
48
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_cli@0.0.861"
49
49
  },
50
50
  {
51
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_global-config@0.0.863"
51
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_global-config@0.0.864"
52
52
  },
53
53
  {
54
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_graph@1.0.227"
54
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_graph@1.0.228"
55
55
  },
56
56
  {
57
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_logger@0.0.953"
57
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_logger@0.0.954"
58
58
  }
59
59
  ]
60
60
  }