@sap-ux/odata-service-writer 0.14.2 → 0.14.5
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/updates.js +3 -1
- package/package.json +2 -2
package/dist/updates.js
CHANGED
|
@@ -25,7 +25,9 @@ function updateManifest(basePath, service, fs, templateRoot) {
|
|
|
25
25
|
throw new Error(i18n_1.t('error.requiredProjectPropertyNotFound', { property: `'${appProp}'.id`, path: manifestPath }));
|
|
26
26
|
}
|
|
27
27
|
const manifestJsonExt = fs.read(path_1.join(templateRoot, 'extend', `manifest.json`));
|
|
28
|
-
|
|
28
|
+
// If the service object includes ejs options, for example 'client' (see: https://ejs.co/#docs),
|
|
29
|
+
// resulting in unexpected behaviour and problems when webpacking. Passing an empty options object prevents this.
|
|
30
|
+
fs.extendJSON(manifestPath, JSON.parse(ejs_1.render(manifestJsonExt, service, {})));
|
|
29
31
|
}
|
|
30
32
|
exports.updateManifest = updateManifest;
|
|
31
33
|
/**
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"bugs": {
|
|
10
10
|
"url": "https://github.com/SAP/open-ux-tools/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3Aodata-service-writer"
|
|
11
11
|
},
|
|
12
|
-
"version": "0.14.
|
|
12
|
+
"version": "0.14.5",
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"main": "dist/index.js",
|
|
15
15
|
"files": [
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"!dist/**/*.map"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@sap-ux/ui5-config": "0.14.
|
|
23
|
+
"@sap-ux/ui5-config": "0.14.4",
|
|
24
24
|
"ejs": "3.1.7",
|
|
25
25
|
"fast-xml-parser": "4.0.1",
|
|
26
26
|
"i18next": "20.3.2",
|