@teambit/yarn 1.0.257 → 1.0.259

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.dependencies/yarn@1.0.257" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.dependencies/yarn@1.0.259" 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.dependencies/yarn-preview"]=t():e["teambit.dependencies/yarn-preview"]=t()}(self,(()=>(()=>{"use strict";var e={14761:(e,t,n)=>{Object.defineProperty(t,"R",{enumerable:!0,get:function(){return r.default}});var r=o(n(44314));function o(e){return e&&e.__esModule?e:{default:e}}o.__bit_component={id:"teambit.dependencies/aspect-docs/yarn@0.0.167",homepage:"https://bit.cloud/teambit/dependencies/aspect-docs/yarn",exported:!0}},44314:(e,t,n)=>{var r={id:"teambit.dependencies/aspect-docs/yarn@0.0.167",homepage:"https://bit.cloud/teambit/dependencies/aspect-docs/yarn",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=u,i(n(41594));var o=n(5016),a=["components"];function i(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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function c(e,t){if(null==e)return{};var n,r,o=s(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function s(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}i.__bit_component=r,p.__bit_component=r,c.__bit_component=r,s.__bit_component=r;var d={},l="wrapper";function u(e){var t=e.components,n=c(e,a);return(0,o.mdx)(l,p({},d,n,{components:t,mdxType:"MDXLayout"}),(0,o.mdx)("p",null,"Yarn is a Bit aspect that enables the use of the Yarn ",(0,o.mdx)("strong",{parentName:"p"},"v2")," package manager in a Bit workspace (the Yarn aspect utilizes Yarn's programmatic API).\nThe yarn aspect is used ",(0,o.mdx)("strong",{parentName:"p"},"indirectly")," by the 'Dependency Resolver'"),(0,o.mdx)("h2",null,"Quickstart"),(0,o.mdx)("p",null,"To start using the yarn aspect as a package manager for your workspace, set the Dependency Resolver ",(0,o.mdx)("inlineCode",{parentName:"p"},"packageManager")," property to 'yarn'."),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-json"},'{\n "teambit.dependencies/dependency-resolver": {\n "packageManager": "teambit.dependencies/yarn"\n }\n}\n')),(0,o.mdx)("blockquote",null,(0,o.mdx)("p",{parentName:"blockquote"},"Package manager are only configurable at the workspace configuration root-level.\nThat means, different components in the same workspace cannot use different package manager.")),(0,o.mdx)("hr",null),(0,o.mdx)("blockquote",null,(0,o.mdx)("p",{parentName:"blockquote"},"Packages on NPM will be installed from Bit.dev's registry instead of NPM's. This will be done using the user's Bit credentials.")))}u.__bit_component=r,u.isMDXComponent=!0},17975:(e,t,n)=>{var r={id:"teambit.dependencies/yarn@1.0.257",homepage:"https://bit.cloud/teambit/dependencies/yarn",exported:!0};function o(){const e=a(n(41594));return o=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,o.__bit_component=r,a.__bit_component=r;const i=()=>o().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},o().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/brands/logo-yarn.svg"}));i.__bit_component=r,t.Logo=i},5016:e=>{e.exports=MdxJsReact},41594:e=>{e.exports=React}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},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})};var r={};return(()=>{n.r(r),n.d(r,{compositions:()=>u,compositions_metadata:()=>f,overview:()=>m});var e={};n.r(e),n.d(e,{default:()=>l});var t=n(17975),o=(n(41594),n(5016));const a=TeambitMdxUiMdxScopeContext;var i=n(14761),p=["components"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}var s={},d="wrapper";function l(e){var t=e.components,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,p);return(0,o.mdx)(d,c({},s,n,{components:t,mdxType:"MDXLayout"}),(0,o.mdx)(a.MDXScopeProvider,{components:{Yarn:i.R},mdxType:"MDXScopeProvider"},(0,o.mdx)(i.R,{mdxType:"Yarn"})))}l.isMDXComponent=!0;const u=[t],m=[e],f={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),r})()));
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.dependencies/yarn-preview"]=t():e["teambit.dependencies/yarn-preview"]=t()}(self,(()=>(()=>{"use strict";var e={14761:(e,t,n)=>{Object.defineProperty(t,"R",{enumerable:!0,get:function(){return r.default}});var r=o(n(44314));function o(e){return e&&e.__esModule?e:{default:e}}o.__bit_component={id:"teambit.dependencies/aspect-docs/yarn@0.0.167",homepage:"https://bit.cloud/teambit/dependencies/aspect-docs/yarn",exported:!0}},44314:(e,t,n)=>{var r={id:"teambit.dependencies/aspect-docs/yarn@0.0.167",homepage:"https://bit.cloud/teambit/dependencies/aspect-docs/yarn",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=u,i(n(41594));var o=n(5016),a=["components"];function i(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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function c(e,t){if(null==e)return{};var n,r,o=s(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function s(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}i.__bit_component=r,p.__bit_component=r,c.__bit_component=r,s.__bit_component=r;var d={},l="wrapper";function u(e){var t=e.components,n=c(e,a);return(0,o.mdx)(l,p({},d,n,{components:t,mdxType:"MDXLayout"}),(0,o.mdx)("p",null,"Yarn is a Bit aspect that enables the use of the Yarn ",(0,o.mdx)("strong",{parentName:"p"},"v2")," package manager in a Bit workspace (the Yarn aspect utilizes Yarn's programmatic API).\nThe yarn aspect is used ",(0,o.mdx)("strong",{parentName:"p"},"indirectly")," by the 'Dependency Resolver'"),(0,o.mdx)("h2",null,"Quickstart"),(0,o.mdx)("p",null,"To start using the yarn aspect as a package manager for your workspace, set the Dependency Resolver ",(0,o.mdx)("inlineCode",{parentName:"p"},"packageManager")," property to 'yarn'."),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-json"},'{\n "teambit.dependencies/dependency-resolver": {\n "packageManager": "teambit.dependencies/yarn"\n }\n}\n')),(0,o.mdx)("blockquote",null,(0,o.mdx)("p",{parentName:"blockquote"},"Package manager are only configurable at the workspace configuration root-level.\nThat means, different components in the same workspace cannot use different package manager.")),(0,o.mdx)("hr",null),(0,o.mdx)("blockquote",null,(0,o.mdx)("p",{parentName:"blockquote"},"Packages on NPM will be installed from Bit.dev's registry instead of NPM's. This will be done using the user's Bit credentials.")))}u.__bit_component=r,u.isMDXComponent=!0},87461:(e,t,n)=>{var r={id:"teambit.dependencies/yarn@1.0.259",homepage:"https://bit.cloud/teambit/dependencies/yarn",exported:!0};function o(){const e=a(n(41594));return o=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,o.__bit_component=r,a.__bit_component=r;const i=()=>o().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},o().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/brands/logo-yarn.svg"}));i.__bit_component=r,t.Logo=i},5016:e=>{e.exports=MdxJsReact},41594:e=>{e.exports=React}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},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})};var r={};return(()=>{n.r(r),n.d(r,{compositions:()=>u,compositions_metadata:()=>f,overview:()=>m});var e={};n.r(e),n.d(e,{default:()=>l});var t=n(87461),o=(n(41594),n(5016));const a=TeambitMdxUiMdxScopeContext;var i=n(14761),p=["components"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}var s={},d="wrapper";function l(e){var t=e.components,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,p);return(0,o.mdx)(d,c({},s,n,{components:t,mdxType:"MDXLayout"}),(0,o.mdx)(a.MDXScopeProvider,{components:{Yarn:i.R},mdxType:"MDXScopeProvider"},(0,o.mdx)(i.R,{mdxType:"Yarn"})))}l.isMDXComponent=!0;const u=[t],m=[e],f={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),r})()));
@@ -14,345 +14,382 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "VariableLikeSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "yarn.aspect.ts",
20
- "line": 3,
21
- "character": 14
19
+ "filePath": "index.ts",
20
+ "line": 1,
21
+ "character": 24
22
22
  },
