@sap-ux/ui5-library-reference-sub-generator 0.0.52 → 0.0.54

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.
@@ -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_reference_sub_generator_i18n_json_1 = __importDefault(require("../translations/ui5-library-reference-sub-generator.i18n.json"));
9
10
  const ui5LibI18nNamespace = 'ui5-library-reference-sub-generator';
@@ -13,7 +14,6 @@ const ui5LibI18nNamespace = 'ui5-library-reference-sub-generator';
13
14
  async function initI18n() {
14
15
  await i18next_1.default.init({ lng: 'en', fallbackLng: 'en' }, () => i18next_1.default.addResourceBundle('en', ui5LibI18nNamespace, ui5_library_reference_sub_generator_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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/ui5-library-reference-sub-generator",
3
3
  "description": "Generator for adding reference libraries to a project",
4
- "version": "0.0.52",
4
+ "version": "0.0.54",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -23,10 +23,10 @@
23
23
  "i18next": "23.5.1",
24
24
  "yeoman-generator": "5.10.0",
25
25
  "@sap-ux/feature-toggle": "0.2.3",
26
- "@sap-ux/fiori-generator-shared": "0.9.11",
26
+ "@sap-ux/fiori-generator-shared": "0.10.0",
27
27
  "@sap-ux/project-access": "1.29.18",
28
28
  "@sap-ux/telemetry": "0.5.72",
29
- "@sap-ux/ui5-library-reference-inquirer": "0.3.92",
29
+ "@sap-ux/ui5-library-reference-inquirer": "0.3.94",
30
30
  "@sap-ux/ui5-library-reference-writer": "0.1.57"
31
31
  },
32
32
  "devDependencies": {
@@ -39,7 +39,6 @@
39
39
  "@vscode-logging/logger": "2.0.0",
40
40
  "fs-extra": "10.0.0",
41
41
  "rimraf": "5.0.5",
42
- "typescript": "5.3.3",
43
42
  "yeoman-test": "6.3.0"
44
43
  },
45
44
  "engines": {