@teambit/yarn 1.0.257 → 1.0.258

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