@sap-ux/deploy-config-sub-generator 0.3.1 → 0.3.3

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.
@@ -61,7 +61,8 @@ class default_1 extends deploy_config_generator_shared_1.DeploymentGenerator {
61
61
  };
62
62
  const deployConfigOpts = this.transformExtConfig();
63
63
  if (deployConfigOpts && this.deployTarget) {
64
- this.composeWith((0, utils_1.generatorNamespace)(this.genNamespace, this.deployTarget), {
64
+ const subGen = this.deployTarget === fiori_generator_shared_1.DeployTarget.CF ? utils_1.cfChoice.name : utils_1.abapChoice.name;
65
+ this.composeWith((0, utils_1.generatorNamespace)(this.genNamespace, subGen), {
65
66
  arguments: this.args,
66
67
  ...Object.assign(this.options, deployConfigOpts, {
67
68
  telemetryData: additionalTelemetryData
@@ -96,7 +97,7 @@ class default_1 extends deploy_config_generator_shared_1.DeploymentGenerator {
96
97
  const abap = this.appConfig.deployConfig;
97
98
  if (this.appConfig.project.targetFolder) {
98
99
  options = {
99
- appRootPath: this.appConfig?.project?.targetFolder,
100
+ appRootPath: (0, path_1.join)(this.appConfig.project.targetFolder, this.appConfig.project.name),
100
101
  destination: abap?.destination,
101
102
  url: abap?.url ?? '', // URL may not be provided in BAS but will be determined in the generator
102
103
  client: abap?.client,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/deploy-config-sub-generator",
3
3
  "description": "Main generator for configuring ABAP or Cloud Foundry deployment configuration",
4
- "version": "0.3.1",
4
+ "version": "0.3.3",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -25,15 +25,15 @@
25
25
  "i18next": "23.5.1",
26
26
  "yeoman-generator": "5.10.0",
27
27
  "@sap-ux/btp-utils": "1.1.0",
28
- "@sap-ux/cf-deploy-config-sub-generator": "0.2.7",
29
- "@sap-ux/abap-deploy-config-sub-generator": "0.1.10",
30
- "@sap-ux/deploy-config-generator-shared": "0.1.6",
31
28
  "@sap-ux/fiori-generator-shared": "0.12.6",
32
29
  "@sap-ux/inquirer-common": "0.7.7",
33
- "@sap-ux/odata-service-inquirer": "2.4.13",
30
+ "@sap-ux/odata-service-inquirer": "2.4.14",
34
31
  "@sap-ux/project-access": "1.30.2",
32
+ "@sap-ux/ui5-config": "0.28.2",
35
33
  "@sap-ux/store": "1.1.0",
36
- "@sap-ux/ui5-config": "0.28.2"
34
+ "@sap-ux/cf-deploy-config-sub-generator": "0.2.8",
35
+ "@sap-ux/deploy-config-generator-shared": "0.1.6",
36
+ "@sap-ux/abap-deploy-config-sub-generator": "0.1.12"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/fs-extra": "9.0.13",
@@ -50,10 +50,10 @@
50
50
  "rimraf": "5.0.5",
51
51
  "unionfs": "4.4.0",
52
52
  "yeoman-test": "6.3.0",
53
- "@sap-ux/abap-deploy-config-inquirer": "1.4.10",
53
+ "@sap-ux/abap-deploy-config-inquirer": "1.4.11",
54
54
  "@sap-ux/cf-deploy-config-inquirer": "0.3.7",
55
55
  "@sap-ux/cf-deploy-config-writer": "0.3.2",
56
- "@sap-ux/fiori-app-sub-generator": "0.4.9",
56
+ "@sap-ux/fiori-app-sub-generator": "0.4.10",
57
57
  "@sap-ux/jest-file-matchers": "0.2.2"
58
58
  },
59
59
  "engines": {