@sap-ux/fiori-app-sub-generator 0.4.0 → 0.4.1

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.
@@ -282,8 +282,9 @@ function createOdataServicePromptOptions(options) {
282
282
  },
283
283
  [odata_service_inquirer_1.promptNames.serviceSelection]: {
284
284
  useAutoComplete: (0, fiori_generator_shared_1.getHostEnvironment)() === fiori_generator_shared_1.hostEnvironment.cli,
285
- requiredOdataVersion: options.requiredOdataVersion,
286
- showCollaborativeDraftWarning: options.showCollabDraftWarning && isYUI
285
+ requiredOdataVersion: options.requiredOdataVersion ?? options.promptOptions?.serviceSelection?.requiredOdataVersion,
286
+ showCollaborativeDraftWarning: options.showCollabDraftWarning && isYUI,
287
+ serviceFilter: options.promptOptions?.serviceSelection?.serviceFilter
287
288
  },
288
289
  [odata_service_inquirer_1.promptNames.systemSelection]: {
289
290
  destinationFilters: {
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.4.0",
4
+ "version": "0.4.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -35,17 +35,17 @@
35
35
  "@sap-ux/cap-config-writer": "0.10.2",
36
36
  "@sap-ux/feature-toggle": "0.3.0",
37
37
  "@sap-ux/fiori-elements-writer": "2.4.7",
38
- "@sap-ux/fiori-freestyle-writer": "2.4.4",
39
38
  "@sap-ux/fiori-generator-shared": "0.12.2",
40
39
  "@sap-ux/fiori-tools-settings": "0.2.0",
40
+ "@sap-ux/fiori-freestyle-writer": "2.4.4",
41
41
  "@sap-ux/launch-config": "0.10.1",
42
42
  "@sap-ux/odata-service-inquirer": "2.4.7",
43
43
  "@sap-ux/odata-service-writer": "0.27.3",
44
44
  "@sap-ux/project-access": "1.30.1",
45
45
  "@sap-ux/store": "1.1.0",
46
- "@sap-ux/telemetry": "0.6.2",
47
46
  "@sap-ux/ui5-application-inquirer": "0.14.3",
48
- "@sap-ux/ui5-info": "0.11.0"
47
+ "@sap-ux/ui5-info": "0.11.0",
48
+ "@sap-ux/telemetry": "0.6.2"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@sap-devx/yeoman-ui-types": "1.16.9",
@@ -62,8 +62,8 @@
62
62
  "mock-spawn": "0.2.6",
63
63
  "rimraf": "5.0.5",
64
64
  "yeoman-test": "6.3.0",
65
- "@sap-ux/abap-deploy-config-inquirer": "1.4.5",
66
65
  "@sap-ux/cf-deploy-config-inquirer": "0.3.3",
66
+ "@sap-ux/abap-deploy-config-inquirer": "1.4.5",
67
67
  "@sap-ux/flp-config-sub-generator": "0.2.9",
68
68
  "@sap-ux/inquirer-common": "0.7.3",
69
69
  "@sap-ux/jest-file-matchers": "0.2.2",