@sap-ux/ui5-application-inquirer 0.15.11 → 0.15.14

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.
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.getQuestions = getQuestions;
7
7
  /* eslint-disable @typescript-eslint/prefer-nullish-coalescing */
8
8
  // Nullish coalescing operator lint warnings disabled as its not appropriate in most cases where empty strings are not considered valid
9
- const os_1 = __importDefault(require("os"));
10
- const path_1 = require("path");
9
+ const node_os_1 = __importDefault(require("node:os"));
10
+ const node_path_1 = require("node:path");
11
11
  const inquirer_common_1 = require("@sap-ux/inquirer-common");
12
12
  const prompts1_1 = require("./prompts1");
13
13
  const prompts2_1 = require("./prompts2");
@@ -35,7 +35,7 @@ async function getQuestions(ui5Versions, promptOptions, capCdsInfo, isYUI = fals
35
35
  if (shouldValidateFioriAppFolder) {
36
36
  const isValidFolder = await (0, project_input_validator_1.validateFioriAppProjectFolder)(targetDir);
37
37
  if (isValidFolder !== true) {
38
- targetDir = (0, path_1.join)(os_1.default.homedir(), 'projects');
38
+ targetDir = (0, node_path_1.join)(node_os_1.default.homedir(), 'projects');
39
39
  }
40
40
  }
41
41
  const isCapProject = !!capCdsInfo;
@@ -5,8 +5,8 @@ exports.defaultAppName = defaultAppName;
5
5
  exports.isVersionIncluded = isVersionIncluded;
6
6
  exports.hidePrompts = hidePrompts;
7
7
  const ui5_info_1 = require("@sap-ux/ui5-info");
8
- const fs_1 = require("fs");
9
- const path_1 = require("path");
8
+ const node_fs_1 = require("node:fs");
9
+ const node_path_1 = require("node:path");
10
10
  const semver_1 = require("semver");
11
11
  const i18n_1 = require("../i18n");
12
12
  const types_1 = require("../types");
@@ -18,7 +18,7 @@ const types_1 = require("../types");
18
18
  * @returns true, if the combined path exists otherwise false
19
19
  */
20
20
  function appPathExists(appName, targetPath) {
21
- return (0, fs_1.existsSync)((0, path_1.join)(targetPath ?? process.cwd(), appName.trim()));
21
+ return (0, node_fs_1.existsSync)((0, node_path_1.join)(targetPath ?? process.cwd(), appName.trim()));
22
22
  }
23
23
  /**
24
24
  * Generate a default applicaiton name that does not exist at the specified path.
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.15.11",
4
+ "version": "0.15.14",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -23,10 +23,10 @@
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.7.45",
27
- "@sap-ux/project-access": "1.32.1",
28
- "@sap-ux/project-input-validator": "0.6.22",
29
- "@sap-ux/ui5-info": "0.12.3"
26
+ "@sap-ux/inquirer-common": "0.7.48",
27
+ "@sap-ux/project-access": "1.32.3",
28
+ "@sap-ux/project-input-validator": "0.6.24",
29
+ "@sap-ux/ui5-info": "0.12.4"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@sap-devx/yeoman-ui-types": "1.14.4",
@@ -35,7 +35,7 @@
35
35
  "@types/lodash": "4.14.202",
36
36
  "@types/semver": "7.5.4",
37
37
  "inquirer": "8.2.6",
38
- "@sap-ux/cap-config-writer": "0.12.9"
38
+ "@sap-ux/cap-config-writer": "0.12.12"
39
39
  },
40
40
  "engines": {
41
41
  "node": ">=20.x"