trm-client 9.3.0 → 9.4.0
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/changelog.txt +5 -0
- package/dist/command/AbstractCommand.js +0 -12
- package/package.json +2 -2
package/changelog.txt
CHANGED
|
@@ -377,18 +377,6 @@ class AbstractCommand {
|
|
|
377
377
|
yield Commons.Plugin.call("client", "loadCommons", { commons: Commons });
|
|
378
378
|
Commons.Inquirer.inquirer = this.getInquirer(InquirerType_1.InquirerType.CLI);
|
|
379
379
|
Commons.Logger.logger = this.getLogger(this.args.logger, this.args.debug, this.args.loggerOutDir);
|
|
380
|
-
const useDocker = utils_1.GlobalContext.getInstance().getSettings().r3transDocker;
|
|
381
|
-
if (this.registerOpts.requiresR3trans && useDocker) {
|
|
382
|
-
Commons.Logger.info(`This command needs R3trans program dockerized.`);
|
|
383
|
-
Commons.Logger.loading(`Checking if docker is running...`);
|
|
384
|
-
if (yield (0, utils_1.isDockerRunning)()) {
|
|
385
|
-
const dockerName = utils_1.GlobalContext.getInstance().getSettings().r3transDockerName;
|
|
386
|
-
Commons.Logger.info(`Docker "${dockerName || 'local/r3trans'}" will be used.`);
|
|
387
|
-
}
|
|
388
|
-
else {
|
|
389
|
-
throw new Error(`Command needs R3trans dockerized, docker engine is not currently running.`);
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
380
|
if (process.platform !== 'win32' && process.platform !== 'darwin' && process.platform !== 'linux') {
|
|
393
381
|
Commons.Logger.warning(`Running on untested OS "${process.platform}"! Some features aren't tested yet.`);
|
|
394
382
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "trm-client",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.4.0",
|
|
4
4
|
"description": "TRM (Transport Request Manager) Client",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"sanitize-filename": "^1.6.3",
|
|
49
49
|
"semver": "^7.7.4",
|
|
50
50
|
"trm-commons": "^5.0.0",
|
|
51
|
-
"trm-core": "^9.
|
|
51
|
+
"trm-core": "^9.8.0",
|
|
52
52
|
"trm-registry-types": "^2.1.0",
|
|
53
53
|
"xml2js": "^0.6.2"
|
|
54
54
|
},
|