@sap-ux/flp-config-sub-generator 0.1.48 → 0.1.51

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 flp_config_sub_generator_i18n_json_1 = __importDefault(require("../translations/flp-config-sub-generator.i18n.json"));
9
10
  const flpConfigGeneratorNs = 'flp-config-generator';
@@ -13,7 +14,6 @@ const flpConfigGeneratorNs = 'flp-config-generator';
13
14
  async function initI18n() {
14
15
  await i18next_1.default.init({ lng: 'en', fallbackLng: 'en' }, () => i18next_1.default.addResourceBundle('en', flpConfigGeneratorNs, flp_config_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
  });
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getYUIDetails = void 0;
3
+ exports.getYUIDetails = getYUIDetails;
4
4
  const path_1 = require("path");
5
5
  /**
6
6
  * Returns the details for the YUI prompt.
@@ -16,5 +16,4 @@ function getYUIDetails(appRootPath) {
16
16
  }
17
17
  ];
18
18
  }
19
- exports.getYUIDetails = getYUIDetails;
20
19
  //# sourceMappingURL=prompts.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/flp-config-sub-generator",
3
3
  "description": "Generator for creating Fiori Launcpad configuration",
4
- "version": "0.1.48",
4
+ "version": "0.1.51",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -27,7 +27,7 @@
27
27
  "@sap-ux/deploy-config-generator-shared": "0.0.39",
28
28
  "@sap-ux/feature-toggle": "0.2.3",
29
29
  "@sap-ux/fiori-generator-shared": "0.9.11",
30
- "@sap-ux/flp-config-inquirer": "0.2.66",
30
+ "@sap-ux/flp-config-inquirer": "0.2.69",
31
31
  "@sap-ux/i18n": "0.2.3",
32
32
  "@sap-ux/inquirer-common": "0.6.32",
33
33
  "@sap-ux/project-access": "1.29.18"
@@ -46,7 +46,6 @@
46
46
  "lodash": "4.17.21",
47
47
  "@types/lodash": "4.14.202",
48
48
  "rimraf": "5.0.5",
49
- "typescript": "5.3.3",
50
49
  "unionfs": "4.4.0",
51
50
  "yeoman-test": "6.3.0",
52
51
  "@sap-ux/nodejs-utils": "0.1.8"