@teambit/node 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.
@@ -32,7 +32,9 @@
32
32
  "line": 23,
33
33
  "character": 3
34
34
  },
35
+ "name": "constructor",
35
36
  "signature": "constructor NodeMain(react: ReactMain, tsAspect: TypescriptMain, nodeEnv: NodeEnv, envs: EnvsMain): NodeMain",
37
+ "modifiers": [],
36
38
  "params": [
37
39
  {
38
40
  "__schema": "ParameterSchema",
@@ -53,8 +55,7 @@
53
55
  "name": "ReactMain",
54
56
  "componentId": {
55
57
  "scope": "teambit.react",
56
- "name": "react",
57
- "version": "0.0.964"
58
+ "name": "react"
58
59
  }
59
60
  }
60
61
  },
@@ -77,8 +78,7 @@
77
78
  "name": "TypescriptMain",
78
79
  "componentId": {
79
80
  "scope": "teambit.typescript",
80
- "name": "typescript",
81
- "version": "0.0.964"
81
+ "name": "typescript"
82
82
  }
83
83
  }
84
84
  },
@@ -92,14 +92,14 @@
92
92
  "name": "nodeEnv",
93
93
  "isOptional": false,
94
94
  "type": {
95
- "__schema": "InferenceTypeSchema",
95
+ "__schema": "TypeRefSchema",
96
96
  "location": {
97
97
  "filePath": "node.main.runtime.ts",
98
98
  "line": 28,
99
99
  "character": 23
100
100
  },
101
- "type": "NodeEnv",
102
- "name": "NodeEnv"
101
+ "name": "NodeEnv",
102
+ "internalFilePath": "node.env.ts"
103
103
  }
104
104
  },
105
105
  {
@@ -121,12 +121,19 @@
121
121
  "name": "EnvsMain",
122
122
  "componentId": {
123
123
  "scope": "teambit.envs",
124
- "name": "envs",
125
- "version": "0.0.964"
124
+ "name": "envs"
126
125
  }
127
126
  }
128
127
  }
129
- ]
128
+ ],
129
+ "returnType": {
130
+ "__schema": "ThisTypeSchema",
131
+ "location": {
132
+ "filePath": "node.main.runtime.ts",
133
+ "line": 22,
134
+ "character": 1
135
+ }
136
+ }
130
137
  },
131
138
  {
132
139
  "__schema": "FunctionLikeSchema",
@@ -187,7 +194,7 @@
187
194
  "character": 15
188
195
  },
189
196
  "name": "TsConfigSourceFile",
190
- "packageName": ""
197
+ "packageName": "typescript"
191
198
  }
192
199
  },
193
200
  {
@@ -219,8 +226,7 @@
219
226
  "name": "TsCompilerOptionsWithoutTsConfig",
220
227
  "componentId": {
221
228
  "scope": "teambit.typescript",
222
- "name": "typescript",
223
- "version": "0.0.964"
229
+ "name": "typescript"
224
230
  }
225
231
  }
226
232
  ]
@@ -256,8 +262,7 @@
256
262
  "name": "EnvTransformer",
257
263
  "componentId": {
258
264
  "scope": "teambit.envs",
259
- "name": "envs",
260
- "version": "0.0.964"
265
+ "name": "envs"
261
266
  }
262
267
  }
263
268
  },
@@ -304,7 +309,7 @@
304
309
  "componentId": {
305
310
  "scope": "teambit.react",
306
311
  "name": "react",
307
- "version": "0.0.964"
312
+ "version": "0.0.966"
308
313
  }
309
314
  },
310
315
  "doc": {
@@ -365,8 +370,7 @@
365
370
  "name": "BuildTask",
366
371
  "componentId": {
367
372
  "scope": "teambit.pipelines",
368
- "name": "builder",
369
- "version": "0.0.964"
373
+ "name": "builder"
370
374
  }
371
375
  }
372
376
  }
@@ -382,8 +386,7 @@
382
386
  "name": "EnvTransformer",
383
387
  "componentId": {
384
388
  "scope": "teambit.envs",
385
- "name": "envs",
386
- "version": "0.0.964"
389
+ "name": "envs"
387
390
  }
388
391
  }
389
392
  },
@@ -438,8 +441,7 @@
438
441
  "name": "Compiler",
439
442
  "componentId": {
440
443
  "scope": "teambit.compilation",
441
- "name": "compiler",
442
- "version": "0.0.964"
444
+ "name": "compiler"
443
445
  }
444
446
  }
445
447
  }
@@ -454,8 +456,7 @@
454
456
  "name": "EnvTransformer",
455
457
  "componentId": {
456
458
  "scope": "teambit.envs",
457
- "name": "envs",
458
- "version": "0.0.964"
459
+ "name": "envs"
459
460
  }
460
461
  }
461
462
  },
@@ -517,8 +518,7 @@
517
518
  "name": "BuildTask",
518
519
  "componentId": {
519
520
  "scope": "teambit.pipelines",
520
- "name": "builder",
521
- "version": "0.0.964"
521
+ "name": "builder"
522
522
  }
523
523
  }
524
524
  }
@@ -534,8 +534,7 @@
534
534
  "name": "EnvTransformer",
535
535
  "componentId": {
536
536
  "scope": "teambit.envs",
537
- "name": "envs",
538
- "version": "0.0.964"
537
+ "name": "envs"
539
538
  }
540
539
  }
541
540
  },
@@ -619,8 +618,7 @@
619
618
  "name": "TsCompilerOptionsWithoutTsConfig",
620
619
  "componentId": {
621
620
  "scope": "teambit.typescript",
622
- "name": "typescript",
623
- "version": "0.0.964"
621
+ "name": "typescript"
624
622
  }
625
623
  }
626
624
  ]
@@ -637,8 +635,7 @@
637
635
  "name": "EnvTransformer",
638
636
  "componentId": {
639
637
  "scope": "teambit.envs",
640
- "name": "envs",
641
- "version": "0.0.964"
638
+ "name": "envs"
642
639
  }
643
640
  }
644
641
  },
@@ -704,8 +701,7 @@
704
701
  "name": "PackageJsonProps",
705
702
  "componentId": {
706
703
  "scope": "teambit.pkg",
707
- "name": "pkg",
708
- "version": "0.0.964"
704
+ "name": "pkg"
709
705
  }
710
706
  }
711
707
  }
@@ -720,8 +716,7 @@
720
716
  "name": "EnvTransformer",
721
717
  "componentId": {
722
718
  "scope": "teambit.envs",
723
- "name": "envs",
724
- "version": "0.0.964"
719
+ "name": "envs"
725
720
  }
726
721
  }
727
722
  },
@@ -757,7 +752,7 @@
757
752
  "componentId": {
758
753
  "scope": "teambit.react",
759
754
  "name": "react",
760
- "version": "0.0.964"
755
+ "version": "0.0.966"
761
756
  }
762
757
  },
763
758
  "doc": {
@@ -803,7 +798,7 @@
803
798
  "componentId": {
804
799
  "scope": "teambit.react",
805
800
  "name": "react",
806
- "version": "0.0.964"
801
+ "version": "0.0.966"
807
802
  }
808
803
  },
809
804
  "doc": {
@@ -858,8 +853,7 @@
858
853
  "name": "UseTypescriptModifiers",
859
854
  "componentId": {
860
855
  "scope": "teambit.react",
861
- "name": "react",
862
- "version": "0.0.964"
856
+ "name": "react"
863
857
  }
864
858
  }
865
859
  },
@@ -893,8 +887,7 @@
893
887
  "name": "EnvTransformer",
894
888
  "componentId": {
895
889
  "scope": "teambit.envs",
896
- "name": "envs",
897
- "version": "0.0.964"
890
+ "name": "envs"
898
891
  }
899
892
  },
900
893
  "doc": {
@@ -929,7 +922,7 @@
929
922
  "componentId": {
930
923
  "scope": "teambit.react",
931
924
  "name": "react",
932
- "version": "0.0.964"
925
+ "version": "0.0.966"
933
926
  }
934
927
  },
935
928
  "doc": {
@@ -964,7 +957,7 @@
964
957
  "componentId": {
965
958
  "scope": "teambit.react",
966
959
  "name": "react",
967
- "version": "0.0.964"
960
+ "version": "0.0.966"
968
961
  }
969
962
  },
970
963
  "doc": {
@@ -999,7 +992,7 @@
999
992
  "componentId": {
1000
993
  "scope": "teambit.react",
1001
994
  "name": "react",
1002
- "version": "0.0.964"
995
+ "version": "0.0.966"
1003
996
  }
1004
997
  },
1005
998
  "doc": {
@@ -1043,8 +1036,7 @@
1043
1036
  "name": "EnvPolicyConfigObject",
1044
1037
  "componentId": {
1045
1038
  "scope": "teambit.dependencies",
1046
- "name": "dependency-resolver",
1047
- "version": "0.0.964"
1039
+ "name": "dependency-resolver"
1048
1040
  }
1049
1041
  }
