@sap-ux/fiori-app-sub-generator 0.11.6 → 0.11.8

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,
@@ -208,9 +208,6 @@ async function createUI5ApplicationPromptOptions(ui5PromptOptions) {
208
208
  [ui5_application_inquirer_1.promptNames.enableTypeScript]: {
209
209
  default: types_1.defaultPromptValues[ui5_application_inquirer_1.promptNames.enableTypeScript]
210
210
  },
211
- [ui5_application_inquirer_1.promptNames.enableCodeAssist]: {
212
- hide: true
213
- },
214
211
  [ui5_application_inquirer_1.promptNames.enableVirtualEndpoints]: {
215
212
  hide: service.capService?.capType === 'Java'
216
213
  }
@@ -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
@@ -178,7 +178,6 @@ export interface ReadonlyState {
178
178
  readonly floorplan: Floorplan;
179
179
  }
180
180
  export declare const defaultPromptValues: {
181
- enableCodeAssist: boolean;
182
181
  enableEslint: boolean;
183
182
  skipAnnotations: boolean;
184
183
  enableTypeScript: boolean;
@@ -80,7 +80,6 @@ var Template;
80
80
  Template["Simple"] = "basic";
81
81
  })(Template || (exports.Template = Template = {}));
82
82
  exports.defaultPromptValues = {
83
- [ui5_application_inquirer_1.promptNames.enableCodeAssist]: false,
84
83
  [ui5_application_inquirer_1.promptNames.enableEslint]: false,
85
84
  [ui5_application_inquirer_1.promptNames.skipAnnotations]: false,
86
85
  [ui5_application_inquirer_1.promptNames.enableTypeScript]: false
@@ -22,8 +22,6 @@ export interface Project {
22
22
  localUI5Version: string;
23
23
  sapux?: boolean;
24
24
  skipAnnotations?: boolean;
25
- /** @deprecated Code assist prompt is hidden and this property is no longer used */
26
- enableCodeAssist?: boolean;
27
25
  enableEslint?: boolean;
28
26
  enableTypeScript?: boolean;
29
27
  formEntry?: boolean;
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.6",
4
+ "version": "0.11.8",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -32,20 +32,20 @@
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.39",
36
36
  "@sap-ux/feature-toggle": "0.3.5",
37
- "@sap-ux/fiori-elements-writer": "2.8.28",
38
- "@sap-ux/fiori-freestyle-writer": "2.5.20",
39
- "@sap-ux/fiori-generator-shared": "0.13.46",
37
+ "@sap-ux/fiori-elements-writer": "2.8.30",
38
+ "@sap-ux/fiori-freestyle-writer": "2.5.22",
39
+ "@sap-ux/fiori-generator-shared": "0.13.48",
40
40
  "@sap-ux/fiori-tools-settings": "0.2.3",
41
- "@sap-ux/launch-config": "0.10.45",
42
- "@sap-ux/odata-service-inquirer": "2.13.4",
41
+ "@sap-ux/launch-config": "0.10.46",
42
+ "@sap-ux/odata-service-inquirer": "2.13.6",
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",
48
- "@sap-ux/ui5-info": "0.13.6"
47
+ "@sap-ux/ui5-application-inquirer": "0.16.0",
48
+ "@sap-ux/ui5-info": "0.13.7"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@sap-devx/yeoman-ui-types": "1.16.9",
@@ -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.29",
66
+ "@sap-ux/flp-config-sub-generator": "0.3.92",
67
+ "@sap-ux/inquirer-common": "0.10.5",
68
68
  "@sap-ux/jest-file-matchers": "0.2.8",
69
69
  "@sap-ux/logger": "0.8.0"
70
70
  },