@teambit/community 1.0.257 → 1.0.259

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.257" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.community/community@1.0.259" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -14,268 +14,277 @@
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
50
  },
51
- "name": "CommunityWorkspaceConfig",
52
- "internalFilePath": "community.main.runtime.ts"
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",
60
+ "internalFilePath": "community.main.runtime.ts"
61
+ },
62
+ "isOptional": false,
63
+ "isSpread": false
64
+ }
65
+ ],
66
+ "returnType": {
67
+ "__schema": "ThisTypeSchema",
68
+ "location": {
69
+ "filePath": "community.main.runtime.ts",
70
+ "line": 18,
71
+ "character": 1
53
72
  },
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
73
+ "name": "CommunityMain"
64
74
  },
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
+ "modifiers": []
75
76
  },
76
- "signature": "(method) CommunityMain.getBaseDomain(): string",
77
- "name": "getBaseDomain",
78
- "params": [],
79
- "returnType": {
80
- "__schema": "KeywordTypeSchema",
77
+ {
78
+ "__schema": "FunctionLikeSchema",
81
79
  "location": {
82
80
  "filePath": "community.main.runtime.ts",
83
81
  "line": 23,
84
- "character": 20
82
+ "character": 3
85
83
  },
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
84
+ "signature": "(method) CommunityMain.getBaseDomain(): string",
85
+ "name": "getBaseDomain",
86
+ "params": [],
87
+ "returnType": {
88
+ "__schema": "KeywordTypeSchema",
89
+ "location": {
90
+ "filePath": "community.main.runtime.ts",
91
+ "line": 23,
92
+ "character": 20
93
+ },
94
+ "name": "string"
95
+ },
96
+ "modifiers": []
96
97
  },
97
- "signature": "(method) CommunityMain.getDocsDomain(): string",
98
- "name": "getDocsDomain",
99
- "params": [],
100
- "returnType": {
101
- "__schema": "KeywordTypeSchema",
98
+ {
99
+ "__schema": "FunctionLikeSchema",
102
100
  "location": {
103
101
  "filePath": "community.main.runtime.ts",
104
102
  "line": 27,
105
- "character": 20
103
+ "character": 3
106
104
  },
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
105
+ "signature": "(method) CommunityMain.getDocsDomain(): string",
106
+ "name": "getDocsDomain",
107
+ "params": [],
108
+ "returnType": {
109
+ "__schema": "KeywordTypeSchema",
110
+ "location": {
111
+ "filePath": "community.main.runtime.ts",
112
+ "line": 27,
113
+ "character": 20
114
+ },
115
+ "name": "string"
116
+ },
117
+ "modifiers": []
117
118
  },
118
- "signature": "(property) CommunityMain.slots: never[]",
119
- "name": "slots",
120
- "type": {
121
- "__schema": "InferenceTypeSchema",
119
+ {
120
+ "__schema": "VariableLikeSchema",
122
121
  "location": {
123
122
  "filePath": "community.main.runtime.ts",
124
123
  "line": 31,
125
124
  "character": 3
126
125
  },
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
126
+ "signature": "(property) CommunityMain.slots: never[]",
127
+ "name": "slots",
128
+ "type": {
129
+ "__schema": "InferenceTypeSchema",
130
+ "location": {
131
+ "filePath": "community.main.runtime.ts",
132
+ "line": 31,
133
+ "character": 3
134
+ },
135
+ "type": "never[]"
136
+ },
137
+ "isOptional": true,
138
+ "defaultValue": "[]"
138
139
  },
139
- "signature": "(property) CommunityMain.dependencies: Aspect[]",
140
- "name": "dependencies",
141
- "type": {
142
- "__schema": "InferenceTypeSchema",
140
+ {
141
+ "__schema": "VariableLikeSchema",
143
142
  "location": {
144
143
  "filePath": "community.main.runtime.ts",
145
144
  "line": 32,
146
145
  "character": 3
147
146
  },
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
147
+ "signature": "(property) CommunityMain.dependencies: Aspect[]",
148
+ "name": "dependencies",
149
+ "type": {
150
+ "__schema": "InferenceTypeSchema",
151
+ "location": {
152
+ "filePath": "community.main.runtime.ts",
153
+ "line": 32,
154
+ "character": 3
155
+ },
156
+ "type": "Aspect[]"
157
+ },
158
+ "isOptional": true,
159
+ "defaultValue": "[GeneratorAspect]"
159
160
  },
160
- "signature": "(property) CommunityMain.runtime: RuntimeDefinition",
161
- "name": "runtime",
162
- "type": {
163
- "__schema": "InferenceTypeSchema",
161
+ {
162
+ "__schema": "VariableLikeSchema",
164
163
  "location": {
165
164
  "filePath": "community.main.runtime.ts",
166
165
  "line": 33,
167
166
  "character": 3
168
167
  },
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
168
+ "signature": "(property) CommunityMain.runtime: RuntimeDefinition",
169
+ "name": "runtime",
170
+ "type": {
171
+ "__schema": "InferenceTypeSchema",
172
+ "location": {
173
+ "filePath": "community.main.runtime.ts",
174
+ "line": 33,
175
+ "character": 3
176
+ },
177
+ "type": "RuntimeDefinition"
178
+ },
179
+ "isOptional": true,
180
+ "defaultValue": "MainRuntime"
180
181
  },
181
- "signature": "(property) CommunityMain.defaultConfig: CommunityWorkspaceConfig",
182
- "name": "defaultConfig",
183
- "type": {
184
- "__schema": "TypeRefSchema",
182
+ {
183
+ "__schema": "VariableLikeSchema",
185
184
  "location": {
186
185
  "filePath": "community.main.runtime.ts",
187
186
  "line": 34,
188
187
  "character": 3
189
188
  },
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",
189
+ "signature": "(property) CommunityMain.defaultConfig: CommunityWorkspaceConfig",
190
+ "name": "defaultConfig",
191
+ "type": {
192
+ "__schema": "TypeRefSchema",
208
193
  "location": {
209
194
  "filePath": "community.main.runtime.ts",
210
- "line": 39,
211
- "character": 25
195
+ "line": 34,
196
+ "character": 3
212
197
  },
213
- "name": "_deps",
214
- "type": {
215
- "__schema": "TupleTypeSchema",
198
+ "name": "CommunityWorkspaceConfig",
199
+ "internalFilePath": "community.main.runtime.ts"
200
+ },
201
+ "isOptional": true,
202
+ "defaultValue": "{\n communityDomain: BASE_COMMUNITY_DOMAIN,\n docsDomain: BASE_DOCS_DOMAIN,\n }"
203
+ },
204
+ {
205
+ "__schema": "FunctionLikeSchema",
206
+ "location": {
207
+ "filePath": "community.main.runtime.ts",
208
+ "line": 39,
209
+ "character": 3
210
+ },
211
+ "signature": "(method) CommunityMain.provider(_deps: [GeneratorMain], config: CommunityWorkspaceConfig): Promise<CommunityMain>",
212
+ "name": "provider",
213
+ "params": [
214
+ {
215
+ "__schema": "ParameterSchema",
216
216
  "location": {
217
217
  "filePath": "community.main.runtime.ts",
218
218
  "line": 39,
219
- "character": 32
219
+ "character": 25
220
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"
221
+ "name": "_deps",
222
+ "type": {
223
+ "__schema": "TupleTypeSchema",
224
+ "location": {
225
+ "filePath": "community.main.runtime.ts",
226
+ "line": 39,
227
+ "character": 32
228
+ },
229
+ "elements": [
230
+ {
231
+ "__schema": "TypeRefSchema",
232
+ "location": {
233
+ "filePath": "community.main.runtime.ts",
234
+ "line": 39,
235
+ "character": 33
236
+ },
237
+ "name": "GeneratorMain",
238
+ "componentId": {
239
+ "scope": "teambit.generator",
240
+ "name": "generator"
241
+ }
233
242
  }
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
243
+ ]
244
+ },
245
+ "isOptional": false,
246
+ "isSpread": false
246
247
  },
247
- "name": "config",
248
- "type": {
249
- "__schema": "TypeRefSchema",
248
+ {
249
+ "__schema": "ParameterSchema",
250
250
  "location": {
251
251
  "filePath": "community.main.runtime.ts",
252
252
  "line": 39,
253
- "character": 57
253
+ "character": 49
254
+ },
255
+ "name": "config",
256
+ "type": {
257
+ "__schema": "TypeRefSchema",
258
+ "location": {
259
+ "filePath": "community.main.runtime.ts",
260
+ "line": 39,
261
+ "character": 57
262
+ },
263
+ "name": "CommunityWorkspaceConfig",
264
+ "internalFilePath": "community.main.runtime.ts"
254
265
  },
255
- "name": "CommunityWorkspaceConfig",
256
- "internalFilePath": "community.main.runtime.ts"
266
+ "isOptional": false,
267
+ "isSpread": false
268
+ }
269
+ ],
270
+ "returnType": {
271
+ "__schema": "InferenceTypeSchema",
272
+ "location": {
273
+ "filePath": "community.main.runtime.ts",
274
+ "line": 39,
275
+ "character": 3
257
276
  },
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
277
+ "type": "Promise<CommunityMain>"
268
278
  },
269
- "type": "Promise<CommunityMain>"
270
- },
271
- "modifiers": [
272
- "static",
273
- "async"
274
- ]
275
- }
276
- ],
277
- "extendsNodes": [],
278
- "implementNodes": []
279
+ "modifiers": [
280
+ "static",
281
+ "async"
282
+ ]
283
+ }
284
+ ],
285
+ "extendsNodes": [],
286
+ "implementNodes": []
287
+ }
279
288
  },
280
289
  {
281
290
  "__schema": "UnImplementedSchema",
@@ -288,30 +297,39 @@
288
297
  "type": "Identifier"
289
298
  },
290
299
  {
291
- "__schema": "VariableLikeSchema",
300
+ "__schema": "ExportSchema",
292
301
  "location": {
293
- "filePath": "community.aspect.ts",
294
- "line": 3,
295
- "character": 14
302
+ "filePath": "index.ts",
303
+ "line": 5,
304
+ "character": 10
296
305
  },
297
- "signature": "const CommunityAspect: Aspect",
298
306
  "name": "CommunityAspect",
299
- "type": {
300
- "__schema": "TypeRefSchema",
307
+ "exportNode": {
308
+ "__schema": "VariableLikeSchema",
301
309
  "location": {
302
310
  "filePath": "community.aspect.ts",
303
311
  "line": 3,
304
312
  "character": 14
305
313
  },
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})"
314
+ "signature": "const CommunityAspect: Aspect",
315
+ "name": "CommunityAspect",
316
+ "type": {
317
+ "__schema": "TypeRefSchema",
318
+ "location": {
319
+ "filePath": "community.aspect.ts",
320
+ "line": 3,
321
+ "character": 14
322
+ },
323
+ "name": "Aspect",
324
+ "componentId": {
325
+ "scope": "teambit.harmony",
326
+ "name": "harmony",
327
+ "version": "0.4.6"
328
+ }
329
+ },
330
+ "isOptional": false,
331
+ "defaultValue": "Aspect.create({\n id: 'teambit.community/community',\n})"
332
+ }
315
333
  }
316
334
  ],
317
335
  "internals": []
@@ -697,7 +715,7 @@
697
715
  "componentId": {
698
716
  "scope": "teambit.community",
699
717
  "name": "community",
700
- "version": "1.0.257"
718
+ "version": "1.0.259"
701
719
  },
702
720
  "taggedModuleExports": []
703
721
  }
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@teambit/community",
3
- "version": "1.0.257",
3
+ "version": "1.0.259",
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.257"
9
+ "version": "1.0.259"
10
10
  },
11
11
  "dependencies": {
12
12
  "@teambit/harmony": "0.4.6",
13
- "@teambit/cli": "0.0.862",
14
- "@teambit/generator": "1.0.258"
13
+ "@teambit/cli": "0.0.863",
14
+ "@teambit/generator": "1.0.260"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/mocha": "9.1.0",