1050
1042
  }
@@ -1059,8 +1051,7 @@
1059
1051
  "name": "EnvTransformer",
1060
1052
  "componentId": {
1061
1053
  "scope": "teambit.envs",
1062
- "name": "envs",
1063
- "version": "0.0.964"
1054
+ "name": "envs"
1064
1055
  }
1065
1056
  },
1066
1057
  "doc": {
@@ -1095,7 +1086,7 @@
1095
1086
  "componentId": {
1096
1087
  "scope": "teambit.react",
1097
1088
  "name": "react",
1098
- "version": "0.0.964"
1089
+ "version": "0.0.966"
1099
1090
  }
1100
1091
  }
1101
1092
  },
@@ -1136,8 +1127,7 @@
1136
1127
  "name": "EnvTransformer",
1137
1128
  "componentId": {
1138
1129
  "scope": "teambit.envs",
1139
- "name": "envs",
1140
- "version": "0.0.964"
1130
+ "name": "envs"
1141
1131
  }
1142
1132
  }
1143
1133
  }
@@ -1162,8 +1152,7 @@
1162
1152
  "name": "Environment",
1163
1153
  "componentId": {
1164
1154
  "scope": "teambit.envs",
1165
- "name": "envs",
1166
- "version": "0.0.964"
1155
+ "name": "envs"
1167
1156
  }
1168
1157
  }
1169
1158
  }
@@ -1178,8 +1167,7 @@
1178
1167
  "name": "Environment",
1179
1168
  "componentId": {
1180
1169
  "scope": "teambit.envs",
1181
- "name": "envs",
1182
- "version": "0.0.964"
1170
+ "name": "envs"
1183
1171
  }
1184
1172
  },
1185
1173
  "doc": {
@@ -1274,8 +1262,7 @@
1274
1262
  "name": "LoggerMain",
1275
1263
  "componentId": {
1276
1264
  "scope": "teambit.harmony",
1277
- "name": "logger",
1278
- "version": "0.0.740"
1265
+ "name": "logger"
1279
1266
  }
1280
1267
  },
1281
1268
  {
@@ -1288,8 +1275,7 @@
1288
1275
  "name": "EnvsMain",
1289
1276
  "componentId": {
1290
1277
  "scope": "teambit.envs",
1291
- "name": "envs",
1292
- "version": "0.0.964"
1278
+ "name": "envs"
1293
1279
  }
1294
1280
  },
1295
1281
  {
@@ -1302,8 +1288,7 @@
1302
1288
  "name": "ApplicationMain",
1303
1289
  "componentId": {
1304
1290
  "scope": "teambit.harmony",
1305
- "name": "application",
1306
- "version": "0.0.606"
1291
+ "name": "application"
1307
1292
  }
1308
1293
  },
1309
1294
  {
@@ -1316,8 +1301,7 @@
1316
1301
  "name": "ReactMain",
1317
1302
  "componentId": {
1318
1303
  "scope": "teambit.react",
1319
- "name": "react",
1320
- "version": "0.0.964"
1304
+ "name": "react"
1321
1305
  }
1322
1306
  },
1323
1307
  {
@@ -1330,8 +1314,7 @@
1330
1314
  "name": "GeneratorMain",
1331
1315
  "componentId": {
1332
1316
  "scope": "teambit.generator",
1333
- "name": "generator",
1334
- "version": "0.0.964"
1317
+ "name": "generator"
1335
1318
  }
1336
1319
  },
1337
1320
  {
@@ -1344,8 +1327,7 @@
1344
1327
  "name": "TypescriptMain",
1345
1328
  "componentId": {
1346
1329
  "scope": "teambit.typescript",
1347
- "name": "typescript",
1348
- "version": "0.0.964"
1330
+ "name": "typescript"
1349
1331
  }
1350
1332
  }
1351
1333
  ]
@@ -1499,8 +1481,7 @@
1499
1481
  "name": "DeployFn",
1500
1482
  "componentId": {
1501
1483
  "scope": "teambit.harmony",
1502
- "name": "application",
1503
- "version": "0.0.606"
1484
+ "name": "application"
1504
1485
  }
1505
1486
  },
1506
1487
  "doc": {
@@ -1547,7 +1528,7 @@
1547
1528
  "componentId": {
1548
1529
  "scope": "teambit.harmony",
1549
1530
  "name": "node",
1550
- "version": "0.0.964"
1531
+ "version": "0.0.966"
1551
1532
  }
1552
1533
  }
1553
1534
  }
@@ -1635,11 +1616,1646 @@
1635
1616
  }
1636
1617
  }
1637
1618
  }
1638
- ]
1619
+ ],
1620
+ "internals": []
1639
1621
  },
