@sap-ux/ui5-application-inquirer 0.7.5 → 0.7.7
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 +5 -1
- package/package.json +4 -4
package/dist/i18n.js
CHANGED
|
@@ -8,6 +8,7 @@ exports.initI18nUi5AppInquirer = initI18nUi5AppInquirer;
|
|
|
8
8
|
exports.t = t;
|
|
9
9
|
const i18next_1 = __importDefault(require("i18next"));
|
|
10
10
|
const ui5_application_inquirer_i18n_json_1 = __importDefault(require("./translations/ui5-application-inquirer.i18n.json"));
|
|
11
|
+
const inquirer_common_1 = require("@sap-ux/inquirer-common");
|
|
11
12
|
const ui5AppInquirerNamespace = 'ui5-application-inquirer';
|
|
12
13
|
exports.defaultProjectNumber = 1;
|
|
13
14
|
/**
|
|
@@ -22,7 +23,10 @@ async function initI18nUi5AppInquirer() {
|
|
|
22
23
|
defaultProjectNumber: exports.defaultProjectNumber
|
|
23
24
|
}
|
|
24
25
|
}
|
|
25
|
-
}
|
|
26
|
+
});
|
|
27
|
+
i18next_1.default.addResourceBundle('en', ui5AppInquirerNamespace, ui5_application_inquirer_i18n_json_1.default);
|
|
28
|
+
// add the inquirer common i18n resource bundle to ensure all translations are available
|
|
29
|
+
(0, inquirer_common_1.addi18nResourceBundle)();
|
|
26
30
|
}
|
|
27
31
|
/**
|
|
28
32
|
* Helper function facading the call to i18next. Unless a namespace option is provided the local namespace will be used.
|
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
|
+
"version": "0.7.7",
|
|
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.4.
|
|
26
|
+
"@sap-ux/inquirer-common": "0.4.9",
|
|
27
27
|
"@sap-ux/project-access": "1.28.2",
|
|
28
28
|
"@sap-ux/project-input-validator": "0.3.3",
|
|
29
|
-
"@sap-ux/ui5-info": "0.8.
|
|
29
|
+
"@sap-ux/ui5-info": "0.8.2"
|
|
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.7.
|
|
38
|
+
"@sap-ux/cap-config-writer": "0.7.50"
|
|
39
39
|
},
|
|
40
40
|
"engines": {
|
|
41
41
|
"node": ">=18.x"
|