@teambit/aspect 0.0.964 → 0.0.966
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/env-template/public/{679.124d919fe3f5b23c2f36.js → 679.5a8fcc5aa9164df607e1.js} +2 -2
- package/artifacts/env-template/public/{10.f1accdf9062683dab4fc.js → 884.f1506b7b1ccf813dbde7.js} +2 -2
- package/artifacts/env-template/public/assets-manifest.json +12 -12
- package/artifacts/env-template/public/{compositions.844bd2bbb418520c6058.js → compositions.a724a557fe15453148fb.js} +1 -1
- package/artifacts/env-template/public/compositions.html +1 -1
- package/artifacts/env-template/public/{overview.1725e510d22c35e3e601.js → overview.c768b5c05f7f10965864.js} +1 -1
- package/artifacts/env-template/public/overview.html +1 -1
- package/artifacts/env-template/public/{peers.c36e1818a2de25448d07.js → peers.9b0b3a7aad16ab5dd97d.js} +1 -1
- package/artifacts/env-template/public/{preview-root.093cd6d1c0a92bf818b7.js → preview-root.0178bd8c2761429de605.js} +1 -1
- package/artifacts/preview/teambit_harmony_aspect-preview.js +2 -2
- package/artifacts/schema.json +2116 -78
- package/{compositions-1674098968766.js → compositions-1674531051110.js} +0 -0
- package/dist/{preview-1674098968766.js → preview-1674531051110.js} +2 -2
- package/{overview-1674098968766.js → overview-1674531051110.js} +0 -0
- package/package-tar/teambit-aspect-0.0.966.tgz +0 -0
- package/package.json +22 -22
- package/package-tar/teambit-aspect-0.0.964.tgz +0 -0
package/artifacts/schema.json
CHANGED
|
@@ -32,7 +32,9 @@
|
|
|
32
32
|
"line": 36,
|
|
33
33
|
"character": 3
|
|
34
34
|
},
|
|
35
|
+
"name": "constructor",
|
|
35
36
|
"signature": "constructor AspectMain(aspectEnv: AspectEnv, envs: EnvsMain, workspace: Workspace): AspectMain",
|
|
37
|
+
"modifiers": [],
|
|
36
38
|
"params": [
|
|
37
39
|
{
|
|
38
40
|
"__schema": "ParameterSchema",
|
|
@@ -72,8 +74,7 @@
|
|
|
72
74
|
"name": "EnvsMain",
|
|
73
75
|
"componentId": {
|
|
74
76
|
"scope": "teambit.envs",
|
|
75
|
-
"name": "envs"
|
|
76
|
-
"version": "0.0.964"
|
|
77
|
+
"name": "envs"
|
|
77
78
|
}
|
|
78
79
|
}
|
|
79
80
|
},
|
|
@@ -96,12 +97,19 @@
|
|
|
96
97
|
"name": "Workspace",
|
|
97
98
|
"componentId": {
|
|
98
99
|
"scope": "teambit.workspace",
|
|
99
|
-
"name": "workspace"
|
|
100
|
-
"version": "0.0.964"
|
|
100
|
+
"name": "workspace"
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
]
|
|
104
|
+
],
|
|
105
|
+
"returnType": {
|
|
106
|
+
"__schema": "ThisTypeSchema",
|
|
107
|
+
"location": {
|
|
108
|
+
"filePath": "aspect.main.runtime.ts",
|
|
109
|
+
"line": 35,
|
|
110
|
+
"character": 1
|
|
111
|
+
}
|
|
112
|
+
}
|
|
105
113
|
},
|
|
106
114
|
{
|
|
107
115
|
"__schema": "FunctionLikeSchema",
|
|
@@ -141,8 +149,7 @@
|
|
|
141
149
|
"name": "EnvTransformer",
|
|
142
150
|
"componentId": {
|
|
143
151
|
"scope": "teambit.envs",
|
|
144
|
-
"name": "envs"
|
|
145
|
-
"version": "0.0.964"
|
|
152
|
+
"name": "envs"
|
|
146
153
|
}
|
|
147
154
|
}
|
|
148
155
|
}
|
|
@@ -167,8 +174,7 @@
|
|
|
167
174
|
"name": "Environment",
|
|
168
175
|
"componentId": {
|
|
169
176
|
"scope": "teambit.envs",
|
|
170
|
-
"name": "envs"
|
|
171
|
-
"version": "0.0.964"
|
|
177
|
+
"name": "envs"
|
|
172
178
|
}
|
|
173
179
|
}
|
|
174
180
|
}
|
|
@@ -183,8 +189,7 @@
|
|
|
183
189
|
"name": "Environment",
|
|
184
190
|
"componentId": {
|
|
185
191
|
"scope": "teambit.envs",
|
|
186
|
-
"name": "envs"
|
|
187
|
-
"version": "0.0.964"
|
|
192
|
+
"name": "envs"
|
|
188
193
|
}
|
|
189
194
|
},
|
|
190
195
|
"doc": {
|
|
@@ -250,12 +255,15 @@
|
|
|
250
255
|
},
|
|
251
256
|
"members": [
|
|
252
257
|
{
|
|
253
|
-
"__schema": "
|
|
258
|
+
"__schema": "FunctionLikeSchema",
|
|
254
259
|
"location": {
|
|
255
260
|
"filePath": "aspect.main.runtime.ts",
|
|
256
261
|
"line": 45,
|
|
257
262
|
"character": 61
|
|
258
263
|
},
|
|
264
|
+
"name": "",
|
|
265
|
+
"signature": "",
|
|
266
|
+
"modifiers": [],
|
|
259
267
|
"params": [
|
|
260
268
|
{
|
|
261
269
|
"__schema": "ParameterSchema",
|
|
@@ -277,7 +285,7 @@
|
|
|
277
285
|
}
|
|
278
286
|
}
|
|
279
287
|
],
|
|
280
|
-
"
|
|
288
|
+
"returnType": {
|
|
281
289
|
"__schema": "TypeArraySchema",
|
|
282
290
|
"location": {
|
|
283
291
|
"filePath": "aspect.main.runtime.ts",
|
|
@@ -285,14 +293,14 @@
|
|
|
285
293
|
"character": 82
|
|
286
294
|
},
|
|
287
295
|
"type": {
|
|
288
|
-
"__schema": "
|
|
296
|
+
"__schema": "TypeRefSchema",
|
|
289
297
|
"location": {
|
|
290
298
|
"filePath": "aspect.main.runtime.ts",
|
|
291
299
|
"line": 45,
|
|
292
300
|
"character": 82
|
|
293
301
|
},
|
|
294
|
-
"
|
|
295
|
-
"
|
|
302
|
+
"name": "AspectSource",
|
|
303
|
+
"internalFilePath": "aspect.main.runtime.ts"
|
|
296
304
|
}
|
|
297
305
|
}
|
|
298
306
|
}
|
|
@@ -423,14 +431,14 @@
|
|
|
423
431
|
"isOptional": false,
|
|
424
432
|
"defaultValue": "{}",
|
|
425
433
|
"type": {
|
|
426
|
-
"__schema": "
|
|
434
|
+
"__schema": "TypeRefSchema",
|
|
427
435
|
"location": {
|
|
428
436
|
"filePath": "aspect.main.runtime.ts",
|
|
429
437
|
"line": 95,
|
|
430
438
|
"character": 14
|
|
431
439
|
},
|
|
432
|
-
"
|
|
433
|
-
"
|
|
440
|
+
"name": "SetAspectOptions",
|
|
441
|
+
"internalFilePath": "aspect.cmd.ts"
|
|
434
442
|
}
|
|
435
443
|
}
|
|
436
444
|
],
|
|
@@ -633,8 +641,7 @@
|
|
|
633
641
|
"name": "AspectList",
|
|
634
642
|
"componentId": {
|
|
635
643
|
"scope": "teambit.component",
|
|
636
|
-
"name": "component"
|
|
637
|
-
"version": "0.0.964"
|
|
644
|
+
"name": "component"
|
|
638
645
|
}
|
|
639
646
|
}
|
|
640
647
|
]
|
|
@@ -898,8 +905,7 @@
|
|
|
898
905
|
"name": "EnvPolicyConfigObject",
|
|
899
906
|
"componentId": {
|
|
900
907
|
"scope": "teambit.dependencies",
|
|
901
|
-
"name": "dependency-resolver"
|
|
902
|
-
"version": "0.0.964"
|
|
908
|
+
"name": "dependency-resolver"
|
|
903
909
|
}
|
|
904
910
|
}
|
|
905
911
|
}
|
|
@@ -914,8 +920,7 @@
|
|
|
914
920
|
"name": "EnvTransformer",
|
|
915
921
|
"componentId": {
|
|
916
922
|
"scope": "teambit.envs",
|
|
917
|
-
"name": "envs"
|
|
918
|
-
"version": "0.0.964"
|
|
923
|
+
"name": "envs"
|
|
919
924
|
}
|
|
920
925
|
},
|
|
921
926
|
"doc": {
|
|
@@ -1010,8 +1015,7 @@
|
|
|
1010
1015
|
"name": "ReactMain",
|
|
1011
1016
|
"componentId": {
|
|
1012
1017
|
"scope": "teambit.react",
|
|
1013
|
-
"name": "react"
|
|
1014
|
-
"version": "0.0.964"
|
|
1018
|
+
"name": "react"
|
|
1015
1019
|
}
|
|
1016
1020
|
},
|
|
1017
1021
|
{
|
|
@@ -1024,8 +1028,7 @@
|
|
|
1024
1028
|
"name": "EnvsMain",
|
|
1025
1029
|
"componentId": {
|
|
1026
1030
|
"scope": "teambit.envs",
|
|
1027
|
-
"name": "envs"
|
|
1028
|
-
"version": "0.0.964"
|
|
1031
|
+
"name": "envs"
|
|
1029
1032
|
}
|
|
1030
1033
|
},
|
|
1031
1034
|
{
|
|
@@ -1038,8 +1041,7 @@
|
|
|
1038
1041
|
"name": "BuilderMain",
|
|
1039
1042
|
"componentId": {
|
|
1040
1043
|
"scope": "teambit.pipelines",
|
|
1041
|
-
"name": "builder"
|
|
1042
|
-
"version": "0.0.964"
|
|
1044
|
+
"name": "builder"
|
|
1043
1045
|
}
|
|
1044
1046
|
},
|
|
1045
1047
|
{
|
|
@@ -1052,8 +1054,7 @@
|
|
|
1052
1054
|
"name": "AspectLoaderMain",
|
|
1053
1055
|
"componentId": {
|
|
1054
1056
|
"scope": "teambit.harmony",
|
|
1055
|
-
"name": "aspect-loader"
|
|
1056
|
-
"version": "0.0.964"
|
|
1057
|
+
"name": "aspect-loader"
|
|
1057
1058
|
}
|
|
1058
1059
|
},
|
|
1059
1060
|
{
|
|
@@ -1066,8 +1067,7 @@
|
|
|
1066
1067
|
"name": "CompilerMain",
|
|
1067
1068
|
"componentId": {
|
|
1068
1069
|
"scope": "teambit.compilation",
|
|
1069
|
-
"name": "compiler"
|
|
1070
|
-
"version": "0.0.964"
|
|
1070
|
+
"name": "compiler"
|
|
1071
1071
|
}
|
|
1072
1072
|
},
|
|
1073
1073
|
{
|
|
@@ -1080,8 +1080,7 @@
|
|
|
1080
1080
|
"name": "BabelMain",
|
|
1081
1081
|
"componentId": {
|
|
1082
1082
|
"scope": "teambit.compilation",
|
|
1083
|
-
"name": "babel"
|
|
1084
|
-
"version": "0.0.964"
|
|
1083
|
+
"name": "babel"
|
|
1085
1084
|
}
|
|
1086
1085
|
},
|
|
1087
1086
|
{
|
|
@@ -1094,8 +1093,7 @@
|
|
|
1094
1093
|
"name": "GeneratorMain",
|
|
1095
1094
|
"componentId": {
|
|
1096
1095
|
"scope": "teambit.generator",
|
|
1097
|
-
"name": "generator"
|
|
1098
|
-
"version": "0.0.964"
|
|
1096
|
+
"name": "generator"
|
|
1099
1097
|
}
|
|
1100
1098
|
},
|
|
1101
1099
|
{
|
|
@@ -1108,8 +1106,7 @@
|
|
|
1108
1106
|
"name": "Workspace",
|
|
1109
1107
|
"componentId": {
|
|
1110
1108
|
"scope": "teambit.workspace",
|
|
1111
|
-
"name": "workspace"
|
|
1112
|
-
"version": "0.0.964"
|
|
1109
|
+
"name": "workspace"
|
|
1113
1110
|
}
|
|
1114
1111
|
},
|
|
1115
1112
|
{
|
|
@@ -1122,8 +1119,7 @@
|
|
|
1122
1119
|
"name": "CLIMain",
|
|
1123
1120
|
"componentId": {
|
|
1124
1121
|
"scope": "teambit.harmony",
|
|
1125
|
-
"name": "cli"
|
|
1126
|
-
"version": "0.0.647"
|
|
1122
|
+
"name": "cli"
|
|
1127
1123
|
}
|
|
1128
1124
|
}
|
|
1129
1125
|
]
|
|
@@ -1223,7 +1219,7 @@
|
|
|
1223
1219
|
"componentId": {
|
|
1224
1220
|
"scope": "teambit.harmony",
|
|
1225
1221
|
"name": "aspect",
|
|
1226
|
-
"version": "0.0.
|
|
1222
|
+
"version": "0.0.966"
|
|
1227
1223
|
}
|
|
1228
1224
|
}
|
|
1229
1225
|
},
|
|
@@ -1247,7 +1243,7 @@
|
|
|
1247
1243
|
"componentId": {
|
|
1248
1244
|
"scope": "teambit.harmony",
|
|
1249
1245
|
"name": "aspect",
|
|
1250
|
-
"version": "0.0.
|
|
1246
|
+
"version": "0.0.966"
|
|
1251
1247
|
}
|
|
1252
1248
|
}
|
|
1253
1249
|
},
|
|
@@ -1271,7 +1267,7 @@
|
|
|
1271
1267
|
"componentId": {
|
|
1272
1268
|
"scope": "teambit.harmony",
|
|
1273
1269
|
"name": "aspect",
|
|
1274
|
-
"version": "0.0.
|
|
1270
|
+
"version": "0.0.966"
|
|
1275
1271
|
}
|
|
1276
1272
|
}
|
|
1277
1273
|
}
|
|
@@ -1284,7 +1280,9 @@
|
|
|
1284
1280
|
"line": 22,
|
|
1285
1281
|
"character": 3
|
|
1286
1282
|
},
|
|
1283
|
+
"name": "constructor",
|
|
1287
1284
|
"signature": "constructor AspectEnv(reactEnv: ReactEnv, aspectLoader: AspectLoaderMain): AspectEnv",
|
|
1285
|
+
"modifiers": [],
|
|
1288
1286
|
"params": [
|
|
1289
1287
|
{
|
|
1290
1288
|
"__schema": "ParameterSchema",
|
|
@@ -1305,8 +1303,7 @@
|
|
|
1305
1303
|
"name": "ReactEnv",
|
|
1306
1304
|
"componentId": {
|
|
1307
1305
|
"scope": "teambit.react",
|
|
1308
|
-
"name": "react"
|
|
1309
|
-
"version": "0.0.964"
|
|
1306
|
+
"name": "react"
|
|
1310
1307
|
}
|
|
1311
1308
|
}
|
|
1312
1309
|
},
|
|
@@ -1329,12 +1326,19 @@
|
|
|
1329
1326
|
"name": "AspectLoaderMain",
|
|
1330
1327
|
"componentId": {
|
|
1331
1328
|
"scope": "teambit.harmony",
|
|
1332
|
-
"name": "aspect-loader"
|
|
1333
|
-
"version": "0.0.964"
|
|
1329
|
+
"name": "aspect-loader"
|
|
1334
1330
|
}
|
|
1335
1331
|
}
|
|
1336
1332
|
}
|
|
1337
|
-
]
|
|
1333
|
+
],
|
|
1334
|
+
"returnType": {
|
|
1335
|
+
"__schema": "ThisTypeSchema",
|
|
1336
|
+
"location": {
|
|
1337
|
+
"filePath": "aspect.env.ts",
|
|
1338
|
+
"line": 21,
|
|
1339
|
+
"character": 1
|
|
1340
|
+
}
|
|
1341
|
+
}
|
|
1338
1342
|
},
|
|
1339
1343
|
{
|
|
1340
1344
|
"__schema": "VariableLikeSchema",
|
|
@@ -1407,7 +1411,7 @@
|
|
|
1407
1411
|
"character": 25
|
|
1408
1412
|
},
|
|
1409
1413
|
"name": "TsConfigSourceFile",
|
|
1410
|
-
"packageName": ""
|
|
1414
|
+
"packageName": "typescript"
|
|
1411
1415
|
}
|
|
1412
1416
|
}
|
|
1413
1417
|
],
|
|
@@ -1449,7 +1453,7 @@
|
|
|
1449
1453
|
"character": 30
|
|
1450
1454
|
},
|
|
1451
1455
|
"name": "TsConfigSourceFile",
|
|
1452
|
-
"packageName": ""
|
|
1456
|
+
"packageName": "typescript"
|
|
1453
1457
|
}
|
|
1454
1458
|
}
|
|
1455
1459
|
],
|
|
@@ -1458,13 +1462,12 @@
|
|
|
1458
1462
|
"location": {
|
|
1459
1463
|
"filePath": "aspect.env.ts",
|
|
1460
1464
|
"line": 39,
|
|
1461
|
-
"character":
|
|
1465
|
+
"character": 3
|
|
1462
1466
|
},
|
|
1463
1467
|
"name": "Compiler",
|
|
1464
1468
|
"componentId": {
|
|
1465
1469
|
"scope": "teambit.compilation",
|
|
1466
|
-
"name": "compiler"
|
|
1467
|
-
"version": "0.0.964"
|
|
1470
|
+
"name": "compiler"
|
|
1468
1471
|
}
|
|
1469
1472
|
}
|
|
1470
1473
|
},
|
|
@@ -1523,13 +1526,12 @@
|
|
|
1523
1526
|
"location": {
|
|
1524
1527
|
"filePath": "aspect.env.ts",
|
|
1525
1528
|
"line": 46,
|
|
1526
|
-
"character":
|
|
1529
|
+
"character": 3
|
|
1527
1530
|
},
|
|
1528
1531
|
"name": "Tester",
|
|
1529
1532
|
"componentId": {
|
|
1530
1533
|
"scope": "teambit.defender",
|
|
1531
|
-
"name": "tester"
|
|
1532
|
-
"version": "0.0.964"
|
|
1534
|
+
"name": "tester"
|
|
1533
1535
|
}
|
|
1534
1536
|
},
|
|
1535
1537
|
"doc": {
|
|
@@ -1575,8 +1577,7 @@
|
|
|
1575
1577
|
"name": "BundlerContext",
|
|
1576
1578
|
"componentId": {
|
|
1577
1579
|
"scope": "teambit.compilation",
|
|
1578
|
-
"name": "bundler"
|
|
1579
|
-
"version": "0.0.964"
|
|
1580
|
+
"name": "bundler"
|
|
1580
1581
|
}
|
|
1581
1582
|
}
|
|
1582
1583
|
},
|
|
@@ -1607,8 +1608,7 @@
|
|
|
1607
1608
|
"name": "WebpackConfigTransformer",
|
|
1608
1609
|
"componentId": {
|
|
1609
1610
|
"scope": "teambit.webpack",
|
|
1610
|
-
"name": "webpack"
|
|
1611
|
-
"version": "0.0.964"
|
|
1611
|
+
"name": "webpack"
|
|
1612
1612
|
}
|
|
1613
1613
|
}
|
|
1614
1614
|
}
|
|
@@ -1634,8 +1634,7 @@
|
|
|
1634
1634
|
"name": "Bundler",
|
|
1635
1635
|
"componentId": {
|
|
1636
1636
|
"scope": "teambit.compilation",
|
|
1637
|
-
"name": "bundler"
|
|
1638
|
-
"version": "0.0.964"
|
|
1637
|
+
"name": "bundler"
|
|
1639
1638
|
}
|
|
1640
1639
|
}
|
|
1641
1640
|
]
|
|
@@ -1673,8 +1672,7 @@
|
|
|
1673
1672
|
"name": "BundlerContext",
|
|
1674
1673
|
"componentId": {
|
|
1675
1674
|
"scope": "teambit.compilation",
|
|
1676
|
-
"name": "bundler"
|
|
1677
|
-
"version": "0.0.964"
|
|
1675
|
+
"name": "bundler"
|
|
1678
1676
|
}
|
|
1679
1677
|
}
|
|
1680
1678
|
},
|
|
@@ -1705,8 +1703,7 @@
|
|
|
1705
1703
|
"name": "WebpackConfigTransformer",
|
|
1706
1704
|
"componentId": {
|
|
1707
1705
|
"scope": "teambit.webpack",
|
|
1708
|
-
"name": "webpack"
|
|
1709
|
-
"version": "0.0.964"
|
|
1706
|
+
"name": "webpack"
|
|
1710
1707
|
}
|
|
1711
1708
|
}
|
|
1712
1709
|
}
|
|
@@ -1732,8 +1729,7 @@
|
|
|
1732
1729
|
"name": "Bundler",
|
|
1733
1730
|
"componentId": {
|
|
1734
1731
|
"scope": "teambit.compilation",
|
|
1735
|
-
"name": "bundler"
|
|
1736
|
-
"version": "0.0.964"
|
|
1732
|
+
"name": "bundler"
|
|
1737
1733
|
}
|
|
1738
1734
|
}
|
|
1739
1735
|
]
|
|
@@ -1755,13 +1751,12 @@
|
|
|
1755
1751
|
"location": {
|
|
1756
1752
|
"filePath": "aspect.env.ts",
|
|
1757
1753
|
"line": 62,
|
|
1758
|
-
"character":
|
|
1754
|
+
"character": 3
|
|
1759
1755
|
},
|
|
1760
1756
|
"name": "PackageJsonProps",
|
|
1761
1757
|
"componentId": {
|
|
1762
1758
|
"scope": "teambit.pkg",
|
|
1763
|
-
"name": "pkg"
|
|
1764
|
-
"version": "0.0.964"
|
|
1759
|
+
"name": "pkg"
|
|
1765
1760
|
}
|
|
1766
1761
|
}
|
|
1767
1762
|
},
|
|
@@ -1795,8 +1790,7 @@
|
|
|
1795
1790
|
"name": "GetNpmIgnoreContext",
|
|
1796
1791
|
"componentId": {
|
|
1797
1792
|
"scope": "teambit.envs",
|
|
1798
|
-
"name": "envs"
|
|
1799
|
-
"version": "0.0.964"
|
|
1793
|
+
"name": "envs"
|
|
1800
1794
|
}
|
|
1801
1795
|
}
|
|
1802
1796
|
}
|
|
@@ -1868,11 +1862,2055 @@
|
|
|
1868
1862
|
"comment": "a component environment built for Aspects ."
|
|
1869
1863
|
}
|
|
1870
1864
|
}
|
|
1871
|
-
]
|
|
1865
|
+
],
|
|
1866
|
+
"internals": []
|
|
1872
1867
|
},
|
|
1868
|
+
"internals": [
|
|
1869
|
+
{
|
|
1870
|
+
"__schema": "ModuleSchema",
|
|
1871
|
+
"location": {
|
|
1872
|
+
"filePath": "aspect.main.runtime.ts",
|
|
1873
|
+
"line": 1,
|
|
1874
|
+
"character": 1
|
|
1875
|
+
},
|
|
1876
|
+
"exports": [
|
|
1877
|
+
{
|
|
1878
|
+
"__schema": "TypeSchema",
|
|
1879
|
+
"location": {
|
|
1880
|
+
"filePath": "aspect.main.runtime.ts",
|
|
1881
|
+
"line": 31,
|
|
1882
|
+
"character": 1
|
|
1883
|
+
},
|
|
1884
|
+
"name": "AspectSource",
|
|
1885
|
+
"signature": "type AspectSource = {\n aspectName: string;\n source: string;\n level: string;\n}",
|
|
1886
|
+
"type": {
|
|
1887
|
+
"__schema": "TypeLiteralSchema",
|
|
1888
|
+
"location": {
|
|
1889
|
+
"filePath": "aspect.main.runtime.ts",
|
|
1890
|
+
"line": 31,
|
|
1891
|
+
"character": 28
|
|
1892
|
+
},
|
|
1893
|
+
"members": [
|
|
1894
|
+
{
|
|
1895
|
+
"__schema": "VariableLikeSchema",
|
|
1896
|
+
"location": {
|
|
1897
|
+
"filePath": "aspect.main.runtime.ts",
|
|
1898
|
+
"line": 31,
|
|
1899
|
+
"character": 30
|
|
1900
|
+
},
|
|
1901
|
+
"name": "aspectName",
|
|
1902
|
+
"signature": "(property) aspectName: string",
|
|
1903
|
+
"isOptional": false,
|
|
1904
|
+
"type": {
|
|
1905
|
+
"__schema": "KeywordTypeSchema",
|
|
1906
|
+
"location": {
|
|
1907
|
+
"filePath": "aspect.main.runtime.ts",
|
|
1908
|
+
"line": 31,
|
|
1909
|
+
"character": 42
|
|
1910
|
+
},
|
|
1911
|
+
"name": "string"
|
|
1912
|
+
}
|
|
1913
|
+
},
|
|
1914
|
+
{
|
|
1915
|
+
"__schema": "VariableLikeSchema",
|
|
1916
|
+
"location": {
|
|
1917
|
+
"filePath": "aspect.main.runtime.ts",
|
|
1918
|
+
"line": 31,
|
|
1919
|
+
"character": 50
|
|
1920
|
+
},
|
|
1921
|
+
"name": "source",
|
|
1922
|
+
"signature": "(property) source: string",
|
|
1923
|
+
"isOptional": false,
|
|
1924
|
+
"type": {
|
|
1925
|
+
"__schema": "KeywordTypeSchema",
|
|
1926
|
+
"location": {
|
|
1927
|
+
"filePath": "aspect.main.runtime.ts",
|
|
1928
|
+
"line": 31,
|
|
1929
|
+
"character": 58
|
|
1930
|
+
},
|
|
1931
|
+
"name": "string"
|
|
1932
|
+
}
|
|
1933
|
+
},
|
|
1934
|
+
{
|
|
1935
|
+
"__schema": "VariableLikeSchema",
|
|
1936
|
+
"location": {
|
|
1937
|
+
"filePath": "aspect.main.runtime.ts",
|
|
1938
|
+
"line": 31,
|
|
1939
|
+
"character": 66
|
|
1940
|
+
},
|
|
1941
|
+
"name": "level",
|
|
1942
|
+
"signature": "(property) level: string",
|
|
1943
|
+
"isOptional": false,
|
|
1944
|
+
"type": {
|
|
1945
|
+
"__schema": "KeywordTypeSchema",
|
|
1946
|
+
"location": {
|
|
1947
|
+
"filePath": "aspect.main.runtime.ts",
|
|
1948
|
+
"line": 31,
|
|
1949
|
+
"character": 73
|
|
1950
|
+
},
|
|
1951
|
+
"name": "string"
|
|
1952
|
+
}
|
|
1953
|
+
}
|
|
1954
|
+
]
|
|
1955
|
+
}
|
|
1956
|
+
},
|
|
1957
|
+
{
|
|
1958
|
+
"__schema": "ClassSchema",
|
|
1959
|
+
"name": "AspectMain",
|
|
1960
|
+
"location": {
|
|
1961
|
+
"filePath": "aspect.main.runtime.ts",
|
|
1962
|
+
"line": 35,
|
|
1963
|
+
"character": 1
|
|
1964
|
+
},
|
|
1965
|
+
"signature": "class AspectMain",
|
|
1966
|
+
"extendsNodes": [],
|
|
1967
|
+
"implementNodes": [],
|
|
1968
|
+
"members": [
|
|
1969
|
+
{
|
|
1970
|
+
"__schema": "ConstructorSchema",
|
|
1971
|
+
"location": {
|
|
1972
|
+
"filePath": "aspect.main.runtime.ts",
|
|
1973
|
+
"line": 36,
|
|
1974
|
+
"character": 3
|
|
1975
|
+
},
|
|
1976
|
+
"name": "constructor",
|
|
1977
|
+
"signature": "constructor AspectMain(aspectEnv: AspectEnv, envs: EnvsMain, workspace: Workspace): AspectMain",
|
|
1978
|
+
"modifiers": [],
|
|
1979
|
+
"params": [
|
|
1980
|
+
{
|
|
1981
|
+
"__schema": "ParameterSchema",
|
|
1982
|
+
"location": {
|
|
1983
|
+
"filePath": "aspect.main.runtime.ts",
|
|
1984
|
+
"line": 36,
|
|
1985
|
+
"character": 15
|
|
1986
|
+
},
|
|
1987
|
+
"name": "aspectEnv",
|
|
1988
|
+
"isOptional": false,
|
|
1989
|
+
"type": {
|
|
1990
|
+
"__schema": "TypeRefSchema",
|
|
1991
|
+
"location": {
|
|
1992
|
+
"filePath": "aspect.main.runtime.ts",
|
|
1993
|
+
"line": 36,
|
|
1994
|
+
"character": 35
|
|
1995
|
+
},
|
|
1996
|
+
"name": "AspectEnv"
|
|
1997
|
+
}
|
|
1998
|
+
},
|
|
1999
|
+
{
|
|
2000
|
+
"__schema": "ParameterSchema",
|
|
2001
|
+
"location": {
|
|
2002
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2003
|
+
"line": 36,
|
|
2004
|
+
"character": 46
|
|
2005
|
+
},
|
|
2006
|
+
"name": "envs",
|
|
2007
|
+
"isOptional": false,
|
|
2008
|
+
"type": {
|
|
2009
|
+
"__schema": "TypeRefSchema",
|
|
2010
|
+
"location": {
|
|
2011
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2012
|
+
"line": 36,
|
|
2013
|
+
"character": 60
|
|
2014
|
+
},
|
|
2015
|
+
"name": "EnvsMain",
|
|
2016
|
+
"componentId": {
|
|
2017
|
+
"scope": "teambit.envs",
|
|
2018
|
+
"name": "envs"
|
|
2019
|
+
}
|
|
2020
|
+
}
|
|
2021
|
+
},
|
|
2022
|
+
{
|
|
2023
|
+
"__schema": "ParameterSchema",
|
|
2024
|
+
"location": {
|
|
2025
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2026
|
+
"line": 36,
|
|
2027
|
+
"character": 70
|
|
2028
|
+
},
|
|
2029
|
+
"name": "workspace",
|
|
2030
|
+
"isOptional": false,
|
|
2031
|
+
"type": {
|
|
2032
|
+
"__schema": "TypeRefSchema",
|
|
2033
|
+
"location": {
|
|
2034
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2035
|
+
"line": 36,
|
|
2036
|
+
"character": 89
|
|
2037
|
+
},
|
|
2038
|
+
"name": "Workspace",
|
|
2039
|
+
"componentId": {
|
|
2040
|
+
"scope": "teambit.workspace",
|
|
2041
|
+
"name": "workspace"
|
|
2042
|
+
}
|
|
2043
|
+
}
|
|
2044
|
+
}
|
|
2045
|
+
],
|
|
2046
|
+
"returnType": {
|
|
2047
|
+
"__schema": "ThisTypeSchema",
|
|
2048
|
+
"location": {
|
|
2049
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2050
|
+
"line": 35,
|
|
2051
|
+
"character": 1
|
|
2052
|
+
}
|
|
2053
|
+
}
|
|
2054
|
+
},
|
|
2055
|
+
{
|
|
2056
|
+
"__schema": "FunctionLikeSchema",
|
|
2057
|
+
"location": {
|
|
2058
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2059
|
+
"line": 41,
|
|
2060
|
+
"character": 3
|
|
2061
|
+
},
|
|
2062
|
+
"name": "compose",
|
|
2063
|
+
"signature": "(method) AspectMain.compose(transformers?: EnvTransformer[], targetEnv?: Environment): Environment",
|
|
2064
|
+
"modifiers": [],
|
|
2065
|
+
"params": [
|
|
2066
|
+
{
|
|
2067
|
+
"__schema": "ParameterSchema",
|
|
2068
|
+
"location": {
|
|
2069
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2070
|
+
"line": 41,
|
|
2071
|
+
"character": 11
|
|
2072
|
+
},
|
|
2073
|
+
"name": "transformers",
|
|
2074
|
+
"isOptional": false,
|
|
2075
|
+
"defaultValue": "[]",
|
|
2076
|
+
"type": {
|
|
2077
|
+
"__schema": "TypeArraySchema",
|
|
2078
|
+
"location": {
|
|
2079
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2080
|
+
"line": 41,
|
|
2081
|
+
"character": 25
|
|
2082
|
+
},
|
|
2083
|
+
"type": {
|
|
2084
|
+
"__schema": "TypeRefSchema",
|
|
2085
|
+
"location": {
|
|
2086
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2087
|
+
"line": 41,
|
|
2088
|
+
"character": 25
|
|
2089
|
+
},
|
|
2090
|
+
"name": "EnvTransformer",
|
|
2091
|
+
"componentId": {
|
|
2092
|
+
"scope": "teambit.envs",
|
|
2093
|
+
"name": "envs"
|
|
2094
|
+
}
|
|
2095
|
+
}
|
|
2096
|
+
}
|
|
2097
|
+
},
|
|
2098
|
+
{
|
|
2099
|
+
"__schema": "ParameterSchema",
|
|
2100
|
+
"location": {
|
|
2101
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2102
|
+
"line": 41,
|
|
2103
|
+
"character": 48
|
|
2104
|
+
},
|
|
2105
|
+
"name": "targetEnv",
|
|
2106
|
+
"isOptional": false,
|
|
2107
|
+
"defaultValue": "{}",
|
|
2108
|
+
"type": {
|
|
2109
|
+
"__schema": "TypeRefSchema",
|
|
2110
|
+
"location": {
|
|
2111
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2112
|
+
"line": 41,
|
|
2113
|
+
"character": 59
|
|
2114
|
+
},
|
|
2115
|
+
"name": "Environment",
|
|
2116
|
+
"componentId": {
|
|
2117
|
+
"scope": "teambit.envs",
|
|
2118
|
+
"name": "envs"
|
|
2119
|
+
}
|
|
2120
|
+
}
|
|
2121
|
+
}
|
|
2122
|
+
],
|
|
2123
|
+
"returnType": {
|
|
2124
|
+
"__schema": "TypeRefSchema",
|
|
2125
|
+
"location": {
|
|
2126
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2127
|
+
"line": 41,
|
|
2128
|
+
"character": 3
|
|
2129
|
+
},
|
|
2130
|
+
"name": "Environment",
|
|
2131
|
+
"componentId": {
|
|
2132
|
+
"scope": "teambit.envs",
|
|
2133
|
+
"name": "envs"
|
|
2134
|
+
}
|
|
2135
|
+
},
|
|
2136
|
+
"doc": {
|
|
2137
|
+
"__schema": "DocSchema",
|
|
2138
|
+
"location": {
|
|
2139
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2140
|
+
"line": 38,
|
|
2141
|
+
"character": 3
|
|
2142
|
+
},
|
|
2143
|
+
"raw": "/**\n * compose your own aspect environment.\n */",
|
|
2144
|
+
"comment": "compose your own aspect environment."
|
|
2145
|
+
}
|
|
2146
|
+
},
|
|
2147
|
+
{
|
|
2148
|
+
"__schema": "FunctionLikeSchema",
|
|
2149
|
+
"location": {
|
|
2150
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2151
|
+
"line": 45,
|
|
2152
|
+
"character": 3
|
|
2153
|
+
},
|
|
2154
|
+
"name": "listAspectsOfComponent",
|
|
2155
|
+
"signature": "(method) AspectMain.listAspectsOfComponent(pattern?: string): Promise<{\n [component: string]: AspectSource[];\n}>",
|
|
2156
|
+
"modifiers": [
|
|
2157
|
+
"async"
|
|
2158
|
+
],
|
|
2159
|
+
"params": [
|
|
2160
|
+
{
|
|
2161
|
+
"__schema": "ParameterSchema",
|
|
2162
|
+
"location": {
|
|
2163
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2164
|
+
"line": 45,
|
|
2165
|
+
"character": 32
|
|
2166
|
+
},
|
|
2167
|
+
"name": "pattern",
|
|
2168
|
+
"isOptional": true,
|
|
2169
|
+
"type": {
|
|
2170
|
+
"__schema": "KeywordTypeSchema",
|
|
2171
|
+
"location": {
|
|
2172
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2173
|
+
"line": 45,
|
|
2174
|
+
"character": 42
|
|
2175
|
+
},
|
|
2176
|
+
"name": "string"
|
|
2177
|
+
}
|
|
2178
|
+
}
|
|
2179
|
+
],
|
|
2180
|
+
"returnType": {
|
|
2181
|
+
"__schema": "TypeRefSchema",
|
|
2182
|
+
"location": {
|
|
2183
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2184
|
+
"line": 45,
|
|
2185
|
+
"character": 51
|
|
2186
|
+
},
|
|
2187
|
+
"name": "Promise",
|
|
2188
|
+
"packageName": "",
|
|
2189
|
+
"typeArgs": [
|
|
2190
|
+
{
|
|
2191
|
+
"__schema": "TypeLiteralSchema",
|
|
2192
|
+
"location": {
|
|
2193
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2194
|
+
"line": 45,
|
|
2195
|
+
"character": 59
|
|
2196
|
+
},
|
|
2197
|
+
"members": [
|
|
2198
|
+
{
|
|
2199
|
+
"__schema": "FunctionLikeSchema",
|
|
2200
|
+
"location": {
|
|
2201
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2202
|
+
"line": 45,
|
|
2203
|
+
"character": 61
|
|
2204
|
+
},
|
|
2205
|
+
"name": "",
|
|
2206
|
+
"signature": "",
|
|
2207
|
+
"modifiers": [],
|
|
2208
|
+
"params": [
|
|
2209
|
+
{
|
|
2210
|
+
"__schema": "ParameterSchema",
|
|
2211
|
+
"location": {
|
|
2212
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2213
|
+
"line": 45,
|
|
2214
|
+
"character": 62
|
|
2215
|
+
},
|
|
2216
|
+
"name": "component",
|
|
2217
|
+
"isOptional": false,
|
|
2218
|
+
"type": {
|
|
2219
|
+
"__schema": "KeywordTypeSchema",
|
|
2220
|
+
"location": {
|
|
2221
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2222
|
+
"line": 45,
|
|
2223
|
+
"character": 73
|
|
2224
|
+
},
|
|
2225
|
+
"name": "string"
|
|
2226
|
+
}
|
|
2227
|
+
}
|
|
2228
|
+
],
|
|
2229
|
+
"returnType": {
|
|
2230
|
+
"__schema": "TypeArraySchema",
|
|
2231
|
+
"location": {
|
|
2232
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2233
|
+
"line": 45,
|
|
2234
|
+
"character": 82
|
|
2235
|
+
},
|
|
2236
|
+
"type": {
|
|
2237
|
+
"__schema": "TypeRefSchema",
|
|
2238
|
+
"location": {
|
|
2239
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2240
|
+
"line": 45,
|
|
2241
|
+
"character": 82
|
|
2242
|
+
},
|
|
2243
|
+
"name": "AspectSource",
|
|
2244
|
+
"internalFilePath": "aspect.main.runtime.ts"
|
|
2245
|
+
}
|
|
2246
|
+
}
|
|
2247
|
+
}
|
|
2248
|
+
]
|
|
2249
|
+
}
|
|
2250
|
+
]
|
|
2251
|
+
}
|
|
2252
|
+
},
|
|
2253
|
+
{
|
|
2254
|
+
"__schema": "GetAccessorSchema",
|
|
2255
|
+
"location": {
|
|
2256
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2257
|
+
"line": 61,
|
|
2258
|
+
"character": 3
|
|
2259
|
+
},
|
|
2260
|
+
"name": "babelConfig",
|
|
2261
|
+
"signature": "(getter) AspectMain.babelConfig: {\n presets: (string | (string | {\n targets: {\n node: number;\n };\n useBuiltIns: string;\n corejs: number;\n })[])[];\n plugins: (string | (string | {\n lazy: () => boolean;\n })[] | (string | {\n legacy: boolean;\n })[])[];\n sourceMaps: boolean;\n}",
|
|
2262
|
+
"type": {
|
|
2263
|
+
"__schema": "InferenceTypeSchema",
|
|
2264
|
+
"location": {
|
|
2265
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2266
|
+
"line": 61,
|
|
2267
|
+
"character": 3
|
|
2268
|
+
},
|
|
2269
|
+
"type": "{\n presets: (string | (string | {\n targets: {\n node: number;\n };\n useBuiltIns: string;\n corejs: number;\n })[])[];\n plugins: (string | (string | {\n lazy: () => boolean;\n })[] | (string | {\n legacy: boolean;\n })[])[];\n sourceMaps: boolean;\n}"
|
|
2270
|
+
}
|
|
2271
|
+
},
|
|
2272
|
+
{
|
|
2273
|
+
"__schema": "FunctionLikeSchema",
|
|
2274
|
+
"location": {
|
|
2275
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2276
|
+
"line": 91,
|
|
2277
|
+
"character": 3
|
|
2278
|
+
},
|
|
2279
|
+
"name": "setAspectsToComponents",
|
|
2280
|
+
"signature": "(method) AspectMain.setAspectsToComponents(pattern: string, aspectId: string, config?: Record<string, any>, options?: SetAspectOptions): Promise<ComponentID[]>",
|
|
2281
|
+
"modifiers": [
|
|
2282
|
+
"async"
|
|
2283
|
+
],
|
|
2284
|
+
"params": [
|
|
2285
|
+
{
|
|
2286
|
+
"__schema": "ParameterSchema",
|
|
2287
|
+
"location": {
|
|
2288
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2289
|
+
"line": 92,
|
|
2290
|
+
"character": 5
|
|
2291
|
+
},
|
|
2292
|
+
"name": "pattern",
|
|
2293
|
+
"isOptional": false,
|
|
2294
|
+
"type": {
|
|
2295
|
+
"__schema": "KeywordTypeSchema",
|
|
2296
|
+
"location": {
|
|
2297
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2298
|
+
"line": 92,
|
|
2299
|
+
"character": 14
|
|
2300
|
+
},
|
|
2301
|
+
"name": "string"
|
|
2302
|
+
}
|
|
2303
|
+
},
|
|
2304
|
+
{
|
|
2305
|
+
"__schema": "ParameterSchema",
|
|
2306
|
+
"location": {
|
|
2307
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2308
|
+
"line": 93,
|
|
2309
|
+
"character": 5
|
|
2310
|
+
},
|
|
2311
|
+
"name": "aspectId",
|
|
2312
|
+
"isOptional": false,
|
|
2313
|
+
"type": {
|
|
2314
|
+
"__schema": "KeywordTypeSchema",
|
|
2315
|
+
"location": {
|
|
2316
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2317
|
+
"line": 93,
|
|
2318
|
+
"character": 15
|
|
2319
|
+
},
|
|
2320
|
+
"name": "string"
|
|
2321
|
+
}
|
|
2322
|
+
},
|
|
2323
|
+
{
|
|
2324
|
+
"__schema": "ParameterSchema",
|
|
2325
|
+
"location": {
|
|
2326
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2327
|
+
"line": 94,
|
|
2328
|
+
"character": 5
|
|
2329
|
+
},
|
|
2330
|
+
"name": "config",
|
|
2331
|
+
"isOptional": false,
|
|
2332
|
+
"defaultValue": "{}",
|
|
2333
|
+
"type": {
|
|
2334
|
+
"__schema": "TypeRefSchema",
|
|
2335
|
+
"location": {
|
|
2336
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2337
|
+
"line": 94,
|
|
2338
|
+
"character": 13
|
|
2339
|
+
},
|
|
2340
|
+
"name": "Record",
|
|
2341
|
+
"packageName": "",
|
|
2342
|
+
"typeArgs": [
|
|
2343
|
+
{
|
|
2344
|
+
"__schema": "KeywordTypeSchema",
|
|
2345
|
+
"location": {
|
|
2346
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2347
|
+
"line": 94,
|
|
2348
|
+
"character": 20
|
|
2349
|
+
},
|
|
2350
|
+
"name": "string"
|
|
2351
|
+
},
|
|
2352
|
+
{
|
|
2353
|
+
"__schema": "KeywordTypeSchema",
|
|
2354
|
+
"location": {
|
|
2355
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2356
|
+
"line": 94,
|
|
2357
|
+
"character": 28
|
|
2358
|
+
},
|
|
2359
|
+
"name": "any"
|
|
2360
|
+
}
|
|
2361
|
+
]
|
|
2362
|
+
}
|
|
2363
|
+
},
|
|
2364
|
+
{
|
|
2365
|
+
"__schema": "ParameterSchema",
|
|
2366
|
+
"location": {
|
|
2367
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2368
|
+
"line": 95,
|
|
2369
|
+
"character": 5
|
|
2370
|
+
},
|
|
2371
|
+
"name": "options",
|
|
2372
|
+
"isOptional": false,
|
|
2373
|
+
"defaultValue": "{}",
|
|
2374
|
+
"type": {
|
|
2375
|
+
"__schema": "TypeRefSchema",
|
|
2376
|
+
"location": {
|
|
2377
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2378
|
+
"line": 95,
|
|
2379
|
+
"character": 14
|
|
2380
|
+
},
|
|
2381
|
+
"name": "SetAspectOptions",
|
|
2382
|
+
"internalFilePath": "aspect.cmd.ts"
|
|
2383
|
+
}
|
|
2384
|
+
}
|
|
2385
|
+
],
|
|
2386
|
+
"returnType": {
|
|
2387
|
+
"__schema": "TypeRefSchema",
|
|
2388
|
+
"location": {
|
|
2389
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2390
|
+
"line": 96,
|
|
2391
|
+
"character": 6
|
|
2392
|
+
},
|
|
2393
|
+
"name": "Promise",
|
|
2394
|
+
"packageName": "",
|
|
2395
|
+
"typeArgs": [
|
|
2396
|
+
{
|
|
2397
|
+
"__schema": "TypeArraySchema",
|
|
2398
|
+
"location": {
|
|
2399
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2400
|
+
"line": 96,
|
|
2401
|
+
"character": 14
|
|
2402
|
+
},
|
|
2403
|
+
"type": {
|
|
2404
|
+
"__schema": "TypeRefSchema",
|
|
2405
|
+
"location": {
|
|
2406
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2407
|
+
"line": 96,
|
|
2408
|
+
"character": 14
|
|
2409
|
+
},
|
|
2410
|
+
"name": "ComponentID",
|
|
2411
|
+
"componentId": {
|
|
2412
|
+
"scope": "teambit.component",
|
|
2413
|
+
"name": "component-id",
|
|
2414
|
+
"version": "0.0.425"
|
|
2415
|
+
}
|
|
2416
|
+
}
|
|
2417
|
+
}
|
|
2418
|
+
]
|
|
2419
|
+
}
|
|
2420
|
+
},
|
|
2421
|
+
{
|
|
2422
|
+
"__schema": "FunctionLikeSchema",
|
|
2423
|
+
"location": {
|
|
2424
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2425
|
+
"line": 108,
|
|
2426
|
+
"character": 3
|
|
2427
|
+
},
|
|
2428
|
+
"name": "unsetAspectsFromComponents",
|
|
2429
|
+
"signature": "(method) AspectMain.unsetAspectsFromComponents(pattern: string, aspectId: string): Promise<ComponentID[]>",
|
|
2430
|
+
"modifiers": [
|
|
2431
|
+
"async"
|
|
2432
|
+
],
|
|
2433
|
+
"params": [
|
|
2434
|
+
{
|
|
2435
|
+
"__schema": "ParameterSchema",
|
|
2436
|
+
"location": {
|
|
2437
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2438
|
+
"line": 108,
|
|
2439
|
+
"character": 36
|
|
2440
|
+
},
|
|
2441
|
+
"name": "pattern",
|
|
2442
|
+
"isOptional": false,
|
|
2443
|
+
"type": {
|
|
2444
|
+
"__schema": "KeywordTypeSchema",
|
|
2445
|
+
"location": {
|
|
2446
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2447
|
+
"line": 108,
|
|
2448
|
+
"character": 45
|
|
2449
|
+
},
|
|
2450
|
+
"name": "string"
|
|
2451
|
+
}
|
|
2452
|
+
},
|
|
2453
|
+
{
|
|
2454
|
+
"__schema": "ParameterSchema",
|
|
2455
|
+
"location": {
|
|
2456
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2457
|
+
"line": 108,
|
|
2458
|
+
"character": 53
|
|
2459
|
+
},
|
|
2460
|
+
"name": "aspectId",
|
|
2461
|
+
"isOptional": false,
|
|
2462
|
+
"type": {
|
|
2463
|
+
"__schema": "KeywordTypeSchema",
|
|
2464
|
+
"location": {
|
|
2465
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2466
|
+
"line": 108,
|
|
2467
|
+
"character": 63
|
|
2468
|
+
},
|
|
2469
|
+
"name": "string"
|
|
2470
|
+
}
|
|
2471
|
+
}
|
|
2472
|
+
],
|
|
2473
|
+
"returnType": {
|
|
2474
|
+
"__schema": "TypeRefSchema",
|
|
2475
|
+
"location": {
|
|
2476
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2477
|
+
"line": 108,
|
|
2478
|
+
"character": 72
|
|
2479
|
+
},
|
|
2480
|
+
"name": "Promise",
|
|
2481
|
+
"packageName": "",
|
|
2482
|
+
"typeArgs": [
|
|
2483
|
+
{
|
|
2484
|
+
"__schema": "TypeArraySchema",
|
|
2485
|
+
"location": {
|
|
2486
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2487
|
+
"line": 108,
|
|
2488
|
+
"character": 80
|
|
2489
|
+
},
|
|
2490
|
+
"type": {
|
|
2491
|
+
"__schema": "TypeRefSchema",
|
|
2492
|
+
"location": {
|
|
2493
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2494
|
+
"line": 108,
|
|
2495
|
+
"character": 80
|
|
2496
|
+
},
|
|
2497
|
+
"name": "ComponentID",
|
|
2498
|
+
"componentId": {
|
|
2499
|
+
"scope": "teambit.component",
|
|
2500
|
+
"name": "component-id",
|
|
2501
|
+
"version": "0.0.425"
|
|
2502
|
+
}
|
|
2503
|
+
}
|
|
2504
|
+
}
|
|
2505
|
+
]
|
|
2506
|
+
}
|
|
2507
|
+
},
|
|
2508
|
+
{
|
|
2509
|
+
"__schema": "FunctionLikeSchema",
|
|
2510
|
+
"location": {
|
|
2511
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2512
|
+
"line": 123,
|
|
2513
|
+
"character": 3
|
|
2514
|
+
},
|
|
2515
|
+
"name": "getAspectsOfComponent",
|
|
2516
|
+
"signature": "(method) AspectMain.getAspectsOfComponent(id: string | ComponentID): Promise<AspectList>",
|
|
2517
|
+
"modifiers": [
|
|
2518
|
+
"async"
|
|
2519
|
+
],
|
|
2520
|
+
"params": [
|
|
2521
|
+
{
|
|
2522
|
+
"__schema": "ParameterSchema",
|
|
2523
|
+
"location": {
|
|
2524
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2525
|
+
"line": 123,
|
|
2526
|
+
"character": 31
|
|
2527
|
+
},
|
|
2528
|
+
"name": "id",
|
|
2529
|
+
"isOptional": false,
|
|
2530
|
+
"type": {
|
|
2531
|
+
"__schema": "TypeUnionSchema",
|
|
2532
|
+
"location": {
|
|
2533
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2534
|
+
"line": 123,
|
|
2535
|
+
"character": 35
|
|
2536
|
+
},
|
|
2537
|
+
"types": [
|
|
2538
|
+
{
|
|
2539
|
+
"__schema": "KeywordTypeSchema",
|
|
2540
|
+
"location": {
|
|
2541
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2542
|
+
"line": 123,
|
|
2543
|
+
"character": 35
|
|
2544
|
+
},
|
|
2545
|
+
"name": "string"
|
|
2546
|
+
},
|
|
2547
|
+
{
|
|
2548
|
+
"__schema": "TypeRefSchema",
|
|
2549
|
+
"location": {
|
|
2550
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2551
|
+
"line": 123,
|
|
2552
|
+
"character": 44
|
|
2553
|
+
},
|
|
2554
|
+
"name": "ComponentID",
|
|
2555
|
+
"componentId": {
|
|
2556
|
+
"scope": "teambit.component",
|
|
2557
|
+
"name": "component-id",
|
|
2558
|
+
"version": "0.0.425"
|
|
2559
|
+
}
|
|
2560
|
+
}
|
|
2561
|
+
]
|
|
2562
|
+
}
|
|
2563
|
+
}
|
|
2564
|
+
],
|
|
2565
|
+
"returnType": {
|
|
2566
|
+
"__schema": "TypeRefSchema",
|
|
2567
|
+
"location": {
|
|
2568
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2569
|
+
"line": 123,
|
|
2570
|
+
"character": 58
|
|
2571
|
+
},
|
|
2572
|
+
"name": "Promise",
|
|
2573
|
+
"packageName": "",
|
|
2574
|
+
"typeArgs": [
|
|
2575
|
+
{
|
|
2576
|
+
"__schema": "TypeRefSchema",
|
|
2577
|
+
"location": {
|
|
2578
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2579
|
+
"line": 123,
|
|
2580
|
+
"character": 66
|
|
2581
|
+
},
|
|
2582
|
+
"name": "AspectList",
|
|
2583
|
+
"componentId": {
|
|
2584
|
+
"scope": "teambit.component",
|
|
2585
|
+
"name": "component"
|
|
2586
|
+
}
|
|
2587
|
+
}
|
|
2588
|
+
]
|
|
2589
|
+
},
|
|
2590
|
+
"doc": {
|
|
2591
|
+
"__schema": "DocSchema",
|
|
2592
|
+
"location": {
|
|
2593
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2594
|
+
"line": 120,
|
|
2595
|
+
"character": 3
|
|
2596
|
+
},
|
|
2597
|
+
"raw": "/**\n * returns all aspects info of a component, include the config and the data.\n */",
|
|
2598
|
+
"comment": "returns all aspects info of a component, include the config and the data."
|
|
2599
|
+
}
|
|
2600
|
+
},
|
|
2601
|
+
{
|
|
2602
|
+
"__schema": "FunctionLikeSchema",
|
|
2603
|
+
"location": {
|
|
2604
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2605
|
+
"line": 134,
|
|
2606
|
+
"character": 3
|
|
2607
|
+
},
|
|
2608
|
+
"name": "getAspectsOfComponentForDebugging",
|
|
2609
|
+
"signature": "(method) AspectMain.getAspectsOfComponentForDebugging(id: string | ComponentID): Promise<{\n aspects: AspectList;\n extensions: ExtensionDataList;\n beforeMerge: {\n extensions: ExtensionDataList;\n origin: ExtensionsOrigin;\n extraData: any;\n }[];\n}>",
|
|
2610
|
+
"modifiers": [
|
|
2611
|
+
"async"
|
|
2612
|
+
],
|
|
2613
|
+
"params": [
|
|
2614
|
+
{
|
|
2615
|
+
"__schema": "ParameterSchema",
|
|
2616
|
+
"location": {
|
|
2617
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2618
|
+
"line": 134,
|
|
2619
|
+
"character": 43
|
|
2620
|
+
},
|
|
2621
|
+
"name": "id",
|
|
2622
|
+
"isOptional": false,
|
|
2623
|
+
"type": {
|
|
2624
|
+
"__schema": "TypeUnionSchema",
|
|
2625
|
+
"location": {
|
|
2626
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2627
|
+
"line": 134,
|
|
2628
|
+
"character": 47
|
|
2629
|
+
},
|
|
2630
|
+
"types": [
|
|
2631
|
+
{
|
|
2632
|
+
"__schema": "KeywordTypeSchema",
|
|
2633
|
+
"location": {
|
|
2634
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2635
|
+
"line": 134,
|
|
2636
|
+
"character": 47
|
|
2637
|
+
},
|
|
2638
|
+
"name": "string"
|
|
2639
|
+
},
|
|
2640
|
+
{
|
|
2641
|
+
"__schema": "TypeRefSchema",
|
|
2642
|
+
"location": {
|
|
2643
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2644
|
+
"line": 134,
|
|
2645
|
+
"character": 56
|
|
2646
|
+
},
|
|
2647
|
+
"name": "ComponentID",
|
|
2648
|
+
"componentId": {
|
|
2649
|
+
"scope": "teambit.component",
|
|
2650
|
+
"name": "component-id",
|
|
2651
|
+
"version": "0.0.425"
|
|
2652
|
+
}
|
|
2653
|
+
}
|
|
2654
|
+
]
|
|
2655
|
+
}
|
|
2656
|
+
}
|
|
2657
|
+
],
|
|
2658
|
+
"returnType": {
|
|
2659
|
+
"__schema": "InferenceTypeSchema",
|
|
2660
|
+
"location": {
|
|
2661
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2662
|
+
"line": 134,
|
|
2663
|
+
"character": 3
|
|
2664
|
+
},
|
|
2665
|
+
"type": "Promise<{\n aspects: AspectList;\n extensions: ExtensionDataList;\n beforeMerge: {\n extensions: ExtensionDataList;\n origin: ExtensionsOrigin;\n extraData: any;\n }[];\n}>"
|
|
2666
|
+
},
|
|
2667
|
+
"doc": {
|
|
2668
|
+
"__schema": "DocSchema",
|
|
2669
|
+
"location": {
|
|
2670
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2671
|
+
"line": 131,
|
|
2672
|
+
"character": 3
|
|
2673
|
+
},
|
|
2674
|
+
"raw": "/**\n * helps debugging why/how an aspect was set to a component\n */",
|
|
2675
|
+
"comment": "helps debugging why/how an aspect was set to a component"
|
|
2676
|
+
}
|
|
2677
|
+
},
|
|
2678
|
+
{
|
|
2679
|
+
"__schema": "FunctionLikeSchema",
|
|
2680
|
+
"location": {
|
|
2681
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2682
|
+
"line": 148,
|
|
2683
|
+
"character": 3
|
|
2684
|
+
},
|
|
2685
|
+
"name": "updateAspectsToComponents",
|
|
2686
|
+
"signature": "(method) AspectMain.updateAspectsToComponents(aspectId: string, pattern?: string): Promise<{\n updated: ComponentID[];\n alreadyUpToDate: ComponentID[];\n}>",
|
|
2687
|
+
"modifiers": [
|
|
2688
|
+
"async"
|
|
2689
|
+
],
|
|
2690
|
+
"params": [
|
|
2691
|
+
{
|
|
2692
|
+
"__schema": "ParameterSchema",
|
|
2693
|
+
"location": {
|
|
2694
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2695
|
+
"line": 149,
|
|
2696
|
+
"character": 5
|
|
2697
|
+
},
|
|
2698
|
+
"name": "aspectId",
|
|
2699
|
+
"isOptional": false,
|
|
2700
|
+
"type": {
|
|
2701
|
+
"__schema": "KeywordTypeSchema",
|
|
2702
|
+
"location": {
|
|
2703
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2704
|
+
"line": 149,
|
|
2705
|
+
"character": 15
|
|
2706
|
+
},
|
|
2707
|
+
"name": "string"
|
|
2708
|
+
}
|
|
2709
|
+
},
|
|
2710
|
+
{
|
|
2711
|
+
"__schema": "ParameterSchema",
|
|
2712
|
+
"location": {
|
|
2713
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2714
|
+
"line": 150,
|
|
2715
|
+
"character": 5
|
|
2716
|
+
},
|
|
2717
|
+
"name": "pattern",
|
|
2718
|
+
"isOptional": true,
|
|
2719
|
+
"type": {
|
|
2720
|
+
"__schema": "KeywordTypeSchema",
|
|
2721
|
+
"location": {
|
|
2722
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2723
|
+
"line": 150,
|
|
2724
|
+
"character": 15
|
|
2725
|
+
},
|
|
2726
|
+
"name": "string"
|
|
2727
|
+
}
|
|
2728
|
+
}
|
|
2729
|
+
],
|
|
2730
|
+
"returnType": {
|
|
2731
|
+
"__schema": "TypeRefSchema",
|
|
2732
|
+
"location": {
|
|
2733
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2734
|
+
"line": 151,
|
|
2735
|
+
"character": 6
|
|
2736
|
+
},
|
|
2737
|
+
"name": "Promise",
|
|
2738
|
+
"packageName": "",
|
|
2739
|
+
"typeArgs": [
|
|
2740
|
+
{
|
|
2741
|
+
"__schema": "TypeLiteralSchema",
|
|
2742
|
+
"location": {
|
|
2743
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2744
|
+
"line": 151,
|
|
2745
|
+
"character": 14
|
|
2746
|
+
},
|
|
2747
|
+
"members": [
|
|
2748
|
+
{
|
|
2749
|
+
"__schema": "VariableLikeSchema",
|
|
2750
|
+
"location": {
|
|
2751
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2752
|
+
"line": 151,
|
|
2753
|
+
"character": 16
|
|
2754
|
+
},
|
|
2755
|
+
"name": "updated",
|
|
2756
|
+
"signature": "(property) updated: ComponentID[]",
|
|
2757
|
+
"isOptional": false,
|
|
2758
|
+
"type": {
|
|
2759
|
+
"__schema": "TypeArraySchema",
|
|
2760
|
+
"location": {
|
|
2761
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2762
|
+
"line": 151,
|
|
2763
|
+
"character": 25
|
|
2764
|
+
},
|
|
2765
|
+
"type": {
|
|
2766
|
+
"__schema": "TypeRefSchema",
|
|
2767
|
+
"location": {
|
|
2768
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2769
|
+
"line": 151,
|
|
2770
|
+
"character": 25
|
|
2771
|
+
},
|
|
2772
|
+
"name": "ComponentID",
|
|
2773
|
+
"componentId": {
|
|
2774
|
+
"scope": "teambit.component",
|
|
2775
|
+
"name": "component-id",
|
|
2776
|
+
"version": "0.0.425"
|
|
2777
|
+
}
|
|
2778
|
+
}
|
|
2779
|
+
}
|
|
2780
|
+
},
|
|
2781
|
+
{
|
|
2782
|
+
"__schema": "VariableLikeSchema",
|
|
2783
|
+
"location": {
|
|
2784
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2785
|
+
"line": 151,
|
|
2786
|
+
"character": 40
|
|
2787
|
+
},
|
|
2788
|
+
"name": "alreadyUpToDate",
|
|
2789
|
+
"signature": "(property) alreadyUpToDate: ComponentID[]",
|
|
2790
|
+
"isOptional": false,
|
|
2791
|
+
"type": {
|
|
2792
|
+
"__schema": "TypeArraySchema",
|
|
2793
|
+
"location": {
|
|
2794
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2795
|
+
"line": 151,
|
|
2796
|
+
"character": 57
|
|
2797
|
+
},
|
|
2798
|
+
"type": {
|
|
2799
|
+
"__schema": "TypeRefSchema",
|
|
2800
|
+
"location": {
|
|
2801
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2802
|
+
"line": 151,
|
|
2803
|
+
"character": 57
|
|
2804
|
+
},
|
|
2805
|
+
"name": "ComponentID",
|
|
2806
|
+
"componentId": {
|
|
2807
|
+
"scope": "teambit.component",
|
|
2808
|
+
"name": "component-id",
|
|
2809
|
+
"version": "0.0.425"
|
|
2810
|
+
}
|
|
2811
|
+
}
|
|
2812
|
+
}
|
|
2813
|
+
}
|
|
2814
|
+
]
|
|
2815
|
+
}
|
|
2816
|
+
]
|
|
2817
|
+
}
|
|
2818
|
+
},
|
|
2819
|
+
{
|
|
2820
|
+
"__schema": "FunctionLikeSchema",
|
|
2821
|
+
"location": {
|
|
2822
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2823
|
+
"line": 189,
|
|
2824
|
+
"character": 3
|
|
2825
|
+
},
|
|
2826
|
+
"name": "overrideDependencies",
|
|
2827
|
+
"signature": "(method) AspectMain.overrideDependencies(dependencyPolicy: EnvPolicyConfigObject): EnvTransformer",
|
|
2828
|
+
"modifiers": [],
|
|
2829
|
+
"params": [
|
|
2830
|
+
{
|
|
2831
|
+
"__schema": "ParameterSchema",
|
|
2832
|
+
"location": {
|
|
2833
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2834
|
+
"line": 189,
|
|
2835
|
+
"character": 24
|
|
2836
|
+
},
|
|
2837
|
+
"name": "dependencyPolicy",
|
|
2838
|
+
"isOptional": false,
|
|
2839
|
+
"type": {
|
|
2840
|
+
"__schema": "TypeRefSchema",
|
|
2841
|
+
"location": {
|
|
2842
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2843
|
+
"line": 189,
|
|
2844
|
+
"character": 42
|
|
2845
|
+
},
|
|
2846
|
+
"name": "EnvPolicyConfigObject",
|
|
2847
|
+
"componentId": {
|
|
2848
|
+
"scope": "teambit.dependencies",
|
|
2849
|
+
"name": "dependency-resolver"
|
|
2850
|
+
}
|
|
2851
|
+
}
|
|
2852
|
+
}
|
|
2853
|
+
],
|
|
2854
|
+
"returnType": {
|
|
2855
|
+
"__schema": "TypeRefSchema",
|
|
2856
|
+
"location": {
|
|
2857
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2858
|
+
"line": 189,
|
|
2859
|
+
"character": 3
|
|
2860
|
+
},
|
|
2861
|
+
"name": "EnvTransformer",
|
|
2862
|
+
"componentId": {
|
|
2863
|
+
"scope": "teambit.envs",
|
|
2864
|
+
"name": "envs"
|
|
2865
|
+
}
|
|
2866
|
+
},
|
|
2867
|
+
"doc": {
|
|
2868
|
+
"__schema": "DocSchema",
|
|
2869
|
+
"location": {
|
|
2870
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2871
|
+
"line": 186,
|
|
2872
|
+
"character": 3
|
|
2873
|
+
},
|
|
2874
|
+
"raw": "/**\n * override the dependency configuration of the component environment.\n */",
|
|
2875
|
+
"comment": "override the dependency configuration of the component environment."
|
|
2876
|
+
}
|
|
2877
|
+
},
|
|
2878
|
+
{
|
|
2879
|
+
"__schema": "VariableLikeSchema",
|
|
2880
|
+
"location": {
|
|
2881
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2882
|
+
"line": 198,
|
|
2883
|
+
"character": 3
|
|
2884
|
+
},
|
|
2885
|
+
"name": "runtime",
|
|
2886
|
+
"signature": "(property) AspectMain.runtime: RuntimeDefinition",
|
|
2887
|
+
"isOptional": false,
|
|
2888
|
+
"type": {
|
|
2889
|
+
"__schema": "InferenceTypeSchema",
|
|
2890
|
+
"location": {
|
|
2891
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2892
|
+
"line": 198,
|
|
2893
|
+
"character": 3
|
|
2894
|
+
},
|
|
2895
|
+
"type": "RuntimeDefinition"
|
|
2896
|
+
}
|
|
2897
|
+
},
|
|
2898
|
+
{
|
|
2899
|
+
"__schema": "VariableLikeSchema",
|
|
2900
|
+
"location": {
|
|
2901
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2902
|
+
"line": 199,
|
|
2903
|
+
"character": 3
|
|
2904
|
+
},
|
|
2905
|
+
"name": "dependencies",
|
|
2906
|
+
"signature": "(property) AspectMain.dependencies: Aspect[]",
|
|
2907
|
+
"isOptional": false,
|
|
2908
|
+
"type": {
|
|
2909
|
+
"__schema": "InferenceTypeSchema",
|
|
2910
|
+
"location": {
|
|
2911
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2912
|
+
"line": 199,
|
|
2913
|
+
"character": 3
|
|
2914
|
+
},
|
|
2915
|
+
"type": "Aspect[]"
|
|
2916
|
+
}
|
|
2917
|
+
},
|
|
2918
|
+
{
|
|
2919
|
+
"__schema": "FunctionLikeSchema",
|
|
2920
|
+
"location": {
|
|
2921
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2922
|
+
"line": 211,
|
|
2923
|
+
"character": 3
|
|
2924
|
+
},
|
|
2925
|
+
"name": "provider",
|
|
2926
|
+
"signature": "(method) AspectMain.provider([react, envs, builder, aspectLoader, compiler, babel, generator, workspace, cli]: [\n ReactMain,\n EnvsMain,\n BuilderMain,\n AspectLoaderMain,\n CompilerMain,\n BabelMain,\n GeneratorMain,\n Workspace,\n CLIMain\n]): Promise<AspectMain>",
|
|
2927
|
+
"modifiers": [
|
|
2928
|
+
"static",
|
|
2929
|
+
"async"
|
|
2930
|
+
],
|
|
2931
|
+
"params": [
|
|
2932
|
+
{
|
|
2933
|
+
"__schema": "ParameterSchema",
|
|
2934
|
+
"location": {
|
|
2935
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2936
|
+
"line": 211,
|
|
2937
|
+
"character": 25
|
|
2938
|
+
},
|
|
2939
|
+
"name": "[ react, envs, builder, aspectLoader, compiler, babel, generator, workspace, cli ]",
|
|
2940
|
+
"isOptional": false,
|
|
2941
|
+
"type": {
|
|
2942
|
+
"__schema": "TupleTypeSchema",
|
|
2943
|
+
"location": {
|
|
2944
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2945
|
+
"line": 211,
|
|
2946
|
+
"character": 107
|
|
2947
|
+
},
|
|
2948
|
+
"elements": [
|
|
2949
|
+
{
|
|
2950
|
+
"__schema": "TypeRefSchema",
|
|
2951
|
+
"location": {
|
|
2952
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2953
|
+
"line": 212,
|
|
2954
|
+
"character": 5
|
|
2955
|
+
},
|
|
2956
|
+
"name": "ReactMain",
|
|
2957
|
+
"componentId": {
|
|
2958
|
+
"scope": "teambit.react",
|
|
2959
|
+
"name": "react"
|
|
2960
|
+
}
|
|
2961
|
+
},
|
|
2962
|
+
{
|
|
2963
|
+
"__schema": "TypeRefSchema",
|
|
2964
|
+
"location": {
|
|
2965
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2966
|
+
"line": 213,
|
|
2967
|
+
"character": 5
|
|
2968
|
+
},
|
|
2969
|
+
"name": "EnvsMain",
|
|
2970
|
+
"componentId": {
|
|
2971
|
+
"scope": "teambit.envs",
|
|
2972
|
+
"name": "envs"
|
|
2973
|
+
}
|
|
2974
|
+
},
|
|
2975
|
+
{
|
|
2976
|
+
"__schema": "TypeRefSchema",
|
|
2977
|
+
"location": {
|
|
2978
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2979
|
+
"line": 214,
|
|
2980
|
+
"character": 5
|
|
2981
|
+
},
|
|
2982
|
+
"name": "BuilderMain",
|
|
2983
|
+
"componentId": {
|
|
2984
|
+
"scope": "teambit.pipelines",
|
|
2985
|
+
"name": "builder"
|
|
2986
|
+
}
|
|
2987
|
+
},
|
|
2988
|
+
{
|
|
2989
|
+
"__schema": "TypeRefSchema",
|
|
2990
|
+
"location": {
|
|
2991
|
+
"filePath": "aspect.main.runtime.ts",
|
|
2992
|
+
"line": 215,
|
|
2993
|
+
"character": 5
|
|
2994
|
+
},
|
|
2995
|
+
"name": "AspectLoaderMain",
|
|
2996
|
+
"componentId": {
|
|
2997
|
+
"scope": "teambit.harmony",
|
|
2998
|
+
"name": "aspect-loader"
|
|
2999
|
+
}
|
|
3000
|
+
},
|
|
3001
|
+
{
|
|
3002
|
+
"__schema": "TypeRefSchema",
|
|
3003
|
+
"location": {
|
|
3004
|
+
"filePath": "aspect.main.runtime.ts",
|
|
3005
|
+
"line": 216,
|
|
3006
|
+
"character": 5
|
|
3007
|
+
},
|
|
3008
|
+
"name": "CompilerMain",
|
|
3009
|
+
"componentId": {
|
|
3010
|
+
"scope": "teambit.compilation",
|
|
3011
|
+
"name": "compiler"
|
|
3012
|
+
}
|
|
3013
|
+
},
|
|
3014
|
+
{
|
|
3015
|
+
"__schema": "TypeRefSchema",
|
|
3016
|
+
"location": {
|
|
3017
|
+
"filePath": "aspect.main.runtime.ts",
|
|
3018
|
+
"line": 217,
|
|
3019
|
+
"character": 5
|
|
3020
|
+
},
|
|
3021
|
+
"name": "BabelMain",
|
|
3022
|
+
"componentId": {
|
|
3023
|
+
"scope": "teambit.compilation",
|
|
3024
|
+
"name": "babel"
|
|
3025
|
+
}
|
|
3026
|
+
},
|
|
3027
|
+
{
|
|
3028
|
+
"__schema": "TypeRefSchema",
|
|
3029
|
+
"location": {
|
|
3030
|
+
"filePath": "aspect.main.runtime.ts",
|
|
3031
|
+
"line": 218,
|
|
3032
|
+
"character": 5
|
|
3033
|
+
},
|
|
3034
|
+
"name": "GeneratorMain",
|
|
3035
|
+
"componentId": {
|
|
3036
|
+
"scope": "teambit.generator",
|
|
3037
|
+
"name": "generator"
|
|
3038
|
+
}
|
|
3039
|
+
},
|
|
3040
|
+
{
|
|
3041
|
+
"__schema": "TypeRefSchema",
|
|
3042
|
+
"location": {
|
|
3043
|
+
"filePath": "aspect.main.runtime.ts",
|
|
3044
|
+
"line": 219,
|
|
3045
|
+
"character": 5
|
|
3046
|
+
},
|
|
3047
|
+
"name": "Workspace",
|
|
3048
|
+
"componentId": {
|
|
3049
|
+
"scope": "teambit.workspace",
|
|
3050
|
+
"name": "workspace"
|
|
3051
|
+
}
|
|
3052
|
+
},
|
|
3053
|
+
{
|
|
3054
|
+
"__schema": "TypeRefSchema",
|
|
3055
|
+
"location": {
|
|
3056
|
+
"filePath": "aspect.main.runtime.ts",
|
|
3057
|
+
"line": 220,
|
|
3058
|
+
"character": 5
|
|
3059
|
+
},
|
|
3060
|
+
"name": "CLIMain",
|
|
3061
|
+
"componentId": {
|
|
3062
|
+
"scope": "teambit.harmony",
|
|
3063
|
+
"name": "cli"
|
|
3064
|
+
}
|
|
3065
|
+
}
|
|
3066
|
+
]
|
|
3067
|
+
}
|
|
3068
|
+
}
|
|
3069
|
+
],
|
|
3070
|
+
"returnType": {
|
|
3071
|
+
"__schema": "InferenceTypeSchema",
|
|
3072
|
+
"location": {
|
|
3073
|
+
"filePath": "aspect.main.runtime.ts",
|
|
3074
|
+
"line": 211,
|
|
3075
|
+
"character": 3
|
|
3076
|
+
},
|
|
3077
|
+
"type": "Promise<AspectMain>"
|
|
3078
|
+
}
|
|
3079
|
+
}
|
|
3080
|
+
]
|
|
3081
|
+
}
|
|
3082
|
+
],
|
|
3083
|
+
"internals": [
|
|
3084
|
+
{
|
|
3085
|
+
"__schema": "ModuleSchema",
|
|
3086
|
+
"location": {
|
|
3087
|
+
"filePath": "aspect.main.runtime.ts",
|
|
3088
|
+
"line": 33,
|
|
3089
|
+
"character": 1
|
|
3090
|
+
},
|
|
3091
|
+
"exports": [
|
|
3092
|
+
{
|
|
3093
|
+
"__schema": "VariableLikeSchema",
|
|
3094
|
+
"location": {
|
|
3095
|
+
"filePath": "aspect.main.runtime.ts",
|
|
3096
|
+
"line": 33,
|
|
3097
|
+
"character": 7
|
|
3098
|
+
},
|
|
3099
|
+
"name": "tsconfig",
|
|
3100
|
+
"signature": "const tsconfig: any",
|
|
3101
|
+
"isOptional": false,
|
|
3102
|
+
"type": {
|
|
3103
|
+
"__schema": "InferenceTypeSchema",
|
|
3104
|
+
"location": {
|
|
3105
|
+
"filePath": "aspect.main.runtime.ts",
|
|
3106
|
+
"line": 33,
|
|
3107
|
+
"character": 7
|
|
3108
|
+
},
|
|
3109
|
+
"type": "any"
|
|
3110
|
+
}
|
|
3111
|
+
}
|
|
3112
|
+
],
|
|
3113
|
+
"internals": []
|
|
3114
|
+
},
|
|
3115
|
+
{
|
|
3116
|
+
"__schema": "UnImplementedSchema",
|
|
3117
|
+
"location": {
|
|
3118
|
+
"filePath": "aspect.main.runtime.ts",
|
|
3119
|
+
"line": 275,
|
|
3120
|
+
"character": 1
|
|
3121
|
+
},
|
|
3122
|
+
"name": "AspectAspect.addRuntime(AspectMain);",
|
|
3123
|
+
"type": "ExpressionStatement"
|
|
3124
|
+
}
|
|
3125
|
+
]
|
|
3126
|
+
},
|
|
3127
|
+
{
|
|
3128
|
+
"__schema": "ModuleSchema",
|
|
3129
|
+
"location": {
|
|
3130
|
+
"filePath": "aspect.aspect.ts",
|
|
3131
|
+
"line": 1,
|
|
3132
|
+
"character": 1
|
|
3133
|
+
},
|
|
3134
|
+
"exports": [
|
|
3135
|
+
{
|
|
3136
|
+
"__schema": "VariableLikeSchema",
|
|
3137
|
+
"location": {
|
|
3138
|
+
"filePath": "aspect.aspect.ts",
|
|
3139
|
+
"line": 3,
|
|
3140
|
+
"character": 14
|
|
3141
|
+
},
|
|
3142
|
+
"name": "AspectAspect",
|
|
3143
|
+
"signature": "const AspectAspect: Aspect",
|
|
3144
|
+
"isOptional": false,
|
|
3145
|
+
"type": {
|
|
3146
|
+
"__schema": "TypeRefSchema",
|
|
3147
|
+
"location": {
|
|
3148
|
+
"filePath": "aspect.aspect.ts",
|
|
3149
|
+
"line": 3,
|
|
3150
|
+
"character": 14
|
|
3151
|
+
},
|
|
3152
|
+
"name": "Aspect",
|
|
3153
|
+
"componentId": {
|
|
3154
|
+
"scope": "teambit.harmony",
|
|
3155
|
+
"name": "harmony",
|
|
3156
|
+
"version": "0.4.6"
|
|
3157
|
+
}
|
|
3158
|
+
}
|
|
3159
|
+
},
|
|
3160
|
+
{
|
|
3161
|
+
"__schema": "UnImplementedSchema",
|
|
3162
|
+
"location": {
|
|
3163
|
+
"filePath": "aspect.aspect.ts",
|
|
3164
|
+
"line": 7,
|
|
3165
|
+
"character": 16
|
|
3166
|
+
},
|
|
3167
|
+
"name": "AspectAspect",
|
|
3168
|
+
"type": "Identifier"
|
|
3169
|
+
}
|
|
3170
|
+
],
|
|
3171
|
+
"internals": []
|
|
3172
|
+
},
|
|
3173
|
+
{
|
|
3174
|
+
"__schema": "ModuleSchema",
|
|
3175
|
+
"location": {
|
|
3176
|
+
"filePath": "aspect.env.ts",
|
|
3177
|
+
"line": 1,
|
|
3178
|
+
"character": 1
|
|
3179
|
+
},
|
|
3180
|
+
"exports": [
|
|
3181
|
+
{
|
|
3182
|
+
"__schema": "VariableLikeSchema",
|
|
3183
|
+
"location": {
|
|
3184
|
+
"filePath": "aspect.env.ts",
|
|
3185
|
+
"line": 16,
|
|
3186
|
+
"character": 14
|
|
3187
|
+
},
|
|
3188
|
+
"name": "AspectEnvType",
|
|
3189
|
+
"signature": "const AspectEnvType: \"aspect\"",
|
|
3190
|
+
"isOptional": false,
|
|
3191
|
+
"type": {
|
|
3192
|
+
"__schema": "InferenceTypeSchema",
|
|
3193
|
+
"location": {
|
|
3194
|
+
"filePath": "aspect.env.ts",
|
|
3195
|
+
"line": 16,
|
|
3196
|
+
"character": 14
|
|
3197
|
+
},
|
|
3198
|
+
"type": "\"aspect\""
|
|
3199
|
+
}
|
|
3200
|
+
},
|
|
3201
|
+
{
|
|
3202
|
+
"__schema": "ClassSchema",
|
|
3203
|
+
"name": "AspectEnv",
|
|
3204
|
+
"location": {
|
|
3205
|
+
"filePath": "aspect.env.ts",
|
|
3206
|
+
"line": 21,
|
|
3207
|
+
"character": 1
|
|
3208
|
+
},
|
|
3209
|
+
"signature": "class AspectEnv",
|
|
3210
|
+
"extendsNodes": [],
|
|
3211
|
+
"implementNodes": [
|
|
3212
|
+
{
|
|
3213
|
+
"__schema": "ExpressionWithTypeArgumentsSchema",
|
|
3214
|
+
"name": "implements DependenciesEnv, PackageEnv, PreviewEnv",
|
|
3215
|
+
"location": {
|
|
3216
|
+
"filePath": "aspect.env.ts",
|
|
3217
|
+
"line": 21,
|
|
3218
|
+
"character": 35
|
|
3219
|
+
},
|
|
3220
|
+
"typeArgs": [],
|
|
3221
|
+
"expression": {
|
|
3222
|
+
"__schema": "TypeRefSchema",
|
|
3223
|
+
"location": {
|
|
3224
|
+
"filePath": "aspect.env.ts",
|
|
3225
|
+
"line": 21,
|
|
3226
|
+
"character": 35
|
|
3227
|
+
},
|
|
3228
|
+
"name": "DependenciesEnv",
|
|
3229
|
+
"componentId": {
|
|
3230
|
+
"scope": "teambit.harmony",
|
|
3231
|
+
"name": "aspect",
|
|
3232
|
+
"version": "0.0.966"
|
|
3233
|
+
}
|
|
3234
|
+
}
|
|
3235
|
+
},
|
|
3236
|
+
{
|
|
3237
|
+
"__schema": "ExpressionWithTypeArgumentsSchema",
|
|
3238
|
+
"name": "implements DependenciesEnv, PackageEnv, PreviewEnv",
|
|
3239
|
+
"location": {
|
|
3240
|
+
"filePath": "aspect.env.ts",
|
|
3241
|
+
"line": 21,
|
|
3242
|
+
"character": 52
|
|
3243
|
+
},
|
|
3244
|
+
"typeArgs": [],
|
|
3245
|
+
"expression": {
|
|
3246
|
+
"__schema": "TypeRefSchema",
|
|
3247
|
+
"location": {
|
|
3248
|
+
"filePath": "aspect.env.ts",
|
|
3249
|
+
"line": 21,
|
|
3250
|
+
"character": 52
|
|
3251
|
+
},
|
|
3252
|
+
"name": "PackageEnv",
|
|
3253
|
+
"componentId": {
|
|
3254
|
+
"scope": "teambit.harmony",
|
|
3255
|
+
"name": "aspect",
|
|
3256
|
+
"version": "0.0.966"
|
|
3257
|
+
}
|
|
3258
|
+
}
|
|
3259
|
+
},
|
|
3260
|
+
{
|
|
3261
|
+
"__schema": "ExpressionWithTypeArgumentsSchema",
|
|
3262
|
+
"name": "implements DependenciesEnv, PackageEnv, PreviewEnv",
|
|
3263
|
+
"location": {
|
|
3264
|
+
"filePath": "aspect.env.ts",
|
|
3265
|
+
"line": 21,
|
|
3266
|
+
"character": 64
|
|
3267
|
+
},
|
|
3268
|
+
"typeArgs": [],
|
|
3269
|
+
"expression": {
|
|
3270
|
+
"__schema": "TypeRefSchema",
|
|
3271
|
+
"location": {
|
|
3272
|
+
"filePath": "aspect.env.ts",
|
|
3273
|
+
"line": 21,
|
|
3274
|
+
"character": 64
|
|
3275
|
+
},
|
|
3276
|
+
"name": "PreviewEnv",
|
|
3277
|
+
"componentId": {
|
|
3278
|
+
"scope": "teambit.harmony",
|
|
3279
|
+
"name": "aspect",
|
|
3280
|
+
"version": "0.0.966"
|
|
3281
|
+
}
|
|
3282
|
+
}
|
|
3283
|
+
}
|
|
3284
|
+
],
|
|
3285
|
+
"members": [
|
|
3286
|
+
{
|
|
3287
|
+
"__schema": "ConstructorSchema",
|
|
3288
|
+
"location": {
|
|
3289
|
+
"filePath": "aspect.env.ts",
|
|
3290
|
+
"line": 22,
|
|
3291
|
+
"character": 3
|
|
3292
|
+
},
|
|
3293
|
+
"name": "constructor",
|
|
3294
|
+
"signature": "constructor AspectEnv(reactEnv: ReactEnv, aspectLoader: AspectLoaderMain): AspectEnv",
|
|
3295
|
+
"modifiers": [],
|
|
3296
|
+
"params": [
|
|
3297
|
+
{
|
|
3298
|
+
"__schema": "ParameterSchema",
|
|
3299
|
+
"location": {
|
|
3300
|
+
"filePath": "aspect.env.ts",
|
|
3301
|
+
"line": 22,
|
|
3302
|
+
"character": 15
|
|
3303
|
+
},
|
|
3304
|
+
"name": "reactEnv",
|
|
3305
|
+
"isOptional": false,
|
|
3306
|
+
"type": {
|
|
3307
|
+
"__schema": "TypeRefSchema",
|
|
3308
|
+
"location": {
|
|
3309
|
+
"filePath": "aspect.env.ts",
|
|
3310
|
+
"line": 22,
|
|
3311
|
+
"character": 33
|
|
3312
|
+
},
|
|
3313
|
+
"name": "ReactEnv",
|
|
3314
|
+
"componentId": {
|
|
3315
|
+
"scope": "teambit.react",
|
|
3316
|
+
"name": "react"
|
|
3317
|
+
}
|
|
3318
|
+
}
|
|
3319
|
+
},
|
|
3320
|
+
{
|
|
3321
|
+
"__schema": "ParameterSchema",
|
|
3322
|
+
"location": {
|
|
3323
|
+
"filePath": "aspect.env.ts",
|
|
3324
|
+
"line": 22,
|
|
3325
|
+
"character": 43
|
|
3326
|
+
},
|
|
3327
|
+
"name": "aspectLoader",
|
|
3328
|
+
"isOptional": false,
|
|
3329
|
+
"type": {
|
|
3330
|
+
"__schema": "TypeRefSchema",
|
|
3331
|
+
"location": {
|
|
3332
|
+
"filePath": "aspect.env.ts",
|
|
3333
|
+
"line": 22,
|
|
3334
|
+
"character": 65
|
|
3335
|
+
},
|
|
3336
|
+
"name": "AspectLoaderMain",
|
|
3337
|
+
"componentId": {
|
|
3338
|
+
"scope": "teambit.harmony",
|
|
3339
|
+
"name": "aspect-loader"
|
|
3340
|
+
}
|
|
3341
|
+
}
|
|
3342
|
+
}
|
|
3343
|
+
],
|
|
3344
|
+
"returnType": {
|
|
3345
|
+
"__schema": "ThisTypeSchema",
|
|
3346
|
+
"location": {
|
|
3347
|
+
"filePath": "aspect.env.ts",
|
|
3348
|
+
"line": 21,
|
|
3349
|
+
"character": 1
|
|
3350
|
+
}
|
|
3351
|
+
}
|
|
3352
|
+
},
|
|
3353
|
+
{
|
|
3354
|
+
"__schema": "VariableLikeSchema",
|
|
3355
|
+
"location": {
|
|
3356
|
+
"filePath": "aspect.env.ts",
|
|
3357
|
+
"line": 24,
|
|
3358
|
+
"character": 3
|
|
3359
|
+
},
|
|
3360
|
+
"name": "icon",
|
|
3361
|
+
"signature": "(property) AspectEnv.icon: string",
|
|
3362
|
+
"isOptional": false,
|
|
3363
|
+
"type": {
|
|
3364
|
+
"__schema": "InferenceTypeSchema",
|
|
3365
|
+
"location": {
|
|
3366
|
+
"filePath": "aspect.env.ts",
|
|
3367
|
+
"line": 24,
|
|
3368
|
+
"character": 3
|
|
3369
|
+
},
|
|
3370
|
+
"type": "string"
|
|
3371
|
+
}
|
|
3372
|
+
},
|
|
3373
|
+
{
|
|
3374
|
+
"__schema": "FunctionLikeSchema",
|
|
3375
|
+
"location": {
|
|
3376
|
+
"filePath": "aspect.env.ts",
|
|
3377
|
+
"line": 26,
|
|
3378
|
+
"character": 3
|
|
3379
|
+
},
|
|
3380
|
+
"name": "__getDescriptor",
|
|
3381
|
+
"signature": "(method) AspectEnv.__getDescriptor(): Promise<{\n type: string;\n}>",
|
|
3382
|
+
"modifiers": [
|
|
3383
|
+
"async"
|
|
3384
|
+
],
|
|
3385
|
+
"params": [],
|
|
3386
|
+
"returnType": {
|
|
3387
|
+
"__schema": "InferenceTypeSchema",
|
|
3388
|
+
"location": {
|
|
3389
|
+
"filePath": "aspect.env.ts",
|
|
3390
|
+
"line": 26,
|
|
3391
|
+
"character": 3
|
|
3392
|
+
},
|
|
3393
|
+
"type": "Promise<{\n type: string;\n}>"
|
|
3394
|
+
}
|
|
3395
|
+
},
|
|
3396
|
+
{
|
|
3397
|
+
"__schema": "FunctionLikeSchema",
|
|
3398
|
+
"location": {
|
|
3399
|
+
"filePath": "aspect.env.ts",
|
|
3400
|
+
"line": 32,
|
|
3401
|
+
"character": 3
|
|
3402
|
+
},
|
|
3403
|
+
"name": "getTsConfig",
|
|
3404
|
+
"signature": "(method) AspectEnv.getTsConfig(tsConfig: TsConfigSourceFile): any",
|
|
3405
|
+
"modifiers": [],
|
|
3406
|
+
"params": [
|
|
3407
|
+
{
|
|
3408
|
+
"__schema": "ParameterSchema",
|
|
3409
|
+
"location": {
|
|
3410
|
+
"filePath": "aspect.env.ts",
|
|
3411
|
+
"line": 32,
|
|
3412
|
+
"character": 15
|
|
3413
|
+
},
|
|
3414
|
+
"name": "tsConfig",
|
|
3415
|
+
"isOptional": false,
|
|
3416
|
+
"type": {
|
|
3417
|
+
"__schema": "TypeRefSchema",
|
|
3418
|
+
"location": {
|
|
3419
|
+
"filePath": "aspect.env.ts",
|
|
3420
|
+
"line": 32,
|
|
3421
|
+
"character": 25
|
|
3422
|
+
},
|
|
3423
|
+
"name": "TsConfigSourceFile",
|
|
3424
|
+
"packageName": "typescript"
|
|
3425
|
+
}
|
|
3426
|
+
}
|
|
3427
|
+
],
|
|
3428
|
+
"returnType": {
|
|
3429
|
+
"__schema": "InferenceTypeSchema",
|
|
3430
|
+
"location": {
|
|
3431
|
+
"filePath": "aspect.env.ts",
|
|
3432
|
+
"line": 32,
|
|
3433
|
+
"character": 3
|
|
3434
|
+
},
|
|
3435
|
+
"type": "any"
|
|
3436
|
+
}
|
|
3437
|
+
},
|
|
3438
|
+
{
|
|
3439
|
+
"__schema": "FunctionLikeSchema",
|
|
3440
|
+
"location": {
|
|
3441
|
+
"filePath": "aspect.env.ts",
|
|
3442
|
+
"line": 39,
|
|
3443
|
+
"character": 3
|
|
3444
|
+
},
|
|
3445
|
+
"name": "createTsCompiler",
|
|
3446
|
+
"signature": "(method) AspectEnv.createTsCompiler(tsConfig: TsConfigSourceFile): Compiler",
|
|
3447
|
+
"modifiers": [],
|
|
3448
|
+
"params": [
|
|
3449
|
+
{
|
|
3450
|
+
"__schema": "ParameterSchema",
|
|
3451
|
+
"location": {
|
|
3452
|
+
"filePath": "aspect.env.ts",
|
|
3453
|
+
"line": 39,
|
|
3454
|
+
"character": 20
|
|
3455
|
+
},
|
|
3456
|
+
"name": "tsConfig",
|
|
3457
|
+
"isOptional": false,
|
|
3458
|
+
"type": {
|
|
3459
|
+
"__schema": "TypeRefSchema",
|
|
3460
|
+
"location": {
|
|
3461
|
+
"filePath": "aspect.env.ts",
|
|
3462
|
+
"line": 39,
|
|
3463
|
+
"character": 30
|
|
3464
|
+
},
|
|
3465
|
+
"name": "TsConfigSourceFile",
|
|
3466
|
+
"packageName": "typescript"
|
|
3467
|
+
}
|
|
3468
|
+
}
|
|
3469
|
+
],
|
|
3470
|
+
"returnType": {
|
|
3471
|
+
"__schema": "TypeRefSchema",
|
|
3472
|
+
"location": {
|
|
3473
|
+
"filePath": "aspect.env.ts",
|
|
3474
|
+
"line": 39,
|
|
3475
|
+
"character": 3
|
|
3476
|
+
},
|
|
3477
|
+
"name": "Compiler",
|
|
3478
|
+
"componentId": {
|
|
3479
|
+
"scope": "teambit.compilation",
|
|
3480
|
+
"name": "compiler"
|
|
3481
|
+
}
|
|
3482
|
+
}
|
|
3483
|
+
},
|
|
3484
|
+
{
|
|
3485
|
+
"__schema": "FunctionLikeSchema",
|
|
3486
|
+
"location": {
|
|
3487
|
+
"filePath": "aspect.env.ts",
|
|
3488
|
+
"line": 46,
|
|
3489
|
+
"character": 3
|
|
3490
|
+
},
|
|
3491
|
+
"name": "getTester",
|
|
3492
|
+
"signature": "(method) AspectEnv.getTester(jestConfigPath: string, jestModulePath?: string): Tester",
|
|
3493
|
+
"modifiers": [],
|
|
3494
|
+
"params": [
|
|
3495
|
+
{
|
|
3496
|
+
"__schema": "ParameterSchema",
|
|
3497
|
+
"location": {
|
|
3498
|
+
"filePath": "aspect.env.ts",
|
|
3499
|
+
"line": 46,
|
|
3500
|
+
"character": 13
|
|
3501
|
+
},
|
|
3502
|
+
"name": "jestConfigPath",
|
|
3503
|
+
"isOptional": false,
|
|
3504
|
+
"type": {
|
|
3505
|
+
"__schema": "KeywordTypeSchema",
|
|
3506
|
+
"location": {
|
|
3507
|
+
"filePath": "aspect.env.ts",
|
|
3508
|
+
"line": 46,
|
|
3509
|
+
"character": 29
|
|
3510
|
+
},
|
|
3511
|
+
"name": "string"
|
|
3512
|
+
}
|
|
3513
|
+
},
|
|
3514
|
+
{
|
|
3515
|
+
"__schema": "ParameterSchema",
|
|
3516
|
+
"location": {
|
|
3517
|
+
"filePath": "aspect.env.ts",
|
|
3518
|
+
"line": 46,
|
|
3519
|
+
"character": 37
|
|
3520
|
+
},
|
|
3521
|
+
"name": "jestModulePath",
|
|
3522
|
+
"isOptional": true,
|
|
3523
|
+
"type": {
|
|
3524
|
+
"__schema": "KeywordTypeSchema",
|
|
3525
|
+
"location": {
|
|
3526
|
+
"filePath": "aspect.env.ts",
|
|
3527
|
+
"line": 46,
|
|
3528
|
+
"character": 54
|
|
3529
|
+
},
|
|
3530
|
+
"name": "string"
|
|
3531
|
+
}
|
|
3532
|
+
}
|
|
3533
|
+
],
|
|
3534
|
+
"returnType": {
|
|
3535
|
+
"__schema": "TypeRefSchema",
|
|
3536
|
+
"location": {
|
|
3537
|
+
"filePath": "aspect.env.ts",
|
|
3538
|
+
"line": 46,
|
|
3539
|
+
"character": 3
|
|
3540
|
+
},
|
|
3541
|
+
"name": "Tester",
|
|
3542
|
+
"componentId": {
|
|
3543
|
+
"scope": "teambit.defender",
|
|
3544
|
+
"name": "tester"
|
|
3545
|
+
}
|
|
3546
|
+
},
|
|
3547
|
+
"doc": {
|
|
3548
|
+
"__schema": "DocSchema",
|
|
3549
|
+
"location": {
|
|
3550
|
+
"filePath": "aspect.env.ts",
|
|
3551
|
+
"line": 43,
|
|
3552
|
+
"character": 3
|
|
3553
|
+
},
|
|
3554
|
+
"raw": "/**\n * returns a component tester.\n */",
|
|
3555
|
+
"comment": "returns a component tester."
|
|
3556
|
+
}
|
|
3557
|
+
},
|
|
3558
|
+
{
|
|
3559
|
+
"__schema": "FunctionLikeSchema",
|
|
3560
|
+
"location": {
|
|
3561
|
+
"filePath": "aspect.env.ts",
|
|
3562
|
+
"line": 51,
|
|
3563
|
+
"character": 3
|
|
3564
|
+
},
|
|
3565
|
+
"name": "getTemplateBundler",
|
|
3566
|
+
"signature": "(method) AspectEnv.getTemplateBundler(context: BundlerContext, transformers?: WebpackConfigTransformer[]): Promise<Bundler>",
|
|
3567
|
+
"modifiers": [
|
|
3568
|
+
"async"
|
|
3569
|
+
],
|
|
3570
|
+
"params": [
|
|
3571
|
+
{
|
|
3572
|
+
"__schema": "ParameterSchema",
|
|
3573
|
+
"location": {
|
|
3574
|
+
"filePath": "aspect.env.ts",
|
|
3575
|
+
"line": 51,
|
|
3576
|
+
"character": 28
|
|
3577
|
+
},
|
|
3578
|
+
"name": "context",
|
|
3579
|
+
"isOptional": false,
|
|
3580
|
+
"type": {
|
|
3581
|
+
"__schema": "TypeRefSchema",
|
|
3582
|
+
"location": {
|
|
3583
|
+
"filePath": "aspect.env.ts",
|
|
3584
|
+
"line": 51,
|
|
3585
|
+
"character": 37
|
|
3586
|
+
},
|
|
3587
|
+
"name": "BundlerContext",
|
|
3588
|
+
"componentId": {
|
|
3589
|
+
"scope": "teambit.compilation",
|
|
3590
|
+
"name": "bundler"
|
|
3591
|
+
}
|
|
3592
|
+
}
|
|
3593
|
+
},
|
|
3594
|
+
{
|
|
3595
|
+
"__schema": "ParameterSchema",
|
|
3596
|
+
"location": {
|
|
3597
|
+
"filePath": "aspect.env.ts",
|
|
3598
|
+
"line": 51,
|
|
3599
|
+
"character": 53
|
|
3600
|
+
},
|
|
3601
|
+
"name": "transformers",
|
|
3602
|
+
"isOptional": false,
|
|
3603
|
+
"defaultValue": "[]",
|
|
3604
|
+
"type": {
|
|
3605
|
+
"__schema": "TypeArraySchema",
|
|
3606
|
+
"location": {
|
|
3607
|
+
"filePath": "aspect.env.ts",
|
|
3608
|
+
"line": 51,
|
|
3609
|
+
"character": 67
|
|
3610
|
+
},
|
|
3611
|
+
"type": {
|
|
3612
|
+
"__schema": "TypeRefSchema",
|
|
3613
|
+
"location": {
|
|
3614
|
+
"filePath": "aspect.env.ts",
|
|
3615
|
+
"line": 51,
|
|
3616
|
+
"character": 67
|
|
3617
|
+
},
|
|
3618
|
+
"name": "WebpackConfigTransformer",
|
|
3619
|
+
"componentId": {
|
|
3620
|
+
"scope": "teambit.webpack",
|
|
3621
|
+
"name": "webpack"
|
|
3622
|
+
}
|
|
3623
|
+
}
|
|
3624
|
+
}
|
|
3625
|
+
}
|
|
3626
|
+
],
|
|
3627
|
+
"returnType": {
|
|
3628
|
+
"__schema": "TypeRefSchema",
|
|
3629
|
+
"location": {
|
|
3630
|
+
"filePath": "aspect.env.ts",
|
|
3631
|
+
"line": 51,
|
|
3632
|
+
"character": 101
|
|
3633
|
+
},
|
|
3634
|
+
"name": "Promise",
|
|
3635
|
+
"packageName": "",
|
|
3636
|
+
"typeArgs": [
|
|
3637
|
+
{
|
|
3638
|
+
"__schema": "TypeRefSchema",
|
|
3639
|
+
"location": {
|
|
3640
|
+
"filePath": "aspect.env.ts",
|
|
3641
|
+
"line": 51,
|
|
3642
|
+
"character": 109
|
|
3643
|
+
},
|
|
3644
|
+
"name": "Bundler",
|
|
3645
|
+
"componentId": {
|
|
3646
|
+
"scope": "teambit.compilation",
|
|
3647
|
+
"name": "bundler"
|
|
3648
|
+
}
|
|
3649
|
+
}
|
|
3650
|
+
]
|
|
3651
|
+
}
|
|
3652
|
+
},
|
|
3653
|
+
{
|
|
3654
|
+
"__schema": "FunctionLikeSchema",
|
|
3655
|
+
"location": {
|
|
3656
|
+
"filePath": "aspect.env.ts",
|
|
3657
|
+
"line": 55,
|
|
3658
|
+
"character": 3
|
|
3659
|
+
},
|
|
3660
|
+
"name": "createTemplateWebpackBundler",
|
|
3661
|
+
"signature": "(method) AspectEnv.createTemplateWebpackBundler(context: BundlerContext, transformers?: WebpackConfigTransformer[]): Promise<Bundler>",
|
|
3662
|
+
"modifiers": [
|
|
3663
|
+
"async"
|
|
3664
|
+
],
|
|
3665
|
+
"params": [
|
|
3666
|
+
{
|
|
3667
|
+
"__schema": "ParameterSchema",
|
|
3668
|
+
"location": {
|
|
3669
|
+
"filePath": "aspect.env.ts",
|
|
3670
|
+
"line": 56,
|
|
3671
|
+
"character": 5
|
|
3672
|
+
},
|
|
3673
|
+
"name": "context",
|
|
3674
|
+
"isOptional": false,
|
|
3675
|
+
"type": {
|
|
3676
|
+
"__schema": "TypeRefSchema",
|
|
3677
|
+
"location": {
|
|
3678
|
+
"filePath": "aspect.env.ts",
|
|
3679
|
+
"line": 56,
|
|
3680
|
+
"character": 14
|
|
3681
|
+
},
|
|
3682
|
+
"name": "BundlerContext",
|
|
3683
|
+
"componentId": {
|
|
3684
|
+
"scope": "teambit.compilation",
|
|
3685
|
+
"name": "bundler"
|
|
3686
|
+
}
|
|
3687
|
+
}
|
|
3688
|
+
},
|
|
3689
|
+
{
|
|
3690
|
+
"__schema": "ParameterSchema",
|
|
3691
|
+
"location": {
|
|
3692
|
+
"filePath": "aspect.env.ts",
|
|
3693
|
+
"line": 57,
|
|
3694
|
+
"character": 5
|
|
3695
|
+
},
|
|
3696
|
+
"name": "transformers",
|
|
3697
|
+
"isOptional": false,
|
|
3698
|
+
"defaultValue": "[]",
|
|
3699
|
+
"type": {
|
|
3700
|
+
"__schema": "TypeArraySchema",
|
|
3701
|
+
"location": {
|
|
3702
|
+
"filePath": "aspect.env.ts",
|
|
3703
|
+
"line": 57,
|
|
3704
|
+
"character": 19
|
|
3705
|
+
},
|
|
3706
|
+
"type": {
|
|
3707
|
+
"__schema": "TypeRefSchema",
|
|
3708
|
+
"location": {
|
|
3709
|
+
"filePath": "aspect.env.ts",
|
|
3710
|
+
"line": 57,
|
|
3711
|
+
"character": 19
|
|
3712
|
+
},
|
|
3713
|
+
"name": "WebpackConfigTransformer",
|
|
3714
|
+
"componentId": {
|
|
3715
|
+
"scope": "teambit.webpack",
|
|
3716
|
+
"name": "webpack"
|
|
3717
|
+
}
|
|
3718
|
+
}
|
|
3719
|
+
}
|
|
3720
|
+
}
|
|
3721
|
+
],
|
|
3722
|
+
"returnType": {
|
|
3723
|
+
"__schema": "TypeRefSchema",
|
|
3724
|
+
"location": {
|
|
3725
|
+
"filePath": "aspect.env.ts",
|
|
3726
|
+
"line": 58,
|
|
3727
|
+
"character": 6
|
|
3728
|
+
},
|
|
3729
|
+
"name": "Promise",
|
|
3730
|
+
"packageName": "",
|
|
3731
|
+
"typeArgs": [
|
|
3732
|
+
{
|
|
3733
|
+
"__schema": "TypeRefSchema",
|
|
3734
|
+
"location": {
|
|
3735
|
+
"filePath": "aspect.env.ts",
|
|
3736
|
+
"line": 58,
|
|
3737
|
+
"character": 14
|
|
3738
|
+
},
|
|
3739
|
+
"name": "Bundler",
|
|
3740
|
+
"componentId": {
|
|
3741
|
+
"scope": "teambit.compilation",
|
|
3742
|
+
"name": "bundler"
|
|
3743
|
+
}
|
|
3744
|
+
}
|
|
3745
|
+
]
|
|
3746
|
+
}
|
|
3747
|
+
},
|
|
3748
|
+
{
|
|
3749
|
+
"__schema": "FunctionLikeSchema",
|
|
3750
|
+
"location": {
|
|
3751
|
+
"filePath": "aspect.env.ts",
|
|
3752
|
+
"line": 62,
|
|
3753
|
+
"character": 3
|
|
3754
|
+
},
|
|
3755
|
+
"name": "getPackageJsonProps",
|
|
3756
|
+
"signature": "(method) AspectEnv.getPackageJsonProps(): PackageJsonProps",
|
|
3757
|
+
"modifiers": [],
|
|
3758
|
+
"params": [],
|
|
3759
|
+
"returnType": {
|
|
3760
|
+
"__schema": "TypeRefSchema",
|
|
3761
|
+
"location": {
|
|
3762
|
+
"filePath": "aspect.env.ts",
|
|
3763
|
+
"line": 62,
|
|
3764
|
+
"character": 3
|
|
3765
|
+
},
|
|
3766
|
+
"name": "PackageJsonProps",
|
|
3767
|
+
"componentId": {
|
|
3768
|
+
"scope": "teambit.pkg",
|
|
3769
|
+
"name": "pkg"
|
|
3770
|
+
}
|
|
3771
|
+
}
|
|
3772
|
+
},
|
|
3773
|
+
{
|
|
3774
|
+
"__schema": "FunctionLikeSchema",
|
|
3775
|
+
"location": {
|
|
3776
|
+
"filePath": "aspect.env.ts",
|
|
3777
|
+
"line": 66,
|
|
3778
|
+
"character": 3
|
|
3779
|
+
},
|
|
3780
|
+
"name": "getNpmIgnore",
|
|
3781
|
+
"signature": "(method) AspectEnv.getNpmIgnore(context?: GetNpmIgnoreContext): string[]",
|
|
3782
|
+
"modifiers": [],
|
|
3783
|
+
"params": [
|
|
3784
|
+
{
|
|
3785
|
+
"__schema": "ParameterSchema",
|
|
3786
|
+
"location": {
|
|
3787
|
+
"filePath": "aspect.env.ts",
|
|
3788
|
+
"line": 66,
|
|
3789
|
+
"character": 16
|
|
3790
|
+
},
|
|
3791
|
+
"name": "context",
|
|
3792
|
+
"isOptional": true,
|
|
3793
|
+
"type": {
|
|
3794
|
+
"__schema": "TypeRefSchema",
|
|
3795
|
+
"location": {
|
|
3796
|
+
"filePath": "aspect.env.ts",
|
|
3797
|
+
"line": 66,
|
|
3798
|
+
"character": 26
|
|
3799
|
+
},
|
|
3800
|
+
"name": "GetNpmIgnoreContext",
|
|
3801
|
+
"componentId": {
|
|
3802
|
+
"scope": "teambit.envs",
|
|
3803
|
+
"name": "envs"
|
|
3804
|
+
}
|
|
3805
|
+
}
|
|
3806
|
+
}
|
|
3807
|
+
],
|
|
3808
|
+
"returnType": {
|
|
3809
|
+
"__schema": "TypeRefSchema",
|
|
3810
|
+
"location": {
|
|
3811
|
+
"filePath": "aspect.env.ts",
|
|
3812
|
+
"line": 66,
|
|
3813
|
+
"character": 3
|
|
3814
|
+
},
|
|
3815
|
+
"name": "string[]",
|
|
3816
|
+
"packageName": ""
|
|
3817
|
+
}
|
|
3818
|
+
},
|
|
3819
|
+
{
|
|
3820
|
+
"__schema": "FunctionLikeSchema",
|
|
3821
|
+
"location": {
|
|
3822
|
+
"filePath": "aspect.env.ts",
|
|
3823
|
+
"line": 82,
|
|
3824
|
+
"character": 3
|
|
3825
|
+
},
|
|
3826
|
+
"name": "getPreviewConfig",
|
|
3827
|
+
"signature": "(method) AspectEnv.getPreviewConfig(): {\n strategyName: PreviewStrategyName;\n splitComponentBundle: boolean;\n}",
|
|
3828
|
+
"modifiers": [],
|
|
3829
|
+
"params": [],
|
|
3830
|
+
"returnType": {
|
|
3831
|
+
"__schema": "InferenceTypeSchema",
|
|
3832
|
+
"location": {
|
|
3833
|
+
"filePath": "aspect.env.ts",
|
|
3834
|
+
"line": 82,
|
|
3835
|
+
"character": 3
|
|
3836
|
+
},
|
|
3837
|
+
"type": "{\n strategyName: PreviewStrategyName;\n splitComponentBundle: boolean;\n}"
|
|
3838
|
+
}
|
|
3839
|
+
},
|
|
3840
|
+
{
|
|
3841
|
+
"__schema": "FunctionLikeSchema",
|
|
3842
|
+
"location": {
|
|
3843
|
+
"filePath": "aspect.env.ts",
|
|
3844
|
+
"line": 89,
|
|
3845
|
+
"character": 3
|
|
3846
|
+
},
|
|
3847
|
+
"name": "getDependencies",
|
|
3848
|
+
"signature": "(method) AspectEnv.getDependencies(): Promise<{\n dependencies: {\n react: string;\n 'react-dom': string;\n 'core-js': string;\n '@babel/runtime': string;\n };\n devDependencies: {\n react: string;\n 'react-dom': string;\n '@types/mocha': string;\n '@types/node': string;\n '@types/react': string;\n '@types/react-dom': string;\n '@types/jest': string;\n '@types/testing-library__jest-dom': string;\n };\n peerDependencies: {\n ...;\n };\n}>",
|
|
3849
|
+
"modifiers": [
|
|
3850
|
+
"async"
|
|
3851
|
+
],
|
|
3852
|
+
"params": [],
|
|
3853
|
+
"returnType": {
|
|
3854
|
+
"__schema": "InferenceTypeSchema",
|
|
3855
|
+
"location": {
|
|
3856
|
+
"filePath": "aspect.env.ts",
|
|
3857
|
+
"line": 89,
|
|
3858
|
+
"character": 3
|
|
3859
|
+
},
|
|
3860
|
+
"type": "Promise<{\n dependencies: {\n react: string;\n 'react-dom': string;\n 'core-js': string;\n '@babel/runtime': string;\n };\n devDependencies: {\n react: string;\n 'react-dom': string;\n '@types/mocha': string;\n '@types/node': string;\n '@types/react': string;\n '@types/react-dom': string;\n '@types/jest': string;\n '@types/testing-library__jest-dom': string;\n };\n peerDependencies: {\n ...;\n };\n}>"
|
|
3861
|
+
}
|
|
3862
|
+
}
|
|
3863
|
+
],
|
|
3864
|
+
"doc": {
|
|
3865
|
+
"__schema": "DocSchema",
|
|
3866
|
+
"location": {
|
|
3867
|
+
"filePath": "aspect.env.ts",
|
|
3868
|
+
"line": 18,
|
|
3869
|
+
"character": 1
|
|
3870
|
+
},
|
|
3871
|
+
"raw": "/**\n * a component environment built for Aspects .\n */",
|
|
3872
|
+
"comment": "a component environment built for Aspects ."
|
|
3873
|
+
}
|
|
3874
|
+
}
|
|
3875
|
+
],
|
|
3876
|
+
"internals": [
|
|
3877
|
+
{
|
|
3878
|
+
"__schema": "ModuleSchema",
|
|
3879
|
+
"location": {
|
|
3880
|
+
"filePath": "aspect.env.ts",
|
|
3881
|
+
"line": 14,
|
|
3882
|
+
"character": 1
|
|
3883
|
+
},
|
|
3884
|
+
"exports": [
|
|
3885
|
+
{
|
|
3886
|
+
"__schema": "VariableLikeSchema",
|
|
3887
|
+
"location": {
|
|
3888
|
+
"filePath": "aspect.env.ts",
|
|
3889
|
+
"line": 14,
|
|
3890
|
+
"character": 7
|
|
3891
|
+
},
|
|
3892
|
+
"name": "tsconfig",
|
|
3893
|
+
"signature": "const tsconfig: any",
|
|
3894
|
+
"isOptional": false,
|
|
3895
|
+
"type": {
|
|
3896
|
+
"__schema": "InferenceTypeSchema",
|
|
3897
|
+
"location": {
|
|
3898
|
+
"filePath": "aspect.env.ts",
|
|
3899
|
+
"line": 14,
|
|
3900
|
+
"character": 7
|
|
3901
|
+
},
|
|
3902
|
+
"type": "any"
|
|
3903
|
+
}
|
|
3904
|
+
}
|
|
3905
|
+
],
|
|
3906
|
+
"internals": []
|
|
3907
|
+
}
|
|
3908
|
+
]
|
|
3909
|
+
}
|
|
3910
|
+
],
|
|
1873
3911
|
"componentId": {
|
|
1874
3912
|
"scope": "teambit.harmony",
|
|
1875
3913
|
"name": "aspect",
|
|
1876
|
-
"version": "0.0.
|
|
3914
|
+
"version": "0.0.966"
|
|
1877
3915
|
}
|
|
1878
3916
|
}
|