@teambit/community 1.0.256 → 1.0.258

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.community/community@1.0.256" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.community/community@1.0.258" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -14,268 +14,271 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "ClassSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "community.main.runtime.ts",
20
- "line": 18,
21
- "character": 1
19
+ "filePath": "index.ts",
20
+ "line": 3,
21
+ "character": 15
22
22
  },
23
- "signature": "class CommunityMain",
24
23
  "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",
24
+ "exportNode": {
25
+ "__schema": "ClassSchema",
26
+ "location": {
27
+ "filePath": "community.main.runtime.ts",
28
+ "line": 18,
29
+ "character": 1
30
+ },
31
+ "signature": "class CommunityMain",
32
+ "name": "CommunityMain",
33
+ "members": [
34
+ {
35
+ "__schema": "ConstructorSchema",
36
+ "location": {
37
+ "filePath": "community.main.runtime.ts",
38
+ "line": 19,
39
+ "character": 3
40
+ },
41
+ "signature": "constructor CommunityMain(config: CommunityWorkspaceConfig): CommunityMain",
42
+ "name": "constructor",
43
+ "params": [
44
+ {
45
+ "__schema": "ParameterSchema",
46
46
  "location": {
47
47
  "filePath": "community.main.runtime.ts",
48
48
  "line": 20,
49
- "character": 21
49
+ "character": 5
50
+ },
51
+ "name": "config",
52
+ "type": {
53
+ "__schema": "TypeRefSchema",
54
+ "location": {
55
+ "filePath": "community.main.runtime.ts",
56
+ "line": 20,
57
+ "character": 21
58
+ },
59
+ "name": "CommunityWorkspaceConfig"
50
60
  },
51
- "name": "CommunityWorkspaceConfig",
52
- "internalFilePath": "community.main.runtime.ts"
61
+ "isOptional": false,
62
+ "isSpread": false
63
+ }
64
+ ],
65
+ "returnType": {
66
+ "__schema": "ThisTypeSchema",
67
+ "location": {
68
+ "filePath": "community.main.runtime.ts",
69
+ "line": 18,
70
+ "character": 1
53
71
  },
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
72
+ "name": "CommunityMain"
64
73
  },
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
74
+ "modifiers": []
75
75
  },
76
- "signature": "(method) CommunityMain.getBaseDomain(): string",
77
- "name": "getBaseDomain",
78
- "params": [],
79
- "returnType": {
80
- "__schema": "KeywordTypeSchema",
76
+ {
77
+ "__schema": "FunctionLikeSchema",
81
78
  "location": {
82
79
  "filePath": "community.main.runtime.ts",
83
80
  "line": 23,
84
- "character": 20
81
+ "character": 3
85
82
  },
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
83
+ "signature": "(method) CommunityMain.getBaseDomain(): string",
84
+ "name": "getBaseDomain",
85
+ "params": [],
86
+ "returnType": {
87
+ "__schema": "KeywordTypeSchema",
88
+ "location": {
89
+ "filePath": "community.main.runtime.ts",
90
+ "line": 23,
91
+ "character": 20
92
+ },
93
+ "name": "string"
94
+ },
95
+ "modifiers": []
96
96
  },
97
- "signature": "(method) CommunityMain.getDocsDomain(): string",
98
- "name": "getDocsDomain",
99
- "params": [],
100
- "returnType": {
101
- "__schema": "KeywordTypeSchema",
97
+ {
98
+ "__schema": "FunctionLikeSchema",
102
99
  "location": {
103
100
  "filePath": "community.main.runtime.ts",
104
101
  "line": 27,
105
- "character": 20
102
+ "character": 3
106
103
  },
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
104
+ "signature": "(method) CommunityMain.getDocsDomain(): string",
105
+ "name": "getDocsDomain",
106
+ "params": [],
107
+ "returnType": {
108
+ "__schema": "KeywordTypeSchema",
109
+ "location": {
110
+ "filePath": "community.main.runtime.ts",
111
+ "line": 27,
112
+ "character": 20
113
+ },
114
+ "name": "string"
115
+ },
116
+ "modifiers": []
117
117
  },
118
- "signature": "(property) CommunityMain.slots: never[]",
119
- "name": "slots",
120
- "type": {
121
- "__schema": "InferenceTypeSchema",
118
+ {
119
+ "__schema": "VariableLikeSchema",
122
120
  "location": {
123
121
  "filePath": "community.main.runtime.ts",
124
122
  "line": 31,
125
123
  "character": 3
126
124
  },
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
125
+ "signature": "(property) CommunityMain.slots: never[]",
126
+ "name": "slots",
127
+ "type": {
128
+ "__schema": "InferenceTypeSchema",
129
+ "location": {
130
+ "filePath": "community.main.runtime.ts",
131
+ "line": 31,
132
+ "character": 3
133
+ },
134
+ "type": "never[]"
135
+ },
136
+ "isOptional": true,
137
+ "defaultValue": "[]"
138
138
  },
139
- "signature": "(property) CommunityMain.dependencies: Aspect[]",
140
- "name": "dependencies",
141
- "type": {
142
- "__schema": "InferenceTypeSchema",
139
+ {
140
+ "__schema": "VariableLikeSchema",
143
141
  "location": {
144
142
  "filePath": "community.main.runtime.ts",
145
143
  "line": 32,
146
144
  "character": 3
147
145
  },
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
146
+ "signature": "(property) CommunityMain.dependencies: Aspect[]",
147
+ "name": "dependencies",
148
+ "type": {
149
+ "__schema": "InferenceTypeSchema",
150
+ "location": {
151
+ "filePath": "community.main.runtime.ts",
152
+ "line": 32,
153
+ "character": 3
154
+ },
155
+ "type": "Aspect[]"
156
+ },
157
+ "isOptional": true,
158
+ "defaultValue": "[GeneratorAspect]"
159
159
  },
160
- "signature": "(property) CommunityMain.runtime: RuntimeDefinition",
161
- "name": "runtime",
162
- "type": {
163
- "__schema": "InferenceTypeSchema",
160
+ {
161
+ "__schema": "VariableLikeSchema",
164
162
  "location": {
165
163
  "filePath": "community.main.runtime.ts",
166
164
  "line": 33,
167
165
  "character": 3
168
166
  },
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
167
+ "signature": "(property) CommunityMain.runtime: RuntimeDefinition",
168
+ "name": "runtime",
169
+ "type": {
170
+ "__schema": "InferenceTypeSchema",
171
+ "location": {
172
+ "filePath": "community.main.runtime.ts",
173
+ "line": 33,
174
+ "character": 3
175
+ },
176
+ "type": "RuntimeDefinition"
177
+ },
178
+ "isOptional": true,
179
+ "defaultValue": "MainRuntime"
180
180
  },
181
- "signature": "(property) CommunityMain.defaultConfig: CommunityWorkspaceConfig",
182
- "name": "defaultConfig",
183
- "type": {
184
- "__schema": "TypeRefSchema",
181
+ {
182
+ "__schema": "VariableLikeSchema",
185
183
  "location": {
186
184
  "filePath": "community.main.runtime.ts",
187
185
  "line": 34,
188
186
  "character": 3
189
187
  },
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",
188
+ "signature": "(property) CommunityMain.defaultConfig: CommunityWorkspaceConfig",
189
+ "name": "defaultConfig",
190
+ "type": {
191
+ "__schema": "TypeRefSchema",
208
192
  "location": {
209
193
  "filePath": "community.main.runtime.ts",
210
- "line": 39,
211
- "character": 25
194
+ "line": 34,
195
+ "character": 3
212
196
  },
213
- "name": "_deps",
214
- "type": {
215
- "__schema": "TupleTypeSchema",
197
+ "name": "CommunityWorkspaceConfig",
198
+ "internalFilePath": "community.main.runtime.ts"
199
+ },
200
+ "isOptional": true,
201
+ "defaultValue": "{\n communityDomain: BASE_COMMUNITY_DOMAIN,\n docsDomain: BASE_DOCS_DOMAIN,\n }"
202
+ },
203
+ {
204
+ "__schema": "FunctionLikeSchema",
205
+ "location": {
206
+ "filePath": "community.main.runtime.ts",
207
+ "line": 39,
208
+ "character": 3
209
+ },
210
+ "signature": "(method) CommunityMain.provider(_deps: [GeneratorMain], config: CommunityWorkspaceConfig): Promise<CommunityMain>",
211
+ "name": "provider",
212
+ "params": [
213
+ {
214
+ "__schema": "ParameterSchema",
216
215
  "location": {
217
216
  "filePath": "community.main.runtime.ts",
218
217
  "line": 39,
219
- "character": 32
218
+ "character": 25
220
219
  },
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"
220
+ "name": "_deps",
221
+ "type": {
222
+ "__schema": "TupleTypeSchema",
223
+ "location": {
224
+ "filePath": "community.main.runtime.ts",
225
+ "line": 39,
226
+ "character": 32
227
+ },
228
+ "elements": [
229
+ {
230
+ "__schema": "TypeRefSchema",
231
+ "location": {
232
+ "filePath": "community.main.runtime.ts",
233
+ "line": 39,
234
+ "character": 33
235
+ },
236
+ "name": "GeneratorMain"
233
237
  }
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
238
+ ]
239
+ },
240
+ "isOptional": false,
241
+ "isSpread": false
246
242
  },
247
- "name": "config",
248
- "type": {
249
- "__schema": "TypeRefSchema",
243
+ {
244
+ "__schema": "ParameterSchema",
250
245
  "location": {
251
246
  "filePath": "community.main.runtime.ts",
252
247
  "line": 39,
253
- "character": 57
248
+ "character": 49
254
249
  },
255
- "name": "CommunityWorkspaceConfig",
256
- "internalFilePath": "community.main.runtime.ts"
250
+ "name": "config",
251
+ "type": {
252
+ "__schema": "TypeRefSchema",
253
+ "location": {
254
+ "filePath": "community.main.runtime.ts",
255
+ "line": 39,
256
+ "character": 57
257
+ },
258
+ "name": "CommunityWorkspaceConfig"
259
+ },
260
+ "isOptional": false,
261
+ "isSpread": false
262
+ }
263
+ ],
264
+ "returnType": {
265
+ "__schema": "InferenceTypeSchema",
266
+ "location": {
267
+ "filePath": "community.main.runtime.ts",
268
+ "line": 39,
269
+ "character": 3
257
270
  },
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
271
+ "type": "Promise<CommunityMain>"
268
272
  },
269
- "type": "Promise<CommunityMain>"
270
- },
271
- "modifiers": [
272
- "static",
273
- "async"
274
- ]
275
- }
276
- ],
277
- "extendsNodes": [],
278
- "implementNodes": []
273
+ "modifiers": [
274
+ "static",
275
+ "async"
276
+ ]
277
+ }
278
+ ],
279
+ "extendsNodes": [],
280
+ "implementNodes": []
281
+ }
279
282
  },
280
283
  {
281
284
  "__schema": "UnImplementedSchema",
@@ -288,30 +291,39 @@
288
291
  "type": "Identifier"
289
292
  },
290
293
  {
291
- "__schema": "VariableLikeSchema",
294
+ "__schema": "ExportSchema",
292
295
  "location": {
293
- "filePath": "community.aspect.ts",
294
- "line": 3,
295
- "character": 14
296
+ "filePath": "index.ts",
297
+ "line": 5,
298
+ "character": 10
296
299
  },
297
- "signature": "const CommunityAspect: Aspect",
298
300
  "name": "CommunityAspect",
299
- "type": {
300
- "__schema": "TypeRefSchema",
301
+ "exportNode": {
302
+ "__schema": "VariableLikeSchema",
301
303
  "location": {
302
304
  "filePath": "community.aspect.ts",
303
305
  "line": 3,
304
306
  "character": 14
305
307
  },
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})"
308
+ "signature": "const CommunityAspect: Aspect",
309
+ "name": "CommunityAspect",
310
+ "type": {
311
+ "__schema": "TypeRefSchema",
312
+ "location": {
313
+ "filePath": "community.aspect.ts",
314
+ "line": 3,
315
+ "character": 14
316
+ },
317
+ "name": "Aspect",
318
+ "componentId": {
319
+ "scope": "teambit.harmony",
320
+ "name": "harmony",
321
+ "version": "0.4.6"
322
+ }
323
+ },
324
+ "isOptional": false,
325
+ "defaultValue": "Aspect.create({\n id: 'teambit.community/community',\n})"
326
+ }
315
327
  }
316
328
  ],
317
329
  "internals": []
@@ -413,8 +425,7 @@
413
425
  "line": 20,
414
426
  "character": 21
415
427
  },
416
- "name": "CommunityWorkspaceConfig",
417
- "internalFilePath": "community.main.runtime.ts"
428
+ "name": "CommunityWorkspaceConfig"
418
429
  },