23
- "signature": "const YarnAspect: Aspect",
24
23
  "name": "YarnAspect",
25
- "type": {
26
- "__schema": "TypeRefSchema",
24
+ "exportNode": {
25
+ "__schema": "VariableLikeSchema",
27
26
  "location": {
28
27
  "filePath": "yarn.aspect.ts",
29
28
  "line": 3,
30
29
  "character": 14
31
30
  },
32
- "name": "Aspect",
33
- "componentId": {
34
- "scope": "teambit.harmony",
35
- "name": "harmony",
36
- "version": "0.4.6"
37
- }
31
+ "signature": "const YarnAspect: Aspect",
32
+ "name": "YarnAspect",
33
+ "type": {
34
+ "__schema": "TypeRefSchema",
35
+ "location": {
36
+ "filePath": "yarn.aspect.ts",
37
+ "line": 3,
38
+ "character": 14
39
+ },
40
+ "name": "Aspect",
41
+ "componentId": {
42
+ "scope": "teambit.harmony",
43
+ "name": "harmony",
44
+ "version": "0.4.6"
45
+ }
46
+ },
47
+ "isOptional": false,
48
+ "defaultValue": "Aspect.create({\n id: 'teambit.dependencies/yarn',\n})"
38
49
  },
39
- "isOptional": false,
40
- "defaultValue": "Aspect.create({\n id: 'teambit.dependencies/yarn',\n})"
50
+ "alias": "default"
41
51
  },
