@sap-ux/odata-service-inquirer 2.11.19 → 2.11.21
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.
|
@@ -77,7 +77,6 @@ async function getCapProjectChoices(paths) {
|
|
|
77
77
|
*/
|
|
78
78
|
function createCapServiceChoice(capModel, serviceInfo, projectPath, appPath, cdsVersionInfo) {
|
|
79
79
|
const srvDef = capModel.definitions?.[serviceInfo.name];
|
|
80
|
-
/* eslint-disable-next-line @typescript-eslint/no-explicit-any */
|
|
81
80
|
const serviceFilePath = srvDef?.$location?.file;
|
|
82
81
|
logger_helper_1.default.logger.debug(`Cap service def: ${JSON.stringify(srvDef)}`);
|
|
83
82
|
logger_helper_1.default.logger.debug(`Cap service def $location.file: ${JSON.stringify(serviceFilePath)}`);
|
|
@@ -35,7 +35,6 @@ const createServiceChoices = (serviceInfos) => {
|
|
|
35
35
|
const choices = [];
|
|
36
36
|
// Provide additional service information in trace mode (YUI only)
|
|
37
37
|
let isLogTrace = false;
|
|
38
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Only specific loggers have this method
|
|
39
38
|
if (typeof logger_helper_1.default.logger.getLogLevel === 'function') {
|
|
40
39
|
isLogTrace = logger_helper_1.default.logger.getLogLevel() === 'trace';
|
|
41
40
|
}
|
|
@@ -65,7 +65,6 @@ class LoggerHelper {
|
|
|
65
65
|
*/
|
|
66
66
|
static attachAxiosLogger(interceptors) {
|
|
67
67
|
// Dont log response data, which can be huge (edmx) unless log level is explictly set to `trace` (@vscode-logging/logger)
|
|
68
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
69
68
|
const logResponseData = typeof LoggerHelper.logger.getLogLevel === 'function' &&
|
|
70
69
|
LoggerHelper.logger.getLogLevel() === 'trace';
|
|
71
70
|
const debugLogger = LoggerHelper.logger.debug.bind(LoggerHelper.logger);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/odata-service-inquirer",
|
|
3
3
|
"description": "Prompts module that can prompt users for inputs required for odata service writing",
|
|
4
|
-
"version": "2.11.
|
|
4
|
+
"version": "2.11.21",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -29,17 +29,17 @@
|
|
|
29
29
|
"i18next": "25.3.0",
|
|
30
30
|
"inquirer-autocomplete-prompt": "2.0.1",
|
|
31
31
|
"os-name": "4.0.1",
|
|
32
|
-
"@sap-ux/axios-extension": "1.24.
|
|
33
|
-
"@sap-ux/btp-utils": "1.1.
|
|
34
|
-
"@sap-ux/fiori-generator-shared": "0.13.
|
|
35
|
-
"@sap-ux/guided-answers-helper": "0.4.
|
|
36
|
-
"@sap-ux/telemetry": "0.6.
|
|
37
|
-
"@sap-ux/inquirer-common": "0.9.
|
|
38
|
-
"@sap-ux/logger": "0.7.
|
|
39
|
-
"@sap-ux/nodejs-utils": "0.2.
|
|
40
|
-
"@sap-ux/project-access": "1.32.
|
|
41
|
-
"@sap-ux/project-input-validator": "0.6.
|
|
42
|
-
"@sap-ux/store": "1.3.
|
|
32
|
+
"@sap-ux/axios-extension": "1.24.6",
|
|
33
|
+
"@sap-ux/btp-utils": "1.1.6",
|
|
34
|
+
"@sap-ux/fiori-generator-shared": "0.13.43",
|
|
35
|
+
"@sap-ux/guided-answers-helper": "0.4.2",
|
|
36
|
+
"@sap-ux/telemetry": "0.6.47",
|
|
37
|
+
"@sap-ux/inquirer-common": "0.9.16",
|
|
38
|
+
"@sap-ux/logger": "0.7.2",
|
|
39
|
+
"@sap-ux/nodejs-utils": "0.2.10",
|
|
40
|
+
"@sap-ux/project-access": "1.32.16",
|
|
41
|
+
"@sap-ux/project-input-validator": "0.6.38",
|
|
42
|
+
"@sap-ux/store": "1.3.5"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@sap-ux/vocabularies-types": "0.13.1",
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
"@types/inquirer": "8.2.6",
|
|
49
49
|
"@types/lodash": "4.14.202",
|
|
50
50
|
"jest-extended": "6.0.0",
|
|
51
|
-
"@sap-ux/fiori-generator-shared": "0.13.
|
|
52
|
-
"@sap-ux/fiori-elements-writer": "2.8.
|
|
53
|
-
"@sap-ux/fiori-freestyle-writer": "2.5.
|
|
54
|
-
"@sap-ux/feature-toggle": "0.3.
|
|
55
|
-
"@sap-ux/odata-service-writer": "0.27.
|
|
56
|
-
"@sap-ux/cap-config-writer": "0.12.
|
|
51
|
+
"@sap-ux/fiori-generator-shared": "0.13.43",
|
|
52
|
+
"@sap-ux/fiori-elements-writer": "2.8.19",
|
|
53
|
+
"@sap-ux/fiori-freestyle-writer": "2.5.12",
|
|
54
|
+
"@sap-ux/feature-toggle": "0.3.5",
|
|
55
|
+
"@sap-ux/odata-service-writer": "0.27.38",
|
|
56
|
+
"@sap-ux/cap-config-writer": "0.12.34"
|
|
57
57
|
},
|
|
58
58
|
"engines": {
|
|
59
59
|
"node": ">=20.x"
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
"build": "tsc --build",
|
|
63
63
|
"clean": "rimraf --glob dist test/test-output coverage *.tsbuildinfo",
|
|
64
64
|
"watch": "tsc --watch",
|
|
65
|
-
"lint": "eslint
|
|
66
|
-
"lint:fix": "eslint
|
|
65
|
+
"lint": "eslint",
|
|
66
|
+
"lint:fix": "eslint --fix",
|
|
67
67
|
"test": "jest --ci --forceExit --detectOpenHandles --colors",
|
|
68
68
|
"test-u": "jest --ci --forceExit --detectOpenHandles --colors -u",
|
|
69
69
|
"link": "pnpm link --global",
|