@sap-ux/fiori-elements-writer 0.5.3 → 0.6.1
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/index.js
CHANGED
|
@@ -78,13 +78,10 @@ function generate(basePath, data, fs) {
|
|
|
78
78
|
// Special handling for FPM because it is not based on template files but used the fpm writer
|
|
79
79
|
if (feApp.template.type === types_1.TemplateType.FlexibleProgrammingModel) {
|
|
80
80
|
const config = feApp.template.settings;
|
|
81
|
-
// Convert string version to float for FPM writer
|
|
82
|
-
const minUI5VerSemVer = semver_1.default.coerce((_d = feApp.ui5) === null || _d === void 0 ? void 0 : _d.minUI5Version);
|
|
83
|
-
const minUI5Version = parseFloat(`${minUI5VerSemVer.major}.${minUI5VerSemVer.minor}`);
|
|
84
81
|
fe_fpm_writer_1.generateCustomPage(basePath, {
|
|
85
82
|
entity: config.entityConfig.mainEntityName,
|
|
86
83
|
name: config.pageName,
|
|
87
|
-
|
|
84
|
+
minUI5Version: (_d = feApp.ui5) === null || _d === void 0 ? void 0 : _d.minUI5Version
|
|
88
85
|
}, fs);
|
|
89
86
|
}
|
|
90
87
|
else {
|
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.6.1",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@sap-ux/odata-service-writer": "0.14.6",
|
|
24
|
-
"@sap-ux/ui5-application-writer": "0.
|
|
25
|
-
"@sap-ux/fe-fpm-writer": "0.
|
|
24
|
+
"@sap-ux/ui5-application-writer": "0.16.0",
|
|
25
|
+
"@sap-ux/fe-fpm-writer": "0.17.0",
|
|
26
26
|
"@sap-ux/ui5-config": "0.14.5",
|
|
27
27
|
"ejs": "3.1.7",
|
|
28
28
|
"i18next": "20.3.2",
|