@sap-ux/odata-service-inquirer 3.2.1 → 3.2.3
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.
- package/dist/i18n.js +3 -14
- package/package.json +15 -15
package/dist/i18n.js
CHANGED
|
@@ -13,21 +13,10 @@ export async function initI18nOdataServiceInquirer() {
|
|
|
13
13
|
lng: 'en',
|
|
14
14
|
fallbackLng: 'en',
|
|
15
15
|
missingInterpolationHandler: () => '',
|
|
16
|
-
interpolation: {
|
|
17
|
-
format: function (value, format) {
|
|
18
|
-
// OData version formatter
|
|
19
|
-
if (format === 'odataVersionFormatter') {
|
|
20
|
-
return value ? ` V${value}` : '';
|
|
21
|
-
}
|
|
22
|
-
// If we have a value add a colon before outputting
|
|
23
|
-
if (format === 'addMsgWithColonFormatter') {
|
|
24
|
-
return value ? `: ${value}` : '';
|
|
25
|
-
}
|
|
26
|
-
return value;
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
showSupportNotice: false
|
|
16
|
+
interpolation: { escapeValue: false }
|
|
30
17
|
});
|
|
18
|
+
i18n.services.formatter?.add('odataVersionFormatter', (value) => (value ? ` V${value}` : ''));
|
|
19
|
+
i18n.services.formatter?.add('addMsgWithColonFormatter', (value) => (value ? `: ${value}` : ''));
|
|
31
20
|
i18n.addResourceBundle('en', odataServiceInquirerNamespace, translations);
|
|
32
21
|
// add other bundles that are used in consumed modules
|
|
33
22
|
addInquirerCommonTexts();
|
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": "3.2.
|
|
4
|
+
"version": "3.2.3",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -27,21 +27,21 @@
|
|
|
27
27
|
"axios-logger": "2.8.1",
|
|
28
28
|
"circular-reference-remover": "2.1.0",
|
|
29
29
|
"fast-xml-parser": "5.8.0",
|
|
30
|
-
"i18next": "
|
|
30
|
+
"i18next": "26.3.6",
|
|
31
31
|
"inquirer-autocomplete-prompt": "2.0.1",
|
|
32
32
|
"os-name": "4.0.1",
|
|
33
33
|
"@sap-devx/yeoman-ui-types": "1.25.0",
|
|
34
34
|
"@sap-ux/axios-extension": "2.0.7",
|
|
35
|
+
"@sap-ux/fiori-generator-shared": "1.2.3",
|
|
35
36
|
"@sap-ux/guided-answers-helper": "1.0.1",
|
|
37
|
+
"@sap-ux/telemetry": "1.0.21",
|
|
36
38
|
"@sap-ux/btp-utils": "2.0.5",
|
|
37
|
-
"@sap-ux/fiori-generator-shared": "1.2.1",
|
|
38
|
-
"@sap-ux/telemetry": "1.0.19",
|
|
39
|
-
"@sap-ux/inquirer-common": "1.0.24",
|
|
40
39
|
"@sap-ux/logger": "1.0.3",
|
|
41
|
-
"@sap-ux/
|
|
42
|
-
"@sap-ux/
|
|
43
|
-
"@sap-ux/project-input-validator": "1.0.
|
|
44
|
-
"@sap-ux/
|
|
40
|
+
"@sap-ux/inquirer-common": "1.0.26",
|
|
41
|
+
"@sap-ux/nodejs-utils": "1.0.8",
|
|
42
|
+
"@sap-ux/project-input-validator": "1.0.13",
|
|
43
|
+
"@sap-ux/project-access": "2.1.8",
|
|
44
|
+
"@sap-ux/store": "2.0.5"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@jest/globals": "30.4.1",
|
|
@@ -49,13 +49,13 @@
|
|
|
49
49
|
"@types/inquirer-autocomplete-prompt": "2.0.2",
|
|
50
50
|
"@types/inquirer": "8.2.6",
|
|
51
51
|
"jest-extended": "7.0.0",
|
|
52
|
-
"@sap-ux/fiori-
|
|
53
|
-
"@sap-ux/fiori-
|
|
54
|
-
"@sap-ux/fe-fpm-writer": "1.3.3",
|
|
55
|
-
"@sap-ux/fiori-freestyle-writer": "3.0.55",
|
|
52
|
+
"@sap-ux/fiori-elements-writer": "3.1.11",
|
|
53
|
+
"@sap-ux/fiori-freestyle-writer": "3.0.60",
|
|
56
54
|
"@sap-ux/feature-toggle": "1.0.5",
|
|
57
|
-
"@sap-ux/
|
|
58
|
-
"@sap-ux/
|
|
55
|
+
"@sap-ux/fe-fpm-writer": "1.3.7",
|
|
56
|
+
"@sap-ux/odata-service-writer": "1.0.15",
|
|
57
|
+
"@sap-ux/cap-config-writer": "1.0.25",
|
|
58
|
+
"@sap-ux/fiori-generator-shared": "1.2.3"
|
|
59
59
|
},
|
|
60
60
|
"engines": {
|
|
61
61
|
"node": ">=22.x"
|