@teambit/yarn 1.0.511 → 1.0.513

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.511" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.dependencies/yarn@1.0.513" 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={528:(e,t,n)=>{Object.defineProperty(t,"R",{enumerable:!0,get:function(){return r.default}});var r=o(n(541));function o(e){return e&&e.__esModule?e:{default:e}}o.__bit_component={id:"teambit.dependencies/aspect-docs/yarn@0.0.171",homepage:"https://bit.cloud/teambit/dependencies/aspect-docs/yarn",exported:!0}},541:(e,t,n)=>{var r={id:"teambit.dependencies/aspect-docs/yarn@0.0.171",homepage:"https://bit.cloud/teambit/dependencies/aspect-docs/yarn",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=u,i(n(594));var o=n(16),a=["components"];function i(e){return e&&e.__esModule?e:{default:e}}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)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(null,arguments)}function s(e,t){if(null==e)return{};var n,r,o=p(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function p(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}i.__bit_component=r,c.__bit_component=r,s.__bit_component=r,p.__bit_component=r;var d={},l="wrapper";function u(e){var t=e.components,n=s(e,a);return(0,o.mdx)(l,c({},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},860:(e,t,n)=>{var r={id:"teambit.dependencies/yarn@1.0.511",homepage:"https://bit.cloud/teambit/dependencies/yarn",exported:!0};function o(){const e=a(n(594));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},16:e=>{e.exports=MdxJsReact},594: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={};n.r(r),n.d(r,{compositions:()=>f,compositions_metadata:()=>y,overview:()=>b});var o={};n.r(o),n.d(o,{default:()=>m});var a=n(860),i=(n(594),n(16));const c=TeambitMdxUiMdxScopeContext;var s=n(528),p=["components"];function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(null,arguments)}var l={},u="wrapper";function m(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({}.hasOwnProperty.call(e,r)){if(t.includes(r))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.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,p);return(0,i.mdx)(u,d({},l,n,{components:t,mdxType:"MDXLayout"}),(0,i.mdx)(c.MDXScopeProvider,{components:{Yarn:s.R},mdxType:"MDXScopeProvider"},(0,i.mdx)(s.R,{mdxType:"Yarn"})))}m.isMDXComponent=!0;const f=[a],b=[o],y={compositions:[{displayName:"Logo",identifier:"Logo"}]};return 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={528:(e,t,n)=>{Object.defineProperty(t,"R",{enumerable:!0,get:function(){return r.default}});var r=o(n(541));function o(e){return e&&e.__esModule?e:{default:e}}o.__bit_component={id:"teambit.dependencies/aspect-docs/yarn@0.0.171",homepage:"https://bit.cloud/teambit/dependencies/aspect-docs/yarn",exported:!0}},541:(e,t,n)=>{var r={id:"teambit.dependencies/aspect-docs/yarn@0.0.171",homepage:"https://bit.cloud/teambit/dependencies/aspect-docs/yarn",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=u,i(n(594));var o=n(16),a=["components"];function i(e){return e&&e.__esModule?e:{default:e}}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)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(null,arguments)}function s(e,t){if(null==e)return{};var n,r,o=p(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function p(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}i.__bit_component=r,c.__bit_component=r,s.__bit_component=r,p.__bit_component=r;var d={},l="wrapper";function u(e){var t=e.components,n=s(e,a);return(0,o.mdx)(l,c({},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},246:(e,t,n)=>{var r={id:"teambit.dependencies/yarn@1.0.513",homepage:"https://bit.cloud/teambit/dependencies/yarn",exported:!0};function o(){const e=a(n(594));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},16:e=>{e.exports=MdxJsReact},594: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={};n.r(r),n.d(r,{compositions:()=>f,compositions_metadata:()=>y,overview:()=>b});var o={};n.r(o),n.d(o,{default:()=>m});var a=n(246),i=(n(594),n(16));const c=TeambitMdxUiMdxScopeContext;var s=n(528),p=["components"];function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(null,arguments)}var l={},u="wrapper";function m(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({}.hasOwnProperty.call(e,r)){if(t.includes(r))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.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,p);return(0,i.mdx)(u,d({},l,n,{components:t,mdxType:"MDXLayout"}),(0,i.mdx)(c.MDXScopeProvider,{components:{Yarn:s.R},mdxType:"MDXScopeProvider"},(0,i.mdx)(s.R,{mdxType:"Yarn"})))}m.isMDXComponent=!0;const f=[a],b=[o],y={compositions:[{displayName:"Logo",identifier:"Logo"}]};return r})()));
@@ -0,0 +1,767 @@
1
+ {
2
+ "__schema": "APISchema",
3
+ "location": {
4
+ "filePath": "index.ts",
5
+ "line": 1,
6
+ "character": 1
7
+ },
8
+ "module": {
9
+ "__schema": "ModuleSchema",
10
+ "location": {
11
+ "filePath": "index.ts",
12
+ "line": 1,
13
+ "character": 1
14
+ },
15
+ "exports": [
16
+ {
17
+ "__schema": "ExportSchema",
18
+ "location": {
19
+ "filePath": "index.ts",
20
+ "line": 1,
21
+ "character": 24
22
+ },
23
+ "signature": "const YarnAspect: Aspect",
24
+ "name": "YarnAspect",
25
+ "exportNode": {
26
+ "__schema": "VariableLikeSchema",
27
+ "location": {
28
+ "filePath": "yarn.aspect.ts",
29
+ "line": 3,
30
+ "character": 14
31
+ },
32
+ "signature": "const YarnAspect: Aspect",
33
+ "name": "YarnAspect",
34
+ "type": {
35
+ "__schema": "TypeRefSchema",
36
+ "location": {
37
+ "filePath": "yarn.aspect.ts",
38
+ "line": 3,
39
+ "character": 14
40
+ },
41
+ "name": "Aspect",
42
+ "componentId": {
43
+ "scope": "teambit.harmony",
44
+ "name": "harmony",
45
+ "version": "0.4.6"
46
+ }
47
+ },
48
+ "isOptional": false,
49
+ "defaultValue": "Aspect.create({\n id: 'teambit.dependencies/yarn',\n})"
50
+ },
51
+ "alias": "default"
52
+ },
53
+ {
54
+ "__schema": "ExportSchema",
55
+ "location": {
56
+ "filePath": "index.ts",
57
+ "line": 1,
58
+ "character": 33
59
+ },
60
+ "signature": "const YarnAspect: Aspect",
61
+ "name": "YarnAspect",
62
+ "exportNode": {
63
+ "__schema": "VariableLikeSchema",
64
+ "location": {
65
+ "filePath": "yarn.aspect.ts",
66
+ "line": 3,
67
+ "character": 14
68
+ },
69
+ "signature": "const YarnAspect: Aspect",
70
+ "name": "YarnAspect",
71
+ "type": {
72
+ "__schema": "TypeRefSchema",
73
+ "location": {
74
+ "filePath": "yarn.aspect.ts",
75
+ "line": 3,
76
+ "character": 14
77
+ },
78
+ "name": "Aspect",
79
+ "componentId": {
80
+ "scope": "teambit.harmony",
81
+ "name": "harmony",
82
+ "version": "0.4.6"
83
+ }
84
+ },
85
+ "isOptional": false,
86
+ "defaultValue": "Aspect.create({\n id: 'teambit.dependencies/yarn',\n})"
87
+ }
88
+ },
89
+ {
90
+ "__schema": "ExportSchema",
91
+ "location": {
92
+ "filePath": "index.ts",
93
+ "line": 3,
94
+ "character": 15
95
+ },
96
+ "signature": "class YarnMain",
97
+ "name": "YarnMain",
98
+ "exportNode": {
99
+ "__schema": "ClassSchema",
100
+ "location": {
101
+ "filePath": "yarn.main.runtime.ts",
102
+ "line": 7,
103
+ "character": 1
104
+ },
105
+ "signature": "class YarnMain",
106
+ "name": "YarnMain",
107
+ "members": [
108
+ {
109
+ "__schema": "VariableLikeSchema",
110
+ "location": {
111
+ "filePath": "yarn.main.runtime.ts",
112
+ "line": 8,
113
+ "character": 3
114
+ },
115
+ "signature": "(property) YarnMain.dependencies: Aspect[]",
116
+ "name": "dependencies",
117
+ "type": {
118
+ "__schema": "InferenceTypeSchema",
119
+ "location": {
120
+ "filePath": "yarn.main.runtime.ts",
121
+ "line": 8,
122
+ "character": 3
123
+ },
124
+ "type": "Aspect[]"
125
+ },
126
+ "isOptional": true,
127
+ "defaultValue": "[DependencyResolverAspect, LoggerAspect]"
128
+ },
129
+ {
130
+ "__schema": "VariableLikeSchema",
131
+ "location": {
132
+ "filePath": "yarn.main.runtime.ts",
133
+ "line": 10,
134
+ "character": 3
135
+ },
136
+ "signature": "(property) YarnMain.runtime: RuntimeDefinition",
137
+ "name": "runtime",
138
+ "type": {
139
+ "__schema": "InferenceTypeSchema",
140
+ "location": {
141
+ "filePath": "yarn.main.runtime.ts",
142
+ "line": 10,
143
+ "character": 3
144
+ },
145
+ "type": "RuntimeDefinition"
146
+ },
147
+ "isOptional": true,
148
+ "defaultValue": "MainRuntime"
149
+ },
150
+ {
151
+ "__schema": "FunctionLikeSchema",
152
+ "location": {
153
+ "filePath": "yarn.main.runtime.ts",
154
+ "line": 12,
155
+ "character": 3
156
+ },
157
+ "signature": "(method) YarnMain.provider([depResolver, loggerExt]: [DependencyResolverMain, LoggerMain]): Promise<YarnMain>",
158
+ "name": "provider",
159
+ "params": [
160
+ {
161
+ "__schema": "ParameterSchema",
162
+ "location": {
163
+ "filePath": "yarn.main.runtime.ts",
164
+ "line": 12,
165
+ "character": 25
166
+ },
167
+ "name": "[ depResolver, loggerExt ]",
168
+ "type": {
169
+ "__schema": "TupleTypeSchema",
170
+ "location": {
171
+ "filePath": "yarn.main.runtime.ts",
172
+ "line": 12,
173
+ "character": 51
174
+ },
175
+ "elements": [
176
+ {
177
+ "__schema": "TypeRefSchema",
178
+ "location": {
179
+ "filePath": "yarn.main.runtime.ts",
180
+ "line": 12,
181
+ "character": 52
182
+ },
183
+ "name": "DependencyResolverMain"
184
+ },
185
+ {
186
+ "__schema": "TypeRefSchema",
187
+ "location": {
188
+ "filePath": "yarn.main.runtime.ts",
189
+ "line": 12,
190
+ "character": 76
191
+ },
192
+ "name": "LoggerMain"
193
+ }
194
+ ]
195
+ },
196
+ "isOptional": false,
197
+ "isSpread": false
198
+ }
199
+ ],
200
+ "returnType": {
201
+ "__schema": "InferenceTypeSchema",
202
+ "location": {
203
+ "filePath": "yarn.main.runtime.ts",
204
+ "line": 12,
205
+ "character": 3
206
+ },
207
+ "type": "Promise<YarnMain>"
208
+ },
209
+ "modifiers": [
210
+ "static",
211
+ "async"
212
+ ]
213
+ }
214
+ ],
215
+ "extendsNodes": [],
216
+ "implementNodes": []
217
+ }
218
+ },
219
+ {
220
+ "__schema": "ExportSchema",
221
+ "location": {
222
+ "filePath": "index.ts",
223
+ "line": 4,
224
+ "character": 15
225
+ },
226
+ "signature": "class YarnUI",
227
+ "name": "YarnUI",
228
+ "exportNode": {
229
+ "__schema": "ClassSchema",
230
+ "location": {
231
+ "filePath": "yarn.ui.runtime.tsx",
232
+ "line": 7,
233
+ "character": 1
234
+ },
235
+ "signature": "class YarnUI",
236
+ "name": "YarnUI",
237
+ "members": [
238
+ {
239
+ "__schema": "VariableLikeSchema",
240
+ "location": {
241
+ "filePath": "yarn.ui.runtime.tsx",
242
+ "line": 8,
243
+ "character": 3
244
+ },
245
+ "signature": "(property) YarnUI.runtime: RuntimeDefinition",
246
+ "name": "runtime",
247
+ "type": {
248
+ "__schema": "InferenceTypeSchema",
249
+ "location": {
250
+ "filePath": "yarn.ui.runtime.tsx",
251
+ "line": 8,
252
+ "character": 3
253
+ },
254
+ "type": "RuntimeDefinition"
255
+ },
256
+ "isOptional": true,
257
+ "defaultValue": "UIRuntime"
258
+ },
259
+ {
260
+ "__schema": "VariableLikeSchema",
261
+ "location": {
262
+ "filePath": "yarn.ui.runtime.tsx",
263
+ "line": 10,
264
+ "character": 3
265
+ },
266
+ "signature": "(property) YarnUI.dependencies: Aspect[]",
267
+ "name": "dependencies",
268
+ "type": {
269
+ "__schema": "InferenceTypeSchema",
270
+ "location": {
271
+ "filePath": "yarn.ui.runtime.tsx",
272
+ "line": 10,
273
+ "character": 3
274
+ },
275
+ "type": "Aspect[]"
276
+ },
277
+ "isOptional": true,
278
+ "defaultValue": "[ComponentAspect]"
279
+ },
280
+ {
281
+ "__schema": "FunctionLikeSchema",
282
+ "location": {
283
+ "filePath": "yarn.ui.runtime.tsx",
284
+ "line": 12,
285
+ "character": 3
286
+ },
287
+ "signature": "(method) YarnUI.provider([componentUI]: [ComponentUI]): Promise<YarnUI>",
288
+ "name": "provider",
289
+ "params": [
290
+ {
291
+ "__schema": "ParameterSchema",
292
+ "location": {
293
+ "filePath": "yarn.ui.runtime.tsx",
294
+ "line": 12,
295
+ "character": 25
296
+ },
297
+ "name": "[ componentUI ]",
298
+ "type": {
299
+ "__schema": "TupleTypeSchema",
300
+ "location": {
301
+ "filePath": "yarn.ui.runtime.tsx",
302
+ "line": 12,
303
+ "character": 40
304
+ },
305
+ "elements": [
306
+ {
307
+ "__schema": "TypeRefSchema",
308
+ "location": {
309
+ "filePath": "yarn.ui.runtime.tsx",
310
+ "line": 12,
311
+ "character": 41
312
+ },
313
+ "name": "ComponentUI"
314
+ }
315
+ ]
316
+ },
317
+ "isOptional": false,
318
+ "isSpread": false
319
+ }
320
+ ],
321
+ "returnType": {
322
+ "__schema": "InferenceTypeSchema",
323
+ "location": {
324
+ "filePath": "yarn.ui.runtime.tsx",
325
+ "line": 12,
326
+ "character": 3
327
+ },
328
+ "type": "Promise<YarnUI>"
329
+ },
330
+ "modifiers": [
331
+ "static",
332
+ "async"
333
+ ]
334
+ },
335
+ {
336
+ "__schema": "ConstructorSchema",
337
+ "location": {
338
+ "filePath": "yarn.ui.runtime.tsx",
339
+ "line": 18,
340
+ "character": 3
341
+ },
342
+ "signature": "constructor YarnUI(compUI: ComponentUI): YarnUI",
343
+ "name": "constructor",
344
+ "params": [
345
+ {
346
+ "__schema": "ParameterSchema",
347
+ "location": {
348
+ "filePath": "yarn.ui.runtime.tsx",
349
+ "line": 18,
350
+ "character": 15
351
+ },
352
+ "name": "compUI",
353
+ "type": {
354
+ "__schema": "TypeRefSchema",
355
+ "location": {
356
+ "filePath": "yarn.ui.runtime.tsx",
357
+ "line": 18,
358
+ "character": 31
359
+ },
360
+ "name": "ComponentUI"
361
+ },
362
+ "isOptional": false,
363
+ "isSpread": false
364
+ }
365
+ ],
366
+ "returnType": {
367
+ "__schema": "ThisTypeSchema",
368
+ "location": {
369
+ "filePath": "yarn.ui.runtime.tsx",
370
+ "line": 7,
371
+ "character": 1
372
+ },
373
+ "name": "YarnUI"
374
+ },
375
+ "modifiers": []
376
+ }
377
+ ],
378
+ "extendsNodes": [],
379
+ "implementNodes": []
380
+ }
381
+ }
382
+ ],
383
+ "internals": []
384
+ },
385
+ "internals": [
386
+ {
387
+ "__schema": "ModuleSchema",
388
+ "location": {
389
+ "filePath": "yarn.aspect.ts",
390
+ "line": 1,
391
+ "character": 1
392
+ },
393
+ "exports": [
394
+ {
395
+ "__schema": "VariableLikeSchema",
396
+ "location": {
397
+ "filePath": "yarn.aspect.ts",
398
+ "line": 3,
399
+ "character": 14
400
+ },
401
+ "signature": "const YarnAspect: Aspect",
402
+ "name": "YarnAspect",
403
+ "type": {
404
+ "__schema": "TypeRefSchema",
405
+ "location": {
406
+ "filePath": "yarn.aspect.ts",
407
+ "line": 3,
408
+ "character": 14
409
+ },
410
+ "name": "Aspect",
411
+ "componentId": {
412
+ "scope": "teambit.harmony",
413
+ "name": "harmony",
414
+ "version": "0.4.6"
415
+ }
416
+ },
417
+ "isOptional": false,
418
+ "defaultValue": "Aspect.create({\n id: 'teambit.dependencies/yarn',\n})"
419
+ },
420
+ {
421
+ "__schema": "UnImplementedSchema",
422
+ "location": {
423
+ "filePath": "yarn.aspect.ts",
424
+ "line": 7,
425
+ "character": 16
426
+ },
427
+ "name": "YarnAspect",
428
+ "type": "Identifier"
429
+ }
430
+ ],
431
+ "internals": []
432
+ },
433
+ {
434
+ "__schema": "ModuleSchema",
435
+ "location": {
436
+ "filePath": "yarn.main.runtime.ts",
437
+ "line": 1,
438
+ "character": 1
439
+ },
440
+ "exports": [
441
+ {
442
+ "__schema": "ClassSchema",
443
+ "location": {
444
+ "filePath": "yarn.main.runtime.ts",
445
+ "line": 7,
446
+ "character": 1
447
+ },
448
+ "signature": "class YarnMain",
449
+ "name": "YarnMain",
450
+ "members": [
451
+ {
452
+ "__schema": "VariableLikeSchema",
453
+ "location": {
454
+ "filePath": "yarn.main.runtime.ts",
455
+ "line": 8,
456
+ "character": 3
457
+ },
458
+ "signature": "(property) YarnMain.dependencies: Aspect[]",
459
+ "name": "dependencies",
460
+ "type": {
461
+ "__schema": "InferenceTypeSchema",
462
+ "location": {
463
+ "filePath": "yarn.main.runtime.ts",
464
+ "line": 8,
465
+ "character": 3
466
+ },
467
+ "type": "Aspect[]"
468
+ },
469
+ "isOptional": true,
470
+ "defaultValue": "[DependencyResolverAspect, LoggerAspect]"
471
+ },
472
+ {
473
+ "__schema": "VariableLikeSchema",
474
+ "location": {
475
+ "filePath": "yarn.main.runtime.ts",
476
+ "line": 10,
477
+ "character": 3
478
+ },
479
+ "signature": "(property) YarnMain.runtime: RuntimeDefinition",
480
+ "name": "runtime",
481
+ "type": {
482
+ "__schema": "InferenceTypeSchema",
483
+ "location": {
484
+ "filePath": "yarn.main.runtime.ts",
485
+ "line": 10,
486
+ "character": 3
487
+ },
488
+ "type": "RuntimeDefinition"
489
+ },
490
+ "isOptional": true,
491
+ "defaultValue": "MainRuntime"
492
+ },
493
+ {
494
+ "__schema": "FunctionLikeSchema",
495
+ "location": {
496
+ "filePath": "yarn.main.runtime.ts",
497
+ "line": 12,
498
+ "character": 3
499
+ },
500
+ "signature": "(method) YarnMain.provider([depResolver, loggerExt]: [DependencyResolverMain, LoggerMain]): Promise<YarnMain>",
501
+ "name": "provider",
502
+ "params": [
503
+ {
504
+ "__schema": "ParameterSchema",
505
+ "location": {
506
+ "filePath": "yarn.main.runtime.ts",
507
+ "line": 12,
508
+ "character": 25
509
+ },
510
+ "name": "[ depResolver, loggerExt ]",
511
+ "type": {
512
+ "__schema": "TupleTypeSchema",
513
+ "location": {
514
+ "filePath": "yarn.main.runtime.ts",
515
+ "line": 12,
516
+ "character": 51
517
+ },
518
+ "elements": [
519
+ {
520
+ "__schema": "TypeRefSchema",
521
+ "location": {
522
+ "filePath": "yarn.main.runtime.ts",
523
+ "line": 12,
524
+ "character": 52
525
+ },
526
+ "name": "DependencyResolverMain"
527
+ },
528
+ {
529
+ "__schema": "TypeRefSchema",
530
+ "location": {
531
+ "filePath": "yarn.main.runtime.ts",
532
+ "line": 12,
533
+ "character": 76
534
+ },
535
+ "name": "LoggerMain"
536
+ }
537
+ ]
538
+ },
539
+ "isOptional": false,
540
+ "isSpread": false
541
+ }
542
+ ],
543
+ "returnType": {
544
+ "__schema": "InferenceTypeSchema",
545
+ "location": {
546
+ "filePath": "yarn.main.runtime.ts",
547
+ "line": 12,
548
+ "character": 3
549
+ },
550
+ "type": "Promise<YarnMain>"
551
+ },
552
+ "modifiers": [
553
+ "static",
554
+ "async"
555
+ ]
556
+ }
557
+ ],
558
+ "extendsNodes": [],
559
+ "implementNodes": []
560
+ }
561
+ ],
562
+ "internals": [
563
+ {
564
+ "__schema": "UnImplementedSchema",
565
+ "location": {
566
+ "filePath": "yarn.main.runtime.ts",
567
+ "line": 19,
568
+ "character": 1
569
+ },
570
+ "name": "YarnAspect.addRuntime(YarnMain);",
571
+ "type": "ExpressionStatement"
572
+ }
573
+ ]
574
+ },
575
+ {
576
+ "__schema": "ModuleSchema",
577
+ "location": {
578
+ "filePath": "yarn.ui.runtime.tsx",
579
+ "line": 1,
580
+ "character": 1
581
+ },
582
+ "exports": [
583
+ {
584
+ "__schema": "ClassSchema",
585
+ "location": {
586
+ "filePath": "yarn.ui.runtime.tsx",
587
+ "line": 7,
588
+ "character": 1
589
+ },
590
+ "signature": "class YarnUI",
591
+ "name": "YarnUI",
592
+ "members": [
593
+ {
594
+ "__schema": "VariableLikeSchema",
595
+ "location": {
596
+ "filePath": "yarn.ui.runtime.tsx",
597
+ "line": 8,
598
+ "character": 3
599
+ },
600
+ "signature": "(property) YarnUI.runtime: RuntimeDefinition",
601
+ "name": "runtime",
602
+ "type": {
603
+ "__schema": "InferenceTypeSchema",
604
+ "location": {
605
+ "filePath": "yarn.ui.runtime.tsx",
606
+ "line": 8,
607
+ "character": 3
608
+ },
609
+ "type": "RuntimeDefinition"
610
+ },
611
+ "isOptional": true,
612
+ "defaultValue": "UIRuntime"
613
+ },
614
+ {
615
+ "__schema": "VariableLikeSchema",
616
+ "location": {
617
+ "filePath": "yarn.ui.runtime.tsx",
618
+ "line": 10,
619
+ "character": 3
620
+ },
621
+ "signature": "(property) YarnUI.dependencies: Aspect[]",
622
+ "name": "dependencies",
623
+ "type": {
624
+ "__schema": "InferenceTypeSchema",
625
+ "location": {
626
+ "filePath": "yarn.ui.runtime.tsx",
627
+ "line": 10,
628
+ "character": 3
629
+ },
630
+ "type": "Aspect[]"
631
+ },
632
+ "isOptional": true,
633
+ "defaultValue": "[ComponentAspect]"
634
+ },
635
+ {
636
+ "__schema": "FunctionLikeSchema",
637
+ "location": {
638
+ "filePath": "yarn.ui.runtime.tsx",
639
+ "line": 12,
640
+ "character": 3
641
+ },
642
+ "signature": "(method) YarnUI.provider([componentUI]: [ComponentUI]): Promise<YarnUI>",
643
+ "name": "provider",
644
+ "params": [
645
+ {
646
+ "__schema": "ParameterSchema",
647
+ "location": {
648
+ "filePath": "yarn.ui.runtime.tsx",
649
+ "line": 12,
650
+ "character": 25
651
+ },
652
+ "name": "[ componentUI ]",
653
+ "type": {
654
+ "__schema": "TupleTypeSchema",
655
+ "location": {
656
+ "filePath": "yarn.ui.runtime.tsx",
657
+ "line": 12,
658
+ "character": 40
659
+ },
660
+ "elements": [
661
+ {
662
+ "__schema": "TypeRefSchema",
663
+ "location": {
664
+ "filePath": "yarn.ui.runtime.tsx",
665
+ "line": 12,
666
+ "character": 41
667
+ },
668
+ "name": "ComponentUI"
669
+ }
670
+ ]
671
+ },
672
+ "isOptional": false,
673
+ "isSpread": false
674
+ }
675
+ ],
676
+ "returnType": {
677
+ "__schema": "InferenceTypeSchema",
678
+ "location": {
679
+ "filePath": "yarn.ui.runtime.tsx",
680
+ "line": 12,
681
+ "character": 3
682
+ },
683
+ "type": "Promise<YarnUI>"
684
+ },
685
+ "modifiers": [
686
+ "static",
687
+ "async"
688
+ ]
689
+ },
690
+ {
691
+ "__schema": "ConstructorSchema",
692
+ "location": {
693
+ "filePath": "yarn.ui.runtime.tsx",
694
+ "line": 18,
695
+ "character": 3
696
+ },
697
+ "signature": "constructor YarnUI(compUI: ComponentUI): YarnUI",
698
+ "name": "constructor",
699
+ "params": [
700
+ {
701
+ "__schema": "ParameterSchema",
702
+ "location": {
703
+ "filePath": "yarn.ui.runtime.tsx",
704
+ "line": 18,
705
+ "character": 15
706
+ },
707
+ "name": "compUI",
708
+ "type": {
709
+ "__schema": "TypeRefSchema",
710
+ "location": {
711
+ "filePath": "yarn.ui.runtime.tsx",
712
+ "line": 18,
713
+ "character": 31
714
+ },
715
+ "name": "ComponentUI"
716
+ },
717
+ "isOptional": false,
718
+ "isSpread": false
719
+ }
720
+ ],
721
+ "returnType": {
722
+ "__schema": "ThisTypeSchema",
723
+ "location": {
724
+ "filePath": "yarn.ui.runtime.tsx",
725
+ "line": 7,
726
+ "character": 1
727
+ },
728
+ "name": "YarnUI"
729
+ },
730
+ "modifiers": []
731
+ }
732
+ ],
733
+ "extendsNodes": [],
734
+ "implementNodes": []
735
+ },
736
+ {
737
+ "__schema": "UnImplementedSchema",
738
+ "location": {
739
+ "filePath": "yarn.ui.runtime.tsx",
740
+ "line": 64,
741
+ "character": 16
742
+ },
743
+ "name": "YarnUI",
744
+ "type": "Identifier"
745
+ }
746
+ ],
747
+ "internals": [
748
+ {
749
+ "__schema": "UnImplementedSchema",
750
+ "location": {
751
+ "filePath": "yarn.ui.runtime.tsx",
752
+ "line": 66,
753
+ "character": 1
754
+ },
755
+ "name": "YarnAspect.addRuntime(YarnUI);",
756
+ "type": "ExpressionStatement"
757
+ }
758
+ ]
759
+ }
760
+ ],
761
+ "componentId": {
762
+ "scope": "teambit.dependencies",
763
+ "name": "yarn",
764
+ "version": "1.0.513"
765
+ },
766
+ "taggedModuleExports": []
767
+ }
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.dependencies_yarn@1.0.511/dist/yarn.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.dependencies_yarn@1.0.511/dist/yarn.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.dependencies_yarn@1.0.513/dist/yarn.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.dependencies_yarn@1.0.513/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.511",
3
+ "version": "1.0.513",
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.511"
9
+ "version": "1.0.513"
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.15",
28
- "@teambit/component": "1.0.511",
29
- "@teambit/dependency-resolver": "1.0.511",
30
- "@teambit/cli": "0.0.1088",
31
- "@teambit/logger": "0.0.1181",
28
+ "@teambit/component": "1.0.513",
29
+ "@teambit/dependency-resolver": "1.0.513",
30
+ "@teambit/cli": "0.0.1090",
31
+ "@teambit/logger": "0.0.1183",
32
32
  "@teambit/dependencies.fs.linked-dependencies": "0.0.16",
33
- "@teambit/ui": "1.0.511"
33
+ "@teambit/ui": "1.0.513"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/fs-extra": "9.0.7",