trm-client 7.2.0 → 7.2.2

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 CHANGED
@@ -8,6 +8,10 @@ Legend
8
8
  + : added
9
9
  - : removed
10
10
 
11
+ 2025-11-16 v7.2.1
12
+ -------------------
13
+ * install transport generation default
14
+
11
15
  2025-11-10 v7.2.0
12
16
  -------------------
13
17
  * no arguments fix
@@ -19,14 +19,14 @@ class FindDependencies extends AbstractCommand_1.AbstractCommand {
19
19
  this.command.description(`Find SAP package dependencies with custom packages/trm packages/SAP entries/objects.`);
20
20
  this.command.argument(`<sap package>`, `Name of the SAP package to check.`);
21
21
  this.command.option(`--sap-entries`, `Show list of required SAP entries/objects.`, false);
22
- this.command.option(`--no-prompts`, `No prompts (will force some decisions).`, false);
22
+ this.command.option(`--no-prompts`, `No prompts (will force some decisions).`);
23
23
  }
24
24
  handler() {
25
25
  return __awaiter(this, void 0, void 0, function* () {
26
26
  trm_commons_1.Logger.loading(`Searching for dependencies in package "${this.args.sapPackage}"...`);
27
27
  yield (0, trm_core_1.findDependencies)({
28
28
  contextData: {
29
- noInquirer: this.args.prompts
29
+ noInquirer: !this.args.prompts
30
30
  },
31
31
  packageData: {
32
32
  package: this.args.sapPackage
@@ -51,17 +51,17 @@ class Install extends AbstractCommand_1.AbstractCommand {
51
51
  }
52
52
  this.command.option(`-t, --timeout <seconds>`, `Transport import timeout (in seconds)`, `180`);
53
53
  this.command.option(`-T, --transport-layer <transport layer>`, `Package transport layer. (default: System default)`);
54
- this.command.option(`--no-deps`, `Do not install dependencies.`, false);
55
- this.command.option(`--no-obj-type`, `Do not check object types before import.`, false);
56
- this.command.option(`--no-obj-check`, `Do not check if objects before import.`, false);
57
- this.command.option(`--no-sap-entries`, `Do not check SAP entries before import.`, false);
58
- this.command.option(`--no-lang-tr`, `Do not import language (translation) transport.`, false);
59
- this.command.option(`--no-cust-tr`, `Do not import customizing transports.`, false);
60
- this.command.option(`--no-install-tr`, `Do not create install transport.`, false);
61
- this.command.option(`--no-namespace`, `Do not import namespace.`, false);
54
+ this.command.option(`--no-deps`, `Do not install dependencies.`);
55
+ this.command.option(`--no-obj-type`, `Do not check object types before import.`);
56
+ this.command.option(`--no-obj-check`, `Do not check if objects exist before import.`);
57
+ this.command.option(`--no-sap-entries`, `Do not check SAP entries before import.`);
58
+ this.command.option(`--no-lang-tr`, `Do not import language (translation) transport.`);
59
+ this.command.option(`--no-cust-tr`, `Do not import customizing transports.`);
60
+ this.command.option(`--no-install-tr`, `Do not create install transport.`);
61
+ this.command.option(`--no-namespace`, `Do not import namespace.`);
62
62
  this.command.option(`--package-replacements <replacements>`, `SAP Package replacements (JSON or path to JSON file)`);
63
63
  this.command.option(`--install-tr-target <target>`, `Install transport target system`);
64
- this.command.option(`--no-prompts`, `No prompts (will force some decisions).`, false);
64
+ this.command.option(`--no-prompts`, `No prompts (will force some decisions).`);
65
65
  }
66
66
  selfUpdate() {
67
67
  return __awaiter(this, void 0, void 0, function* () {
@@ -156,7 +156,7 @@ class Install extends AbstractCommand_1.AbstractCommand {
156
156
  name: utils_1.GlobalContext.getInstance().getSettings().r3transDockerName
157
157
  }
158
158
  },
159
- noInquirer: this.args.prompts,
159
+ noInquirer: !this.args.prompts,
160
160
  systemPackages: packages,
161
161
  noR3transInfo: false
162
162
  },
@@ -168,15 +168,15 @@ class Install extends AbstractCommand_1.AbstractCommand {
168
168
  },
169
169
  installData: {
170
170
  checks: {
171
- noDependencies: this.args.deps,
172
- noObjectTypes: this.args.objType,
173
- noSapEntries: this.args.sapEntries,
174
- noExistingObjects: this.args.objCheck,
171
+ noDependencies: !this.args.deps,
172
+ noObjectTypes: !this.args.objType,
173
+ noSapEntries: !this.args.sapEntries,
174
+ noExistingObjects: !this.args.objCheck,
175
175
  lockfile: this.args.lockFile ? lockfile_1.Lockfile.fromJson(this.parseJsonArg('lockFile')) : undefined
176
176
  },
177
177
  import: {
178
- noLang: this.args.langTr,
179
- noCust: this.args.custTr,
178
+ noLang: !this.args.langTr,
179
+ noCust: !this.args.custTr,
180
180
  timeout: this.parseNumberArg('timeout'),
181
181
  replaceExistingTransports: false
182
182
  },
@@ -184,10 +184,10 @@ class Install extends AbstractCommand_1.AbstractCommand {
184
184
  keepOriginal: false,
185
185
  transportLayer: this.args.transportLayer,
186
186
  replacements: this.parseJsonArg('packageReplacements'),
187
- skipNamespace: this.args.namespace
187
+ skipNamespace: !this.args.namespace
188
188
  },
189
189
  installTransport: {
190
- create: !!this.args.installTransport,
190
+ create: this.args.installTr,
191
191
  targetSystem: this.args.installTrTarget
192
192
  }
193
193
  }
@@ -36,15 +36,15 @@ class Publish extends AbstractCommand_1.AbstractCommand {
36
36
  this.command.option(`--tag <tag>`, `Release tag(s) (separated by comma)`);
37
37
  this.command.option(`--private`, `Package marked as private. Depending on the registry, visibility might not be changed after first publish.`);
38
38
  this.command.option(`--readme <readme>`, `Release readme (markdown or path to markdown file)`);
39
- this.command.option(`--no-keep-manifest`, `Don't default to previous release manifest values.`, false);
39
+ this.command.option(`--no-keep-manifest`, `Don't default to previous release manifest values.`);
40
40
  }
41
41
  this.command.option(`-P, --sap-package <sap package>`, `SAP Package.`);
42
42
  this.command.option(`-t, --timeout <seconds>`, `Transport release timeout (in seconds)`, `180`);
43
43
  this.command.option(`-T, --target <target>`, `Transport release target.`);
44
- this.command.option(`--no-lang-tr`, `Do not generate language (translation) transport.`, false);
45
- this.command.option(`--no-cust-tr`, `Do not generate customizing transport.`, false);
44
+ this.command.option(`--no-lang-tr`, `Do not generate language (translation) transport.`);
45
+ this.command.option(`--no-cust-tr`, `Do not generate customizing transport.`);
46
46
  this.command.option(`--cust <customizing>`, `Customizing transport(s) (separated by comma).`);
47
- this.command.option(`--no-auto-deps`, `Do not look for dependencies.`, false);
47
+ this.command.option(`--no-auto-deps`, `Do not look for dependencies.`);
48
48
  this.command.option(`--authors <authors>`, `Release author(s) (separated by comma)`);
49
49
  this.command.option(`--backwards-compatible`, `Backwards-compatible release (reserved for future use)`);
50
50
  this.command.option(`--description <description>`, `Release description`);
@@ -55,7 +55,7 @@ class Publish extends AbstractCommand_1.AbstractCommand {
55
55
  this.command.option(`--dependencies <dependencies>`, `Release dependencies (JSON or path to JSON file)`);
56
56
  this.command.option(`--sap-entries <sap entries>`, `Release SAP entries (JSON or path to JSON file)`);
57
57
  this.command.option(`--post-activities <post activities>`, `Release post activities (JSON or path to JSON file)`);
58
- this.command.option(`--no-prompts`, `No prompts (will force some decisions).`, false);
58
+ this.command.option(`--no-prompts`, `No prompts (will force some decisions).`);
59
59
  }
60
60
  validateVersion(v) {
61
61
  if ((0, semver_1.valid)(v)) {
@@ -100,7 +100,7 @@ class Publish extends AbstractCommand_1.AbstractCommand {
100
100
  contextData: {
101
101
  logTemporaryFolder: (0, utils_1.getTempFolder)(),
102
102
  systemPackages: packages,
103
- noInquirer: this.args.prompts
103
+ noInquirer: !this.args.prompts
104
104
  },
105
105
  packageData: {
106
106
  registry,
@@ -126,10 +126,10 @@ class Publish extends AbstractCommand_1.AbstractCommand {
126
126
  },
127
127
  publishData: {
128
128
  private: this.args.private,
129
- keepLatestReleaseManifestValues: !this.args.keepManifest,
130
- noLanguageTransport: this.args.langTr,
131
- noDependenciesDetection: this.args.autoDeps,
132
- skipCustomizingTransports: this.args.custTr,
129
+ keepLatestReleaseManifestValues: this.args.keepManifest,
130
+ noLanguageTransport: !this.args.langTr,
131
+ noDependenciesDetection: !this.args.autoDeps,
132
+ skipCustomizingTransports: !this.args.custTr,
133
133
  customizingTransports: this.args.cust,
134
134
  readme: this.parseTextArg('readme')
135
135
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trm-client",
3
- "version": "7.2.0",
3
+ "version": "7.2.2",
4
4
  "description": "TRM (Transport Request Manager) Client",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",