trm-client 2.0.0 → 2.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.
@@ -2,6 +2,7 @@ export type InstallArguments = {
2
2
  package: string;
3
3
  version: string;
4
4
  force: boolean;
5
+ safe: boolean;
5
6
  ci: boolean;
6
7
  importTimeout: string;
7
8
  ignoreSapEntries: boolean;
@@ -144,18 +144,14 @@ function compare(commandArgs, actionArgs) {
144
144
  connectionData.push(oConnection.getDest());
145
145
  connectionData.push(oSystemViewManifest ? `Yes` : `No`);
146
146
  connectionData.push(oSystemViewManifest ? oSystemViewManifest.version : '');
147
- if (oSystemViewManifest) {
147
+ if (oSystemViewManifest && oSystemViewManifest.linkedTransport) {
148
148
  const devclass = yield oSystemViewManifest.linkedTransport.getDevclass();
149
149
  connectionData.push(devclass);
150
- }
151
- else {
152
- connectionData.push('');
153
- }
154
- if (oSystemViewManifest && oSystemViewManifest.linkedTransport) {
155
150
  connectionData.push(oSystemViewManifest.linkedTransport.trkorr);
156
151
  }
157
152
  else {
158
153
  connectionData.push('');
154
+ connectionData.push('');
159
155
  }
160
156
  if (oSystemViewManifest) {
161
157
  connectionData.push('');
@@ -44,6 +44,7 @@ function install(commandArgs, actionArgs) {
44
44
  const packageName = commandArgs.package;
45
45
  const packageVersion = commandArgs.version || 'latest';
46
46
  const forceInstall = commandArgs.force;
47
+ const safe = commandArgs.safe;
47
48
  const ignoreSapEntries = commandArgs.ignoreSapEntries;
48
49
  const skipDependencies = commandArgs.skipDependencies;
49
50
  const skipLang = commandArgs.skipLang;
@@ -86,6 +87,7 @@ function install(commandArgs, actionArgs) {
86
87
  packageName,
87
88
  version: packageVersion,
88
89
  forceInstall,
90
+ safe,
89
91
  ci,
90
92
  importTimeout,
91
93
  ignoreSapEntries,
package/dist/index.js CHANGED
@@ -85,6 +85,7 @@ const unpublish = program.command(`unpublish <package> <version>`)
85
85
  const install = program.command(`install <package> [version]`)
86
86
  .description(`Install package`)
87
87
  .option(`-f, --force`, `Force install.`, false)
88
+ .option(`-sf, --safe`, `Safe install (Integrity check).`, false)
88
89
  .option(`-ci, --ci`, `Clean install, flag used to avoid unnecessary prompts.`, false)
89
90
  .option(`-to, --importTimeout <timeout>`, `Import timeout (in seconds).`, '180')
90
91
  .option(`-is, --ignoreSapEntries`, `Ignore missing SAP entries.`, false)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trm-client",
3
- "version": "2.0.0",
3
+ "version": "2.2.0",
4
4
  "description": "TRM (Transport Request Manager) Client",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",