@sap-ux/odata-service-inquirer 0.6.5 → 0.6.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.
Files changed (2) hide show
  1. package/dist/i18n.js +3 -0
  2. package/package.json +4 -4
package/dist/i18n.js CHANGED
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.defaultProjectNumber = void 0;
7
7
  exports.initI18nOdataServiceInquirer = initI18nOdataServiceInquirer;
8
8
  exports.t = t;
9
+ const inquirer_common_1 = require("@sap-ux/inquirer-common");
9
10
  const i18next_1 = __importDefault(require("i18next"));
10
11
  const odata_service_inquirer_i18n_json_1 = __importDefault(require("./translations/odata-service-inquirer.i18n.json"));
11
12
  const odataServiceInquirerNamespace = 'odata-service-inquirer';
@@ -33,6 +34,8 @@ async function initI18nOdataServiceInquirer() {
33
34
  }
34
35
  });
35
36
  i18next_1.default.addResourceBundle('en', odataServiceInquirerNamespace, odata_service_inquirer_i18n_json_1.default);
37
+ // add the inquirer common i18n resource bundle to ensure all translations are available
38
+ (0, inquirer_common_1.addi18nResourceBundle)();
36
39
  }
37
40
  /**
38
41
  * 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/odata-service-inquirer",
3
3
  "description": "Prompts module that can prompt users for inputs required for odata service writing",
4
- "version": "0.6.5",
4
+ "version": "0.6.7",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -28,10 +28,10 @@
28
28
  "os-name": "4.0.1",
29
29
  "@sap-ux/axios-extension": "1.17.4",
30
30
  "@sap-ux/btp-utils": "0.17.0",
31
- "@sap-ux/fiori-generator-shared": "0.7.9",
31
+ "@sap-ux/fiori-generator-shared": "0.7.10",
32
32
  "@sap-ux/guided-answers-helper": "0.1.0",
33
33
  "@sap-ux/telemetry": "0.5.44",
34
- "@sap-ux/inquirer-common": "0.5.2",
34
+ "@sap-ux/inquirer-common": "0.5.3",
35
35
  "@sap-ux/logger": "0.6.0",
36
36
  "@sap-ux/project-access": "1.28.7",
37
37
  "@sap-ux/project-input-validator": "0.3.3",
@@ -43,7 +43,7 @@
43
43
  "@types/inquirer": "8.2.6",
44
44
  "@types/lodash": "4.14.202",
45
45
  "jest-extended": "3.2.4",
46
- "@sap-ux/fiori-generator-shared": "0.7.9",
46
+ "@sap-ux/fiori-generator-shared": "0.7.10",
47
47
  "@sap-ux/feature-toggle": "0.2.2",
48
48
  "@sap-ux/odata-service-writer": "0.23.3"
49
49
  },