419
430
  "isOptional": false,
420
431
  "isSpread": false
@@ -591,11 +602,7 @@
591
602
  "line": 39,
592
603
  "character": 33
593
604
  },
594
- "name": "GeneratorMain",
595
- "componentId": {
596
- "scope": "teambit.generator",
597
- "name": "generator"
598
- }
605
+ "name": "GeneratorMain"
599
606
  }
600
607
  ]
601
608
  },
@@ -617,8 +624,7 @@
617
624
  "line": 39,
618
625
  "character": 57
619
626
  },
620
- "name": "CommunityWorkspaceConfig",
621
- "internalFilePath": "community.main.runtime.ts"
627
+ "name": "CommunityWorkspaceConfig"
622
628
  },
623
629
  "isOptional": false,
624
630
  "isSpread": false
@@ -697,7 +703,7 @@
697
703
  "componentId": {
698
704
  "scope": "teambit.community",
699
705
  "name": "community",
700
- "version": "1.0.256"
706
+ "version": "1.0.258"
701
707
  },
702
708
  "taggedModuleExports": []
703
709
  }
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@teambit/community",
3
- "version": "1.0.256",
3
+ "version": "1.0.258",
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.256"
9
+ "version": "1.0.258"
10
10
  },
11
11
  "dependencies": {
12
12
  "@teambit/harmony": "0.4.6",
13
13
  "@teambit/cli": "0.0.862",
14
- "@teambit/generator": "1.0.257"
14
+ "@teambit/generator": "1.0.259"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/mocha": "9.1.0",