@teambit/deprecation 1.0.269 → 1.0.270
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/artifacts/__bit_junit.xml +1 -1
- package/artifacts/preview/teambit_component_deprecation-preview.js +1 -1
- package/artifacts/schema.json +420 -208
- package/dist/deprecation.main.runtime.d.ts +16 -5
- package/dist/deprecation.main.runtime.js +69 -4
- package/dist/deprecation.main.runtime.js.map +1 -1
- package/dist/{preview-1715311140438.js → preview-1715509699621.js} +2 -2
- package/package.json +14 -8
package/artifacts/schema.json
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"__schema": "ClassSchema",
|
|
26
26
|
"location": {
|
|
27
27
|
"filePath": "deprecation.main.runtime.ts",
|
|
28
|
-
"line":
|
|
28
|
+
"line": 40,
|
|
29
29
|
"character": 1
|
|
30
30
|
},
|
|
31
31
|
"signature": "class DeprecationMain",
|
|
@@ -35,17 +35,17 @@
|
|
|
35
35
|
"__schema": "ConstructorSchema",
|
|
36
36
|
"location": {
|
|
37
37
|
"filePath": "deprecation.main.runtime.ts",
|
|
38
|
-
"line":
|
|
38
|
+
"line": 41,
|
|
39
39
|
"character": 3
|
|
40
40
|
},
|
|
41
|
-
"signature": "constructor DeprecationMain(scope: ScopeMain, workspace: Workspace): DeprecationMain",
|
|
41
|
+
"signature": "constructor DeprecationMain(scope: ScopeMain, workspace: Workspace, depsResolver: DependencyResolverMain): DeprecationMain",
|
|
42
42
|
"name": "constructor",
|
|
43
43
|
"params": [
|
|
44
44
|
{
|
|
45
45
|
"__schema": "ParameterSchema",
|
|
46
46
|
"location": {
|
|
47
47
|
"filePath": "deprecation.main.runtime.ts",
|
|
48
|
-
"line":
|
|
48
|
+
"line": 41,
|
|
49
49
|
"character": 15
|
|
50
50
|
},
|
|
51
51
|
"name": "scope",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"__schema": "TypeRefSchema",
|
|
54
54
|
"location": {
|
|
55
55
|
"filePath": "deprecation.main.runtime.ts",
|
|
56
|
-
"line":
|
|
56
|
+
"line": 41,
|
|
57
57
|
"character": 30
|
|
58
58
|
},
|
|
59
59
|
"name": "ScopeMain",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"__schema": "ParameterSchema",
|
|
70
70
|
"location": {
|
|
71
71
|
"filePath": "deprecation.main.runtime.ts",
|
|
72
|
-
"line":
|
|
72
|
+
"line": 41,
|
|
73
73
|
"character": 41
|
|
74
74
|
},
|
|
75
75
|
"name": "workspace",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"__schema": "TypeRefSchema",
|
|
78
78
|
"location": {
|
|
79
79
|
"filePath": "deprecation.main.runtime.ts",
|
|
80
|
-
"line":
|
|
80
|
+
"line": 41,
|
|
81
81
|
"character": 60
|
|
82
82
|
},
|
|
83
83
|
"name": "Workspace",
|
|
@@ -88,66 +88,48 @@
|
|
|
88
88
|
},
|
|
89
89
|
"isOptional": false,
|
|
90
90
|
"isSpread": false
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"__schema": "ParameterSchema",
|
|
94
|
+
"location": {
|
|
95
|
+
"filePath": "deprecation.main.runtime.ts",
|
|
96
|
+
"line": 41,
|
|
97
|
+
"character": 71
|
|
98
|
+
},
|
|
99
|
+
"name": "depsResolver",
|
|
100
|
+
"type": {
|
|
101
|
+
"__schema": "TypeRefSchema",
|
|
102
|
+
"location": {
|
|
103
|
+
"filePath": "deprecation.main.runtime.ts",
|
|
104
|
+
"line": 41,
|
|
105
|
+
"character": 93
|
|
106
|
+
},
|
|
107
|
+
"name": "DependencyResolverMain",
|
|
108
|
+
"componentId": {
|
|
109
|
+
"scope": "teambit.dependencies",
|
|
110
|
+
"name": "dependency-resolver"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"isOptional": false,
|
|
114
|
+
"isSpread": false
|
|
91
115
|
}
|
|
92
116
|
],
|
|
93
117
|
"returnType": {
|
|
94
118
|
"__schema": "ThisTypeSchema",
|
|
95
119
|
"location": {
|
|
96
120
|
"filePath": "deprecation.main.runtime.ts",
|
|
97
|
-
"line":
|
|
121
|
+
"line": 40,
|
|
98
122
|
"character": 1
|
|
99
123
|
},
|
|
100
124
|
"name": "DeprecationMain"
|
|
101
125
|
},
|
|
102
126
|
"modifiers": []
|
|
103
127
|
},
|
|
104
|
-
{
|
|
105
|
-
"__schema": "VariableLikeSchema",
|
|
106
|
-
"location": {
|
|
107
|
-
"filePath": "deprecation.main.runtime.ts",
|
|
108
|
-
"line": 37,
|
|
109
|
-
"character": 3
|
|
110
|
-
},
|
|
111
|
-
"signature": "(property) DeprecationMain.runtime: RuntimeDefinition",
|
|
112
|
-
"name": "runtime",
|
|
113
|
-
"type": {
|
|
114
|
-
"__schema": "InferenceTypeSchema",
|
|
115
|
-
"location": {
|
|
116
|
-
"filePath": "deprecation.main.runtime.ts",
|
|
117
|
-
"line": 37,
|
|
118
|
-
"character": 3
|
|
119
|
-
},
|
|
120
|
-
"type": "RuntimeDefinition"
|
|
121
|
-
},
|
|
122
|
-
"isOptional": true,
|
|
123
|
-
"defaultValue": "MainRuntime"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"__schema": "VariableLikeSchema",
|
|
127
|
-
"location": {
|
|
128
|
-
"filePath": "deprecation.main.runtime.ts",
|
|
129
|
-
"line": 38,
|
|
130
|
-
"character": 3
|
|
131
|
-
},
|
|
132
|
-
"signature": "(property) DeprecationMain.dependencies: Aspect[]",
|
|
133
|
-
"name": "dependencies",
|
|
134
|
-
"type": {
|
|
135
|
-
"__schema": "InferenceTypeSchema",
|
|
136
|
-
"location": {
|
|
137
|
-
"filePath": "deprecation.main.runtime.ts",
|
|
138
|
-
"line": 38,
|
|
139
|
-
"character": 3
|
|
140
|
-
},
|
|
141
|
-
"type": "Aspect[]"
|
|
142
|
-
},
|
|
143
|
-
"isOptional": true,
|
|
144
|
-
"defaultValue": "[GraphqlAspect, ScopeAspect, ComponentAspect, WorkspaceAspect, CLIAspect]"
|
|
145
|
-
},
|
|
146
128
|
{
|
|
147
129
|
"__schema": "FunctionLikeSchema",
|
|
148
130
|
"location": {
|
|
149
131
|
"filePath": "deprecation.main.runtime.ts",
|
|
150
|
-
"line":
|
|
132
|
+
"line": 43,
|
|
151
133
|
"character": 3
|
|
152
134
|
},
|
|
153
135
|
"signature": "(method) DeprecationMain.getDeprecationInfo(component: Component): Promise<DeprecationInfo>",
|
|
@@ -157,7 +139,7 @@
|
|
|
157
139
|
"__schema": "ParameterSchema",
|
|
158
140
|
"location": {
|
|
159
141
|
"filePath": "deprecation.main.runtime.ts",
|
|
160
|
-
"line":
|
|
142
|
+
"line": 43,
|
|
161
143
|
"character": 28
|
|
162
144
|
},
|
|
163
145
|
"name": "component",
|
|
@@ -165,7 +147,7 @@
|
|
|
165
147
|
"__schema": "TypeRefSchema",
|
|
166
148
|
"location": {
|
|
167
149
|
"filePath": "deprecation.main.runtime.ts",
|
|
168
|
-
"line":
|
|
150
|
+
"line": 43,
|
|
169
151
|
"character": 39
|
|
170
152
|
},
|
|
171
153
|
"name": "Component",
|
|
@@ -182,7 +164,7 @@
|
|
|
182
164
|
"__schema": "TypeRefSchema",
|
|
183
165
|
"location": {
|
|
184
166
|
"filePath": "deprecation.main.runtime.ts",
|
|
185
|
-
"line":
|
|
167
|
+
"line": 43,
|
|
186
168
|
"character": 51
|
|
187
169
|
},
|
|
188
170
|
"name": "Promise",
|
|
@@ -191,7 +173,7 @@
|
|
|
191
173
|
"__schema": "TypeRefSchema",
|
|
192
174
|
"location": {
|
|
193
175
|
"filePath": "deprecation.main.runtime.ts",
|
|
194
|
-
"line":
|
|
176
|
+
"line": 43,
|
|
195
177
|
"character": 59
|
|
196
178
|
},
|
|
197
179
|
"name": "DeprecationInfo"
|
|
@@ -206,14 +188,14 @@
|
|
|
206
188
|
"__schema": "FunctionLikeSchema",
|
|
207
189
|
"location": {
|
|
208
190
|
"filePath": "deprecation.main.runtime.ts",
|
|
209
|
-
"line":
|
|
191
|
+
"line": 85,
|
|
210
192
|
"character": 3
|
|
211
193
|
},
|
|
212
194
|
"doc": {
|
|
213
195
|
"__schema": "DocSchema",
|
|
214
196
|
"location": {
|
|
215
197
|
"filePath": "deprecation.main.runtime.ts",
|
|
216
|
-
"line":
|
|
198
|
+
"line": 77,
|
|
217
199
|
"character": 3
|
|
218
200
|
},
|
|
219
201
|
"raw": "/**\n * mark a component as deprecated. after this change, the component will be modified.\n * tag and export the component to have it deprecated on the remote.\n *\n * @param componentId\n * @param newId\n * @returns boolean whether or not the component has been deprecated\n */",
|
|
@@ -223,7 +205,7 @@
|
|
|
223
205
|
"__schema": "PropertyLikeTagSchema",
|
|
224
206
|
"location": {
|
|
225
207
|
"filePath": "deprecation.main.runtime.ts",
|
|
226
|
-
"line":
|
|
208
|
+
"line": 81,
|
|
227
209
|
"character": 6
|
|
228
210
|
},
|
|
229
211
|
"name": "componentId",
|
|
@@ -233,7 +215,7 @@
|
|
|
233
215
|
"__schema": "PropertyLikeTagSchema",
|
|
234
216
|
"location": {
|
|
235
217
|
"filePath": "deprecation.main.runtime.ts",
|
|
236
|
-
"line":
|
|
218
|
+
"line": 82,
|
|
237
219
|
"character": 6
|
|
238
220
|
},
|
|
239
221
|
"name": "newId",
|
|
@@ -243,7 +225,7 @@
|
|
|
243
225
|
"__schema": "ReturnTagSchema",
|
|
244
226
|
"location": {
|
|
245
227
|
"filePath": "deprecation.main.runtime.ts",
|
|
246
|
-
"line":
|
|
228
|
+
"line": 83,
|
|
247
229
|
"character": 6
|
|
248
230
|
},
|
|
249
231
|
"tagName": "return",
|
|
@@ -258,7 +240,7 @@
|
|
|
258
240
|
"__schema": "ParameterSchema",
|
|
259
241
|
"location": {
|
|
260
242
|
"filePath": "deprecation.main.runtime.ts",
|
|
261
|
-
"line":
|
|
243
|
+
"line": 85,
|
|
262
244
|
"character": 19
|
|
263
245
|
},
|
|
264
246
|
"name": "componentId",
|
|
@@ -266,7 +248,7 @@
|
|
|
266
248
|
"__schema": "TypeRefSchema",
|
|
267
249
|
"location": {
|
|
268
250
|
"filePath": "deprecation.main.runtime.ts",
|
|
269
|
-
"line":
|
|
251
|
+
"line": 85,
|
|
270
252
|
"character": 32
|
|
271
253
|
},
|
|
272
254
|
"name": "ComponentID",
|
|
@@ -282,7 +264,7 @@
|
|
|
282
264
|
"__schema": "ParameterSchema",
|
|
283
265
|
"location": {
|
|
284
266
|
"filePath": "deprecation.main.runtime.ts",
|
|
285
|
-
"line":
|
|
267
|
+
"line": 85,
|
|
286
268
|
"character": 45
|
|
287
269
|
},
|
|
288
270
|
"name": "newId",
|
|
@@ -290,7 +272,7 @@
|
|
|
290
272
|
"__schema": "TypeRefSchema",
|
|
291
273
|
"location": {
|
|
292
274
|
"filePath": "deprecation.main.runtime.ts",
|
|
293
|
-
"line":
|
|
275
|
+
"line": 85,
|
|
294
276
|
"character": 53
|
|
295
277
|
},
|
|
296
278
|
"name": "ComponentID",
|
|
@@ -306,7 +288,7 @@
|
|
|
306
288
|
"__schema": "ParameterSchema",
|
|
307
289
|
"location": {
|
|
308
290
|
"filePath": "deprecation.main.runtime.ts",
|
|
309
|
-
"line":
|
|
291
|
+
"line": 85,
|
|
310
292
|
"character": 66
|
|
311
293
|
},
|
|
312
294
|
"name": "range",
|
|
@@ -314,7 +296,7 @@
|
|
|
314
296
|
"__schema": "KeywordTypeSchema",
|
|
315
297
|
"location": {
|
|
316
298
|
"filePath": "deprecation.main.runtime.ts",
|
|
317
|
-
"line":
|
|
299
|
+
"line": 85,
|
|
318
300
|
"character": 74
|
|
319
301
|
},
|
|
320
302
|
"name": "string"
|
|
@@ -327,7 +309,7 @@
|
|
|
327
309
|
"__schema": "TypeRefSchema",
|
|
328
310
|
"location": {
|
|
329
311
|
"filePath": "deprecation.main.runtime.ts",
|
|
330
|
-
"line":
|
|
312
|
+
"line": 85,
|
|
331
313
|
"character": 83
|
|
332
314
|
},
|
|
333
315
|
"name": "Promise",
|
|
@@ -336,7 +318,7 @@
|
|
|
336
318
|
"__schema": "KeywordTypeSchema",
|
|
337
319
|
"location": {
|
|
338
320
|
"filePath": "deprecation.main.runtime.ts",
|
|
339
|
-
"line":
|
|
321
|
+
"line": 85,
|
|
340
322
|
"character": 91
|
|
341
323
|
},
|
|
342
324
|
"name": "boolean"
|
|
@@ -351,7 +333,7 @@
|
|
|
351
333
|
"__schema": "FunctionLikeSchema",
|
|
352
334
|
"location": {
|
|
353
335
|
"filePath": "deprecation.main.runtime.ts",
|
|
354
|
-
"line":
|
|
336
|
+
"line": 96,
|
|
355
337
|
"character": 3
|
|
356
338
|
},
|
|
357
339
|
"signature": "(method) DeprecationMain.unDeprecate(componentId: ComponentID): Promise<boolean>",
|
|
@@ -361,7 +343,7 @@
|
|
|
361
343
|
"__schema": "ParameterSchema",
|
|
362
344
|
"location": {
|
|
363
345
|
"filePath": "deprecation.main.runtime.ts",
|
|
364
|
-
"line":
|
|
346
|
+
"line": 96,
|
|
365
347
|
"character": 21
|
|
366
348
|
},
|
|
367
349
|
"name": "componentId",
|
|
@@ -369,7 +351,7 @@
|
|
|
369
351
|
"__schema": "TypeRefSchema",
|
|
370
352
|
"location": {
|
|
371
353
|
"filePath": "deprecation.main.runtime.ts",
|
|
372
|
-
"line":
|
|
354
|
+
"line": 96,
|
|
373
355
|
"character": 34
|
|
374
356
|
},
|
|
375
357
|
"name": "ComponentID",
|
|
@@ -386,7 +368,7 @@
|
|
|
386
368
|
"__schema": "InferenceTypeSchema",
|
|
387
369
|
"location": {
|
|
388
370
|
"filePath": "deprecation.main.runtime.ts",
|
|
389
|
-
"line":
|
|
371
|
+
"line": 96,
|
|
390
372
|
"character": 3
|
|
391
373
|
},
|
|
392
374
|
"type": "Promise<boolean>"
|
|
@@ -399,33 +381,131 @@
|
|
|
399
381
|
"__schema": "FunctionLikeSchema",
|
|
400
382
|
"location": {
|
|
401
383
|
"filePath": "deprecation.main.runtime.ts",
|
|
402
|
-
"line":
|
|
384
|
+
"line": 106,
|
|
403
385
|
"character": 3
|
|
404
386
|
},
|
|
405
|
-
"signature": "(method) DeprecationMain.
|
|
387
|
+
"signature": "(method) DeprecationMain.addDeprecatedDependenciesIssues(components: Component[]): Promise<void>",
|
|
388
|
+
"name": "addDeprecatedDependenciesIssues",
|
|
389
|
+
"params": [
|
|
390
|
+
{
|
|
391
|
+
"__schema": "ParameterSchema",
|
|
392
|
+
"location": {
|
|
393
|
+
"filePath": "deprecation.main.runtime.ts",
|
|
394
|
+
"line": 106,
|
|
395
|
+
"character": 41
|
|
396
|
+
},
|
|
397
|
+
"name": "components",
|
|
398
|
+
"type": {
|
|
399
|
+
"__schema": "TypeArraySchema",
|
|
400
|
+
"location": {
|
|
401
|
+
"filePath": "deprecation.main.runtime.ts",
|
|
402
|
+
"line": 106,
|
|
403
|
+
"character": 53
|
|
404
|
+
},
|
|
405
|
+
"type": {
|
|
406
|
+
"__schema": "TypeRefSchema",
|
|
407
|
+
"location": {
|
|
408
|
+
"filePath": "deprecation.main.runtime.ts",
|
|
409
|
+
"line": 106,
|
|
410
|
+
"character": 53
|
|
411
|
+
},
|
|
412
|
+
"name": "Component",
|
|
413
|
+
"componentId": {
|
|
414
|
+
"scope": "teambit.component",
|
|
415
|
+
"name": "component"
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
"isOptional": false,
|
|
420
|
+
"isSpread": false
|
|
421
|
+
}
|
|
422
|
+
],
|
|
423
|
+
"returnType": {
|
|
424
|
+
"__schema": "InferenceTypeSchema",
|
|
425
|
+
"location": {
|
|
426
|
+
"filePath": "deprecation.main.runtime.ts",
|
|
427
|
+
"line": 106,
|
|
428
|
+
"character": 3
|
|
429
|
+
},
|
|
430
|
+
"type": "Promise<void>"
|
|
431
|
+
},
|
|
432
|
+
"modifiers": [
|
|
433
|
+
"async"
|
|
434
|
+
]
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"__schema": "VariableLikeSchema",
|
|
438
|
+
"location": {
|
|
439
|
+
"filePath": "deprecation.main.runtime.ts",
|
|
440
|
+
"line": 141,
|
|
441
|
+
"character": 3
|
|
442
|
+
},
|
|
443
|
+
"signature": "(property) DeprecationMain.runtime: RuntimeDefinition",
|
|
444
|
+
"name": "runtime",
|
|
445
|
+
"type": {
|
|
446
|
+
"__schema": "InferenceTypeSchema",
|
|
447
|
+
"location": {
|
|
448
|
+
"filePath": "deprecation.main.runtime.ts",
|
|
449
|
+
"line": 141,
|
|
450
|
+
"character": 3
|
|
451
|
+
},
|
|
452
|
+
"type": "RuntimeDefinition"
|
|
453
|
+
},
|
|
454
|
+
"isOptional": true,
|
|
455
|
+
"defaultValue": "MainRuntime"
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"__schema": "VariableLikeSchema",
|
|
459
|
+
"location": {
|
|
460
|
+
"filePath": "deprecation.main.runtime.ts",
|
|
461
|
+
"line": 142,
|
|
462
|
+
"character": 3
|
|
463
|
+
},
|
|
464
|
+
"signature": "(property) DeprecationMain.dependencies: Aspect[]",
|
|
465
|
+
"name": "dependencies",
|
|
466
|
+
"type": {
|
|
467
|
+
"__schema": "InferenceTypeSchema",
|
|
468
|
+
"location": {
|
|
469
|
+
"filePath": "deprecation.main.runtime.ts",
|
|
470
|
+
"line": 142,
|
|
471
|
+
"character": 3
|
|
472
|
+
},
|
|
473
|
+
"type": "Aspect[]"
|
|
474
|
+
},
|
|
475
|
+
"isOptional": true,
|
|
476
|
+
"defaultValue": "[\n GraphqlAspect,\n ScopeAspect,\n ComponentAspect,\n WorkspaceAspect,\n CLIAspect,\n DependencyResolverAspect,\n IssuesAspect,\n ]"
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"__schema": "FunctionLikeSchema",
|
|
480
|
+
"location": {
|
|
481
|
+
"filePath": "deprecation.main.runtime.ts",
|
|
482
|
+
"line": 151,
|
|
483
|
+
"character": 3
|
|
484
|
+
},
|
|
485
|
+
"signature": "(method) DeprecationMain.provider([graphql, scope, componentAspect, workspace, cli, depsResolver, issues]: [\n GraphqlMain,\n ScopeMain,\n ComponentMain,\n Workspace,\n CLIMain,\n DependencyResolverMain,\n IssuesMain\n]): Promise<DeprecationMain>",
|
|
406
486
|
"name": "provider",
|
|
407
487
|
"params": [
|
|
408
488
|
{
|
|
409
489
|
"__schema": "ParameterSchema",
|
|
410
490
|
"location": {
|
|
411
491
|
"filePath": "deprecation.main.runtime.ts",
|
|
412
|
-
"line":
|
|
492
|
+
"line": 151,
|
|
413
493
|
"character": 25
|
|
414
494
|
},
|
|
415
|
-
"name": "[ graphql, scope, componentAspect, workspace, cli ]",
|
|
495
|
+
"name": "[ graphql, scope, componentAspect, workspace, cli, depsResolver, issues ]",
|
|
416
496
|
"type": {
|
|
417
497
|
"__schema": "TupleTypeSchema",
|
|
418
498
|
"location": {
|
|
419
499
|
"filePath": "deprecation.main.runtime.ts",
|
|
420
|
-
"line":
|
|
421
|
-
"character":
|
|
500
|
+
"line": 151,
|
|
501
|
+
"character": 98
|
|
422
502
|
},
|
|
423
503
|
"elements": [
|
|
424
504
|
{
|
|
425
505
|
"__schema": "TypeRefSchema",
|
|
426
506
|
"location": {
|
|
427
507
|
"filePath": "deprecation.main.runtime.ts",
|
|
428
|
-
"line":
|
|
508
|
+
"line": 152,
|
|
429
509
|
"character": 5
|
|
430
510
|
},
|
|
431
511
|
"name": "GraphqlMain",
|
|
@@ -438,7 +518,7 @@
|
|
|
438
518
|
"__schema": "TypeRefSchema",
|
|
439
519
|
"location": {
|
|
440
520
|
"filePath": "deprecation.main.runtime.ts",
|
|
441
|
-
"line":
|
|
521
|
+
"line": 153,
|
|
442
522
|
"character": 5
|
|
443
523
|
},
|
|
444
524
|
"name": "ScopeMain",
|
|
@@ -451,7 +531,7 @@
|
|
|
451
531
|
"__schema": "TypeRefSchema",
|
|
452
532
|
"location": {
|
|
453
533
|
"filePath": "deprecation.main.runtime.ts",
|
|
454
|
-
"line":
|
|
534
|
+
"line": 154,
|
|
455
535
|
"character": 5
|
|
456
536
|
},
|
|
457
537
|
"name": "ComponentMain",
|
|
@@ -464,7 +544,7 @@
|
|
|
464
544
|
"__schema": "TypeRefSchema",
|
|
465
545
|
"location": {
|
|
466
546
|
"filePath": "deprecation.main.runtime.ts",
|
|
467
|
-
"line":
|
|
547
|
+
"line": 155,
|
|
468
548
|
"character": 5
|
|
469
549
|
},
|
|
470
550
|
"name": "Workspace",
|
|
@@ -477,7 +557,7 @@
|
|
|
477
557
|
"__schema": "TypeRefSchema",
|
|
478
558
|
"location": {
|
|
479
559
|
"filePath": "deprecation.main.runtime.ts",
|
|
480
|
-
"line":
|
|
560
|
+
"line": 156,
|
|
481
561
|
"character": 5
|
|
482
562
|
},
|
|
483
563
|
"name": "CLIMain",
|
|
@@ -485,6 +565,32 @@
|
|
|
485
565
|
"scope": "teambit.harmony",
|
|
486
566
|
"name": "cli"
|
|
487
567
|
}
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
"__schema": "TypeRefSchema",
|
|
571
|
+
"location": {
|
|
572
|
+
"filePath": "deprecation.main.runtime.ts",
|
|
573
|
+
"line": 157,
|
|
574
|
+
"character": 5
|
|
575
|
+
},
|
|
576
|
+
"name": "DependencyResolverMain",
|
|
577
|
+
"componentId": {
|
|
578
|
+
"scope": "teambit.dependencies",
|
|
579
|
+
"name": "dependency-resolver"
|
|
580
|
+
}
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"__schema": "TypeRefSchema",
|
|
584
|
+
"location": {
|
|
585
|
+
"filePath": "deprecation.main.runtime.ts",
|
|
586
|
+
"line": 158,
|
|
587
|
+
"character": 5
|
|
588
|
+
},
|
|
589
|
+
"name": "IssuesMain",
|
|
590
|
+
"componentId": {
|
|
591
|
+
"scope": "teambit.component",
|
|
592
|
+
"name": "issues"
|
|
593
|
+
}
|
|
488
594
|
}
|
|
489
595
|
]
|
|
490
596
|
},
|
|
@@ -496,7 +602,7 @@
|
|
|
496
602
|
"__schema": "InferenceTypeSchema",
|
|
497
603
|
"location": {
|
|
498
604
|
"filePath": "deprecation.main.runtime.ts",
|
|
499
|
-
"line":
|
|
605
|
+
"line": 151,
|
|
500
606
|
"character": 3
|
|
501
607
|
},
|
|
502
608
|
"type": "Promise<DeprecationMain>"
|
|
@@ -523,7 +629,7 @@
|
|
|
523
629
|
"__schema": "TypeSchema",
|
|
524
630
|
"location": {
|
|
525
631
|
"filePath": "deprecation.main.runtime.ts",
|
|
526
|
-
"line":
|
|
632
|
+
"line": 19,
|
|
527
633
|
"character": 1
|
|
528
634
|
},
|
|
529
635
|
"signature": "type DeprecationInfo = {\n isDeprecate: boolean;\n newId?: string | undefined;\n range?: string | undefined;\n}",
|
|
@@ -532,7 +638,7 @@
|
|
|
532
638
|
"__schema": "TypeLiteralSchema",
|
|
533
639
|
"location": {
|
|
534
640
|
"filePath": "deprecation.main.runtime.ts",
|
|
535
|
-
"line":
|
|
641
|
+
"line": 19,
|
|
536
642
|
"character": 31
|
|
537
643
|
},
|
|
538
644
|
"members": [
|
|
@@ -540,7 +646,7 @@
|
|
|
540
646
|
"__schema": "VariableLikeSchema",
|
|
541
647
|
"location": {
|
|
542
648
|
"filePath": "deprecation.main.runtime.ts",
|
|
543
|
-
"line":
|
|
649
|
+
"line": 20,
|
|
544
650
|
"character": 3
|
|
545
651
|
},
|
|
546
652
|
"signature": "(property) isDeprecate: boolean",
|
|
@@ -549,7 +655,7 @@
|
|
|
549
655
|
"__schema": "KeywordTypeSchema",
|
|
550
656
|
"location": {
|
|
551
657
|
"filePath": "deprecation.main.runtime.ts",
|
|
552
|
-
"line":
|
|
658
|
+
"line": 20,
|
|
553
659
|
"character": 16
|
|
554
660
|
},
|
|
555
661
|
"name": "boolean"
|
|
@@ -560,7 +666,7 @@
|
|
|
560
666
|
"__schema": "VariableLikeSchema",
|
|
561
667
|
"location": {
|
|
562
668
|
"filePath": "deprecation.main.runtime.ts",
|
|
563
|
-
"line":
|
|
669
|
+
"line": 21,
|
|
564
670
|
"character": 3
|
|
565
671
|
},
|
|
566
672
|
"signature": "(property) newId?: string | undefined",
|
|
@@ -569,7 +675,7 @@
|
|
|
569
675
|
"__schema": "KeywordTypeSchema",
|
|
570
676
|
"location": {
|
|
571
677
|
"filePath": "deprecation.main.runtime.ts",
|
|
572
|
-
"line":
|
|
678
|
+
"line": 21,
|
|
573
679
|
"character": 11
|
|
574
680
|
},
|
|
575
681
|
"name": "string"
|
|
@@ -580,7 +686,7 @@
|
|
|
580
686
|
"__schema": "VariableLikeSchema",
|
|
581
687
|
"location": {
|
|
582
688
|
"filePath": "deprecation.main.runtime.ts",
|
|
583
|
-
"line":
|
|
689
|
+
"line": 22,
|
|
584
690
|
"character": 3
|
|
585
691
|
},
|
|
586
692
|
"signature": "(property) range?: string | undefined",
|
|
@@ -589,7 +695,7 @@
|
|
|
589
695
|
"__schema": "KeywordTypeSchema",
|
|
590
696
|
"location": {
|
|
591
697
|
"filePath": "deprecation.main.runtime.ts",
|
|
592
|
-
"line":
|
|
698
|
+
"line": 22,
|
|
593
699
|
"character": 11
|
|
594
700
|
},
|
|
595
701
|
"name": "string"
|
|
@@ -612,7 +718,7 @@
|
|
|
612
718
|
"__schema": "TypeSchema",
|
|
613
719
|
"location": {
|
|
614
720
|
"filePath": "deprecation.main.runtime.ts",
|
|
615
|
-
"line":
|
|
721
|
+
"line": 25,
|
|
616
722
|
"character": 1
|
|
617
723
|
},
|
|
618
724
|
"signature": "type DeprecationMetadata = {\n deprecate?: boolean | undefined;\n newId?: ComponentIdObj | undefined;\n range?: string | undefined;\n}",
|
|
@@ -621,7 +727,7 @@
|
|
|
621
727
|
"__schema": "TypeLiteralSchema",
|
|
622
728
|
"location": {
|
|
623
729
|
"filePath": "deprecation.main.runtime.ts",
|
|
624
|
-
"line":
|
|
730
|
+
"line": 25,
|
|
625
731
|
"character": 35
|
|
626
732
|
},
|
|
627
733
|
"members": [
|
|
@@ -629,14 +735,14 @@
|
|
|
629
735
|
"__schema": "VariableLikeSchema",
|
|
630
736
|
"location": {
|
|
631
737
|
"filePath": "deprecation.main.runtime.ts",
|
|
632
|
-
"line":
|
|
738
|
+
"line": 29,
|
|
633
739
|
"character": 3
|
|
634
740
|
},
|
|
635
741
|
"doc": {
|
|
636
742
|
"__schema": "DocSchema",
|
|
637
743
|
"location": {
|
|
638
744
|
"filePath": "deprecation.main.runtime.ts",
|
|
639
|
-
"line":
|
|
745
|
+
"line": 26,
|
|
640
746
|
"character": 3
|
|
641
747
|
},
|
|
642
748
|
"raw": "/**\n * whether the head is deprecated\n */",
|
|
@@ -648,7 +754,7 @@
|
|
|
648
754
|
"__schema": "KeywordTypeSchema",
|
|
649
755
|
"location": {
|
|
650
756
|
"filePath": "deprecation.main.runtime.ts",
|
|
651
|
-
"line":
|
|
757
|
+
"line": 29,
|
|
652
758
|
"character": 15
|
|
653
759
|
},
|
|
654
760
|
"name": "boolean"
|
|
@@ -659,14 +765,14 @@
|
|
|
659
765
|
"__schema": "VariableLikeSchema",
|
|
660
766
|
"location": {
|
|
661
767
|
"filePath": "deprecation.main.runtime.ts",
|
|
662
|
-
"line":
|
|
768
|
+
"line": 33,
|
|
663
769
|
"character": 3
|
|
664
770
|
},
|
|
665
771
|
"doc": {
|
|
666
772
|
"__schema": "DocSchema",
|
|
667
773
|
"location": {
|
|
668
774
|
"filePath": "deprecation.main.runtime.ts",
|
|
669
|
-
"line":
|
|
775
|
+
"line": 30,
|
|
670
776
|
"character": 3
|
|
671
777
|
},
|
|
672
778
|
"raw": "/**\n * the new id to use instead of the current one\n */",
|
|
@@ -678,7 +784,7 @@
|
|
|
678
784
|
"__schema": "TypeRefSchema",
|
|
679
785
|
"location": {
|
|
680
786
|
"filePath": "deprecation.main.runtime.ts",
|
|
681
|
-
"line":
|
|
787
|
+
"line": 33,
|
|
682
788
|
"character": 11
|
|
683
789
|
},
|
|
684
790
|
"name": "ComponentIdObj",
|
|
@@ -694,14 +800,14 @@
|
|
|
694
800
|
"__schema": "VariableLikeSchema",
|
|
695
801
|
"location": {
|
|
696
802
|
"filePath": "deprecation.main.runtime.ts",
|
|
697
|
-
"line":
|
|
803
|
+
"line": 37,
|
|
698
804
|
"character": 3
|
|
699
805
|
},
|
|
700
806
|
"doc": {
|
|
701
807
|
"__schema": "DocSchema",
|
|
702
808
|
"location": {
|
|
703
809
|
"filePath": "deprecation.main.runtime.ts",
|
|
704
|
-
"line":
|
|
810
|
+
"line": 34,
|
|
705
811
|
"character": 3
|
|
706
812
|
},
|
|
707
813
|
"raw": "/**\n * Semver range to deprecate previous versions\n */",
|
|
@@ -713,7 +819,7 @@
|
|
|
713
819
|
"__schema": "KeywordTypeSchema",
|
|
714
820
|
"location": {
|
|
715
821
|
"filePath": "deprecation.main.runtime.ts",
|
|
716
|
-
"line":
|
|
822
|
+
"line": 37,
|
|
717
823
|
"character": 11
|
|
718
824
|
},
|
|
719
825
|
"name": "string"
|
|
@@ -811,7 +917,7 @@
|
|
|
811
917
|
"__schema": "TypeSchema",
|
|
812
918
|
"location": {
|
|
813
919
|
"filePath": "deprecation.main.runtime.ts",
|
|
814
|
-
"line":
|
|
920
|
+
"line": 19,
|
|
815
921
|
"character": 1
|
|
816
922
|
},
|
|
817
923
|
"signature": "type DeprecationInfo = {\n isDeprecate: boolean;\n newId?: string | undefined;\n range?: string | undefined;\n}",
|
|
@@ -820,7 +926,7 @@
|
|
|
820
926
|
"__schema": "TypeLiteralSchema",
|
|
821
927
|
"location": {
|
|
822
928
|
"filePath": "deprecation.main.runtime.ts",
|
|
823
|
-
"line":
|
|
929
|
+
"line": 19,
|
|
824
930
|
"character": 31
|
|
825
931
|
},
|
|
826
932
|
"members": [
|
|
@@ -828,7 +934,7 @@
|
|
|
828
934
|
"__schema": "VariableLikeSchema",
|
|
829
935
|
"location": {
|
|
830
936
|
"filePath": "deprecation.main.runtime.ts",
|
|
831
|
-
"line":
|
|
937
|
+
"line": 20,
|
|
832
938
|
"character": 3
|
|
833
939
|
},
|
|
834
940
|
"signature": "(property) isDeprecate: boolean",
|
|
@@ -837,7 +943,7 @@
|
|
|
837
943
|
"__schema": "KeywordTypeSchema",
|
|
838
944
|
"location": {
|
|
839
945
|
"filePath": "deprecation.main.runtime.ts",
|
|
840
|
-
"line":
|
|
946
|
+
"line": 20,
|
|
841
947
|
"character": 16
|
|
842
948
|
},
|
|
843
949
|
"name": "boolean"
|
|
@@ -848,7 +954,7 @@
|
|
|
848
954
|
"__schema": "VariableLikeSchema",
|
|
849
955
|
"location": {
|
|
850
956
|
"filePath": "deprecation.main.runtime.ts",
|
|
851
|
-
"line":
|
|
957
|
+
"line": 21,
|
|
852
958
|
"character": 3
|
|
853
959
|
},
|
|
854
960
|
"signature": "(property) newId?: string | undefined",
|
|
@@ -857,7 +963,7 @@
|
|
|
857
963
|
"__schema": "KeywordTypeSchema",
|
|
858
964
|
"location": {
|
|
859
965
|
"filePath": "deprecation.main.runtime.ts",
|
|
860
|
-
"line":
|
|
966
|
+
"line": 21,
|
|
861
967
|
"character": 11
|
|
862
968
|
},
|
|
863
969
|
"name": "string"
|
|
@@ -868,7 +974,7 @@
|
|
|
868
974
|
"__schema": "VariableLikeSchema",
|
|
869
975
|
"location": {
|
|
870
976
|
"filePath": "deprecation.main.runtime.ts",
|
|
871
|
-
"line":
|
|
977
|
+
"line": 22,
|
|
872
978
|
"character": 3
|
|
873
979
|
},
|
|
874
980
|
"signature": "(property) range?: string | undefined",
|
|
@@ -877,7 +983,7 @@
|
|
|
877
983
|
"__schema": "KeywordTypeSchema",
|
|
878
984
|
"location": {
|
|
879
985
|
"filePath": "deprecation.main.runtime.ts",
|
|
880
|
-
"line":
|
|
986
|
+
"line": 22,
|
|
881
987
|
"character": 11
|
|
882
988
|
},
|
|
883
989
|
"name": "string"
|
|
@@ -891,7 +997,7 @@
|
|
|
891
997
|
"__schema": "TypeSchema",
|
|
892
998
|
"location": {
|
|
893
999
|
"filePath": "deprecation.main.runtime.ts",
|
|
894
|
-
"line":
|
|
1000
|
+
"line": 25,
|
|
895
1001
|
"character": 1
|
|
896
1002
|
},
|
|
897
1003
|
"signature": "type DeprecationMetadata = {\n deprecate?: boolean | undefined;\n newId?: ComponentIdObj | undefined;\n range?: string | undefined;\n}",
|
|
@@ -900,7 +1006,7 @@
|
|
|
900
1006
|
"__schema": "TypeLiteralSchema",
|
|
901
1007
|
"location": {
|
|
902
1008
|
"filePath": "deprecation.main.runtime.ts",
|
|
903
|
-
"line":
|
|
1009
|
+
"line": 25,
|
|
904
1010
|
"character": 35
|
|
905
1011
|
},
|
|
906
1012
|
"members": [
|
|
@@ -908,14 +1014,14 @@
|
|
|
908
1014
|
"__schema": "VariableLikeSchema",
|
|
909
1015
|
"location": {
|
|
910
1016
|
"filePath": "deprecation.main.runtime.ts",
|
|
911
|
-
"line":
|
|
1017
|
+
"line": 29,
|
|
912
1018
|
"character": 3
|
|
913
1019
|
},
|
|
914
1020
|
"doc": {
|
|
915
1021
|
"__schema": "DocSchema",
|
|
916
1022
|
"location": {
|
|
917
1023
|
"filePath": "deprecation.main.runtime.ts",
|
|
918
|
-
"line":
|
|
1024
|
+
"line": 26,
|
|
919
1025
|
"character": 3
|
|
920
1026
|
},
|
|
921
1027
|
"raw": "/**\n * whether the head is deprecated\n */",
|
|
@@ -927,7 +1033,7 @@
|
|
|
927
1033
|
"__schema": "KeywordTypeSchema",
|
|
928
1034
|
"location": {
|
|
929
1035
|
"filePath": "deprecation.main.runtime.ts",
|
|
930
|
-
"line":
|
|
1036
|
+
"line": 29,
|
|
931
1037
|
"character": 15
|
|
932
1038
|
},
|
|
933
1039
|
"name": "boolean"
|
|
@@ -938,14 +1044,14 @@
|
|
|
938
1044
|
"__schema": "VariableLikeSchema",
|
|
939
1045
|
"location": {
|
|
940
1046
|
"filePath": "deprecation.main.runtime.ts",
|
|
941
|
-
"line":
|
|
1047
|
+
"line": 33,
|
|
942
1048
|
"character": 3
|
|
943
1049
|
},
|
|
944
1050
|
"doc": {
|
|
945
1051
|
"__schema": "DocSchema",
|
|
946
1052
|
"location": {
|
|
947
1053
|
"filePath": "deprecation.main.runtime.ts",
|
|
948
|
-
"line":
|
|
1054
|
+
"line": 30,
|
|
949
1055
|
"character": 3
|
|
950
1056
|
},
|
|
951
1057
|
"raw": "/**\n * the new id to use instead of the current one\n */",
|
|
@@ -957,7 +1063,7 @@
|
|
|
957
1063
|
"__schema": "TypeRefSchema",
|
|
958
1064
|
"location": {
|
|
959
1065
|
"filePath": "deprecation.main.runtime.ts",
|
|
960
|
-
"line":
|
|
1066
|
+
"line": 33,
|
|
961
1067
|
"character": 11
|
|
962
1068
|
},
|
|
963
1069
|
"name": "ComponentIdObj",
|
|
@@ -973,14 +1079,14 @@
|
|
|
973
1079
|
"__schema": "VariableLikeSchema",
|
|
974
1080
|
"location": {
|
|
975
1081
|
"filePath": "deprecation.main.runtime.ts",
|
|
976
|
-
"line":
|
|
1082
|
+
"line": 37,
|
|
977
1083
|
"character": 3
|
|
978
1084
|
},
|
|
979
1085
|
"doc": {
|
|
980
1086
|
"__schema": "DocSchema",
|
|
981
1087
|
"location": {
|
|
982
1088
|
"filePath": "deprecation.main.runtime.ts",
|
|
983
|
-
"line":
|
|
1089
|
+
"line": 34,
|
|
984
1090
|
"character": 3
|
|
985
1091
|
},
|
|
986
1092
|
"raw": "/**\n * Semver range to deprecate previous versions\n */",
|
|
@@ -992,7 +1098,7 @@
|
|
|
992
1098
|
"__schema": "KeywordTypeSchema",
|
|
993
1099
|
"location": {
|
|
994
1100
|
"filePath": "deprecation.main.runtime.ts",
|
|
995
|
-
"line":
|
|
1101
|
+
"line": 37,
|
|
996
1102
|
"character": 11
|
|
997
1103
|
},
|
|
998
1104
|
"name": "string"
|
|
@@ -1006,7 +1112,7 @@
|
|
|
1006
1112
|
"__schema": "ClassSchema",
|
|
1007
1113
|
"location": {
|
|
1008
1114
|
"filePath": "deprecation.main.runtime.ts",
|
|
1009
|
-
"line":
|
|
1115
|
+
"line": 40,
|
|
1010
1116
|
"character": 1
|
|
1011
1117
|
},
|
|
1012
1118
|
"signature": "class DeprecationMain",
|
|
@@ -1016,17 +1122,17 @@
|
|
|
1016
1122
|
"__schema": "ConstructorSchema",
|
|
1017
1123
|
"location": {
|
|
1018
1124
|
"filePath": "deprecation.main.runtime.ts",
|
|
1019
|
-
"line":
|
|
1125
|
+
"line": 41,
|
|
1020
1126
|
"character": 3
|
|
1021
1127
|
},
|
|
1022
|
-
"signature": "constructor DeprecationMain(scope: ScopeMain, workspace: Workspace): DeprecationMain",
|
|
1128
|
+
"signature": "constructor DeprecationMain(scope: ScopeMain, workspace: Workspace, depsResolver: DependencyResolverMain): DeprecationMain",
|
|
1023
1129
|
"name": "constructor",
|
|
1024
1130
|
"params": [
|
|
1025
1131
|
{
|
|
1026
1132
|
"__schema": "ParameterSchema",
|
|
1027
1133
|
"location": {
|
|
1028
1134
|
"filePath": "deprecation.main.runtime.ts",
|
|
1029
|
-
"line":
|
|
1135
|
+
"line": 41,
|
|
1030
1136
|
"character": 15
|
|
1031
1137
|
},
|
|
1032
1138
|
"name": "scope",
|
|
@@ -1034,7 +1140,7 @@
|
|
|
1034
1140
|
"__schema": "TypeRefSchema",
|
|
1035
1141
|
"location": {
|
|
1036
1142
|
"filePath": "deprecation.main.runtime.ts",
|
|
1037
|
-
"line":
|
|
1143
|
+
"line": 41,
|
|
1038
1144
|
"character": 30
|
|
1039
1145
|
},
|
|
1040
1146
|
"name": "ScopeMain",
|
|
@@ -1050,7 +1156,7 @@
|
|
|
1050
1156
|
"__schema": "ParameterSchema",
|
|
1051
1157
|
"location": {
|
|
1052
1158
|
"filePath": "deprecation.main.runtime.ts",
|
|
1053
|
-
"line":
|
|
1159
|
+
"line": 41,
|
|
1054
1160
|
"character": 41
|
|
1055
1161
|
},
|
|
1056
1162
|
"name": "workspace",
|
|
@@ -1058,7 +1164,7 @@
|
|
|
1058
1164
|
"__schema": "TypeRefSchema",
|
|
1059
1165
|
"location": {
|
|
1060
1166
|
"filePath": "deprecation.main.runtime.ts",
|
|
1061
|
-
"line":
|
|
1167
|
+
"line": 41,
|
|
1062
1168
|
"character": 60
|
|
1063
1169
|
},
|
|
1064
1170
|
"name": "Workspace",
|
|
@@ -1069,66 +1175,48 @@
|
|
|
1069
1175
|
},
|
|
1070
1176
|
"isOptional": false,
|
|
1071
1177
|
"isSpread": false
|
|
1178
|
+
},
|
|
1179
|
+
{
|
|
1180
|
+
"__schema": "ParameterSchema",
|
|
1181
|
+
"location": {
|
|
1182
|
+
"filePath": "deprecation.main.runtime.ts",
|
|
1183
|
+
"line": 41,
|
|
1184
|
+
"character": 71
|
|
1185
|
+
},
|
|
1186
|
+
"name": "depsResolver",
|
|
1187
|
+
"type": {
|
|
1188
|
+
"__schema": "TypeRefSchema",
|
|
1189
|
+
"location": {
|
|
1190
|
+
"filePath": "deprecation.main.runtime.ts",
|
|
1191
|
+
"line": 41,
|
|
1192
|
+
"character": 93
|
|
1193
|
+
},
|
|
1194
|
+
"name": "DependencyResolverMain",
|
|
1195
|
+
"componentId": {
|
|
1196
|
+
"scope": "teambit.dependencies",
|
|
1197
|
+
"name": "dependency-resolver"
|
|
1198
|
+
}
|
|
1199
|
+
},
|
|
1200
|
+
"isOptional": false,
|
|
1201
|
+
"isSpread": false
|
|
1072
1202
|
}
|
|
1073
1203
|
],
|
|
1074
1204
|
"returnType": {
|
|
1075
1205
|
"__schema": "ThisTypeSchema",
|
|
1076
1206
|
"location": {
|
|
1077
1207
|
"filePath": "deprecation.main.runtime.ts",
|
|
1078
|
-
"line":
|
|
1208
|
+
"line": 40,
|
|
1079
1209
|
"character": 1
|
|
1080
1210
|
},
|
|
1081
1211
|
"name": "DeprecationMain"
|
|
1082
1212
|
},
|
|
1083
1213
|
"modifiers": []
|
|
1084
1214
|
},
|
|
1085
|
-
{
|
|
1086
|
-
"__schema": "VariableLikeSchema",
|
|
1087
|
-
"location": {
|
|
1088
|
-
"filePath": "deprecation.main.runtime.ts",
|
|
1089
|
-
"line": 37,
|
|
1090
|
-
"character": 3
|
|
1091
|
-
},
|
|
1092
|
-
"signature": "(property) DeprecationMain.runtime: RuntimeDefinition",
|
|
1093
|
-
"name": "runtime",
|
|
1094
|
-
"type": {
|
|
1095
|
-
"__schema": "InferenceTypeSchema",
|
|
1096
|
-
"location": {
|
|
1097
|
-
"filePath": "deprecation.main.runtime.ts",
|
|
1098
|
-
"line": 37,
|
|
1099
|
-
"character": 3
|
|
1100
|
-
},
|
|
1101
|
-
"type": "RuntimeDefinition"
|
|
1102
|
-
},
|
|
1103
|
-
"isOptional": true,
|
|
1104
|
-
"defaultValue": "MainRuntime"
|
|
1105
|
-
},
|
|
1106
|
-
{
|
|
1107
|
-
"__schema": "VariableLikeSchema",
|
|
1108
|
-
"location": {
|
|
1109
|
-
"filePath": "deprecation.main.runtime.ts",
|
|
1110
|
-
"line": 38,
|
|
1111
|
-
"character": 3
|
|
1112
|
-
},
|
|
1113
|
-
"signature": "(property) DeprecationMain.dependencies: Aspect[]",
|
|
1114
|
-
"name": "dependencies",
|
|
1115
|
-
"type": {
|
|
1116
|
-
"__schema": "InferenceTypeSchema",
|
|
1117
|
-
"location": {
|
|
1118
|
-
"filePath": "deprecation.main.runtime.ts",
|
|
1119
|
-
"line": 38,
|
|
1120
|
-
"character": 3
|
|
1121
|
-
},
|
|
1122
|
-
"type": "Aspect[]"
|
|
1123
|
-
},
|
|
1124
|
-
"isOptional": true,
|
|
1125
|
-
"defaultValue": "[GraphqlAspect, ScopeAspect, ComponentAspect, WorkspaceAspect, CLIAspect]"
|
|
1126
|
-
},
|
|
1127
1215
|
{
|
|
1128
1216
|
"__schema": "FunctionLikeSchema",
|
|
1129
1217
|
"location": {
|
|
1130
1218
|
"filePath": "deprecation.main.runtime.ts",
|
|
1131
|
-
"line":
|
|
1219
|
+
"line": 43,
|
|
1132
1220
|
"character": 3
|
|
1133
1221
|
},
|
|
1134
1222
|
"signature": "(method) DeprecationMain.getDeprecationInfo(component: Component): Promise<DeprecationInfo>",
|
|
@@ -1138,7 +1226,7 @@
|
|
|
1138
1226
|
"__schema": "ParameterSchema",
|
|
1139
1227
|
"location": {
|
|
1140
1228
|
"filePath": "deprecation.main.runtime.ts",
|
|
1141
|
-
"line":
|
|
1229
|
+
"line": 43,
|
|
1142
1230
|
"character": 28
|
|
1143
1231
|
},
|
|
1144
1232
|
"name": "component",
|
|
@@ -1146,7 +1234,7 @@
|
|
|
1146
1234
|
"__schema": "TypeRefSchema",
|
|
1147
1235
|
"location": {
|
|
1148
1236
|
"filePath": "deprecation.main.runtime.ts",
|
|
1149
|
-
"line":
|
|
1237
|
+
"line": 43,
|
|
1150
1238
|
"character": 39
|
|
1151
1239
|
},
|
|
1152
1240
|
"name": "Component",
|
|
@@ -1163,7 +1251,7 @@
|
|
|
1163
1251
|
"__schema": "TypeRefSchema",
|
|
1164
1252
|
"location": {
|
|
1165
1253
|
"filePath": "deprecation.main.runtime.ts",
|
|
1166
|
-
"line":
|
|
1254
|
+
"line": 43,
|
|
1167
1255
|
"character": 51
|
|
1168
1256
|
},
|
|
1169
1257
|
"name": "Promise",
|
|
@@ -1172,7 +1260,7 @@
|
|
|
1172
1260
|
"__schema": "TypeRefSchema",
|
|
1173
1261
|
"location": {
|
|
1174
1262
|
"filePath": "deprecation.main.runtime.ts",
|
|
1175
|
-
"line":
|
|
1263
|
+
"line": 43,
|
|
1176
1264
|
"character": 59
|
|
1177
1265
|
},
|
|
1178
1266
|
"name": "DeprecationInfo"
|
|
@@ -1187,14 +1275,14 @@
|
|
|
1187
1275
|
"__schema": "FunctionLikeSchema",
|
|
1188
1276
|
"location": {
|
|
1189
1277
|
"filePath": "deprecation.main.runtime.ts",
|
|
1190
|
-
"line":
|
|
1278
|
+
"line": 85,
|
|
1191
1279
|
"character": 3
|
|
1192
1280
|
},
|
|
1193
1281
|
"doc": {
|
|
1194
1282
|
"__schema": "DocSchema",
|
|
1195
1283
|
"location": {
|
|
1196
1284
|
"filePath": "deprecation.main.runtime.ts",
|
|
1197
|
-
"line":
|
|
1285
|
+
"line": 77,
|
|
1198
1286
|
"character": 3
|
|
1199
1287
|
},
|
|
1200
1288
|
"raw": "/**\n * mark a component as deprecated. after this change, the component will be modified.\n * tag and export the component to have it deprecated on the remote.\n *\n * @param componentId\n * @param newId\n * @returns boolean whether or not the component has been deprecated\n */",
|
|
@@ -1204,7 +1292,7 @@
|
|
|
1204
1292
|
"__schema": "PropertyLikeTagSchema",
|
|
1205
1293
|
"location": {
|
|
1206
1294
|
"filePath": "deprecation.main.runtime.ts",
|
|
1207
|
-
"line":
|
|
1295
|
+
"line": 81,
|
|
1208
1296
|
"character": 6
|
|
1209
1297
|
},
|
|
1210
1298
|
"name": "componentId",
|
|
@@ -1214,7 +1302,7 @@
|
|
|
1214
1302
|
"__schema": "PropertyLikeTagSchema",
|
|
1215
1303
|
"location": {
|
|
1216
1304
|
"filePath": "deprecation.main.runtime.ts",
|
|
1217
|
-
"line":
|
|
1305
|
+
"line": 82,
|
|
1218
1306
|
"character": 6
|
|
1219
1307
|
},
|
|
1220
1308
|
"name": "newId",
|
|
@@ -1224,7 +1312,7 @@
|
|
|
1224
1312
|
"__schema": "ReturnTagSchema",
|
|
1225
1313
|
"location": {
|
|
1226
1314
|
"filePath": "deprecation.main.runtime.ts",
|
|
1227
|
-
"line":
|
|
1315
|
+
"line": 83,
|
|
1228
1316
|
"character": 6
|
|
1229
1317
|
},
|
|
1230
1318
|
"tagName": "return",
|
|
@@ -1239,7 +1327,7 @@
|
|
|
1239
1327
|
"__schema": "ParameterSchema",
|
|
1240
1328
|
"location": {
|
|
1241
1329
|
"filePath": "deprecation.main.runtime.ts",
|
|
1242
|
-
"line":
|
|
1330
|
+
"line": 85,
|
|
1243
1331
|
"character": 19
|
|
1244
1332
|
},
|
|
1245
1333
|
"name": "componentId",
|
|
@@ -1247,7 +1335,7 @@
|
|
|
1247
1335
|
"__schema": "TypeRefSchema",
|
|
1248
1336
|
"location": {
|
|
1249
1337
|
"filePath": "deprecation.main.runtime.ts",
|
|
1250
|
-
"line":
|
|
1338
|
+
"line": 85,
|
|
1251
1339
|
"character": 32
|
|
1252
1340
|
},
|
|
1253
1341
|
"name": "ComponentID",
|
|
@@ -1263,7 +1351,7 @@
|
|
|
1263
1351
|
"__schema": "ParameterSchema",
|
|
1264
1352
|
"location": {
|
|
1265
1353
|
"filePath": "deprecation.main.runtime.ts",
|
|
1266
|
-
"line":
|
|
1354
|
+
"line": 85,
|
|
1267
1355
|
"character": 45
|
|
1268
1356
|
},
|
|
1269
1357
|
"name": "newId",
|
|
@@ -1271,7 +1359,7 @@
|
|
|
1271
1359
|
"__schema": "TypeRefSchema",
|
|
1272
1360
|
"location": {
|
|
1273
1361
|
"filePath": "deprecation.main.runtime.ts",
|
|
1274
|
-
"line":
|
|
1362
|
+
"line": 85,
|
|
1275
1363
|
"character": 53
|
|
1276
1364
|
},
|
|
1277
1365
|
"name": "ComponentID",
|
|
@@ -1287,7 +1375,7 @@
|
|
|
1287
1375
|
"__schema": "ParameterSchema",
|
|
1288
1376
|
"location": {
|
|
1289
1377
|
"filePath": "deprecation.main.runtime.ts",
|
|
1290
|
-
"line":
|
|
1378
|
+
"line": 85,
|
|
1291
1379
|
"character": 66
|
|
1292
1380
|
},
|
|
1293
1381
|
"name": "range",
|
|
@@ -1295,7 +1383,7 @@
|
|
|
1295
1383
|
"__schema": "KeywordTypeSchema",
|
|
1296
1384
|
"location": {
|
|
1297
1385
|
"filePath": "deprecation.main.runtime.ts",
|
|
1298
|
-
"line":
|
|
1386
|
+
"line": 85,
|
|
1299
1387
|
"character": 74
|
|
1300
1388
|
},
|
|
1301
1389
|
"name": "string"
|
|
@@ -1308,7 +1396,7 @@
|
|
|
1308
1396
|
"__schema": "TypeRefSchema",
|
|
1309
1397
|
"location": {
|
|
1310
1398
|
"filePath": "deprecation.main.runtime.ts",
|
|
1311
|
-
"line":
|
|
1399
|
+
"line": 85,
|
|
1312
1400
|
"character": 83
|
|
1313
1401
|
},
|
|
1314
1402
|
"name": "Promise",
|
|
@@ -1317,7 +1405,7 @@
|
|
|
1317
1405
|
"__schema": "KeywordTypeSchema",
|
|
1318
1406
|
"location": {
|
|
1319
1407
|
"filePath": "deprecation.main.runtime.ts",
|
|
1320
|
-
"line":
|
|
1408
|
+
"line": 85,
|
|
1321
1409
|
"character": 91
|
|
1322
1410
|
},
|
|
1323
1411
|
"name": "boolean"
|
|
@@ -1332,7 +1420,7 @@
|
|
|
1332
1420
|
"__schema": "FunctionLikeSchema",
|
|
1333
1421
|
"location": {
|
|
1334
1422
|
"filePath": "deprecation.main.runtime.ts",
|
|
1335
|
-
"line":
|
|
1423
|
+
"line": 96,
|
|
1336
1424
|
"character": 3
|
|
1337
1425
|
},
|
|
1338
1426
|
"signature": "(method) DeprecationMain.unDeprecate(componentId: ComponentID): Promise<boolean>",
|
|
@@ -1342,7 +1430,7 @@
|
|
|
1342
1430
|
"__schema": "ParameterSchema",
|
|
1343
1431
|
"location": {
|
|
1344
1432
|
"filePath": "deprecation.main.runtime.ts",
|
|
1345
|
-
"line":
|
|
1433
|
+
"line": 96,
|
|
1346
1434
|
"character": 21
|
|
1347
1435
|
},
|
|
1348
1436
|
"name": "componentId",
|
|
@@ -1350,7 +1438,7 @@
|
|
|
1350
1438
|
"__schema": "TypeRefSchema",
|
|
1351
1439
|
"location": {
|
|
1352
1440
|
"filePath": "deprecation.main.runtime.ts",
|
|
1353
|
-
"line":
|
|
1441
|
+
"line": 96,
|
|
1354
1442
|
"character": 34
|
|
1355
1443
|
},
|
|
1356
1444
|
"name": "ComponentID",
|
|
@@ -1367,7 +1455,7 @@
|
|
|
1367
1455
|
"__schema": "InferenceTypeSchema",
|
|
1368
1456
|
"location": {
|
|
1369
1457
|
"filePath": "deprecation.main.runtime.ts",
|
|
1370
|
-
"line":
|
|
1458
|
+
"line": 96,
|
|
1371
1459
|
"character": 3
|
|
1372
1460
|
},
|
|
1373
1461
|
"type": "Promise<boolean>"
|
|
@@ -1380,33 +1468,131 @@
|
|
|
1380
1468
|
"__schema": "FunctionLikeSchema",
|
|
1381
1469
|
"location": {
|
|
1382
1470
|
"filePath": "deprecation.main.runtime.ts",
|
|
1383
|
-
"line":
|
|
1471
|
+
"line": 106,
|
|
1384
1472
|
"character": 3
|
|
1385
1473
|
},
|
|
1386
|
-
"signature": "(method) DeprecationMain.
|
|
1474
|
+
"signature": "(method) DeprecationMain.addDeprecatedDependenciesIssues(components: Component[]): Promise<void>",
|
|
1475
|
+
"name": "addDeprecatedDependenciesIssues",
|
|
1476
|
+
"params": [
|
|
1477
|
+
{
|
|
1478
|
+
"__schema": "ParameterSchema",
|
|
1479
|
+
"location": {
|
|
1480
|
+
"filePath": "deprecation.main.runtime.ts",
|
|
1481
|
+
"line": 106,
|
|
1482
|
+
"character": 41
|
|
1483
|
+
},
|
|
1484
|
+
"name": "components",
|
|
1485
|
+
"type": {
|
|
1486
|
+
"__schema": "TypeArraySchema",
|
|
1487
|
+
"location": {
|
|
1488
|
+
"filePath": "deprecation.main.runtime.ts",
|
|
1489
|
+
"line": 106,
|
|
1490
|
+
"character": 53
|
|
1491
|
+
},
|
|
1492
|
+
"type": {
|
|
1493
|
+
"__schema": "TypeRefSchema",
|
|
1494
|
+
"location": {
|
|
1495
|
+
"filePath": "deprecation.main.runtime.ts",
|
|
1496
|
+
"line": 106,
|
|
1497
|
+
"character": 53
|
|
1498
|
+
},
|
|
1499
|
+
"name": "Component",
|
|
1500
|
+
"componentId": {
|
|
1501
|
+
"scope": "teambit.component",
|
|
1502
|
+
"name": "component"
|
|
1503
|
+
}
|
|
1504
|
+
}
|
|
1505
|
+
},
|
|
1506
|
+
"isOptional": false,
|
|
1507
|
+
"isSpread": false
|
|
1508
|
+
}
|
|
1509
|
+
],
|
|
1510
|
+
"returnType": {
|
|
1511
|
+
"__schema": "InferenceTypeSchema",
|
|
1512
|
+
"location": {
|
|
1513
|
+
"filePath": "deprecation.main.runtime.ts",
|
|
1514
|
+
"line": 106,
|
|
1515
|
+
"character": 3
|
|
1516
|
+
},
|
|
1517
|
+
"type": "Promise<void>"
|
|
1518
|
+
},
|
|
1519
|
+
"modifiers": [
|
|
1520
|
+
"async"
|
|
1521
|
+
]
|
|
1522
|
+
},
|
|
1523
|
+
{
|
|
1524
|
+
"__schema": "VariableLikeSchema",
|
|
1525
|
+
"location": {
|
|
1526
|
+
"filePath": "deprecation.main.runtime.ts",
|
|
1527
|
+
"line": 141,
|
|
1528
|
+
"character": 3
|
|
1529
|
+
},
|
|
1530
|
+
"signature": "(property) DeprecationMain.runtime: RuntimeDefinition",
|
|
1531
|
+
"name": "runtime",
|
|
1532
|
+
"type": {
|
|
1533
|
+
"__schema": "InferenceTypeSchema",
|
|
1534
|
+
"location": {
|
|
1535
|
+
"filePath": "deprecation.main.runtime.ts",
|
|
1536
|
+
"line": 141,
|
|
1537
|
+
"character": 3
|
|
1538
|
+
},
|
|
1539
|
+
"type": "RuntimeDefinition"
|
|
1540
|
+
},
|
|
1541
|
+
"isOptional": true,
|
|
1542
|
+
"defaultValue": "MainRuntime"
|
|
1543
|
+
},
|
|
1544
|
+
{
|
|
1545
|
+
"__schema": "VariableLikeSchema",
|
|
1546
|
+
"location": {
|
|
1547
|
+
"filePath": "deprecation.main.runtime.ts",
|
|
1548
|
+
"line": 142,
|
|
1549
|
+
"character": 3
|
|
1550
|
+
},
|
|
1551
|
+
"signature": "(property) DeprecationMain.dependencies: Aspect[]",
|
|
1552
|
+
"name": "dependencies",
|
|
1553
|
+
"type": {
|
|
1554
|
+
"__schema": "InferenceTypeSchema",
|
|
1555
|
+
"location": {
|
|
1556
|
+
"filePath": "deprecation.main.runtime.ts",
|
|
1557
|
+
"line": 142,
|
|
1558
|
+
"character": 3
|
|
1559
|
+
},
|
|
1560
|
+
"type": "Aspect[]"
|
|
1561
|
+
},
|
|
1562
|
+
"isOptional": true,
|
|
1563
|
+
"defaultValue": "[\n GraphqlAspect,\n ScopeAspect,\n ComponentAspect,\n WorkspaceAspect,\n CLIAspect,\n DependencyResolverAspect,\n IssuesAspect,\n ]"
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
"__schema": "FunctionLikeSchema",
|
|
1567
|
+
"location": {
|
|
1568
|
+
"filePath": "deprecation.main.runtime.ts",
|
|
1569
|
+
"line": 151,
|
|
1570
|
+
"character": 3
|
|
1571
|
+
},
|
|
1572
|
+
"signature": "(method) DeprecationMain.provider([graphql, scope, componentAspect, workspace, cli, depsResolver, issues]: [\n GraphqlMain,\n ScopeMain,\n ComponentMain,\n Workspace,\n CLIMain,\n DependencyResolverMain,\n IssuesMain\n]): Promise<DeprecationMain>",
|
|
1387
1573
|
"name": "provider",
|
|
1388
1574
|
"params": [
|
|
1389
1575
|
{
|
|
1390
1576
|
"__schema": "ParameterSchema",
|
|
1391
1577
|
"location": {
|
|
1392
1578
|
"filePath": "deprecation.main.runtime.ts",
|
|
1393
|
-
"line":
|
|
1579
|
+
"line": 151,
|
|
1394
1580
|
"character": 25
|
|
1395
1581
|
},
|
|
1396
|
-
"name": "[ graphql, scope, componentAspect, workspace, cli ]",
|
|
1582
|
+
"name": "[ graphql, scope, componentAspect, workspace, cli, depsResolver, issues ]",
|
|
1397
1583
|
"type": {
|
|
1398
1584
|
"__schema": "TupleTypeSchema",
|
|
1399
1585
|
"location": {
|
|
1400
1586
|
"filePath": "deprecation.main.runtime.ts",
|
|
1401
|
-
"line":
|
|
1402
|
-
"character":
|
|
1587
|
+
"line": 151,
|
|
1588
|
+
"character": 98
|
|
1403
1589
|
},
|
|
1404
1590
|
"elements": [
|
|
1405
1591
|
{
|
|
1406
1592
|
"__schema": "TypeRefSchema",
|
|
1407
1593
|
"location": {
|
|
1408
1594
|
"filePath": "deprecation.main.runtime.ts",
|
|
1409
|
-
"line":
|
|
1595
|
+
"line": 152,
|
|
1410
1596
|
"character": 5
|
|
1411
1597
|
},
|
|
1412
1598
|
"name": "GraphqlMain",
|
|
@@ -1419,7 +1605,7 @@
|
|
|
1419
1605
|
"__schema": "TypeRefSchema",
|
|
1420
1606
|
"location": {
|
|
1421
1607
|
"filePath": "deprecation.main.runtime.ts",
|
|
1422
|
-
"line":
|
|
1608
|
+
"line": 153,
|
|
1423
1609
|
"character": 5
|
|
1424
1610
|
},
|
|
1425
1611
|
"name": "ScopeMain",
|
|
@@ -1432,7 +1618,7 @@
|
|
|
1432
1618
|
"__schema": "TypeRefSchema",
|
|
1433
1619
|
"location": {
|
|
1434
1620
|
"filePath": "deprecation.main.runtime.ts",
|
|
1435
|
-
"line":
|
|
1621
|
+
"line": 154,
|
|
1436
1622
|
"character": 5
|
|
1437
1623
|
},
|
|
1438
1624
|
"name": "ComponentMain",
|
|
@@ -1445,7 +1631,7 @@
|
|
|
1445
1631
|
"__schema": "TypeRefSchema",
|
|
1446
1632
|
"location": {
|
|
1447
1633
|
"filePath": "deprecation.main.runtime.ts",
|
|
1448
|
-
"line":
|
|
1634
|
+
"line": 155,
|
|
1449
1635
|
"character": 5
|
|
1450
1636
|
},
|
|
1451
1637
|
"name": "Workspace",
|
|
@@ -1458,7 +1644,7 @@
|
|
|
1458
1644
|
"__schema": "TypeRefSchema",
|
|
1459
1645
|
"location": {
|
|
1460
1646
|
"filePath": "deprecation.main.runtime.ts",
|
|
1461
|
-
"line":
|
|
1647
|
+
"line": 156,
|
|
1462
1648
|
"character": 5
|
|
1463
1649
|
},
|
|
1464
1650
|
"name": "CLIMain",
|
|
@@ -1466,6 +1652,32 @@
|
|
|
1466
1652
|
"scope": "teambit.harmony",
|
|
1467
1653
|
"name": "cli"
|
|
1468
1654
|
}
|
|
1655
|
+
},
|
|
1656
|
+
{
|
|
1657
|
+
"__schema": "TypeRefSchema",
|
|
1658
|
+
"location": {
|
|
1659
|
+
"filePath": "deprecation.main.runtime.ts",
|
|
1660
|
+
"line": 157,
|
|
1661
|
+
"character": 5
|
|
1662
|
+
},
|
|
1663
|
+
"name": "DependencyResolverMain",
|
|
1664
|
+
"componentId": {
|
|
1665
|
+
"scope": "teambit.dependencies",
|
|
1666
|
+
"name": "dependency-resolver"
|
|
1667
|
+
}
|
|
1668
|
+
},
|
|
1669
|
+
{
|
|
1670
|
+
"__schema": "TypeRefSchema",
|
|
1671
|
+
"location": {
|
|
1672
|
+
"filePath": "deprecation.main.runtime.ts",
|
|
1673
|
+
"line": 158,
|
|
1674
|
+
"character": 5
|
|
1675
|
+
},
|
|
1676
|
+
"name": "IssuesMain",
|
|
1677
|
+
"componentId": {
|
|
1678
|
+
"scope": "teambit.component",
|
|
1679
|
+
"name": "issues"
|
|
1680
|
+
}
|
|
1469
1681
|
}
|
|
1470
1682
|
]
|
|
1471
1683
|
},
|
|
@@ -1477,7 +1689,7 @@
|
|
|
1477
1689
|
"__schema": "InferenceTypeSchema",
|
|
1478
1690
|
"location": {
|
|
1479
1691
|
"filePath": "deprecation.main.runtime.ts",
|
|
1480
|
-
"line":
|
|
1692
|
+
"line": 151,
|
|
1481
1693
|
"character": 3
|
|
1482
1694
|
},
|
|
1483
1695
|
"type": "Promise<DeprecationMain>"
|
|
@@ -1497,7 +1709,7 @@
|
|
|
1497
1709
|
"__schema": "UnImplementedSchema",
|
|
1498
1710
|
"location": {
|
|
1499
1711
|
"filePath": "deprecation.main.runtime.ts",
|
|
1500
|
-
"line":
|
|
1712
|
+
"line": 170,
|
|
1501
1713
|
"character": 1
|
|
1502
1714
|
},
|
|
1503
1715
|
"name": "DeprecationAspect.addRuntime(DeprecationMain);",
|
|
@@ -1556,7 +1768,7 @@
|
|
|
1556
1768
|
"componentId": {
|
|
1557
1769
|
"scope": "teambit.component",
|
|
1558
1770
|
"name": "deprecation",
|
|
1559
|
-
"version": "1.0.
|
|
1771
|
+
"version": "1.0.270"
|
|
1560
1772
|
},
|
|
1561
1773
|
"taggedModuleExports": []
|
|
1562
1774
|
}
|