@sap-ux/deploy-config-sub-generator 0.2.7 → 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,6 +39,7 @@ async function getSubGenPrompts(fs, options, { launchDeployConfigAsSubGenerator,
39
39
  configFile: options.config,
40
40
  indexGenerationAllowed,
41
41
  showOverwriteQuestion: showOverwrite,
42
+ promptOptions: options?.subGenPromptOptions,
42
43
  logger: deploy_config_generator_shared_1.DeploymentGenerator.logger
43
44
  });
44
45
  // CF prompts
@@ -48,7 +49,8 @@ async function getSubGenPrompts(fs, options, { launchDeployConfigAsSubGenerator,
48
49
  cfDestination: cfDestination,
49
50
  isCap: isCap,
50
51
  addOverwrite: showOverwrite,
51
- apiHubConfig: apiHubConfig
52
+ apiHubConfig: apiHubConfig,
53
+ promptOptions: options?.subGenPromptOptions
52
54
  });
53
55
  // Combine all prompts
54
56
  const questions = combineAllPrompts(options.projectRoot, {
@@ -6,6 +6,8 @@ import type { LogWrapper, VSCodeInstance } from '@sap-ux/fiori-generator-shared'
6
6
  import type { OdataServiceAnswers } from '@sap-ux/odata-service-inquirer';
7
7
  import type { FioriToolsProxyConfigBackend } from '@sap-ux/ui5-config';
8
8
  import type { CommonPromptOptions } from '@sap-ux/inquirer-common';
9
+ import type { AbapDeployConfigPromptOptions } from '@sap-ux/abap-deploy-config-sub-generator';
10
+ import type { CfDeployConfigPromptOptions } from '@sap-ux/cf-deploy-config-sub-generator';
9
11
  export interface DeployConfigOptions extends Generator.GeneratorOptions {
10
12
  /**
11
13
  * The target deployment
@@ -65,6 +67,10 @@ export interface DeployConfigOptions extends Generator.GeneratorOptions {
65
67
  */
66
68
  destinationRoot: string;
67
69
  };
70
+ /**
71
+ * Deployment configuration prompt options for sub generators
72
+ */
73
+ subGenPromptOptions?: AbapDeployConfigPromptOptions | CfDeployConfigPromptOptions;
68
74
  }
69
75
  /**
70
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.7",
4
+ "version": "0.2.9",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -24,9 +24,9 @@
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",
29
- "@sap-ux/abap-deploy-config-sub-generator": "0.1.4",
28
+ "@sap-ux/btp-utils": "1.1.0",
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",
32
32
  "@sap-ux/inquirer-common": "0.7.3",
@@ -50,9 +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.5",
53
54
  "@sap-ux/cf-deploy-config-inquirer": "0.3.3",
54
55
  "@sap-ux/cf-deploy-config-writer": "0.3.1",
55
- "@sap-ux/fiori-app-sub-generator": "0.3.0",
56
+ "@sap-ux/fiori-app-sub-generator": "0.4.1",
56
57
  "@sap-ux/jest-file-matchers": "0.2.2"
57
58
  },
58
59
  "engines": {