@sap-ux/fiori-freestyle-writer 0.12.4 → 0.12.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/index.js +3 -3
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -52,12 +52,12 @@ function generate(basePath, data, fs) {
52
52
  // Add template specific manifest settings
53
53
  const manifestPath = path_1.join(basePath, 'webapp', 'manifest.json');
54
54
  const extRoot = path_1.join(__dirname, '..', 'templates', ffApp.template.type, 'extend', 'webapp');
55
- fs.extendJSON(manifestPath, JSON.parse(ejs_1.render(fs.read(path_1.join(extRoot, 'manifest.json')), ffApp)));
55
+ fs.extendJSON(manifestPath, JSON.parse(ejs_1.render(fs.read(path_1.join(extRoot, 'manifest.json')), ffApp, {})));
56
56
  // i18n.properties
57
- fs.append(path_1.join(basePath, 'webapp', 'i18n', 'i18n.properties'), ejs_1.render(fs.read(path_1.join(extRoot, 'i18n', 'i18n.properties')), ffApp));
57
+ fs.append(path_1.join(basePath, 'webapp', 'i18n', 'i18n.properties'), ejs_1.render(fs.read(path_1.join(extRoot, 'i18n', 'i18n.properties')), ffApp, {}));
58
58
  // package.json
59
59
  const packagePath = path_1.join(basePath, 'package.json');
60
- fs.extendJSON(packagePath, JSON.parse(ejs_1.render(fs.read(path_1.join(tmplPath, 'common', 'extend', 'package.json')), ffApp)));
60
+ fs.extendJSON(packagePath, JSON.parse(ejs_1.render(fs.read(path_1.join(tmplPath, 'common', 'extend', 'package.json')), ffApp, {})));
61
61
  const packageJson = JSON.parse(fs.read(packagePath));
62
62
  packageJson.scripts = Object.assign(packageJson.scripts, Object.assign({}, packageConfig_1.getPackageJsonTasks({
63
63
  localOnly: !((_a = ffApp.service) === null || _a === void 0 ? void 0 : _a.url),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/fiori-freestyle-writer",
3
3
  "description": "SAP Fiori freestyle application writer",
4
- "version": "0.12.4",
4
+ "version": "0.12.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",