@sap-ux/deploy-config-sub-generator 0.2.8 → 0.2.9

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.
@@ -39,7 +39,7 @@ async function getSubGenPrompts(fs, options, { launchDeployConfigAsSubGenerator,
39
39
  configFile: options.config,
40
40
  indexGenerationAllowed,
41
41
  showOverwriteQuestion: showOverwrite,
42
- promptOptions: options?.subGenPromptOptions?.abap,
42
+ promptOptions: options?.subGenPromptOptions,
43
43
  logger: deploy_config_generator_shared_1.DeploymentGenerator.logger
44
44
  });
45
45
  // CF prompts
@@ -50,7 +50,7 @@ async function getSubGenPrompts(fs, options, { launchDeployConfigAsSubGenerator,
50
50
  isCap: isCap,
51
51
  addOverwrite: showOverwrite,
52
52
  apiHubConfig: apiHubConfig,
53
- promptOptions: options?.subGenPromptOptions?.cf
53
+ promptOptions: options?.subGenPromptOptions
54
54
  });
55
55
  // Combine all prompts
56
56
  const questions = combineAllPrompts(options.projectRoot, {
@@ -70,10 +70,7 @@ export interface DeployConfigOptions extends Generator.GeneratorOptions {
70
70
  /**
71
71
  * Deployment configuration prompt options for sub generators
72
72
  */
73
- subGenPromptOptions?: {
74
- abap: AbapDeployConfigPromptOptions;
75
- cf: CfDeployConfigPromptOptions;
76
- };
73
+ subGenPromptOptions?: AbapDeployConfigPromptOptions | CfDeployConfigPromptOptions;
77
74
  }
78
75
  /**
79
76
  * The deployment target (CF or ABAP)
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.2.8",
4
+ "version": "0.2.9",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -24,8 +24,8 @@
24
24
  "hasbin": "1.2.3",
25
25
  "i18next": "23.5.1",
26
26
  "yeoman-generator": "5.10.0",
27
- "@sap-ux/btp-utils": "1.1.0",
28
27
  "@sap-ux/cf-deploy-config-sub-generator": "0.2.3",
28
+ "@sap-ux/btp-utils": "1.1.0",
29
29
  "@sap-ux/abap-deploy-config-sub-generator": "0.1.5",
30
30
  "@sap-ux/deploy-config-generator-shared": "0.1.2",
31
31
  "@sap-ux/fiori-generator-shared": "0.12.2",
@@ -53,7 +53,7 @@
53
53
  "@sap-ux/abap-deploy-config-inquirer": "1.4.5",
54
54
  "@sap-ux/cf-deploy-config-inquirer": "0.3.3",
55
55
  "@sap-ux/cf-deploy-config-writer": "0.3.1",
56
- "@sap-ux/fiori-app-sub-generator": "0.4.0",
56
+ "@sap-ux/fiori-app-sub-generator": "0.4.1",
57
57
  "@sap-ux/jest-file-matchers": "0.2.2"
58
58
  },
59
59
  "engines": {