@teambit/yarn 1.0.158 → 1.0.160

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