@sap-ux/ui5-library-inquirer 0.3.6 → 0.3.8

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 CHANGED
@@ -3,7 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.t = exports.initI18n = void 0;
6
+ exports.initI18n = initI18n;
7
+ exports.t = t;
7
8
  const i18next_1 = __importDefault(require("i18next"));
8
9
  const ui5_library_inquirer_i18n_json_1 = __importDefault(require("./translations/ui5-library-inquirer.i18n.json"));
9
10
  const ui5LibI18nNamespace = 'ui5-library-inquirer';
@@ -13,7 +14,6 @@ const ui5LibI18nNamespace = 'ui5-library-inquirer';
13
14
  async function initI18n() {
14
15
  await i18next_1.default.init({ lng: 'en', fallbackLng: 'en' }, () => i18next_1.default.addResourceBundle('en', ui5LibI18nNamespace, ui5_library_inquirer_i18n_json_1.default));
15
16
  }
16
- exports.initI18n = initI18n;
17
17
  /**
18
18
  * Helper function facading the call to i18next. Unless a namespace option is provided the local namespace will be used.
19
19
  *
@@ -27,7 +27,6 @@ function t(key, options) {
27
27
  }
28
28
  return i18next_1.default.t(key, options);
29
29
  }
30
- exports.t = t;
31
30
  initI18n().catch(() => {
32
31
  // Needed for lint
33
32
  });
package/dist/index.js CHANGED
@@ -3,7 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.prompt = exports.getPrompts = void 0;
6
+ exports.getPrompts = getPrompts;
7
+ exports.prompt = prompt;
7
8
  const ui5_info_1 = require("@sap-ux/ui5-info");
8
9
  const inquirer_1 = __importDefault(require("inquirer"));
9
10
  const prompts_1 = require("./prompts");
@@ -27,7 +28,6 @@ async function getPrompts(promptOptions) {
27
28
  };
28
29
  return (0, prompts_1.getQuestions)(ui5Versions, ui5LibPromptInputs);
29
30
  }
30
- exports.getPrompts = getPrompts;
31
31
  /**
32
32
  * Prompt for ui5 library generation inputs.
33
33
  *
@@ -43,5 +43,4 @@ async function prompt(promptOptions, adapter) {
43
43
  }
44
44
  return adapter ? adapter.prompt(ui5LibPrompts) : inquirer_1.default.prompt(ui5LibPrompts);
45
45
  }
46
- exports.prompt = prompt;
47
46
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getQuestions = void 0;
3
+ exports.getQuestions = getQuestions;
4
4
  const inquirer_common_1 = require("@sap-ux/inquirer-common");
5
5
  const project_input_validator_1 = require("@sap-ux/project-input-validator");
6
6
  const i18n_1 = require("../i18n");
@@ -72,5 +72,4 @@ function getQuestions(ui5Versions, options) {
72
72
  }
73
73
  ];
74
74
  }
75
- exports.getQuestions = getQuestions;
76
75
  //# sourceMappingURL=prompts.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/ui5-library-inquirer",
3
3
  "description": "Prompts module that can provide prompts for UI5 library writer",
4
- "version": "0.3.6",
4
+ "version": "0.3.8",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -22,9 +22,9 @@
22
22
  "dependencies": {
23
23
  "i18next": "23.5.1",
24
24
  "inquirer-autocomplete-prompt": "2.0.1",
25
- "@sap-ux/inquirer-common": "0.4.5",
25
+ "@sap-ux/inquirer-common": "0.4.7",
26
26
  "@sap-ux/project-input-validator": "0.3.3",
27
- "@sap-ux/ui5-info": "0.8.0"
27
+ "@sap-ux/ui5-info": "0.8.1"
28
28
  },
29
29
  "devDependencies": {
30
30
  "inquirer": "8.2.6",