tnp-core 16.6.36 → 16.100.3
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/assets/shared/shared_folder_info.txt +1 -1
- package/browser/esm2022/lib/core-models.mjs +1 -1
- package/browser/esm2022/lib/helpers-messages.mjs +1 -2
- package/browser/esm2022/lib/helpers.mjs +70 -2
- package/browser/fesm2022/tnp-core.mjs +67 -1
- package/browser/fesm2022/tnp-core.mjs.map +1 -1
- package/browser/lib/core-models.d.ts +1 -1
- package/browser/lib/helpers.d.ts +8 -0
- package/cli.backend.js +3 -3
- package/client/esm2022/lib/core-models.mjs +1 -1
- package/client/esm2022/lib/helpers-messages.mjs +1 -2
- package/client/esm2022/lib/helpers.mjs +70 -2
- package/client/fesm2022/tnp-core.mjs +67 -1
- package/client/fesm2022/tnp-core.mjs.map +1 -1
- package/client/lib/core-models.d.ts +1 -1
- package/client/lib/helpers.d.ts +8 -0
- package/client/package.json +123 -173
- package/lib/core-models.d.ts +1 -1
- package/lib/core-models.js.map +1 -1
- package/lib/helpers-messages.js +1 -1
- package/lib/helpers-messages.js.map +1 -1
- package/lib/helpers.d.ts +9 -1
- package/lib/helpers.js +86 -2
- package/lib/helpers.js.map +1 -1
- package/lib/node-chalk-mock.js +3 -3
- package/lib/node-path-mock.js +3 -3
- package/package.json +8 -8
- package/tmp-environment.json +127 -177
- package/websql/esm2022/lib/core-models.mjs +1 -1
- package/websql/esm2022/lib/helpers-messages.mjs +1 -2
- package/websql/esm2022/lib/helpers.mjs +70 -2
- package/websql/fesm2022/tnp-core.mjs +67 -1
- package/websql/fesm2022/tnp-core.mjs.map +1 -1
- package/websql/lib/core-models.d.ts +1 -1
- package/websql/lib/helpers.d.ts +8 -0
@@ -1182,7 +1182,6 @@ class HelpersMessages extends HelpersIsomorphic {
|
|
1182
1182
|
/* */
|
1183
1183
|
/* */
|
1184
1184
|
/* */
|
1185
|
-
/* */
|
1186
1185
|
}
|
1187
1186
|
}
|
1188
1187
|
function transformData(details) {
|
@@ -1236,6 +1235,16 @@ class HelpersCore extends HelpersMessages {
|
|
1236
1235
|
/* */
|
1237
1236
|
/* */
|
1238
1237
|
}
|
1238
|
+
isRunningInDocker() {
|
1239
|
+
/* */
|
1240
|
+
/* */
|
1241
|
+
/* */
|
1242
|
+
/* */
|
1243
|
+
/* */
|
1244
|
+
/* */
|
1245
|
+
/* */
|
1246
|
+
return (void 0);
|
1247
|
+
}
|
1239
1248
|
/**
|
1240
1249
|
* get electron browser ipc renderer
|
1241
1250
|
*/
|
@@ -1872,6 +1881,49 @@ class HelpersCore extends HelpersMessages {
|
|
1872
1881
|
/* */
|
1873
1882
|
/* */
|
1874
1883
|
/* */
|
1884
|
+
async killProcessByPort(portOrPortsToKill, options) {
|
1885
|
+
/* */
|
1886
|
+
/* */
|
1887
|
+
/* */
|
1888
|
+
/* */
|
1889
|
+
/* */
|
1890
|
+
/* */
|
1891
|
+
/* */
|
1892
|
+
/* */
|
1893
|
+
/* */
|
1894
|
+
/* */
|
1895
|
+
/* */
|
1896
|
+
/* */
|
1897
|
+
/* */
|
1898
|
+
/* */
|
1899
|
+
/* */
|
1900
|
+
/* */
|
1901
|
+
/* */
|
1902
|
+
/* */
|
1903
|
+
/* */
|
1904
|
+
/* */
|
1905
|
+
/* */
|
1906
|
+
/* */
|
1907
|
+
/* */
|
1908
|
+
/* */
|
1909
|
+
/* */
|
1910
|
+
/* */
|
1911
|
+
/* */
|
1912
|
+
/* */
|
1913
|
+
/* */
|
1914
|
+
/* */
|
1915
|
+
/* */
|
1916
|
+
/* */
|
1917
|
+
/* */
|
1918
|
+
/* */
|
1919
|
+
/* */
|
1920
|
+
/* */
|
1921
|
+
/* */
|
1922
|
+
return (void 0);
|
1923
|
+
}
|
1924
|
+
async killOnPort(portOrPortsToKill, options) {
|
1925
|
+
return await Helpers.killProcessByPort(portOrPortsToKill, options);
|
1926
|
+
}
|
1875
1927
|
killProcess(byPid) {
|
1876
1928
|
/* */
|
1877
1929
|
/* */
|
@@ -2115,6 +2167,15 @@ class HelpersCore extends HelpersMessages {
|
|
2115
2167
|
/* */
|
2116
2168
|
/* */
|
2117
2169
|
/* */
|
2170
|
+
/* */
|
2171
|
+
/* */
|
2172
|
+
/* */
|
2173
|
+
/* */
|
2174
|
+
/* */
|
2175
|
+
/* */
|
2176
|
+
/* */
|
2177
|
+
/* */
|
2178
|
+
/* */
|
2118
2179
|
};
|
2119
2180
|
}
|
2120
2181
|
async questionYesNo(message, callbackTrue, callbackFalse, defaultValue = true,
|
@@ -2700,6 +2761,11 @@ class HelpersCore extends HelpersMessages {
|
|
2700
2761
|
/* */
|
2701
2762
|
/* */
|
2702
2763
|
/* */
|
2764
|
+
replaceLinesInFile(absoluteFilePath, lineReplaceFn) {
|
2765
|
+
/* */
|
2766
|
+
/* */
|
2767
|
+
/* */
|
2768
|
+
}
|
2703
2769
|
/* */
|
2704
2770
|
/* */
|
2705
2771
|
/* */
|