@teambit/bit 1.6.149 → 1.6.151
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.
- package/artifacts/__bit_junit.xml +1 -1
- package/artifacts/preview/static/css/teambit.harmony/bit-preview.589fd409.css +15 -0
- package/artifacts/preview/teambit_harmony_bit-preview.js +1 -1
- package/artifacts/schema.json +412 -277
- package/dist/preview-1714472366682.js +7 -0
- package/package.json +99 -99
- package/artifacts/preview/static/css/teambit.harmony/bit-preview.825d84f6.css +0 -15
- package/dist/preview-1714274461313.js +0 -7
package/artifacts/schema.json
CHANGED
|
@@ -14,458 +14,593 @@
|
|
|
14
14
|
},
|
|
15
15
|
"exports": [
|
|
16
16
|
{
|
|
17
|
-
"__schema": "
|
|
17
|
+
"__schema": "ExportSchema",
|
|
18
18
|
"location": {
|
|
19
19
|
"filePath": "index.ts",
|
|
20
20
|
"line": 1,
|
|
21
21
|
"character": 15
|
|
22
22
|
},
|
|
23
23
|
"name": "RuntimeManifest",
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
|
|
24
|
+
"exportNode": {
|
|
25
|
+
"__schema": "TypeRefSchema",
|
|
26
|
+
"location": {
|
|
27
|
+
"filePath": "index.ts",
|
|
28
|
+
"line": 1,
|
|
29
|
+
"character": 15
|
|
30
|
+
},
|
|
31
|
+
"name": "RuntimeManifest",
|
|
32
|
+
"componentId": {
|
|
33
|
+
"scope": "teambit.harmony",
|
|
34
|
+
"name": "harmony",
|
|
35
|
+
"version": "0.4.6"
|
|
36
|
+
}
|
|
28
37
|
}
|
|
29
38
|
},
|
|
30
39
|
{
|
|
31
|
-
"__schema": "
|
|
40
|
+
"__schema": "ExportSchema",
|
|
32
41
|
"location": {
|
|
33
42
|
"filePath": "index.ts",
|
|
34
43
|
"line": 2,
|
|
35
44
|
"character": 10
|
|
36
45
|
},
|
|
37
46
|
"name": "Aspect",
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
|
|
47
|
+
"exportNode": {
|
|
48
|
+
"__schema": "TypeRefSchema",
|
|
49
|
+
"location": {
|
|
50
|
+
"filePath": "index.ts",
|
|
51
|
+
"line": 2,
|
|
52
|
+
"character": 10
|
|
53
|
+
},
|
|
54
|
+
"name": "Aspect",
|
|
55
|
+
"componentId": {
|
|
56
|
+
"scope": "teambit.harmony",
|
|
57
|
+
"name": "harmony",
|
|
58
|
+
"version": "0.4.6"
|
|
59
|
+
}
|
|
42
60
|
}
|
|
43
61
|
},
|
|
44
62
|
{
|
|
45
|
-
"__schema": "
|
|
63
|
+
"__schema": "ExportSchema",
|
|
46
64
|
"location": {
|
|
47
65
|
"filePath": "index.ts",
|
|
48
66
|
"line": 2,
|
|
49
67
|
"character": 18
|
|
50
68
|
},
|
|
51
69
|
"name": "RuntimeDefinition",
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
|
|
70
|
+
"exportNode": {
|
|
71
|
+
"__schema": "TypeRefSchema",
|
|
72
|
+
"location": {
|
|
73
|
+
"filePath": "index.ts",
|
|
74
|
+
"line": 2,
|
|
75
|
+
"character": 18
|
|
76
|
+
},
|
|
77
|
+
"name": "RuntimeDefinition",
|
|
78
|
+
"componentId": {
|
|
79
|
+
"scope": "teambit.harmony",
|
|
80
|
+
"name": "harmony",
|
|
81
|
+
"version": "0.4.6"
|
|
82
|
+
}
|
|
56
83
|
}
|
|
57
84
|
},
|
|
58
85
|
{
|
|
59
|
-
"__schema": "
|
|
86
|
+
"__schema": "ExportSchema",
|
|
60
87
|
"location": {
|
|
61
88
|
"filePath": "index.ts",
|
|
62
89
|
"line": 3,
|
|
63
90
|
"character": 10
|
|
64
91
|
},
|
|
65
|
-
"name": "Hook"
|
|
92
|
+
"name": "Hook",
|
|
93
|
+
"exportNode": {
|
|
94
|
+
"__schema": "TypeRefSchema",
|
|
95
|
+
"location": {
|
|
96
|
+
"filePath": "index.ts",
|
|
97
|
+
"line": 3,
|
|
98
|
+
"character": 10
|
|
99
|
+
},
|
|
100
|
+
"name": "Hook"
|
|
101
|
+
}
|
|
66
102
|
},
|
|
67
103
|
{
|
|
68
|
-
"__schema": "
|
|
104
|
+
"__schema": "ExportSchema",
|
|
69
105
|
"location": {
|
|
70
106
|
"filePath": "index.ts",
|
|
71
107
|
"line": 3,
|
|
72
108
|
"character": 16
|
|
73
109
|
},
|
|
74
|
-
"name": "HookRegistry"
|
|
110
|
+
"name": "HookRegistry",
|
|
111
|
+
"exportNode": {
|
|
112
|
+
"__schema": "TypeRefSchema",
|
|
113
|
+
"location": {
|
|
114
|
+
"filePath": "index.ts",
|
|
115
|
+
"line": 3,
|
|
116
|
+
"character": 16
|
|
117
|
+
},
|
|
118
|
+
"name": "HookRegistry"
|
|
119
|
+
}
|
|
75
120
|
},
|
|
76
121
|
{
|
|
77
|
-
"__schema": "
|
|
122
|
+
"__schema": "ExportSchema",
|
|
78
123
|
"location": {
|
|
79
|
-
"filePath": "
|
|
80
|
-
"line":
|
|
81
|
-
"character":
|
|
124
|
+
"filePath": "index.ts",
|
|
125
|
+
"line": 4,
|
|
126
|
+
"character": 10
|
|
82
127
|
},
|
|
83
|
-
"signature": "const manifestsMap: {\n [x: string]: Aspect;\n}",
|
|
84
128
|
"name": "manifestsMap",
|
|
85
|
-
"
|
|
86
|
-
"__schema": "
|
|
129
|
+
"exportNode": {
|
|
130
|
+
"__schema": "VariableLikeSchema",
|
|
87
131
|
"location": {
|
|
88
132
|
"filePath": "manifests.ts",
|
|
89
133
|
"line": 107,
|
|
90
134
|
"character": 14
|
|
91
135
|
},
|
|
92
|
-
"
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
136
|
+
"signature": "const manifestsMap: {\n [x: string]: Aspect;\n}",
|
|
137
|
+
"name": "manifestsMap",
|
|
138
|
+
"type": {
|
|
139
|
+
"__schema": "InferenceTypeSchema",
|
|
140
|
+
"location": {
|
|
141
|
+
"filePath": "manifests.ts",
|
|
142
|
+
"line": 107,
|
|
143
|
+
"character": 14
|
|
144
|
+
},
|
|
145
|
+
"type": "{\n [x: string]: Aspect;\n}"
|
|
146
|
+
},
|
|
147
|
+
"isOptional": false,
|
|
148
|
+
"defaultValue": "{\n [AspectLoaderAspect.id]: AspectLoaderAspect,\n [CLIAspect.id]: CLIAspect,\n [DevFilesAspect.id]: DevFilesAspect,\n [WorkspaceAspect.id]: WorkspaceAspect,\n [WorkspaceConfigFilesAspect.id]: WorkspaceConfigFilesAspect,\n [InstallAspect.id]: InstallAspect,\n [ESLintAspect.id]: ESLintAspect,\n [PrettierAspect.id]: PrettierAspect,\n [CompilerAspect.id]: CompilerAspect,\n [LinterAspect.id]: LinterAspect,\n [FormatterAspect.id]: FormatterAspect,\n [ComponentAspect.id]: ComponentAspect,\n [MDXAspect.id]: MDXAspect,\n [ReadmeAspect.id]: ReadmeAspect,\n [PreviewAspect.id]: PreviewAspect,\n [ComponentSizerAspect.id]: ComponentSizerAspect,\n [DocsAspect.id]: DocsAspect,\n [YarnAspect.id]: YarnAspect,\n [CompositionsAspect.id]: CompositionsAspect,\n [GlobalConfigAspect.id]: GlobalConfigAspect,\n [GraphqlAspect.id]: GraphqlAspect,\n [PnpmAspect.id]: PnpmAspect,\n [MultiCompilerAspect.id]: MultiCompilerAspect,\n [UIAspect.id]: UIAspect,\n [GeneratorAspect.id]: GeneratorAspect,\n [EnvsAspect.id]: EnvsAspect,\n [EnvAspect.id]: EnvAspect,\n [GraphAspect.id]: GraphAspect,\n [PubsubAspect.id]: PubsubAspect,\n [DependencyResolverAspect.id]: DependencyResolverAspect,\n [InsightsAspect.id]: InsightsAspect,\n [IsolatorAspect.id]: IsolatorAspect,\n [LoggerAspect.id]: LoggerAspect,\n [PkgAspect.id]: PkgAspect,\n [ReactAspect.id]: ReactAspect,\n [ReactNativeAspect.id]: ReactNativeAspect,\n [WorkerAspect.id]: WorkerAspect,\n // [StencilAspect.id]: StencilAspect,\n [ScopeAspect.id]: ScopeAspect,\n [TesterAspect.id]: TesterAspect,\n [MultiTesterAspect.id]: MultiTesterAspect,\n [BuilderAspect.id]: BuilderAspect,\n [VariantsAspect.id]: VariantsAspect,\n [DeprecationAspect.id]: DeprecationAspect,\n [ExpressAspect.id]: ExpressAspect,\n [AspectAspect.id]: AspectAspect,\n [WebpackAspect.id]: WebpackAspect,\n [SchemaAspect.id]: SchemaAspect,\n [ReactRouterAspect.id]: ReactRouterAspect,\n [TypescriptAspect.id]: TypescriptAspect,\n [PanelUiAspect.id]: PanelUiAspect,\n [BabelAspect.id]: BabelAspect,\n [NodeAspect.id]: NodeAspect,\n [NotificationsAspect.id]: NotificationsAspect,\n [BundlerAspect.id]: BundlerAspect,\n [JestAspect.id]: JestAspect,\n [CacheAspect.id]: CacheAspect,\n [ChangelogAspect.id]: ChangelogAspect,\n [CodeAspect.id]: CodeAspect,\n [CommandBarAspect.id]: CommandBarAspect,\n [SidebarAspect.id]: SidebarAspect,\n [ComponentTreeAspect.id]: ComponentTreeAspect,\n [SignAspect.id]: SignAspect,\n [UpdateDependenciesAspect.id]: UpdateDependenciesAspect,\n [ExportAspect.id]: ExportAspect,\n [ImporterAspect.id]: ImporterAspect,\n [HarmonyUiAppAspect.id]: HarmonyUiAppAspect,\n [UserAgentAspect.id]: UserAgentAspect,\n [ApplicationAspect.id]: ApplicationAspect,\n [EjectAspect.id]: EjectAspect,\n [HtmlAspect.id]: HtmlAspect,\n [LanesAspect.id]: LanesAspect,\n [ForkingAspect.id]: ForkingAspect,\n [RenamingAspect.id]: RenamingAspect,\n [NewComponentHelperAspect.id]: NewComponentHelperAspect,\n [ComponentLogAspect.id]: ComponentLogAspect,\n [ClearCacheAspect.id]: ClearCacheAspect,\n [MochaAspect.id]: MochaAspect,\n [DiagnosticAspect.id]: DiagnosticAspect,\n [StatusAspect.id]: StatusAspect,\n [CommunityAspect.id]: CommunityAspect,\n [CloudAspect.id]: CloudAspect,\n [SnappingAspect.id]: SnappingAspect,\n [MergingAspect.id]: MergingAspect,\n [IssuesAspect.id]: IssuesAspect,\n [RefactoringAspect.id]: RefactoringAspect,\n [ComponentCompareAspect.id]: ComponentCompareAspect,\n [ListerAspect.id]: ListerAspect,\n [DependenciesAspect.id]: DependenciesAspect,\n [RemoveAspect.id]: RemoveAspect,\n [MergeLanesAspect.id]: MergeLanesAspect,\n [CheckoutAspect.id]: CheckoutAspect,\n [ComponentWriterAspect.id]: ComponentWriterAspect,\n [APIReferenceAspect.id]: APIReferenceAspect,\n [ApiServerAspect.id]: ApiServerAspect,\n [TrackerAspect.id]: TrackerAspect,\n [MoverAspect.id]: MoverAspect,\n [WatcherAspect.id]: WatcherAspect,\n [StashAspect.id]: StashAspect,\n [GitAspect.id]: GitAspect,\n [IpcEventsAspect.id]: IpcEventsAspect,\n [ConfigMergerAspect.id]: ConfigMergerAspect,\n [VersionHistoryAspect.id]: VersionHistoryAspect,\n}"
|
|
149
|
+
}
|
|
96
150
|
},
|
|
97
151
|
{
|
|
98
|
-
"__schema": "
|
|
152
|
+
"__schema": "ExportSchema",
|
|
99
153
|
"location": {
|
|
100
|
-
"filePath": "
|
|
101
|
-
"line":
|
|
102
|
-
"character":
|
|
154
|
+
"filePath": "index.ts",
|
|
155
|
+
"line": 4,
|
|
156
|
+
"character": 24
|
|
103
157
|
},
|
|
104
|
-
"signature": "function isCoreAspect(id: string): boolean",
|
|
105
158
|
"name": "isCoreAspect",
|
|
106
|
-
"
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
"
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
159
|
+
"exportNode": {
|
|
160
|
+
"__schema": "FunctionLikeSchema",
|
|
161
|
+
"location": {
|
|
162
|
+
"filePath": "manifests.ts",
|
|
163
|
+
"line": 213,
|
|
164
|
+
"character": 1
|
|
165
|
+
},
|
|
166
|
+
"signature": "function isCoreAspect(id: string): boolean",
|
|
167
|
+
"name": "isCoreAspect",
|
|
168
|
+
"params": [
|
|
169
|
+
{
|
|
170
|
+
"__schema": "ParameterSchema",
|
|
117
171
|
"location": {
|
|
118
172
|
"filePath": "manifests.ts",
|
|
119
173
|
"line": 213,
|
|
120
|
-
"character":
|
|
174
|
+
"character": 30
|
|
121
175
|
},
|
|
122
|
-
"name": "
|
|
176
|
+
"name": "id",
|
|
177
|
+
"type": {
|
|
178
|
+
"__schema": "KeywordTypeSchema",
|
|
179
|
+
"location": {
|
|
180
|
+
"filePath": "manifests.ts",
|
|
181
|
+
"line": 213,
|
|
182
|
+
"character": 34
|
|
183
|
+
},
|
|
184
|
+
"name": "string"
|
|
185
|
+
},
|
|
186
|
+
"isOptional": false,
|
|
187
|
+
"isSpread": false
|
|
188
|
+
}
|
|
189
|
+
],
|
|
190
|
+
"returnType": {
|
|
191
|
+
"__schema": "InferenceTypeSchema",
|
|
192
|
+
"location": {
|
|
193
|
+
"filePath": "manifests.ts",
|
|
194
|
+
"line": 213,
|
|
195
|
+
"character": 1
|
|
123
196
|
},
|
|
124
|
-
"
|
|
125
|
-
"isSpread": false
|
|
126
|
-
}
|
|
127
|
-
],
|
|
128
|
-
"returnType": {
|
|
129
|
-
"__schema": "InferenceTypeSchema",
|
|
130
|
-
"location": {
|
|
131
|
-
"filePath": "manifests.ts",
|
|
132
|
-
"line": 213,
|
|
133
|
-
"character": 1
|
|
197
|
+
"type": "boolean"
|
|
134
198
|
},
|
|
135
|
-
"
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
]
|
|
199
|
+
"modifiers": [
|
|
200
|
+
"export"
|
|
201
|
+
]
|
|
202
|
+
}
|
|
140
203
|
},
|
|
141
204
|
{
|
|
142
|
-
"__schema": "
|
|
205
|
+
"__schema": "ExportSchema",
|
|
143
206
|
"location": {
|
|
144
|
-
"filePath": "
|
|
145
|
-
"line":
|
|
146
|
-
"character":
|
|
207
|
+
"filePath": "index.ts",
|
|
208
|
+
"line": 4,
|
|
209
|
+
"character": 38
|
|
147
210
|
},
|
|
148
|
-
"signature": "function getAllCoreAspectsIds(): string[]",
|
|
149
211
|
"name": "getAllCoreAspectsIds",
|
|
150
|
-
"
|
|
151
|
-
|
|
152
|
-
"__schema": "TypeArraySchema",
|
|
212
|
+
"exportNode": {
|
|
213
|
+
"__schema": "FunctionLikeSchema",
|
|
153
214
|
"location": {
|
|
154
215
|
"filePath": "manifests.ts",
|
|
155
216
|
"line": 219,
|
|
156
|
-
"character":
|
|
217
|
+
"character": 1
|
|
157
218
|
},
|
|
158
|
-
"
|
|
159
|
-
|
|
219
|
+
"signature": "function getAllCoreAspectsIds(): string[]",
|
|
220
|
+
"name": "getAllCoreAspectsIds",
|
|
221
|
+
"params": [],
|
|
222
|
+
"returnType": {
|
|
223
|
+
"__schema": "TypeArraySchema",
|
|
160
224
|
"location": {
|
|
161
225
|
"filePath": "manifests.ts",
|
|
162
226
|
"line": 219,
|
|
163
227
|
"character": 41
|
|
164
228
|
},
|
|
165
|
-
"
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
229
|
+
"type": {
|
|
230
|
+
"__schema": "KeywordTypeSchema",
|
|
231
|
+
"location": {
|
|
232
|
+
"filePath": "manifests.ts",
|
|
233
|
+
"line": 219,
|
|
234
|
+
"character": 41
|
|
235
|
+
},
|
|
236
|
+
"name": "string"
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"modifiers": [
|
|
240
|
+
"export"
|
|
241
|
+
]
|
|
242
|
+
}
|
|
171
243
|
},
|
|
172
244
|
{
|
|
173
|
-
"__schema": "
|
|
245
|
+
"__schema": "ExportSchema",
|
|
174
246
|
"location": {
|
|
175
|
-
"filePath": "
|
|
176
|
-
"line":
|
|
177
|
-
"character":
|
|
247
|
+
"filePath": "index.ts",
|
|
248
|
+
"line": 5,
|
|
249
|
+
"character": 10
|
|
178
250
|
},
|
|
179
|
-
"signature": "function registerCoreExtensions(): void",
|
|
180
251
|
"name": "registerCoreExtensions",
|
|
181
|
-
"
|
|
182
|
-
|
|
183
|
-
"__schema": "InferenceTypeSchema",
|
|
252
|
+
"exportNode": {
|
|
253
|
+
"__schema": "FunctionLikeSchema",
|
|
184
254
|
"location": {
|
|
185
255
|
"filePath": "bit.main.runtime.ts",
|
|
186
256
|
"line": 10,
|
|
187
257
|
"character": 1
|
|
188
258
|
},
|
|
189
|
-
"
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
"
|
|
193
|
-
|
|
259
|
+
"signature": "function registerCoreExtensions(): void",
|
|
260
|
+
"name": "registerCoreExtensions",
|
|
261
|
+
"params": [],
|
|
262
|
+
"returnType": {
|
|
263
|
+
"__schema": "InferenceTypeSchema",
|
|
264
|
+
"location": {
|
|
265
|
+
"filePath": "bit.main.runtime.ts",
|
|
266
|
+
"line": 10,
|
|
267
|
+
"character": 1
|
|
268
|
+
},
|
|
269
|
+
"type": "void"
|
|
270
|
+
},
|
|
271
|
+
"modifiers": [
|
|
272
|
+
"export"
|
|
273
|
+
]
|
|
274
|
+
}
|
|
194
275
|
},
|
|
195
276
|
{
|
|
196
|
-
"__schema": "
|
|
277
|
+
"__schema": "ExportSchema",
|
|
197
278
|
"location": {
|
|
198
|
-
"filePath": "
|
|
279
|
+
"filePath": "index.ts",
|
|
199
280
|
"line": 6,
|
|
200
|
-
"character":
|
|
281
|
+
"character": 10
|
|
201
282
|
},
|
|
202
|
-
"signature": "const BitAspect: Aspect",
|
|
203
283
|
"name": "BitAspect",
|
|
204
|
-
"
|
|
205
|
-
"__schema": "
|
|
284
|
+
"exportNode": {
|
|
285
|
+
"__schema": "VariableLikeSchema",
|
|
206
286
|
"location": {
|
|
207
287
|
"filePath": "bit.aspect.ts",
|
|
208
288
|
"line": 6,
|
|
209
289
|
"character": 14
|
|
210
290
|
},
|
|
211
|
-
"
|
|
212
|
-
"
|
|
213
|
-
|
|
214
|
-
"
|
|
215
|
-
"
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
291
|
+
"signature": "const BitAspect: Aspect",
|
|
292
|
+
"name": "BitAspect",
|
|
293
|
+
"type": {
|
|
294
|
+
"__schema": "TypeRefSchema",
|
|
295
|
+
"location": {
|
|
296
|
+
"filePath": "bit.aspect.ts",
|
|
297
|
+
"line": 6,
|
|
298
|
+
"character": 14
|
|
299
|
+
},
|
|
300
|
+
"name": "Aspect",
|
|
301
|
+
"componentId": {
|
|
302
|
+
"scope": "teambit.harmony",
|
|
303
|
+
"name": "harmony",
|
|
304
|
+
"version": "0.4.6"
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
"isOptional": false,
|
|
308
|
+
"defaultValue": "Aspect.create({\n id: 'teambit.harmony/bit',\n dependencies: [],\n})"
|
|
309
|
+
}
|
|
220
310
|
},
|
|
221
311
|
{
|
|
222
|
-
"__schema": "
|
|
312
|
+
"__schema": "ExportSchema",
|
|
223
313
|
"location": {
|
|
224
|
-
"filePath": "
|
|
225
|
-
"line":
|
|
226
|
-
"character":
|
|
314
|
+
"filePath": "index.ts",
|
|
315
|
+
"line": 7,
|
|
316
|
+
"character": 15
|
|
227
317
|
},
|
|
228
|
-
"signature": "const BitMain: {\n name: string;\n runtime: RuntimeDefinition;\n dependencies: Aspect[];\n provider: () => Promise<{\n manifestsMap: {\n [x: string]: Aspect;\n };\n }>;\n}",
|
|
229
318
|
"name": "BitMain",
|
|
230
|
-
"
|
|
231
|
-
"__schema": "
|
|
319
|
+
"exportNode": {
|
|
320
|
+
"__schema": "VariableLikeSchema",
|
|
232
321
|
"location": {
|
|
233
322
|
"filePath": "bit.main.runtime.ts",
|
|
234
323
|
"line": 15,
|
|
235
324
|
"character": 14
|
|
236
325
|
},
|
|
237
|
-
"
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
326
|
+
"signature": "const BitMain: {\n name: string;\n runtime: RuntimeDefinition;\n dependencies: Aspect[];\n provider: () => Promise<{\n manifestsMap: {\n [x: string]: Aspect;\n };\n }>;\n}",
|
|
327
|
+
"name": "BitMain",
|
|
328
|
+
"type": {
|
|
329
|
+
"__schema": "InferenceTypeSchema",
|
|
330
|
+
"location": {
|
|
331
|
+
"filePath": "bit.main.runtime.ts",
|
|
332
|
+
"line": 15,
|
|
333
|
+
"character": 14
|
|
334
|
+
},
|
|
335
|
+
"type": "{\n name: string;\n runtime: RuntimeDefinition;\n dependencies: Aspect[];\n provider: () => Promise<{\n manifestsMap: {\n [x: string]: Aspect;\n };\n }>;\n}"
|
|
336
|
+
},
|
|
337
|
+
"isOptional": false,
|
|
338
|
+
"defaultValue": "{\n name: 'bit',\n runtime: MainRuntime,\n dependencies: manifests,\n provider: provideBit,\n}"
|
|
339
|
+
}
|
|
241
340
|
},
|
|
242
341
|
{
|
|
243
|
-
"__schema": "
|
|
342
|
+
"__schema": "ExportSchema",
|
|
244
343
|
"location": {
|
|
245
|
-
"filePath": "
|
|
246
|
-
"line":
|
|
247
|
-
"character":
|
|
344
|
+
"filePath": "index.ts",
|
|
345
|
+
"line": 8,
|
|
346
|
+
"character": 10
|
|
248
347
|
},
|
|
249
|
-
"signature": "function loadBit(path?: string): Promise<Harmony>",
|
|
250
348
|
"name": "loadBit",
|
|
251
|
-
"
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
"
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
349
|
+
"exportNode": {
|
|
350
|
+
"__schema": "FunctionLikeSchema",
|
|
351
|
+
"location": {
|
|
352
|
+
"filePath": "load-bit.ts",
|
|
353
|
+
"line": 230,
|
|
354
|
+
"character": 1
|
|
355
|
+
},
|
|
356
|
+
"signature": "function loadBit(path?: string): Promise<Harmony>",
|
|
357
|
+
"name": "loadBit",
|
|
358
|
+
"params": [
|
|
359
|
+
{
|
|
360
|
+
"__schema": "ParameterSchema",
|
|
262
361
|
"location": {
|
|
263
362
|
"filePath": "load-bit.ts",
|
|
264
363
|
"line": 230,
|
|
265
364
|
"character": 31
|
|
266
365
|
},
|
|
267
|
-
"
|
|
366
|
+
"name": "path",
|
|
367
|
+
"type": {
|
|
368
|
+
"__schema": "InferenceTypeSchema",
|
|
369
|
+
"location": {
|
|
370
|
+
"filePath": "load-bit.ts",
|
|
371
|
+
"line": 230,
|
|
372
|
+
"character": 31
|
|
373
|
+
},
|
|
374
|
+
"type": "string"
|
|
375
|
+
},
|
|
376
|
+
"isOptional": true,
|
|
377
|
+
"defaultValue": "process.cwd()",
|
|
378
|
+
"isSpread": false
|
|
379
|
+
}
|
|
380
|
+
],
|
|
381
|
+
"returnType": {
|
|
382
|
+
"__schema": "InferenceTypeSchema",
|
|
383
|
+
"location": {
|
|
384
|
+
"filePath": "load-bit.ts",
|
|
385
|
+
"line": 230,
|
|
386
|
+
"character": 1
|
|
268
387
|
},
|
|
269
|
-
"
|
|
270
|
-
"defaultValue": "process.cwd()",
|
|
271
|
-
"isSpread": false
|
|
272
|
-
}
|
|
273
|
-
],
|
|
274
|
-
"returnType": {
|
|
275
|
-
"__schema": "InferenceTypeSchema",
|
|
276
|
-
"location": {
|
|
277
|
-
"filePath": "load-bit.ts",
|
|
278
|
-
"line": 230,
|
|
279
|
-
"character": 1
|
|
388
|
+
"type": "Promise<Harmony>"
|
|
280
389
|
},
|
|
281
|
-
"
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
]
|
|
390
|
+
"modifiers": [
|
|
391
|
+
"export",
|
|
392
|
+
"async"
|
|
393
|
+
]
|
|
394
|
+
}
|
|
287
395
|
},
|
|
288
396
|
{
|
|
289
|
-
"__schema": "
|
|
397
|
+
"__schema": "ExportSchema",
|
|
290
398
|
"location": {
|
|
291
|
-
"filePath": "
|
|
292
|
-
"line":
|
|
293
|
-
"character":
|
|
399
|
+
"filePath": "index.ts",
|
|
400
|
+
"line": 8,
|
|
401
|
+
"character": 19
|
|
294
402
|
},
|
|
295
|
-
"signature": "function takeLegacyGlobalsSnapshot(): LegacyGlobal[]",
|
|
296
403
|
"name": "takeLegacyGlobalsSnapshot",
|
|
297
|
-
"
|
|
298
|
-
|
|
299
|
-
"__schema": "TypeArraySchema",
|
|
404
|
+
"exportNode": {
|
|
405
|
+
"__schema": "FunctionLikeSchema",
|
|
300
406
|
"location": {
|
|
301
407
|
"filePath": "load-bit.ts",
|
|
302
408
|
"line": 307,
|
|
303
|
-
"character":
|
|
409
|
+
"character": 1
|
|
304
410
|
},
|
|
305
|
-
"
|
|
306
|
-
|
|
411
|
+
"signature": "function takeLegacyGlobalsSnapshot(): LegacyGlobal[]",
|
|
412
|
+
"name": "takeLegacyGlobalsSnapshot",
|
|
413
|
+
"params": [],
|
|
414
|
+
"returnType": {
|
|
415
|
+
"__schema": "TypeArraySchema",
|
|
307
416
|
"location": {
|
|
308
417
|
"filePath": "load-bit.ts",
|
|
309
418
|
"line": 307,
|
|
310
419
|
"character": 46
|
|
311
420
|
},
|
|
312
|
-
"
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
421
|
+
"type": {
|
|
422
|
+
"__schema": "TypeRefSchema",
|
|
423
|
+
"location": {
|
|
424
|
+
"filePath": "load-bit.ts",
|
|
425
|
+
"line": 307,
|
|
426
|
+
"character": 46
|
|
427
|
+
},
|
|
428
|
+
"name": "LegacyGlobal"
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
"modifiers": [
|
|
432
|
+
"export"
|
|
433
|
+
]
|
|
434
|
+
}
|
|
318
435
|
},
|
|
319
436
|
{
|
|
320
|
-
"__schema": "
|
|
437
|
+
"__schema": "ExportSchema",
|
|
321
438
|
"location": {
|
|
322
|
-
"filePath": "
|
|
323
|
-
"line":
|
|
324
|
-
"character":
|
|
439
|
+
"filePath": "index.ts",
|
|
440
|
+
"line": 8,
|
|
441
|
+
"character": 46
|
|
325
442
|
},
|
|
326
|
-
"signature": "function restoreGlobalsFromSnapshot(snapshot: LegacyGlobal[]): void",
|
|
327
443
|
"name": "restoreGlobalsFromSnapshot",
|
|
328
|
-
"
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
"
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
444
|
+
"exportNode": {
|
|
445
|
+
"__schema": "FunctionLikeSchema",
|
|
446
|
+
"location": {
|
|
447
|
+
"filePath": "load-bit.ts",
|
|
448
|
+
"line": 363,
|
|
449
|
+
"character": 1
|
|
450
|
+
},
|
|
451
|
+
"signature": "function restoreGlobalsFromSnapshot(snapshot: LegacyGlobal[]): void",
|
|
452
|
+
"name": "restoreGlobalsFromSnapshot",
|
|
453
|
+
"params": [
|
|
454
|
+
{
|
|
455
|
+
"__schema": "ParameterSchema",
|
|
339
456
|
"location": {
|
|
340
457
|
"filePath": "load-bit.ts",
|
|
341
458
|
"line": 363,
|
|
342
|
-
"character":
|
|
459
|
+
"character": 44
|
|
343
460
|
},
|
|
461
|
+
"name": "snapshot",
|
|
344
462
|
"type": {
|
|
345
|
-
"__schema": "
|
|
463
|
+
"__schema": "TypeArraySchema",
|
|
346
464
|
"location": {
|
|
347
465
|
"filePath": "load-bit.ts",
|
|
348
466
|
"line": 363,
|
|
349
467
|
"character": 54
|
|
350
468
|
},
|
|
351
|
-
"
|
|
352
|
-
|
|
469
|
+
"type": {
|
|
470
|
+
"__schema": "TypeRefSchema",
|
|
471
|
+
"location": {
|
|
472
|
+
"filePath": "load-bit.ts",
|
|
473
|
+
"line": 363,
|
|
474
|
+
"character": 54
|
|
475
|
+
},
|
|
476
|
+
"name": "LegacyGlobal"
|
|
477
|
+
}
|
|
478
|
+
},
|
|
479
|
+
"isOptional": false,
|
|
480
|
+
"isSpread": false
|
|
481
|
+
}
|
|
482
|
+
],
|
|
483
|
+
"returnType": {
|
|
484
|
+
"__schema": "InferenceTypeSchema",
|
|
485
|
+
"location": {
|
|
486
|
+
"filePath": "load-bit.ts",
|
|
487
|
+
"line": 363,
|
|
488
|
+
"character": 1
|
|
353
489
|
},
|
|
354
|
-
"
|
|
355
|
-
"isSpread": false
|
|
356
|
-
}
|
|
357
|
-
],
|
|
358
|
-
"returnType": {
|
|
359
|
-
"__schema": "InferenceTypeSchema",
|
|
360
|
-
"location": {
|
|
361
|
-
"filePath": "load-bit.ts",
|
|
362
|
-
"line": 363,
|
|
363
|
-
"character": 1
|
|
490
|
+
"type": "void"
|
|
364
491
|
},
|
|
365
|
-
"
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
]
|
|
492
|
+
"modifiers": [
|
|
493
|
+
"export"
|
|
494
|
+
]
|
|
495
|
+
}
|
|
370
496
|
},
|
|
371
497
|
{
|
|
372
|
-
"__schema": "
|
|
498
|
+
"__schema": "ExportSchema",
|
|
373
499
|
"location": {
|
|
374
|
-
"filePath": "
|
|
375
|
-
"line":
|
|
376
|
-
"character":
|
|
500
|
+
"filePath": "index.ts",
|
|
501
|
+
"line": 8,
|
|
502
|
+
"character": 74
|
|
377
503
|
},
|
|
378
|
-
"signature": "type LegacyGlobal = {\n classInstance: any;\n methodName: string;\n value: any;\n empty: any;\n}",
|
|
379
504
|
"name": "LegacyGlobal",
|
|
380
|
-
"
|
|
381
|
-
"__schema": "
|
|
505
|
+
"exportNode": {
|
|
506
|
+
"__schema": "TypeSchema",
|
|
382
507
|
"location": {
|
|
383
508
|
"filePath": "load-bit.ts",
|
|
384
509
|
"line": 287,
|
|
385
|
-
"character":
|
|
510
|
+
"character": 1
|
|
386
511
|
},
|
|
387
|
-
"
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
"__schema": "
|
|
512
|
+
"signature": "type LegacyGlobal = {\n classInstance: any;\n methodName: string;\n value: any;\n empty: any;\n}",
|
|
513
|
+
"name": "LegacyGlobal",
|
|
514
|
+
"type": {
|
|
515
|
+
"__schema": "TypeLiteralSchema",
|
|
516
|
+
"location": {
|
|
517
|
+
"filePath": "load-bit.ts",
|
|
518
|
+
"line": 287,
|
|
519
|
+
"character": 28
|
|
520
|
+
},
|
|
521
|
+
"members": [
|
|
522
|
+
{
|
|
523
|
+
"__schema": "VariableLikeSchema",
|
|
399
524
|
"location": {
|
|
400
525
|
"filePath": "load-bit.ts",
|
|
401
526
|
"line": 287,
|
|
402
|
-
"character":
|
|
527
|
+
"character": 30
|
|
403
528
|
},
|
|
404
|
-
"
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
529
|
+
"signature": "(property) classInstance: any",
|
|
530
|
+
"name": "classInstance",
|
|
531
|
+
"type": {
|
|
532
|
+
"__schema": "KeywordTypeSchema",
|
|
533
|
+
"location": {
|
|
534
|
+
"filePath": "load-bit.ts",
|
|
535
|
+
"line": 287,
|
|
536
|
+
"character": 45
|
|
537
|
+
},
|
|
538
|
+
"name": "any"
|
|
539
|
+
},
|
|
540
|
+
"isOptional": false
|
|
414
541
|
},
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
"type": {
|
|
418
|
-
"__schema": "KeywordTypeSchema",
|
|
542
|
+
{
|
|
543
|
+
"__schema": "VariableLikeSchema",
|
|
419
544
|
"location": {
|
|
420
545
|
"filePath": "load-bit.ts",
|
|
421
546
|
"line": 287,
|
|
422
|
-
"character":
|
|
547
|
+
"character": 50
|
|
423
548
|
},
|
|
424
|
-
"
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
549
|
+
"signature": "(property) methodName: string",
|
|
550
|
+
"name": "methodName",
|
|
551
|
+
"type": {
|
|
552
|
+
"__schema": "KeywordTypeSchema",
|
|
553
|
+
"location": {
|
|
554
|
+
"filePath": "load-bit.ts",
|
|
555
|
+
"line": 287,
|
|
556
|
+
"character": 62
|
|
557
|
+
},
|
|
558
|
+
"name": "string"
|
|
559
|
+
},
|
|
560
|
+
"isOptional": false
|
|
434
561
|
},
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
"type": {
|
|
438
|
-
"__schema": "KeywordTypeSchema",
|
|
562
|
+
{
|
|
563
|
+
"__schema": "VariableLikeSchema",
|
|
439
564
|
"location": {
|
|
440
565
|
"filePath": "load-bit.ts",
|
|
441
566
|
"line": 287,
|
|
442
|
-
"character":
|
|
567
|
+
"character": 70
|
|
443
568
|
},
|
|
444
|
-
"
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
569
|
+
"signature": "(property) value: any",
|
|
570
|
+
"name": "value",
|
|
571
|
+
"type": {
|
|
572
|
+
"__schema": "KeywordTypeSchema",
|
|
573
|
+
"location": {
|
|
574
|
+
"filePath": "load-bit.ts",
|
|
575
|
+
"line": 287,
|
|
576
|
+
"character": 77
|
|
577
|
+
},
|
|
578
|
+
"name": "any"
|
|
579
|
+
},
|
|
580
|
+
"isOptional": false
|
|
454
581
|
},
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
"type": {
|
|
458
|
-
"__schema": "KeywordTypeSchema",
|
|
582
|
+
{
|
|
583
|
+
"__schema": "VariableLikeSchema",
|
|
459
584
|
"location": {
|
|
460
585
|
"filePath": "load-bit.ts",
|
|
461
586
|
"line": 287,
|
|
462
|
-
"character":
|
|
587
|
+
"character": 82
|
|
463
588
|
},
|
|
464
|
-
"
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
589
|
+
"signature": "(property) empty: any",
|
|
590
|
+
"name": "empty",
|
|
591
|
+
"type": {
|
|
592
|
+
"__schema": "KeywordTypeSchema",
|
|
593
|
+
"location": {
|
|
594
|
+
"filePath": "load-bit.ts",
|
|
595
|
+
"line": 287,
|
|
596
|
+
"character": 89
|
|
597
|
+
},
|
|
598
|
+
"name": "any"
|
|
599
|
+
},
|
|
600
|
+
"isOptional": false
|
|
601
|
+
}
|
|
602
|
+
]
|
|
603
|
+
}
|
|
469
604
|
}
|
|
470
605
|
}
|
|
471
606
|
],
|
|
@@ -475,7 +610,7 @@
|
|
|
475
610
|
"componentId": {
|
|
476
611
|
"scope": "teambit.harmony",
|
|
477
612
|
"name": "bit",
|
|
478
|
-
"version": "1.6.
|
|
613
|
+
"version": "1.6.151"
|
|
479
614
|
},
|
|
480
615
|
"taggedModuleExports": []
|
|
481
616
|
}
|