42
52
  {
43
- "__schema": "VariableLikeSchema",
53
+ "__schema": "ExportSchema",
44
54
  "location": {
45
- "filePath": "yarn.aspect.ts",
46
- "line": 3,
47
- "character": 14
55
+ "filePath": "index.ts",
56
+ "line": 1,
57
+ "character": 33
48
58
  },
49
- "signature": "const YarnAspect: Aspect",
50
59
  "name": "YarnAspect",
51
- "type": {
52
- "__schema": "TypeRefSchema",
60
+ "exportNode": {
61
+ "__schema": "VariableLikeSchema",
53
62
  "location": {
54
63
  "filePath": "yarn.aspect.ts",
55
64
  "line": 3,
56
65
  "character": 14
57
66
  },
58
- "name": "Aspect",
59
- "componentId": {
60
- "scope": "teambit.harmony",
61
- "name": "harmony",
62
- "version": "0.4.6"
63
- }
64
- },
65
- "isOptional": false,
66
- "defaultValue": "Aspect.create({\n id: 'teambit.dependencies/yarn',\n})"
67
+ "signature": "const YarnAspect: Aspect",
68
+ "name": "YarnAspect",
69
+ "type": {
70
+ "__schema": "TypeRefSchema",
71
+ "location": {
72
+ "filePath": "yarn.aspect.ts",
73
+ "line": 3,
74
+ "character": 14
75
+ },
76
+ "name": "Aspect",
77
+ "componentId": {
78
+ "scope": "teambit.harmony",
79
+ "name": "harmony",
80
+ "version": "0.4.6"
81
+ }
82
+ },
83
+ "isOptional": false,
84
+ "defaultValue": "Aspect.create({\n id: 'teambit.dependencies/yarn',\n})"
85
+ }
67
86
  },