1622
+ "internals": [
1623
+ {
1624
+ "__schema": "ModuleSchema",
1625
+ "location": {
1626
+ "filePath": "node.main.runtime.ts",
1627
+ "line": 1,
1628
+ "character": 1
1629
+ },
1630
+ "exports": [
1631
+ {
1632
+ "__schema": "ClassSchema",
1633
+ "name": "NodeMain",
1634
+ "location": {
1635
+ "filePath": "node.main.runtime.ts",
1636
+ "line": 22,
1637
+ "character": 1
1638
+ },
1639
+ "signature": "class NodeMain",
1640
+ "extendsNodes": [],
1641
+ "implementNodes": [],
1642
+ "members": [
1643
+ {
1644
+ "__schema": "ConstructorSchema",
1645
+ "location": {
1646
+ "filePath": "node.main.runtime.ts",
1647
+ "line": 23,
1648
+ "character": 3
1649
+ },
1650
+ "name": "constructor",
1651
+ "signature": "constructor NodeMain(react: ReactMain, tsAspect: TypescriptMain, nodeEnv: NodeEnv, envs: EnvsMain): NodeMain",
1652
+ "modifiers": [],
1653
+ "params": [
1654
+ {
1655
+ "__schema": "ParameterSchema",
1656
+ "location": {
1657
+ "filePath": "node.main.runtime.ts",
1658
+ "line": 24,
1659
+ "character": 5
1660
+ },
1661
+ "name": "react",
1662
+ "isOptional": false,
1663
+ "type": {
1664
+ "__schema": "TypeRefSchema",
1665
+ "location": {
1666
+ "filePath": "node.main.runtime.ts",
1667
+ "line": 24,
1668
+ "character": 20
1669
+ },
1670
+ "name": "ReactMain",
1671
+ "componentId": {
1672
+ "scope": "teambit.react",
1673
+ "name": "react"
1674
+ }
1675
+ }
1676
+ },
1677
+ {
1678
+ "__schema": "ParameterSchema",
1679
+ "location": {
1680
+ "filePath": "node.main.runtime.ts",
1681
+ "line": 26,
1682
+ "character": 5
1683
+ },
1684
+ "name": "tsAspect",
1685
+ "isOptional": false,
1686
+ "type": {
1687
+ "__schema": "TypeRefSchema",
1688
+ "location": {
1689
+ "filePath": "node.main.runtime.ts",
1690
+ "line": 26,
1691
+ "character": 23
1692
+ },
1693
+ "name": "TypescriptMain",
1694
+ "componentId": {
1695
+ "scope": "teambit.typescript",
1696
+ "name": "typescript"
1697
+ }
1698
+ }
1699
+ },
1700
+ {
1701
+ "__schema": "ParameterSchema",
1702
+ "location": {
1703
+ "filePath": "node.main.runtime.ts",
1704
+ "line": 28,
1705
+ "character": 5
1706
+ },
1707
+ "name": "nodeEnv",
1708
+ "isOptional": false,
1709
+ "type": {
1710
+ "__schema": "TypeRefSchema",
1711
+ "location": {
1712
+ "filePath": "node.main.runtime.ts",
1713
+ "line": 28,
1714
+ "character": 23
1715
+ },
1716
+ "name": "NodeEnv",
1717
+ "internalFilePath": "node.env.ts"
1718
+ }
1719
+ },
1720
+ {
1721
+ "__schema": "ParameterSchema",
1722
+ "location": {
1723
+ "filePath": "node.main.runtime.ts",
1724
+ "line": 30,
1725
+ "character": 5
1726
+ },
1727
+ "name": "envs",
1728
+ "isOptional": false,
1729
+ "type": {
1730
+ "__schema": "TypeRefSchema",
1731
+ "location": {
1732
+ "filePath": "node.main.runtime.ts",
1733
+ "line": 30,
1734
+ "character": 19
1735
+ },
1736
+ "name": "EnvsMain",
1737
+ "componentId": {
1738
+ "scope": "teambit.envs",
1739
+ "name": "envs"
1740
+ }
1741
+ }
1742
+ }
1743
+ ],
1744
+ "returnType": {
1745
+ "__schema": "ThisTypeSchema",
1746
+ "location": {
1747
+ "filePath": "node.main.runtime.ts",
1748
+ "line": 22,
1749
+ "character": 1
1750
+ }
1751
+ }
1752
+ },
1753
+ {
1754
+ "__schema": "FunctionLikeSchema",
1755
+ "location": {
1756
+ "filePath": "node.main.runtime.ts",
1757
+ "line": 33,
1758
+ "character": 3
1759
+ },
1760
+ "name": "icon",
1761
+ "signature": "(method) NodeMain.icon(): string",
1762
+ "modifiers": [],
1763
+ "params": [],
1764
+ "returnType": {
1765
+ "__schema": "InferenceTypeSchema",
1766
+ "location": {
1767
+ "filePath": "node.main.runtime.ts",
1768
+ "line": 33,
1769
+ "character": 3
1770
+ },
1771
+ "type": "string"
1772
+ }
1773
+ },
1774
+ {
1775
+ "__schema": "VariableLikeSchema",
1776
+ "location": {
1777
+ "filePath": "node.main.runtime.ts",
1778
+ "line": 41,
1779
+ "character": 3
1780
+ },
1781
+ "name": "overrideTsConfig",
1782
+ "signature": "(property) NodeMain.overrideTsConfig: (tsconfig: TsConfigSourceFile, compilerOptions?: Partial<TsCompilerOptionsWithoutTsConfig>, tsModule?: any) => EnvTransformer",
1783
+ "isOptional": false,
1784
+ "type": {
1785
+ "__schema": "FunctionLikeSchema",
1786
+ "location": {
1787
+ "filePath": "node.main.runtime.ts",
1788
+ "line": 41,
1789
+ "character": 21
1790
+ },
1791
+ "name": "",
1792
+ "signature": "",
1793
+ "modifiers": [],
1794
+ "params": [
1795
+ {
1796
+ "__schema": "ParameterSchema",
1797
+ "location": {
1798
+ "filePath": "node.main.runtime.ts",
1799
+ "line": 42,
1800
+ "character": 5
1801
+ },
1802
+ "name": "tsconfig",
1803
+ "isOptional": false,
1804
+ "type": {
1805
+ "__schema": "TypeRefSchema",
1806
+ "location": {
1807
+ "filePath": "node.main.runtime.ts",
1808
+ "line": 42,
1809
+ "character": 15
1810
+ },
1811
+ "name": "TsConfigSourceFile",
1812
+ "packageName": "typescript"
1813
+ }
1814
+ },
1815
+ {
1816
+ "__schema": "ParameterSchema",
1817
+ "location": {
1818
+ "filePath": "node.main.runtime.ts",
1819
+ "line": 43,
1820
+ "character": 5
1821
+ },
1822
+ "name": "compilerOptions",
1823
+ "isOptional": true,
1824
+ "type": {
1825
+ "__schema": "TypeRefSchema",
1826
+ "location": {
1827
+ "filePath": "node.main.runtime.ts",
1828
+ "line": 43,
1829
+ "character": 23
1830
+ },
1831
+ "name": "Partial",
1832
+ "packageName": "",
1833
+ "typeArgs": [
1834
+ {
1835
+ "__schema": "TypeRefSchema",
1836
+ "location": {
1837
+ "filePath": "node.main.runtime.ts",
1838
+ "line": 43,
1839
+ "character": 31
1840
+ },
1841
+ "name": "TsCompilerOptionsWithoutTsConfig",
1842
+ "componentId": {
1843
+ "scope": "teambit.typescript",
1844
+ "name": "typescript"
1845
+ }
1846
+ }
1847
+ ]
1848
+ }
1849
+ },
1850
+ {
1851
+ "__schema": "ParameterSchema",
1852
+ "location": {
1853
+ "filePath": "node.main.runtime.ts",
1854
+ "line": 44,
1855
+ "character": 5
1856
+ },
1857
+ "name": "tsModule",
1858
+ "isOptional": true,
1859
+ "type": {
1860
+ "__schema": "KeywordTypeSchema",
1861
+ "location": {
1862
+ "filePath": "node.main.runtime.ts",
1863
+ "line": 44,
1864
+ "character": 16
1865
+ },
1866
+ "name": "any"
1867
+ }
1868
+ }
1869
+ ],
1870
+ "returnType": {
1871
+ "__schema": "TypeRefSchema",
1872
+ "location": {
1873
+ "filePath": "node.main.runtime.ts",
1874
+ "line": 45,
1875
+ "character": 8
1876
+ },
1877
+ "name": "EnvTransformer",
1878
+ "componentId": {
1879
+ "scope": "teambit.envs",
1880
+ "name": "envs"
1881
+ }
1882
+ }
1883
+ },
1884
+ "doc": {
1885
+ "__schema": "DocSchema",
1886
+ "location": {
1887
+ "filePath": "node.main.runtime.ts",
1888
+ "line": 37,
1889
+ "character": 3
1890
+ },
1891
+ "raw": "/**\n * @deprecated use useTypescript()\n * override the TS config of the environment.\n */",
1892
+ "tags": [
1893
+ {
1894
+ "__schema": "TagSchema",
1895
+ "location": {
1896
+ "filePath": "node.main.runtime.ts",
1897
+ "line": 38,
1898
+ "character": 6
1899
+ },
1900
+ "tagName": "deprecated",
1901
+ "comment": "use useTypescript()\noverride the TS config of the environment."
1902
+ }
1903
+ ]
1904
+ }
1905
+ },
1906
+ {
1907
+ "__schema": "VariableLikeSchema",
1908
+ "location": {
1909
+ "filePath": "node.main.runtime.ts",
1910
+ "line": 50,
1911
+ "character": 3
1912
+ },
1913
+ "name": "overrideJestConfig",
1914
+ "signature": "(property) NodeMain.overrideJestConfig: (jestConfigPath: string, jestModulePath?: string | undefined) => EnvTransformer",
1915
+ "isOptional": false,
1916
+ "type": {
1917
+ "__schema": "TypeRefSchema",
1918
+ "location": {
1919
+ "filePath": "node.main.runtime.ts",
1920
+ "line": 50,
1921
+ "character": 3
1922
+ },
1923
+ "name": "(jestConfigPath: string, jestModulePath?: string | undefined) => EnvTransformer",
1924
+ "componentId": {
1925
+ "scope": "teambit.react",
1926
+ "name": "react",
1927
+ "version": "0.0.966"
1928
+ }
1929
+ },
1930
+ "doc": {
1931
+ "__schema": "DocSchema",
1932
+ "location": {
1933
+ "filePath": "node.main.runtime.ts",
1934
+ "line": 47,
1935
+ "character": 3
1936
+ },
1937
+ "raw": "/**\n * override the jest config of the environment.\n */",
1938
+ "comment": "override the jest config of the environment."
1939
+ }
1940
+ },
1941
+ {
1942
+ "__schema": "VariableLikeSchema",
1943
+ "location": {
1944
+ "filePath": "node.main.runtime.ts",
1945
+ "line": 55,
1946
+ "character": 3
1947
+ },
1948
+ "name": "overrideBuildPipe",
1949
+ "signature": "(property) NodeMain.overrideBuildPipe: (tasks: BuildTask[]) => EnvTransformer",
1950
+ "isOptional": false,
1951
+ "type": {
1952
+ "__schema": "FunctionLikeSchema",
1953
+ "location": {
1954
+ "filePath": "node.main.runtime.ts",
1955
+ "line": 55,
1956
+ "character": 22
1957
+ },
1958
+ "name": "",
1959
+ "signature": "",
1960
+ "modifiers": [],
1961
+ "params": [
1962
+ {
1963
+ "__schema": "ParameterSchema",
1964
+ "location": {
1965
+ "filePath": "node.main.runtime.ts",
1966
+ "line": 55,
1967
+ "character": 23
1968
+ },
1969
+ "name": "tasks",
1970
+ "isOptional": false,
1971
+ "type": {
1972
+ "__schema": "TypeArraySchema",
1973
+ "location": {
1974
+ "filePath": "node.main.runtime.ts",
1975
+ "line": 55,
1976
+ "character": 30
1977
+ },
1978
+ "type": {
1979
+ "__schema": "TypeRefSchema",
1980
+ "location": {
1981
+ "filePath": "node.main.runtime.ts",
1982
+ "line": 55,
1983
+ "character": 30
1984
+ },
1985
+ "name": "BuildTask",
1986
+ "componentId": {
1987
+ "scope": "teambit.pipelines",
1988
+ "name": "builder"
1989
+ }
1990
+ }
1991
+ }
1992
+ }
1993
+ ],
1994
+ "returnType": {
1995
+ "__schema": "TypeRefSchema",
1996
+ "location": {
1997
+ "filePath": "node.main.runtime.ts",
1998
+ "line": 55,
1999
+ "character": 46
2000
+ },
2001
+ "name": "EnvTransformer",
2002
+ "componentId": {
2003
+ "scope": "teambit.envs",
2004
+ "name": "envs"
2005
+ }
2006
+ }
2007
+ },
2008
+ "doc": {
2009
+ "__schema": "DocSchema",
2010
+ "location": {
2011
+ "filePath": "node.main.runtime.ts",
2012
+ "line": 52,
2013
+ "character": 3
2014
+ },
2015
+ "raw": "/**\n * override the env build pipeline.\n */",
2016
+ "comment": "override the env build pipeline."
2017
+ }
2018
+ },
2019
+ {
2020
+ "__schema": "VariableLikeSchema",
2021
+ "location": {
2022
+ "filePath": "node.main.runtime.ts",
2023
+ "line": 60,
2024
+ "character": 3
2025
+ },
2026
+ "name": "overrideCompiler",
2027
+ "signature": "(property) NodeMain.overrideCompiler: (compiler: Compiler) => EnvTransformer",
2028
+ "isOptional": false,
2029
+ "type": {
2030
+ "__schema": "FunctionLikeSchema",
2031
+ "location": {
2032
+ "filePath": "node.main.runtime.ts",
2033
+ "line": 60,
2034
+ "character": 21
2035
+ },
2036
+ "name": "",
2037
+ "signature": "",
2038
+ "modifiers": [],
2039
+ "params": [
2040
+ {
2041
+ "__schema": "ParameterSchema",
2042
+ "location": {
2043
+ "filePath": "node.main.runtime.ts",
2044
+ "line": 60,
2045
+ "character": 22
2046
+ },
2047
+ "name": "compiler",
2048
+ "isOptional": false,
2049
+ "type": {
2050
+ "__schema": "TypeRefSchema",
2051
+ "location": {
2052
+ "filePath": "node.main.runtime.ts",
2053
+ "line": 60,
2054
+ "character": 32
2055
+ },
2056
+ "name": "Compiler",
2057
+ "componentId": {
2058
+ "scope": "teambit.compilation",
2059
+ "name": "compiler"
2060
+ }
2061
+ }
2062
+ }
2063
+ ],
2064
+ "returnType": {
2065
+ "__schema": "TypeRefSchema",
2066
+ "location": {
2067
+ "filePath": "node.main.runtime.ts",
2068
+ "line": 60,
2069
+ "character": 45
2070
+ },
2071
+ "name": "EnvTransformer",
2072
+ "componentId": {
2073
+ "scope": "teambit.envs",
2074
+ "name": "envs"
2075
+ }
2076
+ }
2077
+ },
2078
+ "doc": {
2079
+ "__schema": "DocSchema",
2080
+ "location": {
2081
+ "filePath": "node.main.runtime.ts",
2082
+ "line": 57,
2083
+ "character": 3
2084
+ },
2085
+ "raw": "/**\n * override the env compilers list.\n */",
2086
+ "comment": "override the env compilers list."
2087
+ }
2088
+ },
2089
+ {
2090
+ "__schema": "VariableLikeSchema",
2091
+ "location": {
2092
+ "filePath": "node.main.runtime.ts",
2093
+ "line": 65,
2094
+ "character": 3
2095
+ },
2096
+ "name": "overrideCompilerTasks",
2097
+ "signature": "(property) NodeMain.overrideCompilerTasks: (tasks: BuildTask[]) => EnvTransformer",
2098
+ "isOptional": false,
2099
+ "type": {
2100
+ "__schema": "FunctionLikeSchema",
2101
+ "location": {
2102
+ "filePath": "node.main.runtime.ts",
2103
+ "line": 65,
2104
+ "character": 26
2105
+ },
2106
+ "name": "",
2107
+ "signature": "",
2108
+ "modifiers": [],
2109
+ "params": [
2110
+ {
2111
+ "__schema": "ParameterSchema",
2112
+ "location": {
2113
+ "filePath": "node.main.runtime.ts",
2114
+ "line": 65,
2115
+ "character": 27
2116
+ },
2117
+ "name": "tasks",
2118
+ "isOptional": false,
2119
+ "type": {
2120
+ "__schema": "TypeArraySchema",
2121
+ "location": {
2122
+ "filePath": "node.main.runtime.ts",
2123
+ "line": 65,
2124
+ "character": 34
2125
+ },
2126
+ "type": {
2127
+ "__schema": "TypeRefSchema",
2128
+ "location": {
2129
+ "filePath": "node.main.runtime.ts",
2130
+ "line": 65,
2131
+ "character": 34
2132
+ },
2133
+ "name": "BuildTask",
2134
+ "componentId": {
2135
+ "scope": "teambit.pipelines",
2136
+ "name": "builder"
2137
+ }
2138
+ }
2139
+ }
2140
+ }
2141
+ ],
2142
+ "returnType": {
2143
+ "__schema": "TypeRefSchema",
2144
+ "location": {
2145
+ "filePath": "node.main.runtime.ts",
2146
+ "line": 65,
2147
+ "character": 50
2148
+ },
2149
+ "name": "EnvTransformer",
2150
+ "componentId": {
2151
+ "scope": "teambit.envs",
2152
+ "name": "envs"
2153
+ }
2154
+ }
2155
+ },
2156
+ "doc": {
2157
+ "__schema": "DocSchema",
2158
+ "location": {
2159
+ "filePath": "node.main.runtime.ts",
2160
+ "line": 62,
2161
+ "character": 3
2162
+ },
2163
+ "raw": "/**\n * override the env compilers tasks in the build pipe.\n */",
2164
+ "comment": "override the env compilers tasks in the build pipe."
2165
+ }
2166
+ },
2167
+ {
2168
+ "__schema": "VariableLikeSchema",
2169
+ "location": {
2170
+ "filePath": "node.main.runtime.ts",
2171
+ "line": 71,
2172
+ "character": 3
2173
+ },
2174
+ "name": "overrideBuildTsConfig",
2175
+ "signature": "(property) NodeMain.overrideBuildTsConfig: (tsconfig: any, compilerOptions?: Partial<TsCompilerOptionsWithoutTsConfig>) => EnvTransformer",
2176
+ "isOptional": false,
2177
+ "type": {
2178
+ "__schema": "FunctionLikeSchema",
2179
+ "location": {
2180
+ "filePath": "node.main.runtime.ts",
2181
+ "line": 71,
2182
+ "character": 26
2183
+ },
2184
+ "name": "",
2185
+ "signature": "",
2186
+ "modifiers": [],
2187
+ "params": [
2188
+ {
2189
+ "__schema": "ParameterSchema",
2190
+ "location": {
2191
+ "filePath": "node.main.runtime.ts",
2192
+ "line": 72,
2193
+ "character": 5
2194
+ },
2195
+ "name": "tsconfig",
2196
+ "isOptional": false,
2197
+ "type": {
2198
+ "__schema": "KeywordTypeSchema",
2199
+ "location": {
2200
+ "filePath": "node.main.runtime.ts",
2201
+ "line": 72,
2202
+ "character": 15
2203
+ },
2204
+ "name": "any"
2205
+ }
2206
+ },
2207
+ {
2208
+ "__schema": "ParameterSchema",
2209
+ "location": {
2210
+ "filePath": "node.main.runtime.ts",
2211
+ "line": 73,
2212
+ "character": 5
2213
+ },
2214
+ "name": "compilerOptions",
2215
+ "isOptional": true,
2216
+ "type": {
2217
+ "__schema": "TypeRefSchema",
2218
+ "location": {
2219
+ "filePath": "node.main.runtime.ts",
2220
+ "line": 73,
2221
+ "character": 23
2222
+ },
2223
+ "name": "Partial",
2224
+ "packageName": "",
2225
+ "typeArgs": [
2226
+ {
2227
+ "__schema": "TypeRefSchema",
2228
+ "location": {
2229
+ "filePath": "node.main.runtime.ts",
2230
+ "line": 73,
2231
+ "character": 31
2232
+ },
2233
+ "name": "TsCompilerOptionsWithoutTsConfig",
2234
+ "componentId": {
2235
+ "scope": "teambit.typescript",
2236
+ "name": "typescript"
2237
+ }
2238
+ }
2239
+ ]
2240
+ }
2241
+ }
2242
+ ],
2243
+ "returnType": {
2244
+ "__schema": "TypeRefSchema",
2245
+ "location": {
2246
+ "filePath": "node.main.runtime.ts",
2247
+ "line": 74,
2248
+ "character": 8
2249
+ },
2250
+ "name": "EnvTransformer",
2251
+ "componentId": {
2252
+ "scope": "teambit.envs",
2253
+ "name": "envs"
2254
+ }
2255
+ }
2256
+ },
2257
+ "doc": {
2258
+ "__schema": "DocSchema",
2259
+ "location": {
2260
+ "filePath": "node.main.runtime.ts",
2261
+ "line": 67,
2262
+ "character": 3
2263
+ },
2264
+ "raw": "/**\n * @deprecated use useTypescript()\n * override the build ts config.\n */",
2265
+ "tags": [
2266
+ {
2267
+ "__schema": "TagSchema",
2268
+ "location": {
2269
+ "filePath": "node.main.runtime.ts",
2270
+ "line": 68,
2271
+ "character": 6
2272
+ },
2273
+ "tagName": "deprecated",
2274
+ "comment": "use useTypescript()\noverride the build ts config."
2275
+ }
2276
+ ]
2277
+ }
2278
+ },
2279
+ {
2280
+ "__schema": "VariableLikeSchema",
2281
+ "location": {
2282
+ "filePath": "node.main.runtime.ts",
2283
+ "line": 79,
2284
+ "character": 3
2285
+ },
2286
+ "name": "overridePackageJsonProps",
2287
+ "signature": "(property) NodeMain.overridePackageJsonProps: (props: PackageJsonProps) => EnvTransformer",
2288
+ "isOptional": false,
2289
+ "type": {
2290
+ "__schema": "FunctionLikeSchema",
2291
+ "location": {
2292
+ "filePath": "node.main.runtime.ts",
2293
+ "line": 79,
2294
+ "character": 29
2295
+ },
2296
+ "name": "",
2297
+ "signature": "",
2298
+ "modifiers": [],
2299
+ "params": [
2300
+ {
2301
+ "__schema": "ParameterSchema",
2302
+ "location": {
2303
+ "filePath": "node.main.runtime.ts",
2304
+ "line": 79,
2305
+ "character": 30
2306
+ },
2307
+ "name": "props",
2308
+ "isOptional": false,
2309
+ "type": {
2310
+ "__schema": "TypeRefSchema",
2311
+ "location": {
2312
+ "filePath": "node.main.runtime.ts",
2313
+ "line": 79,
2314
+ "character": 37
2315
+ },
2316
+ "name": "PackageJsonProps",
2317
+ "componentId": {
2318
+ "scope": "teambit.pkg",
2319
+ "name": "pkg"
2320
+ }
2321
+ }
2322
+ }
2323
+ ],
2324
+ "returnType": {
2325
+ "__schema": "TypeRefSchema",
2326
+ "location": {
2327
+ "filePath": "node.main.runtime.ts",
2328
+ "line": 79,
2329
+ "character": 58
2330
+ },
2331
+ "name": "EnvTransformer",
2332
+ "componentId": {
2333
+ "scope": "teambit.envs",
2334
+ "name": "envs"
2335
+ }
2336
+ }
2337
+ },
2338
+ "doc": {
2339
+ "__schema": "DocSchema",
2340
+ "location": {
2341
+ "filePath": "node.main.runtime.ts",
2342
+ "line": 76,
2343
+ "character": 3
2344
+ },
2345
+ "raw": "/**\n * override package json properties.\n */",
2346
+ "comment": "override package json properties."
2347
+ }
2348
+ },
2349
+ {
2350
+ "__schema": "VariableLikeSchema",
2351
+ "location": {
2352
+ "filePath": "node.main.runtime.ts",
2353
+ "line": 87,
2354
+ "character": 3
2355
+ },
2356
+ "name": "overridePreviewConfig",
2357
+ "signature": "(property) NodeMain.overridePreviewConfig: (config: Configuration) => EnvTransformer",
2358
+ "isOptional": false,
2359
+ "type": {
2360
+ "__schema": "TypeRefSchema",
2361
+ "location": {
2362
+ "filePath": "node.main.runtime.ts",
2363
+ "line": 87,
2364
+ "character": 3
2365
+ },
2366
+ "name": "(config: Configuration) => EnvTransformer",
2367
+ "componentId": {
2368
+ "scope": "teambit.react",
2369
+ "name": "react",
2370
+ "version": "0.0.966"
2371
+ }
2372
+ },
2373
+ "doc": {
2374
+ "__schema": "DocSchema",
2375
+ "location": {
2376
+ "filePath": "node.main.runtime.ts",
2377
+ "line": 83,
2378
+ "character": 3
2379
+ },
2380
+ "raw": "/**\n * @deprecated - use useWebpack\n * override the preview config in the env.\n */",
2381
+ "tags": [
2382
+ {
2383
+ "__schema": "TagSchema",
2384
+ "location": {
2385
+ "filePath": "node.main.runtime.ts",
2386
+ "line": 84,
2387
+ "character": 6
2388
+ },
2389
+ "tagName": "deprecated",
2390
+ "comment": "- use useWebpack\noverride the preview config in the env."
2391
+ }
2392
+ ]
2393
+ }
2394
+ },
2395
+ {
2396
+ "__schema": "VariableLikeSchema",
2397
+ "location": {
2398
+ "filePath": "node.main.runtime.ts",
2399
+ "line": 93,
2400
+ "character": 3
2401
+ },
2402
+ "name": "overrideDevServerConfig",
2403
+ "signature": "(property) NodeMain.overrideDevServerConfig: (config: Configuration) => EnvTransformer",
2404
+ "isOptional": false,
2405
+ "type": {
2406
+ "__schema": "TypeRefSchema",
2407
+ "location": {
2408
+ "filePath": "node.main.runtime.ts",
2409
+ "line": 93,
2410
+ "character": 3
2411
+ },
2412
+ "name": "(config: Configuration) => EnvTransformer",
2413
+ "componentId": {
2414
+ "scope": "teambit.react",
2415
+ "name": "react",
2416
+ "version": "0.0.966"
2417
+ }
2418
+ },
2419
+ "doc": {
2420
+ "__schema": "DocSchema",
2421
+ "location": {
2422
+ "filePath": "node.main.runtime.ts",
2423
+ "line": 89,
2424
+ "character": 3
2425
+ },
2426
+ "raw": "/**\n * @deprecated - use useWebpack\n * override the dev server configuration.\n */",
2427
+ "tags": [
2428
+ {
2429
+ "__schema": "TagSchema",
2430
+ "location": {
2431
+ "filePath": "node.main.runtime.ts",
2432
+ "line": 90,
2433
+ "character": 6
2434
+ },
2435
+ "tagName": "deprecated",
2436
+ "comment": "- use useWebpack\noverride the dev server configuration."
2437
+ }
2438
+ ]
2439
+ }
2440
+ },
2441
+ {
2442
+ "__schema": "FunctionLikeSchema",
2443
+ "location": {
2444
+ "filePath": "node.main.runtime.ts",
2445
+ "line": 99,
2446
+ "character": 3
2447
+ },
2448
+ "name": "useTypescript",
2449
+ "signature": "(method) NodeMain.useTypescript(modifiers?: UseTypescriptModifiers, tsModule?: any): EnvTransformer",
2450
+ "modifiers": [],
2451
+ "params": [
2452
+ {
2453
+ "__schema": "ParameterSchema",
2454
+ "location": {
2455
+ "filePath": "node.main.runtime.ts",
2456
+ "line": 99,
2457
+ "character": 17
2458
+ },
2459
+ "name": "modifiers",
2460
+ "isOptional": true,
2461
+ "type": {
2462
+ "__schema": "TypeRefSchema",
2463
+ "location": {
2464
+ "filePath": "node.main.runtime.ts",
2465
+ "line": 99,
2466
+ "character": 29
2467
+ },
2468
+ "name": "UseTypescriptModifiers",
2469
+ "componentId": {
2470
+ "scope": "teambit.react",
2471
+ "name": "react"
2472
+ }
2473
+ }
2474
+ },
2475
+ {
2476
+ "__schema": "ParameterSchema",
2477
+ "location": {
2478
+ "filePath": "node.main.runtime.ts",
2479
+ "line": 99,
2480
+ "character": 53
2481
+ },
2482
+ "name": "tsModule",
2483
+ "isOptional": true,
2484
+ "type": {
2485
+ "__schema": "KeywordTypeSchema",
2486
+ "location": {
2487
+ "filePath": "node.main.runtime.ts",
2488
+ "line": 99,
2489
+ "character": 64
2490
+ },
2491
+ "name": "any"
2492
+ }
2493
+ }
2494
+ ],
2495
+ "returnType": {
2496
+ "__schema": "TypeRefSchema",
2497
+ "location": {
2498
+ "filePath": "node.main.runtime.ts",
2499
+ "line": 99,
2500
+ "character": 3
2501
+ },
2502
+ "name": "EnvTransformer",
2503
+ "componentId": {
2504
+ "scope": "teambit.envs",
2505
+ "name": "envs"
2506
+ }
2507
+ },
2508
+ "doc": {
2509
+ "__schema": "DocSchema",
2510
+ "location": {
2511
+ "filePath": "node.main.runtime.ts",
2512
+ "line": 95,
2513
+ "character": 3
2514
+ },
2515
+ "raw": "/**\n * override the env's typescript config for both dev and build time.\n * Replaces both overrideTsConfig (devConfig) and overrideBuildTsConfig (buildConfig)\n */",
2516
+ "comment": "override the env's typescript config for both dev and build time.\nReplaces both overrideTsConfig (devConfig) and overrideBuildTsConfig (buildConfig)"
2517
+ }
2518
+ },
2519
+ {
2520
+ "__schema": "VariableLikeSchema",
2521
+ "location": {
2522
+ "filePath": "node.main.runtime.ts",
2523
+ "line": 122,
2524
+ "character": 3
2525
+ },
2526
+ "name": "useWebpack",
2527
+ "signature": "(property) NodeMain.useWebpack: (modifiers?: UseWebpackModifiers | undefined) => EnvTransformer",
2528
+ "isOptional": false,
2529
+ "type": {
2530
+ "__schema": "TypeRefSchema",
2531
+ "location": {
2532
+ "filePath": "node.main.runtime.ts",
2533
+ "line": 122,
2534
+ "character": 3
2535
+ },
2536
+ "name": "(modifiers?: UseWebpackModifiers | undefined) => EnvTransformer",
2537
+ "componentId": {
2538
+ "scope": "teambit.react",
2539
+ "name": "react",
2540
+ "version": "0.0.966"
2541
+ }
2542
+ },
2543
+ "doc": {
2544
+ "__schema": "DocSchema",
2545
+ "location": {
2546
+ "filePath": "node.main.runtime.ts",
2547
+ "line": 118,
2548
+ "character": 3
2549
+ },
2550
+ "raw": "/**\n * override the env's dev server and preview webpack configurations.\n * Replaces both overrideDevServerConfig and overridePreviewConfig\n */",
2551
+ "comment": "override the env's dev server and preview webpack configurations.\nReplaces both overrideDevServerConfig and overridePreviewConfig"
2552
+ }
2553
+ },
2554
+ {
2555
+ "__schema": "VariableLikeSchema",
2556
+ "location": {
2557
+ "filePath": "node.main.runtime.ts",
2558
+ "line": 127,
2559
+ "character": 3
2560
+ },
2561
+ "name": "usePrettier",
2562
+ "signature": "(property) NodeMain.usePrettier: (modifiers?: UsePrettierModifiers | undefined) => EnvTransformer",
2563
+ "isOptional": false,
2564
+ "type": {
2565
+ "__schema": "TypeRefSchema",
2566
+ "location": {
2567
+ "filePath": "node.main.runtime.ts",
2568
+ "line": 127,
2569
+ "character": 3
2570
+ },
2571
+ "name": "(modifiers?: UsePrettierModifiers | undefined) => EnvTransformer",
2572
+ "componentId": {
2573
+ "scope": "teambit.react",
2574
+ "name": "react",
2575
+ "version": "0.0.966"
2576
+ }
2577
+ },
2578
+ "doc": {
2579
+ "__schema": "DocSchema",
2580
+ "location": {
2581
+ "filePath": "node.main.runtime.ts",
2582
+ "line": 124,
2583
+ "character": 3
2584
+ },
2585
+ "raw": "/**\n * An API to mutate the prettier config\n */",
2586
+ "comment": "An API to mutate the prettier config"
2587
+ }
2588
+ },
2589
+ {
2590
+ "__schema": "VariableLikeSchema",
2591
+ "location": {
2592
+ "filePath": "node.main.runtime.ts",
2593
+ "line": 132,
2594
+ "character": 3
2595
+ },
2596
+ "name": "useEslint",
2597
+ "signature": "(property) NodeMain.useEslint: (modifiers?: UseEslintModifiers | undefined) => EnvTransformer",
2598
+ "isOptional": false,
2599
+ "type": {
2600
+ "__schema": "TypeRefSchema",
2601
+ "location": {
2602
+ "filePath": "node.main.runtime.ts",
2603
+ "line": 132,
2604
+ "character": 3
2605
+ },
2606
+ "name": "(modifiers?: UseEslintModifiers | undefined) => EnvTransformer",
2607
+ "componentId": {
2608
+ "scope": "teambit.react",
2609
+ "name": "react",
2610
+ "version": "0.0.966"
2611
+ }
2612
+ },
2613
+ "doc": {
2614
+ "__schema": "DocSchema",
2615
+ "location": {
2616
+ "filePath": "node.main.runtime.ts",
2617
+ "line": 129,
2618
+ "character": 3
2619
+ },
2620
+ "raw": "/**\n * An API to mutate the eslint config\n */",
2621
+ "comment": "An API to mutate the eslint config"
2622
+ }
2623
+ },
2624
+ {
2625
+ "__schema": "FunctionLikeSchema",
2626
+ "location": {
2627
+ "filePath": "node.main.runtime.ts",
2628
+ "line": 137,
2629
+ "character": 3
2630
+ },
2631
+ "name": "overrideDependencies",
2632
+ "signature": "(method) NodeMain.overrideDependencies(dependencyPolicy: EnvPolicyConfigObject): EnvTransformer",
2633
+ "modifiers": [],
2634
+ "params": [
2635
+ {
2636
+ "__schema": "ParameterSchema",
2637
+ "location": {
2638
+ "filePath": "node.main.runtime.ts",
2639
+ "line": 137,
2640
+ "character": 24
2641
+ },
2642
+ "name": "dependencyPolicy",
2643
+ "isOptional": false,
2644
+ "type": {
2645
+ "__schema": "TypeRefSchema",
2646
+ "location": {
2647
+ "filePath": "node.main.runtime.ts",
2648
+ "line": 137,
2649
+ "character": 42
2650
+ },
2651
+ "name": "EnvPolicyConfigObject",
2652
+ "componentId": {
2653
+ "scope": "teambit.dependencies",
2654
+ "name": "dependency-resolver"
2655
+ }
2656
+ }
2657
+ }
2658
+ ],
2659
+ "returnType": {
2660
+ "__schema": "TypeRefSchema",
2661
+ "location": {
2662
+ "filePath": "node.main.runtime.ts",
2663
+ "line": 137,
2664
+ "character": 3
2665
+ },
2666
+ "name": "EnvTransformer",
2667
+ "componentId": {
2668
+ "scope": "teambit.envs",
2669
+ "name": "envs"
2670
+ }
2671
+ },
2672
+ "doc": {
2673
+ "__schema": "DocSchema",
2674
+ "location": {
2675
+ "filePath": "node.main.runtime.ts",
2676
+ "line": 134,
2677
+ "character": 3
2678
+ },
2679
+ "raw": "/**\n * override the dependency configuration of the component environment.\n */",
2680
+ "comment": "override the dependency configuration of the component environment."
2681
+ }
2682
+ },
2683
+ {
2684
+ "__schema": "VariableLikeSchema",
2685
+ "location": {
2686
+ "filePath": "node.main.runtime.ts",
2687
+ "line": 143,
2688
+ "character": 3
2689
+ },
2690
+ "name": "overrideMounter",
2691
+ "signature": "(property) NodeMain.overrideMounter: (mounterPath: string) => EnvTransformer",
2692
+ "isOptional": false,
2693
+ "type": {
2694
+ "__schema": "TypeRefSchema",
2695
+ "location": {
2696
+ "filePath": "node.main.runtime.ts",
2697
+ "line": 143,
2698
+ "character": 3
2699
+ },
2700
+ "name": "(mounterPath: string) => EnvTransformer",
2701
+ "componentId": {
2702
+ "scope": "teambit.react",
2703
+ "name": "react",
2704
+ "version": "0.0.966"
2705
+ }
2706
+ }
2707
+ },
2708
+ {
2709
+ "__schema": "FunctionLikeSchema",
2710
+ "location": {
2711
+ "filePath": "node.main.runtime.ts",
2712
+ "line": 148,
2713
+ "character": 3
2714
+ },
2715
+ "name": "compose",
2716
+ "signature": "(method) NodeMain.compose(transformers: EnvTransformer[], targetEnv?: Environment): Environment",
2717
+ "modifiers": [],
2718
+ "params": [
2719
+ {
2720
+ "__schema": "ParameterSchema",
2721
+ "location": {
2722
+ "filePath": "node.main.runtime.ts",
2723
+ "line": 148,
2724
+ "character": 11
2725
+ },
2726
+ "name": "transformers",
2727
+ "isOptional": false,
2728
+ "type": {
2729
+ "__schema": "TypeArraySchema",
2730
+ "location": {
2731
+ "filePath": "node.main.runtime.ts",
2732
+ "line": 148,
2733
+ "character": 25
2734
+ },
2735
+ "type": {
2736
+ "__schema": "TypeRefSchema",
2737
+ "location": {
2738
+ "filePath": "node.main.runtime.ts",
2739
+ "line": 148,
2740
+ "character": 25
2741
+ },
2742
+ "name": "EnvTransformer",
2743
+ "componentId": {
2744
+ "scope": "teambit.envs",
2745
+ "name": "envs"
2746
+ }
2747
+ }
2748
+ }
2749
+ },
2750
+ {
2751
+ "__schema": "ParameterSchema",
2752
+ "location": {
2753
+ "filePath": "node.main.runtime.ts",
2754
+ "line": 148,
2755
+ "character": 43
2756
+ },
2757
+ "name": "targetEnv",
2758
+ "isOptional": false,
2759
+ "defaultValue": "{}",
2760
+ "type": {
2761
+ "__schema": "TypeRefSchema",
2762
+ "location": {
2763
+ "filePath": "node.main.runtime.ts",
2764
+ "line": 148,
2765
+ "character": 54
2766
+ },
2767
+ "name": "Environment",
2768
+ "componentId": {
2769
+ "scope": "teambit.envs",
2770
+ "name": "envs"
2771
+ }
2772
+ }
2773
+ }
2774
+ ],
2775
+ "returnType": {
2776
+ "__schema": "TypeRefSchema",
2777
+ "location": {
2778
+ "filePath": "node.main.runtime.ts",
2779
+ "line": 148,
2780
+ "character": 3
2781
+ },
2782
+ "name": "Environment",
2783
+ "componentId": {
2784
+ "scope": "teambit.envs",
2785
+ "name": "envs"
2786
+ }
2787
+ },
2788
+ "doc": {
2789
+ "__schema": "DocSchema",
2790
+ "location": {
2791
+ "filePath": "node.main.runtime.ts",
2792
+ "line": 145,
2793
+ "character": 3
2794
+ },
2795
+ "raw": "/**\n * create a new composition of the node environment.\n */",
2796
+ "comment": "create a new composition of the node environment."
2797
+ }
2798
+ },
2799
+ {
2800
+ "__schema": "VariableLikeSchema",
2801
+ "location": {
2802
+ "filePath": "node.main.runtime.ts",
2803
+ "line": 152,
2804
+ "character": 3
2805
+ },
2806
+ "name": "runtime",
2807
+ "signature": "(property) NodeMain.runtime: RuntimeDefinition",
2808
+ "isOptional": false,
2809
+ "type": {
2810
+ "__schema": "InferenceTypeSchema",
2811
+ "location": {
2812
+ "filePath": "node.main.runtime.ts",
2813
+ "line": 152,
2814
+ "character": 3
2815
+ },
2816
+ "type": "RuntimeDefinition"
2817
+ }
2818
+ },
2819
+ {
2820
+ "__schema": "VariableLikeSchema",
2821
+ "location": {
2822
+ "filePath": "node.main.runtime.ts",
2823
+ "line": 153,
2824
+ "character": 3
2825
+ },
2826
+ "name": "dependencies",
2827
+ "signature": "(property) NodeMain.dependencies: Aspect[]",
2828
+ "isOptional": false,
2829
+ "type": {
2830
+ "__schema": "InferenceTypeSchema",
2831
+ "location": {
2832
+ "filePath": "node.main.runtime.ts",
2833
+ "line": 153,
2834
+ "character": 3
2835
+ },
2836
+ "type": "Aspect[]"
2837
+ }
2838
+ },
2839
+ {
2840
+ "__schema": "FunctionLikeSchema",
2841
+ "location": {
2842
+ "filePath": "node.main.runtime.ts",
2843
+ "line": 155,
2844
+ "character": 3
2845
+ },
2846
+ "name": "provider",
2847
+ "signature": "(method) NodeMain.provider([loggerAspect, envs, application, react, generator, tsAspect]: [\n LoggerMain,\n EnvsMain,\n ApplicationMain,\n ReactMain,\n GeneratorMain,\n TypescriptMain\n]): Promise<NodeMain>",
2848
+ "modifiers": [
2849
+ "static",
2850
+ "async"
2851
+ ],
2852
+ "params": [
2853
+ {
2854
+ "__schema": "ParameterSchema",
2855
+ "location": {
2856
+ "filePath": "node.main.runtime.ts",
2857
+ "line": 155,
2858
+ "character": 25
2859
+ },
2860
+ "name": "[ loggerAspect, envs, application, react, generator, tsAspect ]",
2861
+ "isOptional": false,
2862
+ "type": {
2863
+ "__schema": "TupleTypeSchema",
2864
+ "location": {
2865
+ "filePath": "node.main.runtime.ts",
2866
+ "line": 155,
2867
+ "character": 88
2868
+ },
2869
+ "elements": [
2870
+ {
2871
+ "__schema": "TypeRefSchema",
2872
+ "location": {
2873
+ "filePath": "node.main.runtime.ts",
2874
+ "line": 156,
2875
+ "character": 5
2876
+ },
2877
+ "name": "LoggerMain",
2878
+ "componentId": {
2879
+ "scope": "teambit.harmony",
2880
+ "name": "logger"
2881
+ }
2882
+ },
2883
+ {
2884
+ "__schema": "TypeRefSchema",
2885
+ "location": {
2886
+ "filePath": "node.main.runtime.ts",
2887
+ "line": 157,
2888
+ "character": 5
2889
+ },
2890
+ "name": "EnvsMain",
2891
+ "componentId": {
2892
+ "scope": "teambit.envs",
2893
+ "name": "envs"
2894
+ }
2895
+ },
2896
+ {
2897
+ "__schema": "TypeRefSchema",
2898
+ "location": {
2899
+ "filePath": "node.main.runtime.ts",
2900
+ "line": 158,
2901
+ "character": 5
2902
+ },
2903
+ "name": "ApplicationMain",
2904
+ "componentId": {
2905
+ "scope": "teambit.harmony",
2906
+ "name": "application"
2907
+ }
2908
+ },
2909
+ {
2910
+ "__schema": "TypeRefSchema",
2911
+ "location": {
2912
+ "filePath": "node.main.runtime.ts",
2913
+ "line": 159,
2914
+ "character": 5
2915
+ },
2916
+ "name": "ReactMain",
2917
+ "componentId": {
2918
+ "scope": "teambit.react",
2919
+ "name": "react"
2920
+ }
2921
+ },
2922
+ {
2923
+ "__schema": "TypeRefSchema",
2924
+ "location": {
2925
+ "filePath": "node.main.runtime.ts",
2926
+ "line": 160,
2927
+ "character": 5
2928
+ },
2929
+ "name": "GeneratorMain",
2930
+ "componentId": {
2931
+ "scope": "teambit.generator",
2932
+ "name": "generator"
2933
+ }
2934
+ },
2935
+ {
2936
+ "__schema": "TypeRefSchema",
2937
+ "location": {
2938
+ "filePath": "node.main.runtime.ts",
2939
+ "line": 161,
2940
+ "character": 5
2941
+ },
2942
+ "name": "TypescriptMain",
2943
+ "componentId": {
2944
+ "scope": "teambit.typescript",
2945
+ "name": "typescript"
2946
+ }
2947
+ }
2948
+ ]
2949
+ }
2950
+ }
2951
+ ],
2952
+ "returnType": {
2953
+ "__schema": "InferenceTypeSchema",
2954
+ "location": {
2955
+ "filePath": "node.main.runtime.ts",
2956
+ "line": 155,
2957
+ "character": 3
2958
+ },
2959
+ "type": "Promise<NodeMain>"
2960
+ }
2961
+ }
2962
+ ]
2963
+ }
2964
+ ],
2965
+ "internals": [
2966
+ {
2967
+ "__schema": "UnImplementedSchema",
2968
+ "location": {
2969
+ "filePath": "node.main.runtime.ts",
2970
+ "line": 173,
2971
+ "character": 1
2972
+ },
2973
+ "name": "NodeAspect.addRuntime(NodeMain);",
2974
+ "type": "ExpressionStatement"
2975
+ }
2976
+ ]
2977
+ },
2978
+ {
2979
+ "__schema": "ModuleSchema",
2980
+ "location": {
2981
+ "filePath": "node-app-options.ts",
2982
+ "line": 1,
2983
+ "character": 1
2984
+ },
2985
+ "exports": [
2986
+ {
2987
+ "__schema": "InterfaceSchema",
2988
+ "location": {
2989
+ "filePath": "node-app-options.ts",
2990
+ "line": 3,
2991
+ "character": 1
2992
+ },
2993
+ "name": "DeployContext",
2994
+ "signature": "interface DeployContext",
2995
+ "extendsNodes": [
2996
+ {
2997
+ "__schema": "ExpressionWithTypeArgumentsSchema",
2998
+ "name": "extends AppDeployContext",
2999
+ "location": {
3000
+ "filePath": "node-app-options.ts",
3001
+ "line": 3,
3002
+ "character": 40
3003
+ },
3004
+ "typeArgs": [],
3005
+ "expression": {
3006
+ "__schema": "TypeRefSchema",
3007
+ "location": {
3008
+ "filePath": "node-app-options.ts",
3009
+ "line": 3,
3010
+ "character": 40
3011
+ },
3012
+ "name": "AppDeployContext",
3013
+ "componentId": {
3014
+ "scope": "teambit.harmony",
3015
+ "name": "node",
3016
+ "version": "0.0.966"
3017
+ }
3018
+ }
3019
+ }
3020
+ ],
3021
+ "members": [
3022
+ {
3023
+ "__schema": "VariableLikeSchema",
3024
+ "location": {
3025
+ "filePath": "node-app-options.ts",
3026
+ "line": 7,
3027
+ "character": 3
3028
+ },
3029
+ "name": "mainFile",
3030
+ "signature": "(property) DeployContext.mainFile?: string | undefined",
3031
+ "isOptional": true,
3032
+ "type": {
3033
+ "__schema": "KeywordTypeSchema",
3034
+ "location": {
3035
+ "filePath": "node-app-options.ts",
3036
+ "line": 7,
3037
+ "character": 14
3038
+ },
3039
+ "name": "string"
3040
+ },
3041
+ "doc": {
3042
+ "__schema": "DocSchema",
3043
+ "location": {
3044
+ "filePath": "node-app-options.ts",
3045
+ "line": 4,
3046
+ "character": 3
3047
+ },
3048
+ "raw": "/**\n * the main file file of the app e.g: dist/app.js\n */",
3049
+ "comment": "the main file file of the app e.g: dist/app.js"
3050
+ }
3051
+ }
3052
+ ]
3053
+ },
3054
+ {
3055
+ "__schema": "TypeSchema",
3056
+ "location": {
3057
+ "filePath": "node-app-options.ts",
3058
+ "line": 10,
3059
+ "character": 1
3060
+ },
3061
+ "name": "NodeAppOptions",
3062
+ "signature": "type NodeAppOptions = {\n name: string;\n entry: string;\n portRange?: number[] | undefined;\n deploy?: DeployFn | undefined;\n}",
3063
+ "type": {
3064
+ "__schema": "TypeLiteralSchema",
3065
+ "location": {
3066
+ "filePath": "node-app-options.ts",
3067
+ "line": 10,
3068
+ "character": 30
3069
+ },
3070
+ "members": [
3071
+ {
3072
+ "__schema": "VariableLikeSchema",
3073
+ "location": {
3074
+ "filePath": "node-app-options.ts",
3075
+ "line": 14,
3076
+ "character": 3
3077
+ },
3078
+ "name": "name",
3079
+ "signature": "(property) name: string",
3080
+ "isOptional": false,
3081
+ "type": {
3082
+ "__schema": "KeywordTypeSchema",
3083
+ "location": {
3084
+ "filePath": "node-app-options.ts",
3085
+ "line": 14,
3086
+ "character": 9
3087
+ },
3088
+ "name": "string"
3089
+ },
3090
+ "doc": {
3091
+ "__schema": "DocSchema",
3092
+ "location": {
3093
+ "filePath": "node-app-options.ts",
3094
+ "line": 11,
3095
+ "character": 3
3096
+ },
3097
+ "raw": "/**\n * name of the application.\n */",
3098
+ "comment": "name of the application."
3099
+ }
3100
+ },
3101
+ {
3102
+ "__schema": "VariableLikeSchema",
3103
+ "location": {
3104
+ "filePath": "node-app-options.ts",
3105
+ "line": 20,
3106
+ "character": 3
3107
+ },
3108
+ "name": "entry",
3109
+ "signature": "(property) entry: string",
3110
+ "isOptional": false,
3111
+ "type": {
3112
+ "__schema": "KeywordTypeSchema",
3113
+ "location": {
3114
+ "filePath": "node-app-options.ts",
3115
+ "line": 20,
3116
+ "character": 10
3117
+ },
3118
+ "name": "string"
3119
+ },
3120
+ "doc": {
3121
+ "__schema": "DocSchema",
3122
+ "location": {
3123
+ "filePath": "node-app-options.ts",
3124
+ "line": 16,
3125
+ "character": 3
3126
+ },
3127
+ "raw": "/**\n * path to entry file of the application.\n * e.g: '/index.js'\n */",
3128
+ "comment": "path to entry file of the application.\ne.g: '/index.js'"
3129
+ }
3130
+ },
3131
+ {
3132
+ "__schema": "VariableLikeSchema",
3133
+ "location": {
3134
+ "filePath": "node-app-options.ts",
3135
+ "line": 25,
3136
+ "character": 3
3137
+ },
3138
+ "name": "portRange",
3139
+ "signature": "(property) portRange?: number[] | undefined",
3140
+ "isOptional": true,
3141
+ "type": {
3142
+ "__schema": "TypeArraySchema",
3143
+ "location": {
3144
+ "filePath": "node-app-options.ts",
3145
+ "line": 25,
3146
+ "character": 15
3147
+ },
3148
+ "type": {
3149
+ "__schema": "KeywordTypeSchema",
3150
+ "location": {
3151
+ "filePath": "node-app-options.ts",
3152
+ "line": 25,
3153
+ "character": 15
3154
+ },
3155
+ "name": "number"
3156
+ }
3157
+ },
3158
+ "doc": {
3159
+ "__schema": "DocSchema",
3160
+ "location": {
3161
+ "filePath": "node-app-options.ts",
3162
+ "line": 22,
3163
+ "character": 3
3164
+ },
3165
+ "raw": "/**\n * ranges of ports to use to run the app server.\n */",
3166
+ "comment": "ranges of ports to use to run the app server."
3167
+ }
3168
+ },
3169
+ {
3170
+ "__schema": "VariableLikeSchema",
3171
+ "location": {
3172
+ "filePath": "node-app-options.ts",
3173
+ "line": 30,
3174
+ "character": 3
3175
+ },
3176
+ "name": "deploy",
3177
+ "signature": "(property) deploy?: DeployFn | undefined",
3178
+ "isOptional": true,
3179
+ "type": {
3180
+ "__schema": "TypeRefSchema",
3181
+ "location": {
3182
+ "filePath": "node-app-options.ts",
3183
+ "line": 30,
3184
+ "character": 12
3185
+ },
3186
+ "name": "DeployFn",
3187
+ "componentId": {
3188
+ "scope": "teambit.harmony",
3189
+ "name": "application"
3190
+ }
3191
+ },
3192
+ "doc": {
3193
+ "__schema": "DocSchema",
3194
+ "location": {
3195
+ "filePath": "node-app-options.ts",
3196
+ "line": 27,
3197
+ "character": 3
3198
+ },
3199
+ "raw": "/**\n * deploy function.\n */",
3200
+ "comment": "deploy function."
3201
+ }
3202
+ }
3203
+ ]
3204
+ }
3205
+ }
3206
+ ],
3207
+ "internals": []
3208
+ },
3209
+ {
3210
+ "__schema": "ModuleSchema",
3211
+ "location": {
3212
+ "filePath": "node.aspect.ts",
3213
+ "line": 1,
3214
+ "character": 1
3215
+ },
3216
+ "exports": [
3217
+ {
3218
+ "__schema": "VariableLikeSchema",
3219
+ "location": {
3220
+ "filePath": "node.aspect.ts",
3221
+ "line": 3,
3222
+ "character": 14
3223
+ },
3224
+ "name": "NodeAspect",
3225
+ "signature": "const NodeAspect: Aspect",
3226
+ "isOptional": false,
3227
+ "type": {
3228
+ "__schema": "TypeRefSchema",
3229
+ "location": {
3230
+ "filePath": "node.aspect.ts",
3231
+ "line": 3,
3232
+ "character": 14
3233
+ },
3234
+ "name": "Aspect",
3235
+ "componentId": {
3236
+ "scope": "teambit.harmony",
3237
+ "name": "harmony",
3238
+ "version": "0.4.6"
3239
+ }
3240
+ }
3241
+ },
3242
+ {
3243
+ "__schema": "UnImplementedSchema",
3244
+ "location": {
3245
+ "filePath": "node.aspect.ts",
3246
+ "line": 9,
3247
+ "character": 16
3248
+ },
3249
+ "name": "NodeAspect",
3250
+ "type": "Identifier"
3251
+ }
3252
+ ],
3253
+ "internals": []
3254
+ }
3255
+ ],
1640
3256
  "componentId": {
1641
3257
  "scope": "teambit.harmony",
1642
3258
  "name": "node",
1643
- "version": "0.0.964"
3259
+ "version": "0.0.966"
1644
3260
  }
1645
3261
  }