trm-client 1.1.0 → 1.2.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/dist/commands/install.js
CHANGED
|
@@ -46,6 +46,7 @@ function install(commandArgs, actionArgs) {
|
|
|
46
46
|
const forceInstall = commandArgs.force;
|
|
47
47
|
const ignoreSapEntries = commandArgs.ignoreSapEntries;
|
|
48
48
|
const skipDependencies = commandArgs.skipDependencies;
|
|
49
|
+
const skipLang = commandArgs.skipLang;
|
|
49
50
|
const keepOriginalPackages = commandArgs.keepOriginalPackages;
|
|
50
51
|
const skipWorkbenchTransport = commandArgs.skipWorkbenchTransport;
|
|
51
52
|
const targetSystem = commandArgs.targetSystem;
|
|
@@ -92,6 +93,7 @@ function install(commandArgs, actionArgs) {
|
|
|
92
93
|
packageReplacements,
|
|
93
94
|
skipWbTransport: skipWorkbenchTransport,
|
|
94
95
|
skipDependencies,
|
|
96
|
+
skipLang,
|
|
95
97
|
targetSystem,
|
|
96
98
|
transportLayer
|
|
97
99
|
}, inquirer, system, registry, logger);
|
|
@@ -58,8 +58,14 @@ function connect(commandArgs, actionArgs, createAliasIfNotExist = true) {
|
|
|
58
58
|
const inquirer = actionArgs.inquirer;
|
|
59
59
|
const noSystemAlias = commandArgs.noSystemAlias ? true : false;
|
|
60
60
|
var aInputType = [];
|
|
61
|
-
|
|
61
|
+
var aSapLogonConnections;
|
|
62
62
|
const aAlias = systemAlias_1.SystemAlias.getAll();
|
|
63
|
+
try {
|
|
64
|
+
aSapLogonConnections = yield (0, utils_1.getSapLogonConnections)();
|
|
65
|
+
}
|
|
66
|
+
catch (e) {
|
|
67
|
+
aSapLogonConnections = [];
|
|
68
|
+
}
|
|
63
69
|
if (aAlias.length > 0 && !noSystemAlias) {
|
|
64
70
|
aInputType.push({
|
|
65
71
|
value: 'alias', name: 'System Alias'
|
package/dist/commands/publish.js
CHANGED
|
@@ -49,6 +49,7 @@ function publish(commandArgs, actionArgs) {
|
|
|
49
49
|
const forceManifest = commandArgs.forceManifest;
|
|
50
50
|
const overwriteManifest = commandArgs.overwriteManifest;
|
|
51
51
|
const skipEditSapEntries = commandArgs.skipEditSapEntries;
|
|
52
|
+
const skipLang = commandArgs.skipLang;
|
|
52
53
|
const skipEditDependencies = commandArgs.skipEditDependencies;
|
|
53
54
|
const skipReadme = commandArgs.skipReadme;
|
|
54
55
|
const skipDependencies = commandArgs.skipDependencies;
|
|
@@ -172,6 +173,7 @@ function publish(commandArgs, actionArgs) {
|
|
|
172
173
|
forceManifestInput: forceManifest,
|
|
173
174
|
overwriteManifestValues: overwriteManifest,
|
|
174
175
|
skipEditDependencies,
|
|
176
|
+
skipLang,
|
|
175
177
|
skipEditSapEntries,
|
|
176
178
|
skipReadme,
|
|
177
179
|
readme,
|
package/dist/index.js
CHANGED
|
@@ -66,6 +66,7 @@ const publish = program.command(`publish <package>`)
|
|
|
66
66
|
.option(`-rm, --readme <markdown>`, `Path to MD file or markdown containing the package README.`)
|
|
67
67
|
.option(`-fm, --forceManifest`, `Force manifest input values, even when a package has already been published.`, false)
|
|
68
68
|
.option(`-om, --overwriteManifest`, `Overwrite existing manifest values when input is provided.`, true)
|
|
69
|
+
.option(`-sl, --skipLang`, `Skip translations transport.`, false)
|
|
69
70
|
.option(`-sd, --skipDependencies`, `Skip searching for dependencies.`, false)
|
|
70
71
|
.option(`-ses, --skipEditSapEntries`, `Skip SAP entries edit prompt.`, false)
|
|
71
72
|
.option(`-sed, --skipEditDependencies`, `Skip dependencies edit prompt.`, false)
|
|
@@ -91,6 +92,7 @@ const install = program.command(`install <package>`)
|
|
|
91
92
|
.option(`-to, --importTimeout <timeout>`, `Import timeout (in seconds).`, '180')
|
|
92
93
|
.option(`-is, --ignoreSapEntries`, `Ignore missing SAP entries.`, false)
|
|
93
94
|
.option(`-sd, --skipDependencies`, `Skip dependencies install.`, false)
|
|
95
|
+
.option(`-sl, --skipLang`, `Skip translation transports.`, false)
|
|
94
96
|
.option(`-swb, --skipWorkbenchTransport`, `Skip workbench transport generation.`, false)
|
|
95
97
|
.option(`-k, --keepOriginalPackages`, `Keep original packages.`, false)
|
|
96
98
|
.option(`-pr, --packageReplacements`, `Path to JSON file or JSON containing package replacements.`)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "trm-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "TRM (Transport Request Manager) Client",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"trm": "dist/index.js"
|
|
13
13
|
},
|
|
14
14
|
"scripts": {
|
|
15
|
-
"build": "tsc"
|
|
15
|
+
"build": "tsc",
|
|
16
|
+
"prepublishOnly": "npm run build"
|
|
16
17
|
},
|
|
17
18
|
"keywords": [
|
|
18
19
|
"trm",
|
|
@@ -38,7 +39,7 @@
|
|
|
38
39
|
"get-root-path": "^2.0.2",
|
|
39
40
|
"ini": "^4.1.1",
|
|
40
41
|
"semver": "^7.5.4",
|
|
41
|
-
"trm-core": "^1.0
|
|
42
|
+
"trm-core": "^2.1.0",
|
|
42
43
|
"trm-registry-types": "^1.0.3",
|
|
43
44
|
"xml2js": "^0.6.2"
|
|
44
45
|
},
|