68
87
  {
69
- "__schema": "ClassSchema",
88
+ "__schema": "ExportSchema",
70
89
  "location": {
71
- "filePath": "yarn.main.runtime.ts",
72
- "line": 7,
73
- "character": 1
90
+ "filePath": "index.ts",
91
+ "line": 3,
92
+ "character": 15
74
93
  },
75
- "signature": "class YarnMain",
76
94
  "name": "YarnMain",
77
- "members": [
78
- {
79
- "__schema": "VariableLikeSchema",
80
- "location": {
81
- "filePath": "yarn.main.runtime.ts",
82
- "line": 8,
83
- "character": 3
84
- },
85
- "signature": "(property) YarnMain.dependencies: Aspect[]",
86
- "name": "dependencies",
87
- "type": {
88
- "__schema": "InferenceTypeSchema",
95
+ "exportNode": {
96
+ "__schema": "ClassSchema",
97
+ "location": {
98
+ "filePath": "yarn.main.runtime.ts",
99
+ "line": 7,
100
+ "character": 1
101
+ },
102
+ "signature": "class YarnMain",
103
+ "name": "YarnMain",
104
+ "members": [
105
+ {
106
+ "__schema": "VariableLikeSchema",
89
107
  "location": {
90
108
  "filePath": "yarn.main.runtime.ts",
91
109
  "line": 8,
92
110
  "character": 3
93
111
  },
94
- "type": "Aspect[]"
95
- },
96
- "isOptional": true,
97
- "defaultValue": "[DependencyResolverAspect, LoggerAspect]"
98
- },
99
- {
100
- "__schema": "VariableLikeSchema",
101
- "location": {
102
- "filePath": "yarn.main.runtime.ts",
103
- "line": 10,
104
- "character": 3
112
+ "signature": "(property) YarnMain.dependencies: Aspect[]",
113
+ "name": "dependencies",
114
+ "type": {
115
+ "__schema": "InferenceTypeSchema",
116
+ "location": {
117
+ "filePath": "yarn.main.runtime.ts",
118
+ "line": 8,
119
+ "character": 3
120
+ },
121
+ "type": "Aspect[]"
122
+ },
123
+ "isOptional": true,
124
+ "defaultValue": "[DependencyResolverAspect, LoggerAspect]"
105
125
  },
106
- "signature": "(property) YarnMain.runtime: RuntimeDefinition",
107
- "name": "runtime",
108
- "type": {
109
- "__schema": "InferenceTypeSchema",
126
+ {
127
+ "__schema": "VariableLikeSchema",
110
128
  "location": {
111
129
  "filePath": "yarn.main.runtime.ts",
112
130
  "line": 10,
113
131
  "character": 3
114
132
  },
115
- "type": "RuntimeDefinition"
116
- },
117
- "isOptional": true,
118
- "defaultValue": "MainRuntime"
119
- },
120
- {
121
- "__schema": "FunctionLikeSchema",
122
- "location": {
123
- "filePath": "yarn.main.runtime.ts",
124
- "line": 12,
125
- "character": 3
126
- },
127
- "signature": "(method) YarnMain.provider([depResolver, loggerExt]: [DependencyResolverMain, LoggerMain]): Promise<YarnMain>",
128
- "name": "provider",
129
- "params": [
130
- {
131
- "__schema": "ParameterSchema",
133
+ "signature": "(property) YarnMain.runtime: RuntimeDefinition",
134
+ "name": "runtime",
135
+ "type": {
136
+ "__schema": "InferenceTypeSchema",
132
137
  "location": {
133
138
  "filePath": "yarn.main.runtime.ts",
134
- "line": 12,
135
- "character": 25
139
+ "line": 10,
140
+ "character": 3
136
141
  },
137
- "name": "[ depResolver, loggerExt ]",
138
- "type": {
139
- "__schema": "TupleTypeSchema",
142
+ "type": "RuntimeDefinition"
143
+ },
144
+ "isOptional": true,
145
+ "defaultValue": "MainRuntime"
146
+ },
147
+ {
148
+ "__schema": "FunctionLikeSchema",
149
+ "location": {
150
+ "filePath": "yarn.main.runtime.ts",
151
+ "line": 12,
152
+ "character": 3
153
+ },
154
+ "signature": "(method) YarnMain.provider([depResolver, loggerExt]: [DependencyResolverMain, LoggerMain]): Promise<YarnMain>",
155
+ "name": "provider",
156
+ "params": [
157
+ {
158
+ "__schema": "ParameterSchema",
140
159
  "location": {
141
160
  "filePath": "yarn.main.runtime.ts",
142
161
  "line": 12,
143
- "character": 51
162
+ "character": 25
144
163
  },
145
- "elements": [
146
- {
147
- "__schema": "TypeRefSchema",
148
- "location": {
149
- "filePath": "yarn.main.runtime.ts",
150
- "line": 12,
151
- "character": 52
152
- },
153
- "name": "DependencyResolverMain",
154
- "componentId": {
155
- "scope": "teambit.dependencies",
156
- "name": "dependency-resolver"
157
- }
164
+ "name": "[ depResolver, loggerExt ]",
165
+ "type": {
166
+ "__schema": "TupleTypeSchema",
167
+ "location": {
168
+ "filePath": "yarn.main.runtime.ts",
169
+ "line": 12,
170
+ "character": 51
158
171
  },
159
- {
160
- "__schema": "TypeRefSchema",
161
- "location": {
162
- "filePath": "yarn.main.runtime.ts",
163
- "line": 12,
164
- "character": 76
172
+ "elements": [
173
+ {
174
+ "__schema": "TypeRefSchema",
175
+ "location": {
176
+ "filePath": "yarn.main.runtime.ts",
177
+ "line": 12,
178
+ "character": 52
179
+ },
180
+ "name": "DependencyResolverMain",
181
+ "componentId": {
182
+ "scope": "teambit.dependencies",
183
+ "name": "dependency-resolver"
184
+ }
165
185
  },
166
- "name": "LoggerMain",
167
- "componentId": {
168
- "scope": "teambit.harmony",
169
- "name": "logger"
186
+ {
187
+ "__schema": "TypeRefSchema",
188
+ "location": {
189
+ "filePath": "yarn.main.runtime.ts",
190
+ "line": 12,
191
+ "character": 76
192
+ },
193
+ "name": "LoggerMain",
194
+ "componentId": {
195
+ "scope": "teambit.harmony",
196
+ "name": "logger"
197
+ }
170
198
  }
171
- }
172
- ]
199
+ ]
200
+ },
201
+ "isOptional": false,
202
+ "isSpread": false
203
+ }
204
+ ],
205
+ "returnType": {
206
+ "__schema": "InferenceTypeSchema",
207
+ "location": {
208
+ "filePath": "yarn.main.runtime.ts",
209
+ "line": 12,
210
+ "character": 3
173
211
  },
174
- "isOptional": false,
175
- "isSpread": false
176
- }
177
- ],
178
- "returnType": {
179
- "__schema": "InferenceTypeSchema",
180
- "location": {
181
- "filePath": "yarn.main.runtime.ts",
182
- "line": 12,
183
- "character": 3
212
+ "type": "Promise<YarnMain>"
184
213
  },
185
- "type": "Promise<YarnMain>"
186
- },
187
- "modifiers": [
188
- "static",
189
- "async"
190
- ]
191
- }
192
- ],
193
- "extendsNodes": [],
194
- "implementNodes": []
214
+ "modifiers": [
215
+ "static",
216
+ "async"
217
+ ]
218
+ }
219
+ ],
220
+ "extendsNodes": [],
221
+ "implementNodes": []
222
+ }
195
223
  },
196
224
  {
197
- "__schema": "ClassSchema",
225
+ "__schema": "ExportSchema",
198
226
  "location": {
199
- "filePath": "yarn.ui.runtime.tsx",
200
- "line": 7,
201
- "character": 1
227
+ "filePath": "index.ts",
228
+ "line": 4,
229
+ "character": 15
202
230
  },
203
- "signature": "class YarnUI",
204
231
  "name": "YarnUI",
205
- "members": [
206
- {
207
- "__schema": "VariableLikeSchema",
208
- "location": {
209
- "filePath": "yarn.ui.runtime.tsx",
210
- "line": 8,
211
- "character": 3
212
- },
213
- "signature": "(property) YarnUI.runtime: RuntimeDefinition",
214
- "name": "runtime",
215
- "type": {
216
- "__schema": "InferenceTypeSchema",
232
+ "exportNode": {
233
+ "__schema": "ClassSchema",
234
+ "location": {
235
+ "filePath": "yarn.ui.runtime.tsx",
236
+ "line": 7,
237
+ "character": 1
238
+ },
239
+ "signature": "class YarnUI",
240
+ "name": "YarnUI",
241
+ "members": [
242
+ {
243
+ "__schema": "VariableLikeSchema",
217
244
  "location": {
218
245
  "filePath": "yarn.ui.runtime.tsx",
219
246
  "line": 8,
220
247
  "character": 3
221
248
  },
222
- "type": "RuntimeDefinition"
223
- },
224
- "isOptional": true,
225
- "defaultValue": "UIRuntime"
226
- },
227
- {
228
- "__schema": "VariableLikeSchema",
229
- "location": {
230
- "filePath": "yarn.ui.runtime.tsx",
231
- "line": 10,
232
- "character": 3
249
+ "signature": "(property) YarnUI.runtime: RuntimeDefinition",
250
+ "name": "runtime",
251
+ "type": {
252
+ "__schema": "InferenceTypeSchema",
253
+ "location": {
254
+ "filePath": "yarn.ui.runtime.tsx",
255
+ "line": 8,
256
+ "character": 3
257
+ },
258
+ "type": "RuntimeDefinition"
259
+ },
260
+ "isOptional": true,
261
+ "defaultValue": "UIRuntime"
233
262
  },
234
- "signature": "(property) YarnUI.dependencies: Aspect[]",
235
- "name": "dependencies",
236
- "type": {
237
- "__schema": "InferenceTypeSchema",
263
+ {
264
+ "__schema": "VariableLikeSchema",
238
265
  "location": {
239
266
  "filePath": "yarn.ui.runtime.tsx",
240
267
  "line": 10,
241
268
  "character": 3
242
269
  },
243
- "type": "Aspect[]"
244
- },
245
- "isOptional": true,
246
- "defaultValue": "[ComponentAspect]"
247
- },
248
- {
249
- "__schema": "FunctionLikeSchema",
250
- "location": {
251
- "filePath": "yarn.ui.runtime.tsx",
252
- "line": 12,
253
- "character": 3
254
- },
255
- "signature": "(method) YarnUI.provider([componentUI]: [ComponentUI]): Promise<YarnUI>",
256
- "name": "provider",
257
- "params": [
258
- {
259
- "__schema": "ParameterSchema",
270
+ "signature": "(property) YarnUI.dependencies: Aspect[]",
271
+ "name": "dependencies",
272
+ "type": {
273
+ "__schema": "InferenceTypeSchema",
260
274
  "location": {
261
275
  "filePath": "yarn.ui.runtime.tsx",
262
- "line": 12,
263
- "character": 25
276
+ "line": 10,
277
+ "character": 3
264
278
  },
265
- "name": "[ componentUI ]",
266
- "type": {
267
- "__schema": "TupleTypeSchema",
279
+ "type": "Aspect[]"
280
+ },
281
+ "isOptional": true,
282
+ "defaultValue": "[ComponentAspect]"
283
+ },
284
+ {
285
+ "__schema": "FunctionLikeSchema",
286
+ "location": {
287
+ "filePath": "yarn.ui.runtime.tsx",
288
+ "line": 12,
289
+ "character": 3
290
+ },
291
+ "signature": "(method) YarnUI.provider([componentUI]: [ComponentUI]): Promise<YarnUI>",
292
+ "name": "provider",
293
+ "params": [
294
+ {
295
+ "__schema": "ParameterSchema",
268
296
  "location": {
269
297
  "filePath": "yarn.ui.runtime.tsx",
270
298
  "line": 12,
271
- "character": 40
299
+ "character": 25
272
300
  },
273
- "elements": [
274
- {
275
- "__schema": "TypeRefSchema",
276
- "location": {
277
- "filePath": "yarn.ui.runtime.tsx",
278
- "line": 12,
279
- "character": 41
280
- },
281
- "name": "ComponentUI",
282
- "componentId": {
283
- "scope": "teambit.component",
284
- "name": "component"
301
+ "name": "[ componentUI ]",
302
+ "type": {
303
+ "__schema": "TupleTypeSchema",
304
+ "location": {
305
+ "filePath": "yarn.ui.runtime.tsx",
306
+ "line": 12,
307
+ "character": 40
308
+ },
309
+ "elements": [
310
+ {
311
+ "__schema": "TypeRefSchema",
312
+ "location": {
313
+ "filePath": "yarn.ui.runtime.tsx",
314
+ "line": 12,
315
+ "character": 41
316
+ },
317
+ "name": "ComponentUI",
318
+ "componentId": {
319
+ "scope": "teambit.component",
320
+ "name": "component"
321
+ }
285
322
  }
286
- }
287
- ]
323
+ ]
324
+ },
325
+ "isOptional": false,
326
+ "isSpread": false
327
+ }
328
+ ],
329
+ "returnType": {
330
+ "__schema": "InferenceTypeSchema",
331
+ "location": {
332
+ "filePath": "yarn.ui.runtime.tsx",
333
+ "line": 12,
334
+ "character": 3
288
335
  },
289
- "isOptional": false,
290
- "isSpread": false
291
- }
292
- ],
293
- "returnType": {
294
- "__schema": "InferenceTypeSchema",
336
+ "type": "Promise<YarnUI>"
337
+ },
338
+ "modifiers": [
339
+ "static",
340
+ "async"
341
+ ]
342
+ },
343
+ {
344
+ "__schema": "ConstructorSchema",
295
345
  "location": {
296
346
  "filePath": "yarn.ui.runtime.tsx",
297
- "line": 12,
347
+ "line": 18,
298
348
  "character": 3
299
349
  },
300
- "type": "Promise<YarnUI>"
301
- },
302
- "modifiers": [
303
- "static",
304
- "async"
305
- ]
306
- },
307
- {
308
- "__schema": "ConstructorSchema",
309
- "location": {
310
- "filePath": "yarn.ui.runtime.tsx",
311
- "line": 18,
312
- "character": 3
313
- },
314
- "signature": "constructor YarnUI(compUI: ComponentUI): YarnUI",
315
- "name": "constructor",
316
- "params": [
317
- {
318
- "__schema": "ParameterSchema",
319
- "location": {
320
- "filePath": "yarn.ui.runtime.tsx",
321
- "line": 18,
322
- "character": 15
323
- },
324
- "name": "compUI",
325
- "type": {
326
- "__schema": "TypeRefSchema",
350
+ "signature": "constructor YarnUI(compUI: ComponentUI): YarnUI",
351
+ "name": "constructor",
352
+ "params": [
353
+ {
354
+ "__schema": "ParameterSchema",
327
355
  "location": {
328
356
  "filePath": "yarn.ui.runtime.tsx",
329
357
  "line": 18,
330
- "character": 31
358
+ "character": 15
359
+ },
360
+ "name": "compUI",
361
+ "type": {
362
+ "__schema": "TypeRefSchema",
363
+ "location": {
364
+ "filePath": "yarn.ui.runtime.tsx",
365
+ "line": 18,
366
+ "character": 31
367
+ },
368
+ "name": "ComponentUI",
369
+ "componentId": {
370
+ "scope": "teambit.component",
371
+ "name": "component"
372
+ }
331
373
  },
332
- "name": "ComponentUI",
333
- "componentId": {
334
- "scope": "teambit.component",
335
- "name": "component"
336
- }
374
+ "isOptional": false,
375
+ "isSpread": false
376
+ }
377
+ ],
378
+ "returnType": {
379
+ "__schema": "ThisTypeSchema",
380
+ "location": {
381
+ "filePath": "yarn.ui.runtime.tsx",
382
+ "line": 7,
383
+ "character": 1
337
384
  },
338
- "isOptional": false,
339
- "isSpread": false
340
- }
341
- ],
342
- "returnType": {
343
- "__schema": "ThisTypeSchema",
344
- "location": {
345
- "filePath": "yarn.ui.runtime.tsx",
346
- "line": 7,
347
- "character": 1
385
+ "name": "YarnUI"
348
386
  },
349
- "name": "YarnUI"
350
- },
351
- "modifiers": []
352
- }
353
- ],
354
- "extendsNodes": [],
355
- "implementNodes": []
387
+ "modifiers": []
388
+ }
389
+ ],
390
+ "extendsNodes": [],
391
+ "implementNodes": []
392
+ }
356
393
  }
357
394
  ],
358
395
  "internals": []
@@ -752,7 +789,7 @@
752
789
  "componentId": {
753
790
  "scope": "teambit.dependencies",
754
791
  "name": "yarn",
755
- "version": "1.0.257"
792
+ "version": "1.0.259"
756
793
  },
757
794
  "taggedModuleExports": []
758
795
  }
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.dependencies_yarn@1.0.257/dist/yarn.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.dependencies_yarn@1.0.257/dist/yarn.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.dependencies_yarn@1.0.259/dist/yarn.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.dependencies_yarn@1.0.259/dist/yarn.docs.mdx';
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/yarn",
3
- "version": "1.0.257",
3
+ "version": "1.0.259",
4
4
  "homepage": "https://bit.cloud/teambit/dependencies/yarn",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.dependencies",
8
8
  "name": "yarn",
9
- "version": "1.0.257"
9
+ "version": "1.0.259"
10
10
  },
11
11
  "dependencies": {
12
12
  "fs-extra": "10.0.0",
@@ -25,12 +25,12 @@
25
25
  "@teambit/harmony": "0.4.6",
26
26
  "@teambit/bit-error": "0.0.404",
27
27
  "@teambit/ui-foundation.ui.use-box.menu": "1.0.7",
28
- "@teambit/component": "1.0.257",
29
- "@teambit/dependency-resolver": "1.0.257",
30
- "@teambit/cli": "0.0.862",
31
- "@teambit/logger": "0.0.955",
28
+ "@teambit/component": "1.0.259",
29
+ "@teambit/dependency-resolver": "1.0.259",
30
+ "@teambit/cli": "0.0.863",
31
+ "@teambit/logger": "0.0.956",
32
32
  "@teambit/dependencies.fs.linked-dependencies": "0.0.9",
33
- "@teambit/ui": "1.0.257"
33
+ "@teambit/ui": "1.0.259"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/fs-extra": "9.0.7",