@sap-ux/fiori-app-sub-generator 0.6.19 → 0.6.21
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.
|
@@ -273,7 +273,8 @@ function getBaseAppConfig({ project, service, floorplan, entityRelatedConfig, vi
|
|
|
273
273
|
addTests: canGenerateTests(template.type),
|
|
274
274
|
generateIndex: generateIndexHtml,
|
|
275
275
|
addAnnotations: entityRelatedConfig?.addFEOPAnnotations || entityRelatedConfig?.addLineItemAnnotations,
|
|
276
|
-
useVirtualPreviewEndpoints: project.enableVirtualEndpoints
|
|
276
|
+
useVirtualPreviewEndpoints: project.enableVirtualEndpoints,
|
|
277
|
+
addCdsUi5Plugin: project.addCdsUi5Plugin ?? true // Defaults to true
|
|
277
278
|
},
|
|
278
279
|
template: template
|
|
279
280
|
};
|
|
@@ -112,7 +112,7 @@ function generateToolsId() {
|
|
|
112
112
|
*/
|
|
113
113
|
async function getCdsUi5PluginInfo(capProjectPath, fs, cdsVersionInfo) {
|
|
114
114
|
// If the project is a Java project, do not pass cdsVersionInfo.
|
|
115
|
-
// This ensures that hasMinCdsVersion is false for Java project, preventing
|
|
115
|
+
// This ensures that hasMinCdsVersion is false for Java project, preventing certain prompts (e.g typescript, virtual endpoints) from being invoked for Java projects.
|
|
116
116
|
const cdsVersion = (await (0, project_access_1.isCapJavaProject)(capProjectPath)) ? undefined : cdsVersionInfo;
|
|
117
117
|
const capCdsInfo = await (0, cap_config_writer_1.checkCdsUi5PluginEnabled)(capProjectPath, fs, true, cdsVersion);
|
|
118
118
|
return capCdsInfo === false ? undefined : capCdsInfo;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/fiori-app-sub-generator",
|
|
3
3
|
"description": "A yeoman (sub) generator that can generate Fiori applications. Not for standalone use.",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.21",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -29,13 +29,12 @@
|
|
|
29
29
|
"mem-fs-editor": "9.4.0",
|
|
30
30
|
"uuid": "11.0.5",
|
|
31
31
|
"yeoman-generator": "5.10.0",
|
|
32
|
-
"@sap-ux/annotation-generator": "0.3.52",
|
|
33
32
|
"@sap-ux/axios-extension": "1.22.5",
|
|
34
33
|
"@sap-ux/btp-utils": "1.1.0",
|
|
35
|
-
"@sap-ux/cap-config-writer": "0.
|
|
34
|
+
"@sap-ux/cap-config-writer": "0.11.0",
|
|
36
35
|
"@sap-ux/feature-toggle": "0.3.0",
|
|
37
|
-
"@sap-ux/fiori-elements-writer": "2.5.
|
|
38
|
-
"@sap-ux/fiori-freestyle-writer": "2.4.
|
|
36
|
+
"@sap-ux/fiori-elements-writer": "2.5.27",
|
|
37
|
+
"@sap-ux/fiori-freestyle-writer": "2.4.35",
|
|
39
38
|
"@sap-ux/fiori-generator-shared": "0.13.9",
|
|
40
39
|
"@sap-ux/fiori-tools-settings": "0.2.0",
|
|
41
40
|
"@sap-ux/launch-config": "0.10.19",
|
|
@@ -44,8 +43,9 @@
|
|
|
44
43
|
"@sap-ux/project-access": "1.30.12",
|
|
45
44
|
"@sap-ux/store": "1.1.2",
|
|
46
45
|
"@sap-ux/telemetry": "0.6.16",
|
|
47
|
-
"@sap-ux/ui5-application-inquirer": "0.
|
|
48
|
-
"@sap-ux/ui5-info": "0.12.1"
|
|
46
|
+
"@sap-ux/ui5-application-inquirer": "0.15.1",
|
|
47
|
+
"@sap-ux/ui5-info": "0.12.1",
|
|
48
|
+
"@sap-ux/annotation-generator": "0.3.52"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@sap-devx/yeoman-ui-types": "1.16.9",
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"@sap-ux/deploy-config-sub-generator": "0.3.59",
|
|
66
66
|
"@sap-ux/flp-config-sub-generator": "0.3.14",
|
|
67
67
|
"@sap-ux/inquirer-common": "0.7.35",
|
|
68
|
-
"@sap-ux/
|
|
69
|
-
"@sap-ux/
|
|
68
|
+
"@sap-ux/logger": "0.7.0",
|
|
69
|
+
"@sap-ux/jest-file-matchers": "0.2.4"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
72
|
"node": ">=20.x"
|