@teambit/community 1.0.516 → 1.0.517

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/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@teambit/community",
3
- "version": "1.0.516",
3
+ "version": "1.0.517",
4
4
  "homepage": "https://bit.cloud/teambit/community/community",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.community",
8
8
  "name": "community",
9
- "version": "1.0.516"
9
+ "version": "1.0.517"
10
10
  },
11
11
  "dependencies": {
12
12
  "@teambit/harmony": "0.4.6",
13
- "@teambit/cli": "0.0.1093",
14
- "@teambit/generator": "1.0.517",
13
+ "@teambit/cli": "0.0.1094",
14
+ "@teambit/generator": "1.0.518",
15
15
  "@teambit/legacy.constants": "0.0.7"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@types/mocha": "9.1.0",
19
- "@teambit/harmony.envs.core-aspect-env": "0.0.68"
19
+ "@teambit/harmony.envs.core-aspect-env": "0.0.69"
20
20
  },
21
21
  "peerDependencies": {},
22
22
  "license": "Apache-2.0",
@@ -1,4 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.community/community@1.0.516" tests="0" failures="0" errors="0" skipped="0"/>
4
- </testsuites>
@@ -1 +0,0 @@
1
- !function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["teambit.community/community-preview"]=o():e["teambit.community/community-preview"]=o()}(self,(()=>(()=>{"use strict";var e={d:(o,t)=>{for(var i in t)e.o(t,i)&&!e.o(o,i)&&Object.defineProperty(o,i,{enumerable:!0,get:t[i]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},o={};e.r(o),e.d(o,{compositions:()=>t,compositions_metadata:()=>r,overview:()=>i});const t=[],i=[],r={compositions:[]};return o})()));
@@ -1,723 +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": 3,
21
- "character": 15
22
- },
23
- "signature": "class CommunityMain",
24
- "name": "CommunityMain",
25
- "exportNode": {
26
- "__schema": "ClassSchema",
27
- "location": {
28
- "filePath": "community.main.runtime.ts",
29
- "line": 18,
30
- "character": 1
31
- },
32
- "signature": "class CommunityMain",
33
- "name": "CommunityMain",
34
- "members": [
35
- {
36
- "__schema": "ConstructorSchema",
37
- "location": {
38
- "filePath": "community.main.runtime.ts",
39
- "line": 19,
40
- "character": 3
41
- },
42
- "signature": "constructor CommunityMain(config: CommunityWorkspaceConfig): CommunityMain",
43
- "name": "constructor",
44
- "params": [
45
- {
46
- "__schema": "ParameterSchema",
47
- "location": {
48
- "filePath": "community.main.runtime.ts",
49
- "line": 20,
50
- "character": 5
51
- },
52
- "name": "config",
53
- "type": {
54
- "__schema": "TypeRefSchema",
55
- "location": {
56
- "filePath": "community.main.runtime.ts",
57
- "line": 20,
58
- "character": 21
59
- },
60
- "name": "CommunityWorkspaceConfig",
61
- "internalFilePath": "community.main.runtime.ts"
62
- },
63
- "isOptional": false,
64
- "isSpread": false
65
- }
66
- ],
67
- "returnType": {
68
- "__schema": "ThisTypeSchema",
69
- "location": {
70
- "filePath": "community.main.runtime.ts",
71
- "line": 18,
72
- "character": 1
73
- },
74
- "name": "CommunityMain"
75
- },
76
- "modifiers": []
77
- },
78
- {
79
- "__schema": "FunctionLikeSchema",
80
- "location": {
81
- "filePath": "community.main.runtime.ts",
82
- "line": 23,
83
- "character": 3
84
- },
85
- "signature": "(method) CommunityMain.getBaseDomain(): string",
86
- "name": "getBaseDomain",
87
- "params": [],
88
- "returnType": {
89
- "__schema": "KeywordTypeSchema",
90
- "location": {
91
- "filePath": "community.main.runtime.ts",
92
- "line": 23,
93
- "character": 20
94
- },
95
- "name": "string"
96
- },
97
- "modifiers": []
98
- },
99
- {
100
- "__schema": "FunctionLikeSchema",
101
- "location": {
102
- "filePath": "community.main.runtime.ts",
103
- "line": 27,
104
- "character": 3
105
- },
106
- "signature": "(method) CommunityMain.getDocsDomain(): string",
107
- "name": "getDocsDomain",
108
- "params": [],
109
- "returnType": {
110
- "__schema": "KeywordTypeSchema",
111
- "location": {
112
- "filePath": "community.main.runtime.ts",
113
- "line": 27,
114
- "character": 20
115
- },
116
- "name": "string"
117
- },
118
- "modifiers": []
119
- },
120
- {
121
- "__schema": "VariableLikeSchema",
122
- "location": {
123
- "filePath": "community.main.runtime.ts",
124
- "line": 31,
125
- "character": 3
126
- },
127
- "signature": "(property) CommunityMain.slots: never[]",
128
- "name": "slots",
129
- "type": {
130
- "__schema": "InferenceTypeSchema",
131
- "location": {
132
- "filePath": "community.main.runtime.ts",
133
- "line": 31,
134
- "character": 3
135
- },
136
- "type": "never[]"
137
- },
138
- "isOptional": true,
139
- "defaultValue": "[]"
140
- },
141
- {
142
- "__schema": "VariableLikeSchema",
143
- "location": {
144
- "filePath": "community.main.runtime.ts",
145
- "line": 32,
146
- "character": 3
147
- },
148
- "signature": "(property) CommunityMain.dependencies: Aspect[]",
149
- "name": "dependencies",
150
- "type": {
151
- "__schema": "InferenceTypeSchema",
152
- "location": {
153
- "filePath": "community.main.runtime.ts",
154
- "line": 32,
155
- "character": 3
156
- },
157
- "type": "Aspect[]"
158
- },
159
- "isOptional": true,
160
- "defaultValue": "[GeneratorAspect]"
161
- },
162
- {
163
- "__schema": "VariableLikeSchema",
164
- "location": {
165
- "filePath": "community.main.runtime.ts",
166
- "line": 33,
167
- "character": 3
168
- },
169
- "signature": "(property) CommunityMain.runtime: RuntimeDefinition",
170
- "name": "runtime",
171
- "type": {
172
- "__schema": "InferenceTypeSchema",
173
- "location": {
174
- "filePath": "community.main.runtime.ts",
175
- "line": 33,
176
- "character": 3
177
- },
178
- "type": "RuntimeDefinition"
179
- },
180
- "isOptional": true,
181
- "defaultValue": "MainRuntime"
182
- },
183
- {
184
- "__schema": "VariableLikeSchema",
185
- "location": {
186
- "filePath": "community.main.runtime.ts",
187
- "line": 34,
188
- "character": 3
189
- },
190
- "signature": "(property) CommunityMain.defaultConfig: CommunityWorkspaceConfig",
191
- "name": "defaultConfig",
192
- "type": {
193
- "__schema": "TypeRefSchema",
194
- "location": {
195
- "filePath": "community.main.runtime.ts",
196
- "line": 34,
197
- "character": 3
198
- },
199
- "name": "CommunityWorkspaceConfig",
200
- "internalFilePath": "community.main.runtime.ts"
201
- },
202
- "isOptional": true,
203
- "defaultValue": "{\n communityDomain: BASE_COMMUNITY_DOMAIN,\n docsDomain: BASE_DOCS_DOMAIN,\n }"
204
- },
205
- {
206
- "__schema": "FunctionLikeSchema",
207
- "location": {
208
- "filePath": "community.main.runtime.ts",
209
- "line": 39,
210
- "character": 3
211
- },
212
- "signature": "(method) CommunityMain.provider(_deps: [GeneratorMain], config: CommunityWorkspaceConfig): Promise<CommunityMain>",
213
- "name": "provider",
214
- "params": [
215
- {
216
- "__schema": "ParameterSchema",
217
- "location": {
218
- "filePath": "community.main.runtime.ts",
219
- "line": 39,
220
- "character": 25
221
- },
222
- "name": "_deps",
223
- "type": {
224
- "__schema": "TupleTypeSchema",
225
- "location": {
226
- "filePath": "community.main.runtime.ts",
227
- "line": 39,
228
- "character": 32
229
- },
230
- "elements": [
231
- {
232
- "__schema": "TypeRefSchema",
233
- "location": {
234
- "filePath": "community.main.runtime.ts",
235
- "line": 39,
236
- "character": 33
237
- },
238
- "name": "GeneratorMain",
239
- "componentId": {
240
- "scope": "teambit.generator",
241
- "name": "generator"
242
- }
243
- }
244
- ]
245
- },
246
- "isOptional": false,
247
- "isSpread": false
248
- },
249
- {
250
- "__schema": "ParameterSchema",
251
- "location": {
252
- "filePath": "community.main.runtime.ts",
253
- "line": 39,
254
- "character": 49
255
- },
256
- "name": "config",
257
- "type": {
258
- "__schema": "TypeRefSchema",
259
- "location": {
260
- "filePath": "community.main.runtime.ts",
261
- "line": 39,
262
- "character": 57
263
- },
264
- "name": "CommunityWorkspaceConfig",
265
- "internalFilePath": "community.main.runtime.ts"
266
- },
267
- "isOptional": false,
268
- "isSpread": false
269
- }
270
- ],
271
- "returnType": {
272
- "__schema": "InferenceTypeSchema",
273
- "location": {
274
- "filePath": "community.main.runtime.ts",
275
- "line": 39,
276
- "character": 3
277
- },
278
- "type": "Promise<CommunityMain>"
279
- },
280
- "modifiers": [
281
- "static",
282
- "async"
283
- ]
284
- }
285
- ],
286
- "extendsNodes": [],
287
- "implementNodes": []
288
- }
289
- },
290
- {
291
- "__schema": "UnImplementedSchema",
292
- "location": {
293
- "filePath": "index.ts",
294
- "line": 4,
295
- "character": 16
296
- },
297
- "name": "CommunityAspect",
298
- "type": "Identifier"
299
- },
300
- {
301
- "__schema": "ExportSchema",
302
- "location": {
303
- "filePath": "index.ts",
304
- "line": 5,
305
- "character": 10
306
- },
307
- "signature": "const CommunityAspect: Aspect",
308
- "name": "CommunityAspect",
309
- "exportNode": {
310
- "__schema": "VariableLikeSchema",
311
- "location": {
312
- "filePath": "community.aspect.ts",
313
- "line": 3,
314
- "character": 14
315
- },
316
- "signature": "const CommunityAspect: Aspect",
317
- "name": "CommunityAspect",
318
- "type": {
319
- "__schema": "TypeRefSchema",
320
- "location": {
321
- "filePath": "community.aspect.ts",
322
- "line": 3,
323
- "character": 14
324
- },
325
- "name": "Aspect",
326
- "componentId": {
327
- "scope": "teambit.harmony",
328
- "name": "harmony",
329
- "version": "0.4.6"
330
- }
331
- },
332
- "isOptional": false,
333
- "defaultValue": "Aspect.create({\n id: 'teambit.community/community',\n})"
334
- }
335
- }
336
- ],
337
- "internals": []
338
- },
339
- "internals": [
340
- {
341
- "__schema": "ModuleSchema",
342
- "location": {
343
- "filePath": "community.main.runtime.ts",
344
- "line": 1,
345
- "character": 1
346
- },
347
- "exports": [
348
- {
349
- "__schema": "InterfaceSchema",
350
- "location": {
351
- "filePath": "community.main.runtime.ts",
352
- "line": 13,
353
- "character": 1
354
- },
355
- "signature": "interface CommunityWorkspaceConfig",
356
- "name": "CommunityWorkspaceConfig",
357
- "members": [
358
- {
359
- "__schema": "VariableLikeSchema",
360
- "location": {
361
- "filePath": "community.main.runtime.ts",
362
- "line": 14,
363
- "character": 3
364
- },
365
- "signature": "(property) CommunityWorkspaceConfig.communityDomain: string",
366
- "name": "communityDomain",
367
- "type": {
368
- "__schema": "KeywordTypeSchema",
369
- "location": {
370
- "filePath": "community.main.runtime.ts",
371
- "line": 14,
372
- "character": 20
373
- },
374
- "name": "string"
375
- },
376
- "isOptional": false
377
- },
378
- {
379
- "__schema": "VariableLikeSchema",
380
- "location": {
381
- "filePath": "community.main.runtime.ts",
382
- "line": 15,
383
- "character": 3
384
- },
385
- "signature": "(property) CommunityWorkspaceConfig.docsDomain: string",
386
- "name": "docsDomain",
387
- "type": {
388
- "__schema": "KeywordTypeSchema",
389
- "location": {
390
- "filePath": "community.main.runtime.ts",
391
- "line": 15,
392
- "character": 15
393
- },
394
- "name": "string"
395
- },
396
- "isOptional": false
397
- }
398
- ],
399
- "extendsNodes": []
400
- },
401
- {
402
- "__schema": "ClassSchema",
403
- "location": {
404
- "filePath": "community.main.runtime.ts",
405
- "line": 18,
406
- "character": 1
407
- },
408
- "signature": "class CommunityMain",
409
- "name": "CommunityMain",
410
- "members": [
411
- {
412
- "__schema": "ConstructorSchema",
413
- "location": {
414
- "filePath": "community.main.runtime.ts",
415
- "line": 19,
416
- "character": 3
417
- },
418
- "signature": "constructor CommunityMain(config: CommunityWorkspaceConfig): CommunityMain",
419
- "name": "constructor",
420
- "params": [
421
- {
422
- "__schema": "ParameterSchema",
423
- "location": {
424
- "filePath": "community.main.runtime.ts",
425
- "line": 20,
426
- "character": 5
427
- },
428
- "name": "config",
429
- "type": {
430
- "__schema": "TypeRefSchema",
431
- "location": {
432
- "filePath": "community.main.runtime.ts",
433
- "line": 20,
434
- "character": 21
435
- },
436
- "name": "CommunityWorkspaceConfig",
437
- "internalFilePath": "community.main.runtime.ts"
438
- },
439
- "isOptional": false,
440
- "isSpread": false
441
- }
442
- ],
443
- "returnType": {
444
- "__schema": "ThisTypeSchema",
445
- "location": {
446
- "filePath": "community.main.runtime.ts",
447
- "line": 18,
448
- "character": 1
449
- },
450
- "name": "CommunityMain"
451
- },
452
- "modifiers": []
453
- },
454
- {
455
- "__schema": "FunctionLikeSchema",
456
- "location": {
457
- "filePath": "community.main.runtime.ts",
458
- "line": 23,
459
- "character": 3
460
- },
461
- "signature": "(method) CommunityMain.getBaseDomain(): string",
462
- "name": "getBaseDomain",
463
- "params": [],
464
- "returnType": {
465
- "__schema": "KeywordTypeSchema",
466
- "location": {
467
- "filePath": "community.main.runtime.ts",
468
- "line": 23,
469
- "character": 20
470
- },
471
- "name": "string"
472
- },
473
- "modifiers": []
474
- },
475
- {
476
- "__schema": "FunctionLikeSchema",
477
- "location": {
478
- "filePath": "community.main.runtime.ts",
479
- "line": 27,
480
- "character": 3
481
- },
482
- "signature": "(method) CommunityMain.getDocsDomain(): string",
483
- "name": "getDocsDomain",
484
- "params": [],
485
- "returnType": {
486
- "__schema": "KeywordTypeSchema",
487
- "location": {
488
- "filePath": "community.main.runtime.ts",
489
- "line": 27,
490
- "character": 20
491
- },
492
- "name": "string"
493
- },
494
- "modifiers": []
495
- },
496
- {
497
- "__schema": "VariableLikeSchema",
498
- "location": {
499
- "filePath": "community.main.runtime.ts",
500
- "line": 31,
501
- "character": 3
502
- },
503
- "signature": "(property) CommunityMain.slots: never[]",
504
- "name": "slots",
505
- "type": {
506
- "__schema": "InferenceTypeSchema",
507
- "location": {
508
- "filePath": "community.main.runtime.ts",
509
- "line": 31,
510
- "character": 3
511
- },
512
- "type": "never[]"
513
- },
514
- "isOptional": true,
515
- "defaultValue": "[]"
516
- },
517
- {
518
- "__schema": "VariableLikeSchema",
519
- "location": {
520
- "filePath": "community.main.runtime.ts",
521
- "line": 32,
522
- "character": 3
523
- },
524
- "signature": "(property) CommunityMain.dependencies: Aspect[]",
525
- "name": "dependencies",
526
- "type": {
527
- "__schema": "InferenceTypeSchema",
528
- "location": {
529
- "filePath": "community.main.runtime.ts",
530
- "line": 32,
531
- "character": 3
532
- },
533
- "type": "Aspect[]"
534
- },
535
- "isOptional": true,
536
- "defaultValue": "[GeneratorAspect]"
537
- },
538
- {
539
- "__schema": "VariableLikeSchema",
540
- "location": {
541
- "filePath": "community.main.runtime.ts",
542
- "line": 33,
543
- "character": 3
544
- },
545
- "signature": "(property) CommunityMain.runtime: RuntimeDefinition",
546
- "name": "runtime",
547
- "type": {
548
- "__schema": "InferenceTypeSchema",
549
- "location": {
550
- "filePath": "community.main.runtime.ts",
551
- "line": 33,
552
- "character": 3
553
- },
554
- "type": "RuntimeDefinition"
555
- },
556
- "isOptional": true,
557
- "defaultValue": "MainRuntime"
558
- },
559
- {
560
- "__schema": "VariableLikeSchema",
561
- "location": {
562
- "filePath": "community.main.runtime.ts",
563
- "line": 34,
564
- "character": 3
565
- },
566
- "signature": "(property) CommunityMain.defaultConfig: CommunityWorkspaceConfig",
567
- "name": "defaultConfig",
568
- "type": {
569
- "__schema": "TypeRefSchema",
570
- "location": {
571
- "filePath": "community.main.runtime.ts",
572
- "line": 34,
573
- "character": 3
574
- },
575
- "name": "CommunityWorkspaceConfig",
576
- "internalFilePath": "community.main.runtime.ts"
577
- },
578
- "isOptional": true,
579
- "defaultValue": "{\n communityDomain: BASE_COMMUNITY_DOMAIN,\n docsDomain: BASE_DOCS_DOMAIN,\n }"
580
- },
581
- {
582
- "__schema": "FunctionLikeSchema",
583
- "location": {
584
- "filePath": "community.main.runtime.ts",
585
- "line": 39,
586
- "character": 3
587
- },
588
- "signature": "(method) CommunityMain.provider(_deps: [GeneratorMain], config: CommunityWorkspaceConfig): Promise<CommunityMain>",
589
- "name": "provider",
590
- "params": [
591
- {
592
- "__schema": "ParameterSchema",
593
- "location": {
594
- "filePath": "community.main.runtime.ts",
595
- "line": 39,
596
- "character": 25
597
- },
598
- "name": "_deps",
599
- "type": {
600
- "__schema": "TupleTypeSchema",
601
- "location": {
602
- "filePath": "community.main.runtime.ts",
603
- "line": 39,
604
- "character": 32
605
- },
606
- "elements": [
607
- {
608
- "__schema": "TypeRefSchema",
609
- "location": {
610
- "filePath": "community.main.runtime.ts",
611
- "line": 39,
612
- "character": 33
613
- },
614
- "name": "GeneratorMain",
615
- "componentId": {
616
- "scope": "teambit.generator",
617
- "name": "generator"
618
- }
619
- }
620
- ]
621
- },
622
- "isOptional": false,
623
- "isSpread": false
624
- },
625
- {
626
- "__schema": "ParameterSchema",
627
- "location": {
628
- "filePath": "community.main.runtime.ts",
629
- "line": 39,
630
- "character": 49
631
- },
632
- "name": "config",
633
- "type": {
634
- "__schema": "TypeRefSchema",
635
- "location": {
636
- "filePath": "community.main.runtime.ts",
637
- "line": 39,
638
- "character": 57
639
- },
640
- "name": "CommunityWorkspaceConfig",
641
- "internalFilePath": "community.main.runtime.ts"
642
- },
643
- "isOptional": false,
644
- "isSpread": false
645
- }
646
- ],
647
- "returnType": {
648
- "__schema": "InferenceTypeSchema",
649
- "location": {
650
- "filePath": "community.main.runtime.ts",
651
- "line": 39,
652
- "character": 3
653
- },
654
- "type": "Promise<CommunityMain>"
655
- },
656
- "modifiers": [
657
- "static",
658
- "async"
659
- ]
660
- }
661
- ],
662
- "extendsNodes": [],
663
- "implementNodes": []
664
- }
665
- ],
666
- "internals": [
667
- {
668
- "__schema": "UnImplementedSchema",
669
- "location": {
670
- "filePath": "community.main.runtime.ts",
671
- "line": 49,
672
- "character": 1
673
- },
674
- "name": "CommunityAspect.addRuntime(CommunityMain);",
675
- "type": "ExpressionStatement"
676
- }
677
- ]
678
- },
679
- {
680
- "__schema": "ModuleSchema",
681
- "location": {
682
- "filePath": "community.aspect.ts",
683
- "line": 1,
684
- "character": 1
685
- },
686
- "exports": [
687
- {
688
- "__schema": "VariableLikeSchema",
689
- "location": {
690
- "filePath": "community.aspect.ts",
691
- "line": 3,
692
- "character": 14
693
- },
694
- "signature": "const CommunityAspect: Aspect",
695
- "name": "CommunityAspect",
696
- "type": {
697
- "__schema": "TypeRefSchema",
698
- "location": {
699
- "filePath": "community.aspect.ts",
700
- "line": 3,
701
- "character": 14
702
- },
703
- "name": "Aspect",
704
- "componentId": {
705
- "scope": "teambit.harmony",
706
- "name": "harmony",
707
- "version": "0.4.6"
708
- }
709
- },
710
- "isOptional": false,
711
- "defaultValue": "Aspect.create({\n id: 'teambit.community/community',\n})"
712
- }
713
- ],
714
- "internals": []
715
- }
716
- ],
717
- "componentId": {
718
- "scope": "teambit.community",
719
- "name": "community",
720
- "version": "1.0.516"
721
- },
722
- "taggedModuleExports": []
723
- }