@sap-ux/ui5-application-inquirer 0.7.4 → 0.7.5

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.
@@ -260,9 +260,7 @@ function getAddDeployConfigPrompt(targetDir, addDeployConfigOptions, isCapProjec
260
260
  function getUI5VersionPrompt(ui5Versions = [], ui5VersionPromptOptions) {
261
261
  // Set the default to be closest to the passed value or the default as defined by ui5 version service
262
262
  const defaultChoice = (0, inquirer_common_1.getDefaultUI5VersionChoice)(ui5Versions, ui5VersionPromptOptions?.defaultChoice);
263
- const ui5VersionChoices = (0, inquirer_common_1.ui5VersionsGrouped)(ui5Versions, ui5VersionPromptOptions?.includeSeparators
264
- // defaultChoice - this is added to support systemn versions however currently the middleware preview does not support this
265
- );
263
+ const ui5VersionChoices = (0, inquirer_common_1.ui5VersionsGrouped)(ui5Versions, ui5VersionPromptOptions?.includeSeparators, defaultChoice);
266
264
  return {
267
265
  when: () => !!ui5VersionChoices,
268
266
  type: ui5VersionPromptOptions?.useAutocomplete ? 'autocomplete' : 'list',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/ui5-application-inquirer",
3
3
  "description": "Prompts module that can prompt users for inputs required for UI5 application writing",
4
- "version": "0.7.4",
4
+ "version": "0.7.5",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -23,7 +23,7 @@
23
23
  "inquirer-autocomplete-prompt": "2.0.1",
24
24
  "lodash": "4.17.21",
25
25
  "semver": "7.5.4",
26
- "@sap-ux/inquirer-common": "0.4.6",
26
+ "@sap-ux/inquirer-common": "0.4.7",
27
27
  "@sap-ux/project-access": "1.28.2",
28
28
  "@sap-ux/project-input-validator": "0.3.3",
29
29
  "@sap-ux/ui5-info": "0.8.1"