@teambit/community 1.0.188 → 1.0.190

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.community/community@1.0.188" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.community/community@1.0.190" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -0,0 +1,703 @@
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": "ClassSchema",
18
+ "location": {
19
+ "filePath": "community.main.runtime.ts",
20
+ "line": 18,
21
+ "character": 1
22
+ },
23
+ "signature": "class CommunityMain",
24
+ "name": "CommunityMain",
25
+ "members": [
26
+ {
27
+ "__schema": "ConstructorSchema",
28
+ "location": {
29
+ "filePath": "community.main.runtime.ts",
30
+ "line": 19,
31
+ "character": 3
32
+ },
33
+ "signature": "constructor CommunityMain(config: CommunityWorkspaceConfig): CommunityMain",
34
+ "name": "constructor",
35
+ "params": [
36
+ {
37
+ "__schema": "ParameterSchema",
38
+ "location": {
39
+ "filePath": "community.main.runtime.ts",
40
+ "line": 20,
41
+ "character": 5
42
+ },
43
+ "name": "config",
44
+ "type": {
45
+ "__schema": "TypeRefSchema",
46
+ "location": {
47
+ "filePath": "community.main.runtime.ts",
48
+ "line": 20,
49
+ "character": 21
50
+ },
51
+ "name": "CommunityWorkspaceConfig",
52
+ "internalFilePath": "community.main.runtime.ts"
53
+ },
54
+ "isOptional": false,
55
+ "isSpread": false
56
+ }
57
+ ],
58
+ "returnType": {
59
+ "__schema": "ThisTypeSchema",
60
+ "location": {
61
+ "filePath": "community.main.runtime.ts",
62
+ "line": 18,
63
+ "character": 1
64
+ },
65
+ "name": "CommunityMain"
66
+ },
67
+ "modifiers": []
68
+ },
69
+ {
70
+ "__schema": "FunctionLikeSchema",
71
+ "location": {
72
+ "filePath": "community.main.runtime.ts",
73
+ "line": 23,
74
+ "character": 3
75
+ },
76
+ "signature": "(method) CommunityMain.getBaseDomain(): string",
77
+ "name": "getBaseDomain",
78
+ "params": [],
79
+ "returnType": {
80
+ "__schema": "KeywordTypeSchema",
81
+ "location": {
82
+ "filePath": "community.main.runtime.ts",
83
+ "line": 23,
84
+ "character": 20
85
+ },
86
+ "name": "string"
87
+ },
88
+ "modifiers": []
89
+ },
90
+ {
91
+ "__schema": "FunctionLikeSchema",
92
+ "location": {
93
+ "filePath": "community.main.runtime.ts",
94
+ "line": 27,
95
+ "character": 3
96
+ },
97
+ "signature": "(method) CommunityMain.getDocsDomain(): string",
98
+ "name": "getDocsDomain",
99
+ "params": [],
100
+ "returnType": {
101
+ "__schema": "KeywordTypeSchema",
102
+ "location": {
103
+ "filePath": "community.main.runtime.ts",
104
+ "line": 27,
105
+ "character": 20
106
+ },
107
+ "name": "string"
108
+ },
109
+ "modifiers": []
110
+ },
111
+ {
112
+ "__schema": "VariableLikeSchema",
113
+ "location": {
114
+ "filePath": "community.main.runtime.ts",
115
+ "line": 31,
116
+ "character": 3
117
+ },
118
+ "signature": "(property) CommunityMain.slots: never[]",
119
+ "name": "slots",
120
+ "type": {
121
+ "__schema": "InferenceTypeSchema",
122
+ "location": {
123
+ "filePath": "community.main.runtime.ts",
124
+ "line": 31,
125
+ "character": 3
126
+ },
127
+ "type": "never[]"
128
+ },
129
+ "isOptional": true,
130
+ "defaultValue": "[]"
131
+ },
132
+ {
133
+ "__schema": "VariableLikeSchema",
134
+ "location": {
135
+ "filePath": "community.main.runtime.ts",
136
+ "line": 32,
137
+ "character": 3
138
+ },
139
+ "signature": "(property) CommunityMain.dependencies: Aspect[]",
140
+ "name": "dependencies",
141
+ "type": {
142
+ "__schema": "InferenceTypeSchema",
143
+ "location": {
144
+ "filePath": "community.main.runtime.ts",
145
+ "line": 32,
146
+ "character": 3
147
+ },
148
+ "type": "Aspect[]"
149
+ },
150
+ "isOptional": true,
151
+ "defaultValue": "[GeneratorAspect]"
152
+ },
153
+ {
154
+ "__schema": "VariableLikeSchema",
155
+ "location": {
156
+ "filePath": "community.main.runtime.ts",
157
+ "line": 33,
158
+ "character": 3
159
+ },
160
+ "signature": "(property) CommunityMain.runtime: RuntimeDefinition",
161
+ "name": "runtime",
162
+ "type": {
163
+ "__schema": "InferenceTypeSchema",
164
+ "location": {
165
+ "filePath": "community.main.runtime.ts",
166
+ "line": 33,
167
+ "character": 3
168
+ },
169
+ "type": "RuntimeDefinition"
170
+ },
171
+ "isOptional": true,
172
+ "defaultValue": "MainRuntime"
173
+ },
174
+ {
175
+ "__schema": "VariableLikeSchema",
176
+ "location": {
177
+ "filePath": "community.main.runtime.ts",
178
+ "line": 34,
179
+ "character": 3
180
+ },
181
+ "signature": "(property) CommunityMain.defaultConfig: CommunityWorkspaceConfig",
182
+ "name": "defaultConfig",
183
+ "type": {
184
+ "__schema": "TypeRefSchema",
185
+ "location": {
186
+ "filePath": "community.main.runtime.ts",
187
+ "line": 34,
188
+ "character": 3
189
+ },
190
+ "name": "CommunityWorkspaceConfig",
191
+ "internalFilePath": "community.main.runtime.ts"
192
+ },
193
+ "isOptional": true,
194
+ "defaultValue": "{\n communityDomain: BASE_COMMUNITY_DOMAIN,\n docsDomain: BASE_DOCS_DOMAIN,\n }"
195
+ },
196
+ {
197
+ "__schema": "FunctionLikeSchema",
198
+ "location": {
199
+ "filePath": "community.main.runtime.ts",
200
+ "line": 39,
201
+ "character": 3
202
+ },
203
+ "signature": "(method) CommunityMain.provider(_deps: [GeneratorMain], config: CommunityWorkspaceConfig): Promise<CommunityMain>",
204
+ "name": "provider",
205
+ "params": [
206
+ {
207
+ "__schema": "ParameterSchema",
208
+ "location": {
209
+ "filePath": "community.main.runtime.ts",
210
+ "line": 39,
211
+ "character": 25
212
+ },
213
+ "name": "_deps",
214
+ "type": {
215
+ "__schema": "TupleTypeSchema",
216
+ "location": {
217
+ "filePath": "community.main.runtime.ts",
218
+ "line": 39,
219
+ "character": 32
220
+ },
221
+ "elements": [
222
+ {
223
+ "__schema": "TypeRefSchema",
224
+ "location": {
225
+ "filePath": "community.main.runtime.ts",
226
+ "line": 39,
227
+ "character": 33
228
+ },
229
+ "name": "GeneratorMain",
230
+ "componentId": {
231
+ "scope": "teambit.generator",
232
+ "name": "generator"
233
+ }
234
+ }
235
+ ]
236
+ },
237
+ "isOptional": false,
238
+ "isSpread": false
239
+ },
240
+ {
241
+ "__schema": "ParameterSchema",
242
+ "location": {
243
+ "filePath": "community.main.runtime.ts",
244
+ "line": 39,
245
+ "character": 49
246
+ },
247
+ "name": "config",
248
+ "type": {
249
+ "__schema": "TypeRefSchema",
250
+ "location": {
251
+ "filePath": "community.main.runtime.ts",
252
+ "line": 39,
253
+ "character": 57
254
+ },
255
+ "name": "CommunityWorkspaceConfig",
256
+ "internalFilePath": "community.main.runtime.ts"
257
+ },
258
+ "isOptional": false,
259
+ "isSpread": false
260
+ }
261
+ ],
262
+ "returnType": {
263
+ "__schema": "InferenceTypeSchema",
264
+ "location": {
265
+ "filePath": "community.main.runtime.ts",
266
+ "line": 39,
267
+ "character": 3
268
+ },
269
+ "type": "Promise<CommunityMain>"
270
+ },
271
+ "modifiers": [
272
+ "static",
273
+ "async"
274
+ ]
275
+ }
276
+ ],
277
+ "extendsNodes": [],
278
+ "implementNodes": []
279
+ },
280
+ {
281
+ "__schema": "UnImplementedSchema",
282
+ "location": {
283
+ "filePath": "index.ts",
284
+ "line": 4,
285
+ "character": 16
286
+ },
287
+ "name": "CommunityAspect",
288
+ "type": "Identifier"
289
+ },
290
+ {
291
+ "__schema": "VariableLikeSchema",
292
+ "location": {
293
+ "filePath": "community.aspect.ts",
294
+ "line": 3,
295
+ "character": 14
296
+ },
297
+ "signature": "const CommunityAspect: Aspect",
298
+ "name": "CommunityAspect",
299
+ "type": {
300
+ "__schema": "TypeRefSchema",
301
+ "location": {
302
+ "filePath": "community.aspect.ts",
303
+ "line": 3,
304
+ "character": 14
305
+ },
306
+ "name": "Aspect",
307
+ "componentId": {
308
+ "scope": "teambit.harmony",
309
+ "name": "harmony",
310
+ "version": "0.4.6"
311
+ }
312
+ },
313
+ "isOptional": false,
314
+ "defaultValue": "Aspect.create({\n id: 'teambit.community/community',\n})"
315
+ }
316
+ ],
317
+ "internals": []
318
+ },
319
+ "internals": [
320
+ {
321
+ "__schema": "ModuleSchema",
322
+ "location": {
323
+ "filePath": "community.main.runtime.ts",
324
+ "line": 1,
325
+ "character": 1
326
+ },
327
+ "exports": [
328
+ {
329
+ "__schema": "InterfaceSchema",
330
+ "location": {
331
+ "filePath": "community.main.runtime.ts",
332
+ "line": 13,
333
+ "character": 1
334
+ },
335
+ "signature": "interface CommunityWorkspaceConfig",
336
+ "name": "CommunityWorkspaceConfig",
337
+ "members": [
338
+ {
339
+ "__schema": "VariableLikeSchema",
340
+ "location": {
341
+ "filePath": "community.main.runtime.ts",
342
+ "line": 14,
343
+ "character": 3
344
+ },
345
+ "signature": "(property) CommunityWorkspaceConfig.communityDomain: string",
346
+ "name": "communityDomain",
347
+ "type": {
348
+ "__schema": "KeywordTypeSchema",
349
+ "location": {
350
+ "filePath": "community.main.runtime.ts",
351
+ "line": 14,
352
+ "character": 20
353
+ },
354
+ "name": "string"
355
+ },
356
+ "isOptional": false
357
+ },
358
+ {
359
+ "__schema": "VariableLikeSchema",
360
+ "location": {
361
+ "filePath": "community.main.runtime.ts",
362
+ "line": 15,
363
+ "character": 3
364
+ },
365
+ "signature": "(property) CommunityWorkspaceConfig.docsDomain: string",
366
+ "name": "docsDomain",
367
+ "type": {
368
+ "__schema": "KeywordTypeSchema",
369
+ "location": {
370
+ "filePath": "community.main.runtime.ts",
371
+ "line": 15,
372
+ "character": 15
373
+ },
374
+ "name": "string"
375
+ },
376
+ "isOptional": false
377
+ }
378
+ ],
379
+ "extendsNodes": []
380
+ },
381
+ {
382
+ "__schema": "ClassSchema",
383
+ "location": {
384
+ "filePath": "community.main.runtime.ts",
385
+ "line": 18,
386
+ "character": 1
387
+ },
388
+ "signature": "class CommunityMain",
389
+ "name": "CommunityMain",
390
+ "members": [
391
+ {
392
+ "__schema": "ConstructorSchema",
393
+ "location": {
394
+ "filePath": "community.main.runtime.ts",
395
+ "line": 19,
396
+ "character": 3
397
+ },
398
+ "signature": "constructor CommunityMain(config: CommunityWorkspaceConfig): CommunityMain",
399
+ "name": "constructor",
400
+ "params": [
401
+ {
402
+ "__schema": "ParameterSchema",
403
+ "location": {
404
+ "filePath": "community.main.runtime.ts",
405
+ "line": 20,
406
+ "character": 5
407
+ },
408
+ "name": "config",
409
+ "type": {
410
+ "__schema": "TypeRefSchema",
411
+ "location": {
412
+ "filePath": "community.main.runtime.ts",
413
+ "line": 20,
414
+ "character": 21
415
+ },
416
+ "name": "CommunityWorkspaceConfig",
417
+ "internalFilePath": "community.main.runtime.ts"
418
+ },
419
+ "isOptional": false,
420
+ "isSpread": false
421
+ }
422
+ ],
423
+ "returnType": {
424
+ "__schema": "ThisTypeSchema",
425
+ "location": {
426
+ "filePath": "community.main.runtime.ts",
427
+ "line": 18,
428
+ "character": 1
429
+ },
430
+ "name": "CommunityMain"
431
+ },
432
+ "modifiers": []
433
+ },
434
+ {
435
+ "__schema": "FunctionLikeSchema",
436
+ "location": {
437
+ "filePath": "community.main.runtime.ts",
438
+ "line": 23,
439
+ "character": 3
440
+ },
441
+ "signature": "(method) CommunityMain.getBaseDomain(): string",
442
+ "name": "getBaseDomain",
443
+ "params": [],
444
+ "returnType": {
445
+ "__schema": "KeywordTypeSchema",
446
+ "location": {
447
+ "filePath": "community.main.runtime.ts",
448
+ "line": 23,
449
+ "character": 20
450
+ },
451
+ "name": "string"
452
+ },
453
+ "modifiers": []
454
+ },
455
+ {
456
+ "__schema": "FunctionLikeSchema",
457
+ "location": {
458
+ "filePath": "community.main.runtime.ts",
459
+ "line": 27,
460
+ "character": 3
461
+ },
462
+ "signature": "(method) CommunityMain.getDocsDomain(): string",
463
+ "name": "getDocsDomain",
464
+ "params": [],
465
+ "returnType": {
466
+ "__schema": "KeywordTypeSchema",
467
+ "location": {
468
+ "filePath": "community.main.runtime.ts",
469
+ "line": 27,
470
+ "character": 20
471
+ },
472
+ "name": "string"
473
+ },
474
+ "modifiers": []
475
+ },
476
+ {
477
+ "__schema": "VariableLikeSchema",
478
+ "location": {
479
+ "filePath": "community.main.runtime.ts",
480
+ "line": 31,
481
+ "character": 3
482
+ },
483
+ "signature": "(property) CommunityMain.slots: never[]",
484
+ "name": "slots",
485
+ "type": {
486
+ "__schema": "InferenceTypeSchema",
487
+ "location": {
488
+ "filePath": "community.main.runtime.ts",
489
+ "line": 31,
490
+ "character": 3
491
+ },
492
+ "type": "never[]"
493
+ },
494
+ "isOptional": true,
495
+ "defaultValue": "[]"
496
+ },
497
+ {
498
+ "__schema": "VariableLikeSchema",
499
+ "location": {
500
+ "filePath": "community.main.runtime.ts",
501
+ "line": 32,
502
+ "character": 3
503
+ },
504
+ "signature": "(property) CommunityMain.dependencies: Aspect[]",
505
+ "name": "dependencies",
506
+ "type": {
507
+ "__schema": "InferenceTypeSchema",
508
+ "location": {
509
+ "filePath": "community.main.runtime.ts",
510
+ "line": 32,
511
+ "character": 3
512
+ },
513
+ "type": "Aspect[]"
514
+ },
515
+ "isOptional": true,
516
+ "defaultValue": "[GeneratorAspect]"
517
+ },
518
+ {
519
+ "__schema": "VariableLikeSchema",
520
+ "location": {
521
+ "filePath": "community.main.runtime.ts",
522
+ "line": 33,
523
+ "character": 3
524
+ },
525
+ "signature": "(property) CommunityMain.runtime: RuntimeDefinition",
526
+ "name": "runtime",
527
+ "type": {
528
+ "__schema": "InferenceTypeSchema",
529
+ "location": {
530
+ "filePath": "community.main.runtime.ts",
531
+ "line": 33,
532
+ "character": 3
533
+ },
534
+ "type": "RuntimeDefinition"
535
+ },
536
+ "isOptional": true,
537
+ "defaultValue": "MainRuntime"
538
+ },
539
+ {
540
+ "__schema": "VariableLikeSchema",
541
+ "location": {
542
+ "filePath": "community.main.runtime.ts",
543
+ "line": 34,
544
+ "character": 3
545
+ },
546
+ "signature": "(property) CommunityMain.defaultConfig: CommunityWorkspaceConfig",
547
+ "name": "defaultConfig",
548
+ "type": {
549
+ "__schema": "TypeRefSchema",
550
+ "location": {
551
+ "filePath": "community.main.runtime.ts",
552
+ "line": 34,
553
+ "character": 3
554
+ },
555
+ "name": "CommunityWorkspaceConfig",
556
+ "internalFilePath": "community.main.runtime.ts"
557
+ },
558
+ "isOptional": true,
559
+ "defaultValue": "{\n communityDomain: BASE_COMMUNITY_DOMAIN,\n docsDomain: BASE_DOCS_DOMAIN,\n }"
560
+ },
561
+ {
562
+ "__schema": "FunctionLikeSchema",
563
+ "location": {
564
+ "filePath": "community.main.runtime.ts",
565
+ "line": 39,
566
+ "character": 3
567
+ },
568
+ "signature": "(method) CommunityMain.provider(_deps: [GeneratorMain], config: CommunityWorkspaceConfig): Promise<CommunityMain>",
569
+ "name": "provider",
570
+ "params": [
571
+ {
572
+ "__schema": "ParameterSchema",
573
+ "location": {
574
+ "filePath": "community.main.runtime.ts",
575
+ "line": 39,
576
+ "character": 25
577
+ },
578
+ "name": "_deps",
579
+ "type": {
580
+ "__schema": "TupleTypeSchema",
581
+ "location": {
582
+ "filePath": "community.main.runtime.ts",
583
+ "line": 39,
584
+ "character": 32
585
+ },
586
+ "elements": [
587
+ {
588
+ "__schema": "TypeRefSchema",
589
+ "location": {
590
+ "filePath": "community.main.runtime.ts",
591
+ "line": 39,
592
+ "character": 33
593
+ },
594
+ "name": "GeneratorMain",
595
+ "componentId": {
596
+ "scope": "teambit.generator",
597
+ "name": "generator"
598
+ }
599
+ }
600
+ ]
601
+ },
602
+ "isOptional": false,
603
+ "isSpread": false
604
+ },
605
+ {
606
+ "__schema": "ParameterSchema",
607
+ "location": {
608
+ "filePath": "community.main.runtime.ts",
609
+ "line": 39,
610
+ "character": 49
611
+ },
612
+ "name": "config",
613
+ "type": {
614
+ "__schema": "TypeRefSchema",
615
+ "location": {
616
+ "filePath": "community.main.runtime.ts",
617
+ "line": 39,
618
+ "character": 57
619
+ },
620
+ "name": "CommunityWorkspaceConfig",
621
+ "internalFilePath": "community.main.runtime.ts"
622
+ },
623
+ "isOptional": false,
624
+ "isSpread": false
625
+ }
626
+ ],
627
+ "returnType": {
628
+ "__schema": "InferenceTypeSchema",
629
+ "location": {
630
+ "filePath": "community.main.runtime.ts",
631
+ "line": 39,
632
+ "character": 3
633
+ },
634
+ "type": "Promise<CommunityMain>"
635
+ },
636
+ "modifiers": [
637
+ "static",
638
+ "async"
639
+ ]
640
+ }
641
+ ],
642
+ "extendsNodes": [],
643
+ "implementNodes": []
644
+ }
645
+ ],
646
+ "internals": [
647
+ {
648
+ "__schema": "UnImplementedSchema",
649
+ "location": {
650
+ "filePath": "community.main.runtime.ts",
651
+ "line": 49,
652
+ "character": 1
653
+ },
654
+ "name": "CommunityAspect.addRuntime(CommunityMain);",
655
+ "type": "ExpressionStatement"
656
+ }
657
+ ]
658
+ },
659
+ {
660
+ "__schema": "ModuleSchema",
661
+ "location": {
662
+ "filePath": "community.aspect.ts",
663
+ "line": 1,
664
+ "character": 1
665
+ },
666
+ "exports": [
667
+ {
668
+ "__schema": "VariableLikeSchema",
669
+ "location": {
670
+ "filePath": "community.aspect.ts",
671
+ "line": 3,
672
+ "character": 14
673
+ },
674
+ "signature": "const CommunityAspect: Aspect",
675
+ "name": "CommunityAspect",
676
+ "type": {
677
+ "__schema": "TypeRefSchema",
678
+ "location": {
679
+ "filePath": "community.aspect.ts",
680
+ "line": 3,
681
+ "character": 14
682
+ },
683
+ "name": "Aspect",
684
+ "componentId": {
685
+ "scope": "teambit.harmony",
686
+ "name": "harmony",
687
+ "version": "0.4.6"
688
+ }
689
+ },
690
+ "isOptional": false,
691
+ "defaultValue": "Aspect.create({\n id: 'teambit.community/community',\n})"
692
+ }
693
+ ],
694
+ "internals": []
695
+ }
696
+ ],
697
+ "componentId": {
698
+ "scope": "teambit.community",
699
+ "name": "community",
700
+ "version": "1.0.190"
701
+ },
702
+ "taggedModuleExports": []
703
+ }
@@ -1 +1 @@
1
- {"version":3,"names":["_harmony","data","require","CommunityAspect","exports","Aspect","create","id"],"sources":["community.aspect.ts"],"sourcesContent":["import { Aspect } from '@teambit/harmony';\n\nexport const CommunityAspect = Aspect.create({\n id: 'teambit.community/community',\n});\n"],"mappings":";;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEO,MAAME,eAAe,GAAAC,OAAA,CAAAD,eAAA,GAAGE,iBAAM,CAACC,MAAM,CAAC;EAC3CC,EAAE,EAAE;AACN,CAAC,CAAC"}
1
+ {"version":3,"names":["_harmony","data","require","CommunityAspect","exports","Aspect","create","id"],"sources":["community.aspect.ts"],"sourcesContent":["import { Aspect } from '@teambit/harmony';\n\nexport const CommunityAspect = Aspect.create({\n id: 'teambit.community/community',\n});\n"],"mappings":";;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEO,MAAME,eAAe,GAAAC,OAAA,CAAAD,eAAA,GAAGE,iBAAM,CAACC,MAAM,CAAC;EAC3CC,EAAE,EAAE;AACN,CAAC,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_cli","data","require","_constants","_generator","_community","_defineProperty","obj","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","t","i","_toPrimitive","String","r","e","Symbol","toPrimitive","call","TypeError","Number","CommunityMain","constructor","config","getBaseDomain","communityDomain","getDocsDomain","docsDomain","provider","_deps","community","exports","GeneratorAspect","MainRuntime","BASE_COMMUNITY_DOMAIN","BASE_DOCS_DOMAIN","CommunityAspect","addRuntime"],"sources":["community.main.runtime.ts"],"sourcesContent":["import { MainRuntime } from '@teambit/cli';\nimport { BASE_COMMUNITY_DOMAIN, BASE_DOCS_DOMAIN } from '@teambit/legacy/dist/constants';\n// import { HelloWorldStarter } from '@teambit/community.starters.hello-world';\n// import { } from '@teambit/community.starters.hello-world-angular';\n// import {} from '@learnbit-vue/hello-world.starters.hello-world';\n// import {} from '@teambit/community.starters.wiki';\n// import {} from '@teambit/community.starters.data-fetching';\n// import {} from '@teambit/community.starters.analytics';\nimport { GeneratorAspect, GeneratorMain } from '@teambit/generator';\n\nimport { CommunityAspect } from './community.aspect';\n\nexport interface CommunityWorkspaceConfig {\n communityDomain: string;\n docsDomain: string;\n}\n\nexport class CommunityMain {\n constructor(\n private config: CommunityWorkspaceConfig // private generator: GeneratorMain\n ) {}\n\n getBaseDomain(): string {\n return this.config.communityDomain;\n }\n\n getDocsDomain(): string {\n return this.config.docsDomain;\n }\n\n static slots = [];\n static dependencies = [GeneratorAspect];\n static runtime = MainRuntime;\n static defaultConfig: CommunityWorkspaceConfig = {\n communityDomain: BASE_COMMUNITY_DOMAIN,\n docsDomain: BASE_DOCS_DOMAIN,\n };\n\n static async provider(_deps: [GeneratorMain], config: CommunityWorkspaceConfig) {\n // const [generator] = _deps;\n const community = new CommunityMain(config);\n\n // if (generator) generator.registerWorkspaceTemplate([HelloWorldStarter]);\n\n return community;\n }\n}\n\nCommunityAspect.addRuntime(CommunityMain);\n"],"mappings":";;;;;;AAAA,SAAAA,KAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,IAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,WAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,UAAA,YAAAA,CAAA;IAAA,OAAAF,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Ae;EACpC;EAEAC,aAAaA,CAAA,EAAW;IACtB,OAAO,IAAI,CAACH,MAAM,CAACI,UAAU;EAC/B;EAUA,aAAaC,QAAQA,CAACC,KAAsB,EAAEN,MAAgC,EAAE;IAC9E;IACA,MAAMO,SAAS,GAAG,IAAIT,aAAa,CAACE,MAAM,CAAC;;IAE3C;;IAEA,OAAOO,SAAS;EAClB;AACF;AAACC,OAAA,CAAAV,aAAA,GAAAA,aAAA;AAAArB,eAAA,CA7BYqB,aAAa,WAaT,EAAE;AAAArB,eAAA,CAbNqB,aAAa,kBAcF,CAACW,4BAAe,CAAC;AAAAhC,eAAA,CAd5BqB,aAAa,aAePY,kBAAW;AAAAjC,eAAA,CAfjBqB,aAAa,mBAgByB;EAC/CI,eAAe,EAAES,kCAAqB;EACtCP,UAAU,EAAEQ;AACd,CAAC;AAYHC,4BAAe,CAACC,UAAU,CAAChB,aAAa,CAAC"}
1
+ {"version":3,"names":["_cli","data","require","_constants","_generator","_community","_defineProperty","obj","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","t","i","_toPrimitive","String","r","e","Symbol","toPrimitive","call","TypeError","Number","CommunityMain","constructor","config","getBaseDomain","communityDomain","getDocsDomain","docsDomain","provider","_deps","community","exports","GeneratorAspect","MainRuntime","BASE_COMMUNITY_DOMAIN","BASE_DOCS_DOMAIN","CommunityAspect","addRuntime"],"sources":["community.main.runtime.ts"],"sourcesContent":["import { MainRuntime } from '@teambit/cli';\nimport { BASE_COMMUNITY_DOMAIN, BASE_DOCS_DOMAIN } from '@teambit/legacy/dist/constants';\n// import { HelloWorldStarter } from '@teambit/community.starters.hello-world';\n// import { } from '@teambit/community.starters.hello-world-angular';\n// import {} from '@learnbit-vue/hello-world.starters.hello-world';\n// import {} from '@teambit/community.starters.wiki';\n// import {} from '@teambit/community.starters.data-fetching';\n// import {} from '@teambit/community.starters.analytics';\nimport { GeneratorAspect, GeneratorMain } from '@teambit/generator';\n\nimport { CommunityAspect } from './community.aspect';\n\nexport interface CommunityWorkspaceConfig {\n communityDomain: string;\n docsDomain: string;\n}\n\nexport class CommunityMain {\n constructor(\n private config: CommunityWorkspaceConfig // private generator: GeneratorMain\n ) {}\n\n getBaseDomain(): string {\n return this.config.communityDomain;\n }\n\n getDocsDomain(): string {\n return this.config.docsDomain;\n }\n\n static slots = [];\n static dependencies = [GeneratorAspect];\n static runtime = MainRuntime;\n static defaultConfig: CommunityWorkspaceConfig = {\n communityDomain: BASE_COMMUNITY_DOMAIN,\n docsDomain: BASE_DOCS_DOMAIN,\n };\n\n static async provider(_deps: [GeneratorMain], config: CommunityWorkspaceConfig) {\n // const [generator] = _deps;\n const community = new CommunityMain(config);\n\n // if (generator) generator.registerWorkspaceTemplate([HelloWorldStarter]);\n\n return community;\n }\n}\n\nCommunityAspect.addRuntime(CommunityMain);\n"],"mappings":";;;;;;AAAA,SAAAA,KAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,IAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,WAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,UAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAOA,SAAAG,WAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,UAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAI,WAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,UAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAAqD,SAAAK,gBAAAC,GAAA,EAAAC,GAAA,EAAAC,KAAA,IAAAD,GAAA,GAAAE,cAAA,CAAAF,GAAA,OAAAA,GAAA,IAAAD,GAAA,IAAAI,MAAA,CAAAC,cAAA,CAAAL,GAAA,EAAAC,GAAA,IAAAC,KAAA,EA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ACtCP,UAAU,EAAEQ;AACd,CAAC;AAYHC,4BAAe,CAACC,UAAU,CAAChB,aAAa,CAAC","ignoreList":[]}
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":["_community","data","require","_default","exports","default","CommunityAspect"],"sources":["index.ts"],"sourcesContent":["import { CommunityAspect } from './community.aspect';\n\nexport type { CommunityMain } from './community.main.runtime';\nexport default CommunityAspect;\nexport { CommunityAspect };\n"],"mappings":";;;;;;;;;;;;AAAA,SAAAA,WAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,UAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAAqD,IAAAE,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAGtCC,4BAAe"}
1
+ {"version":3,"names":["_community","data","require","_default","exports","default","CommunityAspect"],"sources":["index.ts"],"sourcesContent":["import { CommunityAspect } from './community.aspect';\n\nexport type { CommunityMain } from './community.main.runtime';\nexport default CommunityAspect;\nexport { CommunityAspect };\n"],"mappings":";;;;;;;;;;;;AAAA,SAAAA,WAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,UAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAAqD,IAAAE,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAGtCC,4BAAe","ignoreList":[]}
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@teambit/community",
3
- "version": "1.0.188",
3
+ "version": "1.0.190",
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.188"
9
+ "version": "1.0.190"
10
10
  },
11
11
  "dependencies": {
12
12
  "@teambit/harmony": "0.4.6",
13
- "@teambit/cli": "0.0.855",
14
- "@teambit/generator": "1.0.189"
13
+ "@teambit/cli": "0.0.857",
14
+ "@teambit/generator": "1.0.191"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/mocha": "9.1.0",
18
18
  "chai": "4.3.0",
19
- "@teambit/harmony.envs.core-aspect-env": "0.0.25"
19
+ "@teambit/harmony.envs.core-aspect-env": "0.0.27"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "@teambit/legacy": "1.0.624"