@sap-ux/fiori-elements-writer 0.19.10 → 0.20.0
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/data/defaults.js +4 -1
- package/package.json +3 -3
package/dist/data/defaults.js
CHANGED
|
@@ -77,7 +77,10 @@ function setAppDefaults(feApp) {
|
|
|
77
77
|
// Add ui5 libs for specified template and odata version
|
|
78
78
|
// Dups will be removed by call to `generateUI5Project`
|
|
79
79
|
feApp.ui5 = Object.assign(Object.assign({}, feApp.ui5), { ui5Libs: (_d = (0, templateAttributes_1.getUi5Libs)(feApp.template.type, feApp.service.version)) === null || _d === void 0 ? void 0 : _d.concat((_f = (_e = feApp.ui5) === null || _e === void 0 ? void 0 : _e.ui5Libs) !== null && _f !== void 0 ? _f : []) });
|
|
80
|
-
if
|
|
80
|
+
// Assign a default annotation name if the service type is EDMX and no local annotation name is provided
|
|
81
|
+
let serviceType = feApp.service.type;
|
|
82
|
+
serviceType || (serviceType = odata_service_writer_1.ServiceType.EDMX);
|
|
83
|
+
if (serviceType === odata_service_writer_1.ServiceType.EDMX && !feApp.service.localAnnotationsName) {
|
|
81
84
|
feApp.service.localAnnotationsName = 'annotation';
|
|
82
85
|
}
|
|
83
86
|
// OVP must use a named default model
|
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
|
+
"version": "0.20.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"mem-fs-editor": "9.4.0",
|
|
28
28
|
"read-pkg-up": "7.0.1",
|
|
29
29
|
"semver": "7.5.4",
|
|
30
|
-
"@sap-ux/odata-service-writer": "0.19.2",
|
|
31
30
|
"@sap-ux/ui5-application-writer": "0.26.13",
|
|
31
|
+
"@sap-ux/odata-service-writer": "0.20.0",
|
|
32
|
+
"@sap-ux/fe-fpm-writer": "0.24.14",
|
|
32
33
|
"@sap-ux/ui5-config": "0.22.5",
|
|
33
|
-
"@sap-ux/fe-fpm-writer": "0.24.13",
|
|
34
34
|
"@sap-ux/ui5-test-writer": "0.3.3"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|