@teambit/bit 1.9.34 → 1.9.36

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