@teambit/yarn 1.0.512 → 1.0.514

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.512" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.dependencies/yarn@1.0.514" 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},213:(e,t,n)=>{var r={id:"teambit.dependencies/yarn@1.0.512",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(213),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={323:(e,t,n)=>{Object.defineProperty(t,"R",{enumerable:!0,get:function(){return r.default}});var r=o(n(472));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}},472:(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},778:(e,t,n)=>{var r={id:"teambit.dependencies/yarn@1.0.514",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(778),i=(n(594),n(16));const c=TeambitMdxUiMdxScopeContext;var s=n(323),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,799 @@
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
+ "componentId": {
185
+ "scope": "teambit.dependencies",
186
+ "name": "dependency-resolver"
187
+ }
188
+ },
189
+ {
190
+ "__schema": "TypeRefSchema",
191
+ "location": {
192
+ "filePath": "yarn.main.runtime.ts",
193
+ "line": 12,
194
+ "character": 76
195
+ },
196
+ "name": "LoggerMain",
197
+ "componentId": {
198
+ "scope": "teambit.harmony",
199
+ "name": "logger"
200
+ }
201
+ }
202
+ ]
203
+ },
204
+ "isOptional": false,
205
+ "isSpread": false
206
+ }
207
+ ],
208
+ "returnType": {
209
+ "__schema": "InferenceTypeSchema",
210
+ "location": {
211
+ "filePath": "yarn.main.runtime.ts",
212
+ "line": 12,
213
+ "character": 3
214
+ },
215
+ "type": "Promise<YarnMain>"
216
+ },
217
+ "modifiers": [
218
+ "static",
219
+ "async"
220
+ ]
221
+ }
222
+ ],
223
+ "extendsNodes": [],
224
+ "implementNodes": []
225
+ }
226
+ },
227
+ {
228
+ "__schema": "ExportSchema",
229
+ "location": {
230
+ "filePath": "index.ts",
231
+ "line": 4,
232
+ "character": 15
233
+ },
234
+ "signature": "class YarnUI",
235
+ "name": "YarnUI",
236
+ "exportNode": {
237
+ "__schema": "ClassSchema",
238
+ "location": {
239
+ "filePath": "yarn.ui.runtime.tsx",
240
+ "line": 7,
241
+ "character": 1
242
+ },
243
+ "signature": "class YarnUI",
244
+ "name": "YarnUI",
245
+ "members": [
246
+ {
247
+ "__schema": "VariableLikeSchema",
248
+ "location": {
249
+ "filePath": "yarn.ui.runtime.tsx",
250
+ "line": 8,
251
+ "character": 3
252
+ },
253
+ "signature": "(property) YarnUI.runtime: RuntimeDefinition",
254
+ "name": "runtime",
255
+ "type": {
256
+ "__schema": "InferenceTypeSchema",
257
+ "location": {
258
+ "filePath": "yarn.ui.runtime.tsx",
259
+ "line": 8,
260
+ "character": 3
261
+ },
262
+ "type": "RuntimeDefinition"
263
+ },
264
+ "isOptional": true,
265
+ "defaultValue": "UIRuntime"
266
+ },
267
+ {
268
+ "__schema": "VariableLikeSchema",
269
+ "location": {
270
+ "filePath": "yarn.ui.runtime.tsx",
271
+ "line": 10,
272
+ "character": 3
273
+ },
274
+ "signature": "(property) YarnUI.dependencies: Aspect[]",
275
+ "name": "dependencies",
276
+ "type": {
277
+ "__schema": "InferenceTypeSchema",
278
+ "location": {
279
+ "filePath": "yarn.ui.runtime.tsx",
280
+ "line": 10,
281
+ "character": 3
282
+ },
283
+ "type": "Aspect[]"
284
+ },
285
+ "isOptional": true,
286
+ "defaultValue": "[ComponentAspect]"
287
+ },
288
+ {
289
+ "__schema": "FunctionLikeSchema",
290
+ "location": {
291
+ "filePath": "yarn.ui.runtime.tsx",
292
+ "line": 12,
293
+ "character": 3
294
+ },
295
+ "signature": "(method) YarnUI.provider([componentUI]: [ComponentUI]): Promise<YarnUI>",
296
+ "name": "provider",
297
+ "params": [
298
+ {
299
+ "__schema": "ParameterSchema",
300
+ "location": {
301
+ "filePath": "yarn.ui.runtime.tsx",
302
+ "line": 12,
303
+ "character": 25
304
+ },
305
+ "name": "[ componentUI ]",
306
+ "type": {
307
+ "__schema": "TupleTypeSchema",
308
+ "location": {
309
+ "filePath": "yarn.ui.runtime.tsx",
310
+ "line": 12,
311
+ "character": 40
312
+ },
313
+ "elements": [
314
+ {
315
+ "__schema": "TypeRefSchema",
316
+ "location": {
317
+ "filePath": "yarn.ui.runtime.tsx",
318
+ "line": 12,
319
+ "character": 41
320
+ },
321
+ "name": "ComponentUI",
322
+ "componentId": {
323
+ "scope": "teambit.component",
324
+ "name": "component"
325
+ }
326
+ }
327
+ ]
328
+ },
329
+ "isOptional": false,
330
+ "isSpread": false
331
+ }
332
+ ],
333
+ "returnType": {
334
+ "__schema": "InferenceTypeSchema",
335
+ "location": {
336
+ "filePath": "yarn.ui.runtime.tsx",
337
+ "line": 12,
338
+ "character": 3
339
+ },
340
+ "type": "Promise<YarnUI>"
341
+ },
342
+ "modifiers": [
343
+ "static",
344
+ "async"
345
+ ]
346
+ },
347
+ {
348
+ "__schema": "ConstructorSchema",
349
+ "location": {
350
+ "filePath": "yarn.ui.runtime.tsx",
351
+ "line": 18,
352
+ "character": 3
353
+ },
354
+ "signature": "constructor YarnUI(compUI: ComponentUI): YarnUI",
355
+ "name": "constructor",
356
+ "params": [
357
+ {
358
+ "__schema": "ParameterSchema",
359
+ "location": {
360
+ "filePath": "yarn.ui.runtime.tsx",
361
+ "line": 18,
362
+ "character": 15
363
+ },
364
+ "name": "compUI",
365
+ "type": {
366
+ "__schema": "TypeRefSchema",
367
+ "location": {
368
+ "filePath": "yarn.ui.runtime.tsx",
369
+ "line": 18,
370
+ "character": 31
371
+ },
372
+ "name": "ComponentUI",
373
+ "componentId": {
374
+ "scope": "teambit.component",
375
+ "name": "component"
376
+ }
377
+ },
378
+ "isOptional": false,
379
+ "isSpread": false
380
+ }
381
+ ],
382
+ "returnType": {
383
+ "__schema": "ThisTypeSchema",
384
+ "location": {
385
+ "filePath": "yarn.ui.runtime.tsx",
386
+ "line": 7,
387
+ "character": 1
388
+ },
389
+ "name": "YarnUI"
390
+ },
391
+ "modifiers": []
392
+ }
393
+ ],
394
+ "extendsNodes": [],
395
+ "implementNodes": []
396
+ }
397
+ }
398
+ ],
399
+ "internals": []
400
+ },
401
+ "internals": [
402
+ {
403
+ "__schema": "ModuleSchema",
404
+ "location": {
405
+ "filePath": "yarn.aspect.ts",
406
+ "line": 1,
407
+ "character": 1
408
+ },
409
+ "exports": [
410
+ {
411
+ "__schema": "VariableLikeSchema",
412
+ "location": {
413
+ "filePath": "yarn.aspect.ts",
414
+ "line": 3,
415
+ "character": 14
416
+ },
417
+ "signature": "const YarnAspect: Aspect",
418
+ "name": "YarnAspect",
419
+ "type": {
420
+ "__schema": "TypeRefSchema",
421
+ "location": {
422
+ "filePath": "yarn.aspect.ts",
423
+ "line": 3,
424
+ "character": 14
425
+ },
426
+ "name": "Aspect",
427
+ "componentId": {
428
+ "scope": "teambit.harmony",
429
+ "name": "harmony",
430
+ "version": "0.4.6"
431
+ }
432
+ },
433
+ "isOptional": false,
434
+ "defaultValue": "Aspect.create({\n id: 'teambit.dependencies/yarn',\n})"
435
+ },
436
+ {
437
+ "__schema": "UnImplementedSchema",
438
+ "location": {
439
+ "filePath": "yarn.aspect.ts",
440
+ "line": 7,
441
+ "character": 16
442
+ },
443
+ "name": "YarnAspect",
444
+ "type": "Identifier"
445
+ }
446
+ ],
447
+ "internals": []
448
+ },
449
+ {
450
+ "__schema": "ModuleSchema",
451
+ "location": {
452
+ "filePath": "yarn.main.runtime.ts",
453
+ "line": 1,
454
+ "character": 1
455
+ },
456
+ "exports": [
457
+ {
458
+ "__schema": "ClassSchema",
459
+ "location": {
460
+ "filePath": "yarn.main.runtime.ts",
461
+ "line": 7,
462
+ "character": 1
463
+ },
464
+ "signature": "class YarnMain",
465
+ "name": "YarnMain",
466
+ "members": [
467
+ {
468
+ "__schema": "VariableLikeSchema",
469
+ "location": {
470
+ "filePath": "yarn.main.runtime.ts",
471
+ "line": 8,
472
+ "character": 3
473
+ },
474
+ "signature": "(property) YarnMain.dependencies: Aspect[]",
475
+ "name": "dependencies",
476
+ "type": {
477
+ "__schema": "InferenceTypeSchema",
478
+ "location": {
479
+ "filePath": "yarn.main.runtime.ts",
480
+ "line": 8,
481
+ "character": 3
482
+ },
483
+ "type": "Aspect[]"
484
+ },
485
+ "isOptional": true,
486
+ "defaultValue": "[DependencyResolverAspect, LoggerAspect]"
487
+ },
488
+ {
489
+ "__schema": "VariableLikeSchema",
490
+ "location": {
491
+ "filePath": "yarn.main.runtime.ts",
492
+ "line": 10,
493
+ "character": 3
494
+ },
495
+ "signature": "(property) YarnMain.runtime: RuntimeDefinition",
496
+ "name": "runtime",
497
+ "type": {
498
+ "__schema": "InferenceTypeSchema",
499
+ "location": {
500
+ "filePath": "yarn.main.runtime.ts",
501
+ "line": 10,
502
+ "character": 3
503
+ },
504
+ "type": "RuntimeDefinition"
505
+ },
506
+ "isOptional": true,
507
+ "defaultValue": "MainRuntime"
508
+ },
509
+ {
510
+ "__schema": "FunctionLikeSchema",
511
+ "location": {
512
+ "filePath": "yarn.main.runtime.ts",
513
+ "line": 12,
514
+ "character": 3
515
+ },
516
+ "signature": "(method) YarnMain.provider([depResolver, loggerExt]: [DependencyResolverMain, LoggerMain]): Promise<YarnMain>",
517
+ "name": "provider",
518
+ "params": [
519
+ {
520
+ "__schema": "ParameterSchema",
521
+ "location": {
522
+ "filePath": "yarn.main.runtime.ts",
523
+ "line": 12,
524
+ "character": 25
525
+ },
526
+ "name": "[ depResolver, loggerExt ]",
527
+ "type": {
528
+ "__schema": "TupleTypeSchema",
529
+ "location": {
530
+ "filePath": "yarn.main.runtime.ts",
531
+ "line": 12,
532
+ "character": 51
533
+ },
534
+ "elements": [
535
+ {
536
+ "__schema": "TypeRefSchema",
537
+ "location": {
538
+ "filePath": "yarn.main.runtime.ts",
539
+ "line": 12,
540
+ "character": 52
541
+ },
542
+ "name": "DependencyResolverMain",
543
+ "componentId": {
544
+ "scope": "teambit.dependencies",
545
+ "name": "dependency-resolver"
546
+ }
547
+ },
548
+ {
549
+ "__schema": "TypeRefSchema",
550
+ "location": {
551
+ "filePath": "yarn.main.runtime.ts",
552
+ "line": 12,
553
+ "character": 76
554
+ },
555
+ "name": "LoggerMain",
556
+ "componentId": {
557
+ "scope": "teambit.harmony",
558
+ "name": "logger"
559
+ }
560
+ }
561
+ ]
562
+ },
563
+ "isOptional": false,
564
+ "isSpread": false
565
+ }
566
+ ],
567
+ "returnType": {
568
+ "__schema": "InferenceTypeSchema",
569
+ "location": {
570
+ "filePath": "yarn.main.runtime.ts",
571
+ "line": 12,
572
+ "character": 3
573
+ },
574
+ "type": "Promise<YarnMain>"
575
+ },
576
+ "modifiers": [
577
+ "static",
578
+ "async"
579
+ ]
580
+ }
581
+ ],
582
+ "extendsNodes": [],
583
+ "implementNodes": []
584
+ }
585
+ ],
586
+ "internals": [
587
+ {
588
+ "__schema": "UnImplementedSchema",
589
+ "location": {
590
+ "filePath": "yarn.main.runtime.ts",
591
+ "line": 19,
592
+ "character": 1
593
+ },
594
+ "name": "YarnAspect.addRuntime(YarnMain);",
595
+ "type": "ExpressionStatement"
596
+ }
597
+ ]
598
+ },
599
+ {
600
+ "__schema": "ModuleSchema",
601
+ "location": {
602
+ "filePath": "yarn.ui.runtime.tsx",
603
+ "line": 1,
604
+ "character": 1
605
+ },
606
+ "exports": [
607
+ {
608
+ "__schema": "ClassSchema",
609
+ "location": {
610
+ "filePath": "yarn.ui.runtime.tsx",
611
+ "line": 7,
612
+ "character": 1
613
+ },
614
+ "signature": "class YarnUI",
615
+ "name": "YarnUI",
616
+ "members": [
617
+ {
618
+ "__schema": "VariableLikeSchema",
619
+ "location": {
620
+ "filePath": "yarn.ui.runtime.tsx",
621
+ "line": 8,
622
+ "character": 3
623
+ },
624
+ "signature": "(property) YarnUI.runtime: RuntimeDefinition",
625
+ "name": "runtime",
626
+ "type": {
627
+ "__schema": "InferenceTypeSchema",
628
+ "location": {
629
+ "filePath": "yarn.ui.runtime.tsx",
630
+ "line": 8,
631
+ "character": 3
632
+ },
633
+ "type": "RuntimeDefinition"
634
+ },
635
+ "isOptional": true,
636
+ "defaultValue": "UIRuntime"
637
+ },
638
+ {
639
+ "__schema": "VariableLikeSchema",
640
+ "location": {
641
+ "filePath": "yarn.ui.runtime.tsx",
642
+ "line": 10,
643
+ "character": 3
644
+ },
645
+ "signature": "(property) YarnUI.dependencies: Aspect[]",
646
+ "name": "dependencies",
647
+ "type": {
648
+ "__schema": "InferenceTypeSchema",
649
+ "location": {
650
+ "filePath": "yarn.ui.runtime.tsx",
651
+ "line": 10,
652
+ "character": 3
653
+ },
654
+ "type": "Aspect[]"
655
+ },
656
+ "isOptional": true,
657
+ "defaultValue": "[ComponentAspect]"
658
+ },
659
+ {
660
+ "__schema": "FunctionLikeSchema",
661
+ "location": {
662
+ "filePath": "yarn.ui.runtime.tsx",
663
+ "line": 12,
664
+ "character": 3
665
+ },
666
+ "signature": "(method) YarnUI.provider([componentUI]: [ComponentUI]): Promise<YarnUI>",
667
+ "name": "provider",
668
+ "params": [
669
+ {
670
+ "__schema": "ParameterSchema",
671
+ "location": {
672
+ "filePath": "yarn.ui.runtime.tsx",
673
+ "line": 12,
674
+ "character": 25
675
+ },
676
+ "name": "[ componentUI ]",
677
+ "type": {
678
+ "__schema": "TupleTypeSchema",
679
+ "location": {
680
+ "filePath": "yarn.ui.runtime.tsx",
681
+ "line": 12,
682
+ "character": 40
683
+ },
684
+ "elements": [
685
+ {
686
+ "__schema": "TypeRefSchema",
687
+ "location": {
688
+ "filePath": "yarn.ui.runtime.tsx",
689
+ "line": 12,
690
+ "character": 41
691
+ },
692
+ "name": "ComponentUI",
693
+ "componentId": {
694
+ "scope": "teambit.component",
695
+ "name": "component"
696
+ }
697
+ }
698
+ ]
699
+ },
700
+ "isOptional": false,
701
+ "isSpread": false
702
+ }
703
+ ],
704
+ "returnType": {
705
+ "__schema": "InferenceTypeSchema",
706
+ "location": {
707
+ "filePath": "yarn.ui.runtime.tsx",
708
+ "line": 12,
709
+ "character": 3
710
+ },
711
+ "type": "Promise<YarnUI>"
712
+ },
713
+ "modifiers": [
714
+ "static",
715
+ "async"
716
+ ]
717
+ },
718
+ {
719
+ "__schema": "ConstructorSchema",
720
+ "location": {
721
+ "filePath": "yarn.ui.runtime.tsx",
722
+ "line": 18,
723
+ "character": 3
724
+ },
725
+ "signature": "constructor YarnUI(compUI: ComponentUI): YarnUI",
726
+ "name": "constructor",
727
+ "params": [
728
+ {
729
+ "__schema": "ParameterSchema",
730
+ "location": {
731
+ "filePath": "yarn.ui.runtime.tsx",
732
+ "line": 18,
733
+ "character": 15
734
+ },
735
+ "name": "compUI",
736
+ "type": {
737
+ "__schema": "TypeRefSchema",
738
+ "location": {
739
+ "filePath": "yarn.ui.runtime.tsx",
740
+ "line": 18,
741
+ "character": 31
742
+ },
743
+ "name": "ComponentUI",
744
+ "componentId": {
745
+ "scope": "teambit.component",
746
+ "name": "component"
747
+ }
748
+ },
749
+ "isOptional": false,
750
+ "isSpread": false
751
+ }
752
+ ],
753
+ "returnType": {
754
+ "__schema": "ThisTypeSchema",
755
+ "location": {
756
+ "filePath": "yarn.ui.runtime.tsx",
757
+ "line": 7,
758
+ "character": 1
759
+ },
760
+ "name": "YarnUI"
761
+ },
762
+ "modifiers": []
763
+ }
764
+ ],
765
+ "extendsNodes": [],
766
+ "implementNodes": []
767
+ },
768
+ {
769
+ "__schema": "UnImplementedSchema",
770
+ "location": {
771
+ "filePath": "yarn.ui.runtime.tsx",
772
+ "line": 64,
773
+ "character": 16
774
+ },
775
+ "name": "YarnUI",
776
+ "type": "Identifier"
777
+ }
778
+ ],
779
+ "internals": [
780
+ {
781
+ "__schema": "UnImplementedSchema",
782
+ "location": {
783
+ "filePath": "yarn.ui.runtime.tsx",
784
+ "line": 66,
785
+ "character": 1
786
+ },
787
+ "name": "YarnAspect.addRuntime(YarnUI);",
788
+ "type": "ExpressionStatement"
789
+ }
790
+ ]
791
+ }
792
+ ],
793
+ "componentId": {
794
+ "scope": "teambit.dependencies",
795
+ "name": "yarn",
796
+ "version": "1.0.514"
797
+ },
798
+ "taggedModuleExports": []
799
+ }
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.dependencies_yarn@1.0.512/dist/yarn.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.dependencies_yarn@1.0.512/dist/yarn.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.dependencies_yarn@1.0.514/dist/yarn.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.dependencies_yarn@1.0.514/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.512",
3
+ "version": "1.0.514",
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.512"
9
+ "version": "1.0.514"
10
10
  },
11
11
  "dependencies": {
12
12
  "fs-extra": "10.0.0",
@@ -25,18 +25,18 @@
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.512",
29
- "@teambit/dependency-resolver": "1.0.512",
30
- "@teambit/cli": "0.0.1089",
31
- "@teambit/logger": "0.0.1182",
32
- "@teambit/dependencies.fs.linked-dependencies": "0.0.16",
33
- "@teambit/ui": "1.0.512"
28
+ "@teambit/component": "1.0.514",
29
+ "@teambit/dependency-resolver": "1.0.514",
30
+ "@teambit/cli": "0.0.1091",
31
+ "@teambit/logger": "0.0.1184",
32
+ "@teambit/dependencies.fs.linked-dependencies": "0.0.17",
33
+ "@teambit/ui": "1.0.514"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/fs-extra": "9.0.7",
37
37
  "@types/lodash": "4.14.165",
38
38
  "@types/mocha": "9.1.0",
39
- "@teambit/harmony.envs.core-aspect-env": "0.0.65",
39
+ "@teambit/harmony.envs.core-aspect-env": "0.0.68",
40
40
  "@teambit/dependencies.aspect-docs.yarn": "0.0.171"
41
41
  },
42
42
  "peerDependencies": {