@sap-ux/abap-deploy-config-sub-generator 0.1.76 → 0.1.78

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.
@@ -183,9 +183,9 @@ class default_1 extends deploy_config_generator_shared_1.DeploymentGenerator {
183
183
  client: this.answers.client,
184
184
  destination: this.answers.destination
185
185
  }));
186
- this.answers.isS4HC =
187
- this.options.isS4HC ||
188
- this.answers.isS4HC ||
186
+ this.answers.isAbapCloud =
187
+ this.options.isAbapCloud ||
188
+ this.answers.isAbapCloud ||
189
189
  (await (0, utils_1.determineS4HCFromTarget)({
190
190
  url: this.answers.url,
191
191
  client: this.answers.client,
@@ -239,14 +239,14 @@ class default_1 extends deploy_config_generator_shared_1.DeploymentGenerator {
239
239
  if (this.abort || this.answers.overwrite === false) {
240
240
  return;
241
241
  }
242
- const namespace = await (0, project_1.getVariantNamespace)(this.destinationPath(), !!this.answers.isS4HC, this.fs);
242
+ const namespace = await (0, project_1.getVariantNamespace)(this.destinationPath(), !!this.answers.isAbapCloud, this.fs);
243
243
  await (0, abap_deploy_config_writer_1.generate)(this.destinationPath(), {
244
244
  target: {
245
245
  url: this.answers.url,
246
246
  client: this.answers.client,
247
247
  scp: this.answers.scp,
248
248
  destination: this.answers.destination,
249
- authenticationType: this.answers.isS4HC ? store_1.AuthenticationType.ReentranceTicket : undefined // only reentrance ticket is relevant for writing to deploy config
249
+ authenticationType: this.answers.isAbapCloud ? store_1.AuthenticationType.ReentranceTicket : undefined
250
250
  },
251
251
  app: {
252
252
  name: this.answers.ui5AbapRepo,
@@ -97,18 +97,18 @@ async function determineScpFromTarget(target) {
97
97
  * @returns - true if the target is an s4hana cloud system, false otherwise
98
98
  */
99
99
  async function determineS4HCFromTarget(target) {
100
- let isS4HCloud = false;
100
+ let isAbapCloud = false;
101
101
  if ((0, btp_utils_1.isAppStudio)() && target.destination) {
102
102
  const destinations = await getDestinations();
103
103
  if (destinations?.[target.destination]) {
104
- isS4HCloud = (0, btp_utils_1.isS4HC)(destinations?.[target.destination]);
104
+ isAbapCloud = (0, btp_utils_1.isS4HC)(destinations?.[target.destination]);
105
105
  }
106
106
  }
107
107
  else if (target.url) {
108
108
  const backendSystems = await getBackendSystems();
109
109
  const backendSystem = backendSystems?.find((backend) => isSameSystem(backend, target));
110
- isS4HCloud = backendSystem?.authenticationType === store_1.AuthenticationType.ReentranceTicket;
110
+ isAbapCloud = backendSystem?.authenticationType === store_1.AuthenticationType.ReentranceTicket;
111
111
  }
112
- return isS4HCloud;
112
+ return isAbapCloud;
113
113
  }
114
114
  //# sourceMappingURL=helpers.js.map
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "url": "https://github.com/SAP/open-ux-tools.git",
7
7
  "directory": "packages/abap-deploy-config-sub-generator"
8
8
  },
9
- "version": "0.1.76",
9
+ "version": "0.1.78",
10
10
  "license": "Apache-2.0",
11
11
  "main": "generators/app/index.js",
12
12
  "files": [
@@ -21,12 +21,12 @@
21
21
  "dependencies": {
22
22
  "i18next": "25.3.0",
23
23
  "@sap-devx/yeoman-ui-types": "1.14.4",
24
- "@sap-ux/abap-deploy-config-inquirer": "1.6.27",
25
- "@sap-ux/abap-deploy-config-writer": "0.2.21",
24
+ "@sap-ux/abap-deploy-config-inquirer": "1.6.29",
25
+ "@sap-ux/abap-deploy-config-writer": "0.2.22",
26
26
  "@sap-ux/btp-utils": "1.1.4",
27
- "@sap-ux/deploy-config-generator-shared": "0.1.41",
28
- "@sap-ux/feature-toggle": "0.3.1",
29
- "@sap-ux/fiori-generator-shared": "0.13.22",
27
+ "@sap-ux/deploy-config-generator-shared": "0.1.42",
28
+ "@sap-ux/feature-toggle": "0.3.2",
29
+ "@sap-ux/fiori-generator-shared": "0.13.23",
30
30
  "@sap-ux/logger": "0.7.0",
31
31
  "@sap-ux/project-access": "1.32.4",
32
32
  "@sap-ux/ui5-config": "0.29.8"
@@ -39,8 +39,8 @@
39
39
  "mem-fs-editor": "9.4.0",
40
40
  "unionfs": "4.4.0",
41
41
  "yeoman-test": "6.3.0",
42
- "@sap-ux/store": "1.1.5",
43
- "@sap-ux/system-access": "0.6.19"
42
+ "@sap-ux/store": "1.2.0",
43
+ "@sap-ux/system-access": "0.6.20"
44
44
  },
45
45
  "scripts": {
46
46
  "build": "tsc --build",