@sap-ux/fiori-app-sub-generator 0.4.12 → 0.4.13
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/generators/fiori-app-generator/prompting.js +1 -0
- package/generators/fiori-app-generator/transforms.d.ts +6 -6
- package/generators/fiori-app-generator/transforms.js +6 -6
- package/generators/fiori-app-generator/writing.js +1 -0
- package/generators/types/state.d.ts +1 -0
- package/package.json +11 -11
|
@@ -119,6 +119,7 @@ async function promptOdataServiceAnswers(options, logger, adapter, connectedSyst
|
|
|
119
119
|
host: answers.origin,
|
|
120
120
|
client: answers.sapClient,
|
|
121
121
|
servicePath: answers.servicePath,
|
|
122
|
+
serviceId: answers.serviceId,
|
|
122
123
|
edmx: answers.metadata,
|
|
123
124
|
annotations: answers.annotations,
|
|
124
125
|
version: answers.odataVersion,
|
|
@@ -25,12 +25,12 @@ export declare function transformTemplateType(floorplan: Floorplan, entityRelate
|
|
|
25
25
|
* Transform Fiori Tools State to the type required by the open source ux-tools module.
|
|
26
26
|
* Process inputs to set correct defaults.
|
|
27
27
|
*
|
|
28
|
-
* @param
|
|
29
|
-
* @param
|
|
30
|
-
* @param
|
|
31
|
-
* @param
|
|
32
|
-
* @param
|
|
33
|
-
* @param
|
|
28
|
+
* @param state
|
|
29
|
+
* @param state.project
|
|
30
|
+
* @param state.service
|
|
31
|
+
* @param state.floorplan
|
|
32
|
+
* @param state.entityRelatedConfig
|
|
33
|
+
* @param state.viewName
|
|
34
34
|
* @param generateIndexHtml
|
|
35
35
|
* @returns {FioriElementsApp<T>} - The app configuration
|
|
36
36
|
*/
|
|
@@ -131,12 +131,12 @@ function getUI5Uri() {
|
|
|
131
131
|
* Transform Fiori Tools State to the type required by the open source ux-tools module.
|
|
132
132
|
* Process inputs to set correct defaults.
|
|
133
133
|
*
|
|
134
|
-
* @param
|
|
135
|
-
* @param
|
|
136
|
-
* @param
|
|
137
|
-
* @param
|
|
138
|
-
* @param
|
|
139
|
-
* @param
|
|
134
|
+
* @param state
|
|
135
|
+
* @param state.project
|
|
136
|
+
* @param state.service
|
|
137
|
+
* @param state.floorplan
|
|
138
|
+
* @param state.entityRelatedConfig
|
|
139
|
+
* @param state.viewName
|
|
140
140
|
* @param generateIndexHtml
|
|
141
141
|
* @returns {FioriElementsApp<T>} - The app configuration
|
|
142
142
|
*/
|
|
@@ -61,6 +61,7 @@ async function writeAppGenInfoFiles({ project, service, floorplan, entityRelated
|
|
|
61
61
|
generatorPlatform: appGenInfoCustom?.generatorPlatform ?? (0, fiori_generator_shared_1.getHostEnvironment)().name,
|
|
62
62
|
serviceType: appGenInfoCustom?.serviceType,
|
|
63
63
|
metadataFilename: service.localEdmxFilePath ? (0, path_1.basename)(service.localEdmxFilePath) : '',
|
|
64
|
+
serviceId: service.serviceId,
|
|
64
65
|
serviceUrl: appGenInfoCustom?.serviceUrl,
|
|
65
66
|
appName: project.name,
|
|
66
67
|
appTitle: project.title,
|
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.4.
|
|
4
|
+
"version": "0.4.13",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -32,19 +32,19 @@
|
|
|
32
32
|
"@sap-ux/annotation-generator": "0.3.35",
|
|
33
33
|
"@sap-ux/axios-extension": "1.21.2",
|
|
34
34
|
"@sap-ux/btp-utils": "1.1.0",
|
|
35
|
-
"@sap-ux/cap-config-writer": "0.10.
|
|
35
|
+
"@sap-ux/cap-config-writer": "0.10.7",
|
|
36
36
|
"@sap-ux/feature-toggle": "0.3.0",
|
|
37
|
-
"@sap-ux/fiori-elements-writer": "2.4.
|
|
38
|
-
"@sap-ux/fiori-freestyle-writer": "2.4.
|
|
39
|
-
"@sap-ux/fiori-generator-shared": "0.12.
|
|
37
|
+
"@sap-ux/fiori-elements-writer": "2.4.14",
|
|
38
|
+
"@sap-ux/fiori-freestyle-writer": "2.4.10",
|
|
39
|
+
"@sap-ux/fiori-generator-shared": "0.12.7",
|
|
40
40
|
"@sap-ux/fiori-tools-settings": "0.2.0",
|
|
41
41
|
"@sap-ux/launch-config": "0.10.2",
|
|
42
|
-
"@sap-ux/odata-service-inquirer": "2.4.
|
|
42
|
+
"@sap-ux/odata-service-inquirer": "2.4.16",
|
|
43
43
|
"@sap-ux/odata-service-writer": "0.27.5",
|
|
44
44
|
"@sap-ux/project-access": "1.30.2",
|
|
45
45
|
"@sap-ux/store": "1.1.0",
|
|
46
46
|
"@sap-ux/telemetry": "0.6.3",
|
|
47
|
-
"@sap-ux/ui5-application-inquirer": "0.14.
|
|
47
|
+
"@sap-ux/ui5-application-inquirer": "0.14.9",
|
|
48
48
|
"@sap-ux/ui5-info": "0.11.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
"mock-spawn": "0.2.6",
|
|
63
63
|
"rimraf": "5.0.5",
|
|
64
64
|
"yeoman-test": "6.3.0",
|
|
65
|
-
"@sap-ux/abap-deploy-config-inquirer": "1.4.
|
|
66
|
-
"@sap-ux/cf-deploy-config-inquirer": "0.3.
|
|
67
|
-
"@sap-ux/flp-config-sub-generator": "0.2.
|
|
68
|
-
"@sap-ux/inquirer-common": "0.7.
|
|
65
|
+
"@sap-ux/abap-deploy-config-inquirer": "1.4.13",
|
|
66
|
+
"@sap-ux/cf-deploy-config-inquirer": "0.3.9",
|
|
67
|
+
"@sap-ux/flp-config-sub-generator": "0.2.20",
|
|
68
|
+
"@sap-ux/inquirer-common": "0.7.9",
|
|
69
69
|
"@sap-ux/jest-file-matchers": "0.2.2",
|
|
70
70
|
"@sap-ux/logger": "0.7.0"
|
|
71
71
|
},
|