@sap-ux/fiori-app-sub-generator 0.11.5 → 0.11.7

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.
@@ -197,7 +197,7 @@ class FioriAppGenerator extends yeoman_generator_1.default {
197
197
  !(0, utils_1.hasActiveStep)((0, utils_1.t)('steps.deployConfig.title'), this.yeomanUiStepConfig.activeSteps)) {
198
198
  (0, utils_1.updateDependentStep)((0, utils_1.t)('steps.projectAttributesConfig.title'), [this.yeomanUiStepConfig], true, (0, utils_1.t)('steps.deployConfig.title'));
199
199
  }
200
- (0, subgenHelpers_1.addDeployGen)({
200
+ await (0, subgenHelpers_1.addDeployGen)({
201
201
  service: this.state.service,
202
202
  projectName: this.state.project.name,
203
203
  targetFolder: this.state.project.targetFolder,
@@ -211,7 +211,7 @@ class FioriAppGenerator extends yeoman_generator_1.default {
211
211
  !(0, utils_1.hasActiveStep)((0, utils_1.t)('steps.flpConfig.title'), this.yeomanUiStepConfig.activeSteps)) {
212
212
  (0, utils_1.updateDependentStep)((0, utils_1.t)('steps.projectAttributesConfig.title'), [this.yeomanUiStepConfig], true, (0, utils_1.t)('steps.flpConfig.title'));
213
213
  }
214
- (0, subgenHelpers_1.addFlpGen)({
214
+ await (0, subgenHelpers_1.addFlpGen)({
215
215
  projectName: this.state.project.name,
216
216
  targetFolder: this.state.project.targetFolder,
217
217
  title: this.state.project.title,
@@ -22,7 +22,7 @@ export declare function addDeployGen({ service, projectName, targetFolder, appli
22
22
  projectName: string;
23
23
  targetFolder: string;
24
24
  applicationType: string;
25
- }, composeWith: Generator['composeWith'], logger: ILogWrapper, appWizard?: AppWizard, promptSettings?: DeployConfigSubGenPromptOptions): void;
25
+ }, composeWith: Generator['composeWith'], logger: ILogWrapper, appWizard?: AppWizard, promptSettings?: DeployConfigSubGenPromptOptions): Promise<void>;
26
26
  /**
27
27
  * Add the '@sap/fiori:flp-config' generator as a subgenerator using `composeWith`.
28
28
  * Skipping the prompting (`skipPrompt`) will still write the config, but not ask for any input.
@@ -43,5 +43,5 @@ export declare function addFlpGen({ projectName, targetFolder, title, skipPrompt
43
43
  targetFolder: string;
44
44
  title: string;
45
45
  skipPrompt: boolean;
46
- }, composeWith: Generator['composeWith'], logger: ILogWrapper, appWizard?: AppWizard, vscode?: any, promptSettings?: FLPConfigPromptOptions): void;
46
+ }, composeWith: Generator['composeWith'], logger: ILogWrapper, appWizard?: AppWizard, vscode?: any, promptSettings?: FLPConfigPromptOptions): Promise<void>;
47
47
  //# sourceMappingURL=subgenHelpers.d.ts.map
@@ -18,8 +18,8 @@ const fiori_generator_shared_1 = require("@sap-ux/fiori-generator-shared");
18
18
  * @param appWizard - instance of the AppWizard
19
19
  * @param promptSettings - prompt settings for the deployment generator
20
20
  */
21
- function addDeployGen({ service, projectName, targetFolder, applicationType }, composeWith, logger, appWizard, promptSettings) {
22
- composeWith('@sap/fiori:deploy-config', {
21
+ async function addDeployGen({ service, projectName, targetFolder, applicationType }, composeWith, logger, appWizard, promptSettings) {
22
+ await composeWith('@sap/fiori:deploy-config', {
23
23
  launchDeployConfigAsSubGenerator: true,
24
24
  appGenServiceHost: service.host,
25
25
  appGenServicePath: service.servicePath,
@@ -50,7 +50,7 @@ function addDeployGen({ service, projectName, targetFolder, applicationType }, c
50
50
  * @param vscode
51
51
  * @param promptSettings - prompt settings for the flp generator used in the inquirer
52
52
  */
53
- function addFlpGen({ projectName, targetFolder, title, skipPrompt }, composeWith, logger, appWizard, vscode, promptSettings) {
53
+ async function addFlpGen({ projectName, targetFolder, title, skipPrompt }, composeWith, logger, appWizard, vscode, promptSettings) {
54
54
  let flpConfigOptions = {
55
55
  launchFlpConfigAsSubGenerator: true,
56
56
  appWizard,
@@ -70,6 +70,6 @@ function addFlpGen({ projectName, targetFolder, title, skipPrompt }, composeWith
70
70
  }
71
71
  };
72
72
  }
73
- composeWith('@sap/fiori:flp-config', flpConfigOptions);
73
+ await composeWith('@sap/fiori:flp-config', flpConfigOptions);
74
74
  }
75
75
  //# sourceMappingURL=subgenHelpers.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/fiori-app-sub-generator",
3
3
  "description": "A yeoman (sub) generator that can generate Fiori applications. Not for standalone use.",
4
- "version": "0.11.5",
4
+ "version": "0.11.7",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -32,19 +32,19 @@
32
32
  "@sap-ux/annotation-generator": "0.4.2",
33
33
  "@sap-ux/axios-extension": "1.25.3",
34
34
  "@sap-ux/btp-utils": "1.1.6",
35
- "@sap-ux/cap-config-writer": "0.12.37",
35
+ "@sap-ux/cap-config-writer": "0.12.38",
36
36
  "@sap-ux/feature-toggle": "0.3.5",
37
- "@sap-ux/fiori-elements-writer": "2.8.27",
38
- "@sap-ux/fiori-freestyle-writer": "2.5.19",
39
- "@sap-ux/fiori-generator-shared": "0.13.46",
37
+ "@sap-ux/fiori-elements-writer": "2.8.29",
38
+ "@sap-ux/fiori-freestyle-writer": "2.5.21",
39
+ "@sap-ux/fiori-generator-shared": "0.13.47",
40
40
  "@sap-ux/fiori-tools-settings": "0.2.3",
41
41
  "@sap-ux/launch-config": "0.10.45",
42
- "@sap-ux/odata-service-inquirer": "2.13.4",
42
+ "@sap-ux/odata-service-inquirer": "2.13.5",
43
43
  "@sap-ux/odata-service-writer": "0.29.2",
44
44
  "@sap-ux/project-access": "1.33.0",
45
45
  "@sap-ux/store": "1.4.2",
46
46
  "@sap-ux/telemetry": "0.6.50",
47
- "@sap-ux/ui5-application-inquirer": "0.15.52",
47
+ "@sap-ux/ui5-application-inquirer": "0.15.53",
48
48
  "@sap-ux/ui5-info": "0.13.6"
49
49
  },
50
50
  "devDependencies": {
@@ -62,9 +62,9 @@
62
62
  "mock-spawn": "0.2.6",
63
63
  "rimraf": "6.0.1",
64
64
  "yeoman-test": "6.3.0",
65
- "@sap-ux/deploy-config-sub-generator": "0.5.27",
66
- "@sap-ux/flp-config-sub-generator": "0.3.90",
67
- "@sap-ux/inquirer-common": "0.10.3",
65
+ "@sap-ux/deploy-config-sub-generator": "0.5.28",
66
+ "@sap-ux/flp-config-sub-generator": "0.3.91",
67
+ "@sap-ux/inquirer-common": "0.10.4",
68
68
  "@sap-ux/jest-file-matchers": "0.2.8",
69
69
  "@sap-ux/logger": "0.8.0"
70
70
  },