tnp-helpers 19.0.43 → 19.0.45
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/browser/README.md +24 -24
- package/browser/fesm2022/tnp-helpers.mjs +238 -36
- package/browser/fesm2022/tnp-helpers.mjs.map +1 -1
- package/browser/lib/base/classes/base-cli-worker/base-cli-worker-database-config.d.ts +10 -0
- package/browser/lib/base/classes/base-cli-worker/base-cli-worker-terminal-ui.d.ts +10 -9
- package/browser/lib/base/classes/base-cli-worker/base-cli-worker.d.ts +9 -3
- package/browser/lib/base/classes/base-cli-worker/index.d.ts +1 -0
- package/browser/lib/base/tcp-udp-ports/tcp-udp-ports.context.d.ts +1 -0
- package/browser/lib/base/tcp-udp-ports/tcp-upd-ports-terminal-ui.d.ts +2 -2
- package/browser/lib/build-info._auto-generated_.d.ts +1 -1
- package/browser/lib/helpers/for-backend/helpers-file-folders.d.ts +1 -1
- package/browser/lib/models.d.ts +0 -2
- package/browser/lib/utils.d.ts +44 -29
- package/browser/package.json +1 -1
- package/lib/base/classes/base-cli-worker/base-cli-worker-database-config.d.ts +14 -0
- package/lib/base/classes/base-cli-worker/base-cli-worker-database-config.js +31 -0
- package/lib/base/classes/base-cli-worker/base-cli-worker-database-config.js.map +1 -0
- package/lib/base/classes/base-cli-worker/base-cli-worker-terminal-ui.d.ts +11 -10
- package/lib/base/classes/base-cli-worker/base-cli-worker-terminal-ui.js +2 -15
- package/lib/base/classes/base-cli-worker/base-cli-worker-terminal-ui.js.map +1 -1
- package/lib/base/classes/base-cli-worker/base-cli-worker.d.ts +9 -3
- package/lib/base/classes/base-cli-worker/base-cli-worker.js +32 -10
- package/lib/base/classes/base-cli-worker/base-cli-worker.js.map +1 -1
- package/lib/base/classes/base-cli-worker/index.d.ts +1 -0
- package/lib/base/classes/base-cli-worker/index.js +1 -0
- package/lib/base/classes/base-cli-worker/index.js.map +1 -1
- package/lib/base/classes/base-db.js +1 -2
- package/lib/base/classes/base-db.js.map +1 -1
- package/lib/base/classes/base-global-command-line.backend.d.ts +2 -0
- package/lib/base/classes/base-global-command-line.backend.js +109 -3
- package/lib/base/classes/base-global-command-line.backend.js.map +1 -1
- package/lib/base/classes/base-java-jdk.js +2 -2
- package/lib/base/classes/base-java-jdk.js.map +1 -1
- package/lib/base/classes/base-node-modules.js +1 -1
- package/lib/base/classes/base-node-modules.js.map +1 -1
- package/lib/base/classes/base-powershell.js +2 -2
- package/lib/base/classes/base-powershell.js.map +1 -1
- package/lib/base/classes/base-project.js +6 -2
- package/lib/base/classes/base-project.js.map +1 -1
- package/lib/base/classes/base-release-process.js +2 -2
- package/lib/base/classes/base-release-process.js.map +1 -1
- package/lib/base/classes/base-vscode.js +5 -1
- package/lib/base/classes/base-vscode.js.map +1 -1
- package/lib/base/tcp-udp-ports/not-assignable-port.entity.js +2 -2
- package/lib/base/tcp-udp-ports/ports.entity.d.ts +1 -1
- package/lib/base/tcp-udp-ports/tcp-udp-ports.context.d.ts +3 -2
- package/lib/base/tcp-udp-ports/tcp-udp-ports.context.js +2 -18
- package/lib/base/tcp-udp-ports/tcp-udp-ports.context.js.map +1 -1
- package/lib/base/tcp-udp-ports/tcp-upd-ports-terminal-ui.d.ts +3 -3
- package/lib/base/tcp-udp-ports/tcp-upd-ports-terminal-ui.js +15 -5
- package/lib/base/tcp-udp-ports/tcp-upd-ports-terminal-ui.js.map +1 -1
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/helpers/for-backend/helpers-file-folders.d.ts +1 -1
- package/lib/helpers/for-backend/helpers-file-folders.js +7 -2
- package/lib/helpers/for-backend/helpers-file-folders.js.map +1 -1
- package/lib/helpers/for-browser/angular.helper.js +2 -2
- package/lib/helpers/helpers-numbers.js.map +1 -1
- package/lib/models.d.ts +0 -2
- package/lib/models.js.map +1 -1
- package/lib/old/base-component.js +2 -2
- package/lib/old/base-formly-component.js +2 -2
- package/lib/old/dual-component-ctrl.js +2 -2
- package/lib/utils.d.ts +44 -29
- package/lib/utils.js +136 -4
- package/lib/utils.js.map +1 -1
- package/package.json +1 -1
- package/tmp-environment.json +3 -7
- package/websql/README.md +24 -24
- package/websql/fesm2022/tnp-helpers.mjs +238 -36
- package/websql/fesm2022/tnp-helpers.mjs.map +1 -1
- package/websql/lib/base/classes/base-cli-worker/base-cli-worker-database-config.d.ts +10 -0
- package/websql/lib/base/classes/base-cli-worker/base-cli-worker-terminal-ui.d.ts +10 -9
- package/websql/lib/base/classes/base-cli-worker/base-cli-worker.d.ts +9 -3
- package/websql/lib/base/classes/base-cli-worker/index.d.ts +1 -0
- package/websql/lib/base/tcp-udp-ports/tcp-udp-ports.context.d.ts +1 -0
- package/websql/lib/base/tcp-udp-ports/tcp-upd-ports-terminal-ui.d.ts +2 -2
- package/websql/lib/build-info._auto-generated_.d.ts +1 -1
- package/websql/lib/helpers/for-backend/helpers-file-folders.d.ts +1 -1
- package/websql/lib/models.d.ts +0 -2
- package/websql/lib/utils.d.ts +44 -29
- package/websql/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Subject } from 'rxjs';
|
|
2
|
-
import { CoreModels, Utils, _, CoreHelpers, Helpers as Helpers$1, UtilsTerminal,
|
|
2
|
+
import { CoreModels, Utils, crossPlatformPath, _, CoreHelpers, Helpers as Helpers$1, UtilsTerminal, path, fse, chalk } from 'tnp-core/websql';
|
|
3
3
|
import { isImportDeclaration, isNamedImports, isExportDeclaration, isNamedExports, createSourceFile, ScriptTarget, ScriptKind } from 'typescript';
|
|
4
4
|
import * as fuzzy from 'fuzzy';
|
|
5
5
|
import { Level } from 'ng2-logger/websql';
|
|
@@ -1598,7 +1598,44 @@ var UtilsDotFile;
|
|
|
1598
1598
|
};
|
|
1599
1599
|
//#endregion
|
|
1600
1600
|
//#region set value to/from dot file
|
|
1601
|
-
UtilsDotFile.setValueToDotFile = (dotFileAbsPath,
|
|
1601
|
+
UtilsDotFile.setValueToDotFile = (dotFileAbsPath, key, value) => {
|
|
1602
|
+
/* */
|
|
1603
|
+
/* */
|
|
1604
|
+
/* */
|
|
1605
|
+
/* */
|
|
1606
|
+
/* */
|
|
1607
|
+
/* */
|
|
1608
|
+
/* */
|
|
1609
|
+
/* */
|
|
1610
|
+
/* */
|
|
1611
|
+
/* */
|
|
1612
|
+
/* */
|
|
1613
|
+
/* */
|
|
1614
|
+
/* */
|
|
1615
|
+
/* */
|
|
1616
|
+
/* */
|
|
1617
|
+
/* */
|
|
1618
|
+
/* */
|
|
1619
|
+
/* */
|
|
1620
|
+
/* */
|
|
1621
|
+
/* */
|
|
1622
|
+
/* */
|
|
1623
|
+
/* */
|
|
1624
|
+
/* */
|
|
1625
|
+
/* */
|
|
1626
|
+
/* */
|
|
1627
|
+
/* */
|
|
1628
|
+
/* */
|
|
1629
|
+
/* */
|
|
1630
|
+
/* */
|
|
1631
|
+
/* */
|
|
1632
|
+
/* */
|
|
1633
|
+
return (void 0);
|
|
1634
|
+
};
|
|
1635
|
+
//#endregion
|
|
1636
|
+
//#region set comment to key in dot file
|
|
1637
|
+
UtilsDotFile.setCommentToKeyInDotFile = (dotFileAbsPath, key, comment) => {
|
|
1638
|
+
/* */
|
|
1602
1639
|
/* */
|
|
1603
1640
|
/* */
|
|
1604
1641
|
/* */
|
|
@@ -1715,6 +1752,89 @@ var UtilsDotFile;
|
|
|
1715
1752
|
return (void 0);
|
|
1716
1753
|
};
|
|
1717
1754
|
//#endregion
|
|
1755
|
+
//#region get comments keys as json object
|
|
1756
|
+
/**
|
|
1757
|
+
* @returns key|comment pairs as json object
|
|
1758
|
+
*/
|
|
1759
|
+
UtilsDotFile.getCommentsKeysAsJsonObject = (dotFileAbsPath) => {
|
|
1760
|
+
/* */
|
|
1761
|
+
/* */
|
|
1762
|
+
/* */
|
|
1763
|
+
/* */
|
|
1764
|
+
/* */
|
|
1765
|
+
/* */
|
|
1766
|
+
/* */
|
|
1767
|
+
/* */
|
|
1768
|
+
/* */
|
|
1769
|
+
/* */
|
|
1770
|
+
/* */
|
|
1771
|
+
/* */
|
|
1772
|
+
/* */
|
|
1773
|
+
/* */
|
|
1774
|
+
/* */
|
|
1775
|
+
/* */
|
|
1776
|
+
/* */
|
|
1777
|
+
/* */
|
|
1778
|
+
/* */
|
|
1779
|
+
/* */
|
|
1780
|
+
/* */
|
|
1781
|
+
/* */
|
|
1782
|
+
/* */
|
|
1783
|
+
/* */
|
|
1784
|
+
/* */
|
|
1785
|
+
/* */
|
|
1786
|
+
/* */
|
|
1787
|
+
/* */
|
|
1788
|
+
/* */
|
|
1789
|
+
/* */
|
|
1790
|
+
/* */
|
|
1791
|
+
/* */
|
|
1792
|
+
/* */
|
|
1793
|
+
/* */
|
|
1794
|
+
/* */
|
|
1795
|
+
/* */
|
|
1796
|
+
/* */
|
|
1797
|
+
/* */
|
|
1798
|
+
/* */
|
|
1799
|
+
/* */
|
|
1800
|
+
/* */
|
|
1801
|
+
/* */
|
|
1802
|
+
/* */
|
|
1803
|
+
/* */
|
|
1804
|
+
/* */
|
|
1805
|
+
/* */
|
|
1806
|
+
/* */
|
|
1807
|
+
/* */
|
|
1808
|
+
/* */
|
|
1809
|
+
/* */
|
|
1810
|
+
/* */
|
|
1811
|
+
/* */
|
|
1812
|
+
/* */
|
|
1813
|
+
/* */
|
|
1814
|
+
/* */
|
|
1815
|
+
/* */
|
|
1816
|
+
/* */
|
|
1817
|
+
/* */
|
|
1818
|
+
/* */
|
|
1819
|
+
/* */
|
|
1820
|
+
/* */
|
|
1821
|
+
/* */
|
|
1822
|
+
/* */
|
|
1823
|
+
/* */
|
|
1824
|
+
/* */
|
|
1825
|
+
/* */
|
|
1826
|
+
/* */
|
|
1827
|
+
/* */
|
|
1828
|
+
/* */
|
|
1829
|
+
/* */
|
|
1830
|
+
/* */
|
|
1831
|
+
/* */
|
|
1832
|
+
/* */
|
|
1833
|
+
/* */
|
|
1834
|
+
/* */
|
|
1835
|
+
return (void 0);
|
|
1836
|
+
};
|
|
1837
|
+
//#endregion
|
|
1718
1838
|
})(UtilsDotFile || (UtilsDotFile = {}));
|
|
1719
1839
|
//#endregion
|
|
1720
1840
|
//#region utils zip browser
|
|
@@ -1882,7 +2002,26 @@ var UtilsZip;
|
|
|
1882
2002
|
return (void 0);
|
|
1883
2003
|
};
|
|
1884
2004
|
//#endregion
|
|
1885
|
-
|
|
2005
|
+
/**
|
|
2006
|
+
* @returns absolute path to zip file
|
|
2007
|
+
*/
|
|
2008
|
+
UtilsZip.zipDir = async (absPathToDir, options) => {
|
|
2009
|
+
/* */
|
|
2010
|
+
/* */
|
|
2011
|
+
/* */
|
|
2012
|
+
/* */
|
|
2013
|
+
/* */
|
|
2014
|
+
/* */
|
|
2015
|
+
/* */
|
|
2016
|
+
/* */
|
|
2017
|
+
/* */
|
|
2018
|
+
/* */
|
|
2019
|
+
/* */
|
|
2020
|
+
/* */
|
|
2021
|
+
/* */
|
|
2022
|
+
/* */
|
|
2023
|
+
/* */
|
|
2024
|
+
/* */
|
|
1886
2025
|
/* */
|
|
1887
2026
|
/* */
|
|
1888
2027
|
/* */
|
|
@@ -1942,6 +2081,21 @@ var UtilsZip;
|
|
|
1942
2081
|
};
|
|
1943
2082
|
})(UtilsZip || (UtilsZip = {}));
|
|
1944
2083
|
//#endregion
|
|
2084
|
+
//#region utils worker
|
|
2085
|
+
var UtilsTaonWorker;
|
|
2086
|
+
(function (UtilsTaonWorker) {
|
|
2087
|
+
UtilsTaonWorker.getUniqueForTask = (task, location) => {
|
|
2088
|
+
if (!location) {
|
|
2089
|
+
throw new Error('[UtilsTaonWorker.getUniqueForTask()] Location must be provided');
|
|
2090
|
+
}
|
|
2091
|
+
if (!task) {
|
|
2092
|
+
throw new Error('[UtilsTaonWorker.getUniqueForTask()] Task must be provided');
|
|
2093
|
+
}
|
|
2094
|
+
location = crossPlatformPath(location);
|
|
2095
|
+
return `task(${task?.trim()}) in ${location}`?.trim();
|
|
2096
|
+
};
|
|
2097
|
+
})(UtilsTaonWorker || (UtilsTaonWorker = {}));
|
|
2098
|
+
//#endregion
|
|
1945
2099
|
|
|
1946
2100
|
class HelpersArrayObj {
|
|
1947
2101
|
from(s) {
|
|
@@ -3049,6 +3203,7 @@ class HelpersFileFolders {
|
|
|
3049
3203
|
/* */
|
|
3050
3204
|
/* */
|
|
3051
3205
|
/* */
|
|
3206
|
+
/* */
|
|
3052
3207
|
return (void 0);
|
|
3053
3208
|
}
|
|
3054
3209
|
// createMultiplatformLink(target: string, link: string) {
|
|
@@ -4012,6 +4167,8 @@ class HelpersFileFolders {
|
|
|
4012
4167
|
/* */
|
|
4013
4168
|
/* */
|
|
4014
4169
|
/* */
|
|
4170
|
+
/* */
|
|
4171
|
+
/* */
|
|
4015
4172
|
return (void 0);
|
|
4016
4173
|
}
|
|
4017
4174
|
/**
|
|
@@ -4723,7 +4880,6 @@ Port = Port_1 = __decorate([
|
|
|
4723
4880
|
})
|
|
4724
4881
|
], Port);
|
|
4725
4882
|
|
|
4726
|
-
//#endregion
|
|
4727
4883
|
class BaseCliWorkerTerminalUI {
|
|
4728
4884
|
constructor(worker) {
|
|
4729
4885
|
this.worker = worker;
|
|
@@ -4748,18 +4904,6 @@ class BaseCliWorkerTerminalUI {
|
|
|
4748
4904
|
* override whole terminal header
|
|
4749
4905
|
*/
|
|
4750
4906
|
async header() {
|
|
4751
|
-
/* */
|
|
4752
|
-
/* */
|
|
4753
|
-
/* */
|
|
4754
|
-
/* */
|
|
4755
|
-
/* */
|
|
4756
|
-
/* */
|
|
4757
|
-
/* */
|
|
4758
|
-
/* */
|
|
4759
|
-
/* */
|
|
4760
|
-
/* */
|
|
4761
|
-
/* */
|
|
4762
|
-
/* */
|
|
4763
4907
|
/* */
|
|
4764
4908
|
/* */
|
|
4765
4909
|
/* */
|
|
@@ -4929,6 +5073,8 @@ class BaseCliWorker {
|
|
|
4929
5073
|
//#endregion
|
|
4930
5074
|
//#region methods / start normally in current process
|
|
4931
5075
|
/**
|
|
5076
|
+
* <strong>IMPORTANT USE ONLY IN DEVELOPMENT !!!</strong>
|
|
5077
|
+
* for production use startDetachedIfNeedsToBeStarted()
|
|
4932
5078
|
* start normally process
|
|
4933
5079
|
* this will crash if process already started
|
|
4934
5080
|
*/
|
|
@@ -4956,7 +5102,12 @@ class BaseCliWorker {
|
|
|
4956
5102
|
}
|
|
4957
5103
|
//#endregion
|
|
4958
5104
|
//#region methods / get controller for remote connection
|
|
4959
|
-
async getControllerForRemoteConnection() {
|
|
5105
|
+
async getControllerForRemoteConnection(options) {
|
|
5106
|
+
/* */
|
|
5107
|
+
/* */
|
|
5108
|
+
/* */
|
|
5109
|
+
/* */
|
|
5110
|
+
/* */
|
|
4960
5111
|
/* */
|
|
4961
5112
|
/* */
|
|
4962
5113
|
/* */
|
|
@@ -5033,6 +5184,8 @@ class BaseCliWorker {
|
|
|
5033
5184
|
/* */
|
|
5034
5185
|
/* */
|
|
5035
5186
|
/* */
|
|
5187
|
+
/* */
|
|
5188
|
+
/* */
|
|
5036
5189
|
return (void 0);
|
|
5037
5190
|
}
|
|
5038
5191
|
//#endregion
|
|
@@ -5154,6 +5307,8 @@ class BaseCliWorker {
|
|
|
5154
5307
|
/* */
|
|
5155
5308
|
/* */
|
|
5156
5309
|
/* */
|
|
5310
|
+
/* */
|
|
5311
|
+
/* */
|
|
5157
5312
|
return (void 0);
|
|
5158
5313
|
}
|
|
5159
5314
|
//#endregion
|
|
@@ -5249,6 +5404,19 @@ class BaseCliWorker {
|
|
|
5249
5404
|
/* */
|
|
5250
5405
|
/* */
|
|
5251
5406
|
/* */
|
|
5407
|
+
/* */
|
|
5408
|
+
/* */
|
|
5409
|
+
/* */
|
|
5410
|
+
/* */
|
|
5411
|
+
/* */
|
|
5412
|
+
/* */
|
|
5413
|
+
/* */
|
|
5414
|
+
/* */
|
|
5415
|
+
/* */
|
|
5416
|
+
/* */
|
|
5417
|
+
/* */
|
|
5418
|
+
/* */
|
|
5419
|
+
/* */
|
|
5252
5420
|
return (void 0);
|
|
5253
5421
|
}
|
|
5254
5422
|
//#endregion
|
|
@@ -5343,11 +5511,14 @@ class BaseCliWorker {
|
|
|
5343
5511
|
/* */
|
|
5344
5512
|
/* */
|
|
5345
5513
|
/* */
|
|
5514
|
+
/* */
|
|
5515
|
+
/* */
|
|
5346
5516
|
return (void 0);
|
|
5347
5517
|
}
|
|
5348
5518
|
//#endregion
|
|
5349
5519
|
//#region wait for process port saved to disk
|
|
5350
|
-
async waitForProcessPortSavedToDisk() {
|
|
5520
|
+
async waitForProcessPortSavedToDisk(options) {
|
|
5521
|
+
/* */
|
|
5351
5522
|
/* */
|
|
5352
5523
|
/* */
|
|
5353
5524
|
/* */
|
|
@@ -5403,6 +5574,32 @@ class BaseCliWorker {
|
|
|
5403
5574
|
}
|
|
5404
5575
|
}
|
|
5405
5576
|
|
|
5577
|
+
/**
|
|
5578
|
+
* Get taon service database config
|
|
5579
|
+
* (database is stored in user's home directory)
|
|
5580
|
+
* @param serviceNameUniqueInSystem - unique name of the service in the system
|
|
5581
|
+
* @param recreateMode - mode of database recreation, default is 'DROP_DB+MIGRATIONS'
|
|
5582
|
+
* @returns DatabaseConfig object with location and recreateMode
|
|
5583
|
+
*/
|
|
5584
|
+
const getBaseCliWorkerDatabaseConfig = (serviceNameUniqueInSystem, recreateMode = 'DROP_DB+MIGRATIONS') => {
|
|
5585
|
+
/* */
|
|
5586
|
+
/* */
|
|
5587
|
+
/* */
|
|
5588
|
+
/* */
|
|
5589
|
+
/* */
|
|
5590
|
+
/* */
|
|
5591
|
+
/* */
|
|
5592
|
+
/* */
|
|
5593
|
+
/* */
|
|
5594
|
+
/* */
|
|
5595
|
+
/* */
|
|
5596
|
+
/* */
|
|
5597
|
+
/* */
|
|
5598
|
+
/* */
|
|
5599
|
+
/* */
|
|
5600
|
+
return (void 0);
|
|
5601
|
+
};
|
|
5602
|
+
|
|
5406
5603
|
//#region base worker config
|
|
5407
5604
|
class BaseCliWorkerConfig {
|
|
5408
5605
|
static from(opt) {
|
|
@@ -6012,15 +6209,6 @@ const MIGRATIONS_CLASSES_FOR_PortsContext = {
|
|
|
6012
6209
|
|
|
6013
6210
|
//@ts-nocheck
|
|
6014
6211
|
|
|
6015
|
-
/* */
|
|
6016
|
-
/* */
|
|
6017
|
-
/* */
|
|
6018
|
-
/* */
|
|
6019
|
-
/* */
|
|
6020
|
-
/* */
|
|
6021
|
-
/* */
|
|
6022
|
-
/* */
|
|
6023
|
-
/* */
|
|
6024
6212
|
const PortsContextTemplate = Taon.createContextTemplate(() => ({
|
|
6025
6213
|
contextName: 'PortsContext',
|
|
6026
6214
|
appId: 'dev.taon.taon-ports-worker',
|
|
@@ -6029,11 +6217,7 @@ const PortsContextTemplate = Taon.createContextTemplate(() => ({
|
|
|
6029
6217
|
entities: { Port },
|
|
6030
6218
|
migrations: { ...MIGRATIONS_CLASSES_FOR_PortsContext },
|
|
6031
6219
|
skipWritingServerRoutes: true,
|
|
6032
|
-
|
|
6033
|
-
/* */
|
|
6034
|
-
/* */
|
|
6035
|
-
/* */
|
|
6036
|
-
/* */
|
|
6220
|
+
...getBaseCliWorkerDatabaseConfig('ports-worker', 'DROP_DB+MIGRATIONS'),
|
|
6037
6221
|
logs: {
|
|
6038
6222
|
migrations: true,
|
|
6039
6223
|
},
|
|
@@ -6109,6 +6293,8 @@ class TcpUdpPortsTerminalUI extends BaseCliWorkerTerminalUI {
|
|
|
6109
6293
|
/* */
|
|
6110
6294
|
/* */
|
|
6111
6295
|
/* */
|
|
6296
|
+
/* */
|
|
6297
|
+
/* */
|
|
6112
6298
|
return (void 0);
|
|
6113
6299
|
}
|
|
6114
6300
|
//#endregion
|
|
@@ -6160,6 +6346,8 @@ class TcpUdpPortsTerminalUI extends BaseCliWorkerTerminalUI {
|
|
|
6160
6346
|
/* */
|
|
6161
6347
|
/* */
|
|
6162
6348
|
/* */
|
|
6349
|
+
/* */
|
|
6350
|
+
/* */
|
|
6163
6351
|
return (void 0);
|
|
6164
6352
|
}
|
|
6165
6353
|
//#endregion
|
|
@@ -6203,6 +6391,8 @@ class TcpUdpPortsTerminalUI extends BaseCliWorkerTerminalUI {
|
|
|
6203
6391
|
/* */
|
|
6204
6392
|
/* */
|
|
6205
6393
|
/* */
|
|
6394
|
+
/* */
|
|
6395
|
+
/* */
|
|
6206
6396
|
return (void 0);
|
|
6207
6397
|
}
|
|
6208
6398
|
//#endregion
|
|
@@ -6273,6 +6463,8 @@ class TcpUdpPortsTerminalUI extends BaseCliWorkerTerminalUI {
|
|
|
6273
6463
|
/* */
|
|
6274
6464
|
/* */
|
|
6275
6465
|
/* */
|
|
6466
|
+
/* */
|
|
6467
|
+
/* */
|
|
6276
6468
|
return (void 0);
|
|
6277
6469
|
}
|
|
6278
6470
|
//#endregion
|
|
@@ -6313,6 +6505,8 @@ class TcpUdpPortsTerminalUI extends BaseCliWorkerTerminalUI {
|
|
|
6313
6505
|
/* */
|
|
6314
6506
|
/* */
|
|
6315
6507
|
/* */
|
|
6508
|
+
/* */
|
|
6509
|
+
/* */
|
|
6316
6510
|
return (void 0);
|
|
6317
6511
|
}
|
|
6318
6512
|
}
|
|
@@ -6347,7 +6541,7 @@ const PROJECT_NPM_NAME = 'tnp-helpers';
|
|
|
6347
6541
|
/**
|
|
6348
6542
|
* Autogenerated by current cli tool. Use *tnp release* to bump version.
|
|
6349
6543
|
*/
|
|
6350
|
-
const CURRENT_PACKAGE_VERSION = '19.0.
|
|
6544
|
+
const CURRENT_PACKAGE_VERSION = '19.0.45';
|
|
6351
6545
|
// THIS FILE IS GENERATED - DO NOT MODIFY
|
|
6352
6546
|
|
|
6353
6547
|
//#endregion
|
|
@@ -7318,7 +7512,7 @@ class BaseProject {
|
|
|
7318
7512
|
return (void 0);
|
|
7319
7513
|
}
|
|
7320
7514
|
getUniqueForTask(task) {
|
|
7321
|
-
return
|
|
7515
|
+
return UtilsTaonWorker.getUniqueForTask(task, this.location);
|
|
7322
7516
|
}
|
|
7323
7517
|
async registerAndAssignPort(taskName, options) {
|
|
7324
7518
|
/* */
|
|
@@ -7345,6 +7539,9 @@ class BaseProject {
|
|
|
7345
7539
|
/* */
|
|
7346
7540
|
/* */
|
|
7347
7541
|
/* */
|
|
7542
|
+
/* */
|
|
7543
|
+
/* */
|
|
7544
|
+
/* */
|
|
7348
7545
|
return (void 0);
|
|
7349
7546
|
}
|
|
7350
7547
|
//#region methods & getters / assign free port to project instance
|
|
@@ -8935,7 +9132,7 @@ class BaseNodeModules {
|
|
|
8935
9132
|
*/
|
|
8936
9133
|
get realPath() {
|
|
8937
9134
|
try {
|
|
8938
|
-
const realPath = fse.realpathSync(this.path);
|
|
9135
|
+
const realPath = crossPlatformPath(fse.realpathSync(this.path));
|
|
8939
9136
|
return realPath;
|
|
8940
9137
|
}
|
|
8941
9138
|
catch (error) {
|
|
@@ -11763,6 +11960,10 @@ class BaseVscodeHelpers extends BaseFeatureForProject {
|
|
|
11763
11960
|
/* */
|
|
11764
11961
|
/* */
|
|
11765
11962
|
/* */
|
|
11963
|
+
/* */
|
|
11964
|
+
/* */
|
|
11965
|
+
/* */
|
|
11966
|
+
/* */
|
|
11766
11967
|
return (void 0);
|
|
11767
11968
|
}
|
|
11768
11969
|
//#endregion
|
|
@@ -12207,6 +12408,7 @@ class BaseReleaseProcess extends BaseFeatureForProject {
|
|
|
12207
12408
|
/* */
|
|
12208
12409
|
/* */
|
|
12209
12410
|
/* */
|
|
12411
|
+
/* */
|
|
12210
12412
|
return (void 0);
|
|
12211
12413
|
}
|
|
12212
12414
|
//#region methods & getters / publish to npm
|
|
@@ -15352,5 +15554,5 @@ const Helpers = HelpersTaon.Instance;
|
|
|
15352
15554
|
* Generated bundle index. Do not edit.
|
|
15353
15555
|
*/
|
|
15354
15556
|
|
|
15355
|
-
export { BaseCliWorker, BaseCliWorkerConfig, BaseCliWorkerController, BaseCliWorkerTerminalUI, BaseCommandLineFeature, BaseCompilerForProject, BaseDebounceCompilerForProject, BaseFeatureForProject, BaseGit, BaseJsonFileReader, BaseLibraryBuild, BaseLinkedProjects, BaseNodeModules, BaseNpmHelpers, BasePackageJson, BaseProcessManger, BaseProject, BaseProjectResolver, BaseProjectTypeArr, BaseQuickFixes, BaseReleaseProcess, BaseVscodeHelpers, CommandConfig, CommandProcess, CommandProcessState, CommitData, CoreAngularProject, CoreProject, CoreTypescriptProject, Helpers, HelpersAngular, LinkedPorjectsConfig, LinkedProject, PackageJsonDependencyObjArr, Port, PortStatusArr, PortsController, PortsWorker, ProgressData, UtilsDotFile, UtilsHttp, UtilsMd, UtilsNpm, UtilsQuickFixes, UtilsTypescript, UtilsVSCode, UtilsZip, UtilsZipBrowser, executeCommand };
|
|
15557
|
+
export { BaseCliWorker, BaseCliWorkerConfig, BaseCliWorkerController, BaseCliWorkerTerminalUI, BaseCommandLineFeature, BaseCompilerForProject, BaseDebounceCompilerForProject, BaseFeatureForProject, BaseGit, BaseJsonFileReader, BaseLibraryBuild, BaseLinkedProjects, BaseNodeModules, BaseNpmHelpers, BasePackageJson, BaseProcessManger, BaseProject, BaseProjectResolver, BaseProjectTypeArr, BaseQuickFixes, BaseReleaseProcess, BaseVscodeHelpers, CommandConfig, CommandProcess, CommandProcessState, CommitData, CoreAngularProject, CoreProject, CoreTypescriptProject, Helpers, HelpersAngular, LinkedPorjectsConfig, LinkedProject, PackageJsonDependencyObjArr, Port, PortStatusArr, PortsController, PortsWorker, ProgressData, UtilsDotFile, UtilsHttp, UtilsMd, UtilsNpm, UtilsQuickFixes, UtilsTaonWorker, UtilsTypescript, UtilsVSCode, UtilsZip, UtilsZipBrowser, executeCommand, getBaseCliWorkerDatabaseConfig };
|
|
15356
15558
|
//# sourceMappingURL=tnp-helpers.mjs.map
|