@sap-ux/fiori-elements-writer 0.4.4 → 0.4.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.
@@ -40,7 +40,7 @@ function extendManifestJson(fs, targetPath, rootTemplatesPath, feApp) {
40
40
  extendTemplatePaths.forEach((extendTemplatePath) => {
41
41
  const manifestTemplatePath = path_1.join(extendTemplatePath, 'manifest.json');
42
42
  if (fs.exists(manifestTemplatePath)) {
43
- fs.extendJSON(manifestPath, JSON.parse(ejs_1.render(fs.read(manifestTemplatePath), templateSettings)));
43
+ fs.extendJSON(manifestPath, JSON.parse(ejs_1.render(fs.read(manifestTemplatePath), templateSettings, {})));
44
44
  }
45
45
  });
46
46
  }
package/dist/index.js CHANGED
@@ -68,7 +68,7 @@ function generate(basePath, data, fs) {
68
68
  // Extend common files
69
69
  const packagePath = path_1.join(basePath, 'package.json');
70
70
  // Extend package.json
71
- fs.extendJSON(packagePath, JSON.parse(ejs_1.render(fs.read(path_1.join(rootTemplatesPath, 'common', 'extend', 'package.json')), feApp)));
71
+ fs.extendJSON(packagePath, JSON.parse(ejs_1.render(fs.read(path_1.join(rootTemplatesPath, 'common', 'extend', 'package.json')), feApp, {})));
72
72
  const templateVersionPath = path_1.join(rootTemplatesPath, `v${(_c = feApp.service) === null || _c === void 0 ? void 0 : _c.version}`);
73
73
  // Copy version specific common templates and version specific, floorplan specific templates
74
74
  [path_1.join(templateVersionPath, 'common', 'add'), path_1.join(templateVersionPath, feApp.template.type, 'add')].forEach((templatePath) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/fiori-elements-writer",
3
3
  "description": "SAP Fiori elements application writer",
4
- "version": "0.4.4",
4
+ "version": "0.4.7",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -20,9 +20,9 @@
20
20
  "!dist/**/*.map"
21
21
  ],
22
22
  "dependencies": {
23
- "@sap-ux/odata-service-writer": "0.14.3",
24
- "@sap-ux/ui5-application-writer": "0.14.3",
25
- "@sap-ux/ui5-config": "0.14.3",
23
+ "@sap-ux/odata-service-writer": "0.14.5",
24
+ "@sap-ux/ui5-application-writer": "0.14.5",
25
+ "@sap-ux/ui5-config": "0.14.4",
26
26
  "ejs": "3.1.7",
27
27
  "i18next": "20.3.2",
28
28
  "lodash": "4.17.21",