@sap-ux/fiori-app-sub-generator 0.0.29 → 0.0.31
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.
|
@@ -117,10 +117,17 @@ class FioriAppGenerator extends yeoman_generator_1.default {
|
|
|
117
117
|
workspaceFolders: generatorOptions.workspaceFolders
|
|
118
118
|
};
|
|
119
119
|
let serviceAnswers = await (0, prompting_1.promptOdataServiceAnswers)(options, FioriAppGenerator.logger, this.env.adapter, cachedService?.connectedSystem);
|
|
120
|
-
/** Back button
|
|
120
|
+
/** Back button handling */
|
|
121
121
|
// Persist derived state to facilitate backwards navigation
|
|
122
122
|
if ((0, fiori_generator_shared_1.getHostEnvironment)() !== fiori_generator_shared_1.hostEnvironment.cli) {
|
|
123
123
|
if (serviceAnswers.source === odata_service_inquirer_1.DatasourceType.none || serviceAnswers.edmx) {
|
|
124
|
+
// When navigating back YUI re-applies the answers from the previous steps up to the current step, however on Windows it removes some required properties
|
|
125
|
+
// of the service answers property: `ConnectedSystem`, so we need to re-apply them from our own cache.
|
|
126
|
+
if (cachedService?.connectedSystem &&
|
|
127
|
+
JSON.stringify(serviceAnswers.connectedSystem?.backendSystem) ===
|
|
128
|
+
JSON.stringify(cachedService?.connectedSystem?.backendSystem)) {
|
|
129
|
+
serviceAnswers.connectedSystem = cachedService?.connectedSystem;
|
|
130
|
+
}
|
|
124
131
|
(0, utils_1.addToCache)(this.appWizard, { service: serviceAnswers }, FioriAppGenerator.logger);
|
|
125
132
|
}
|
|
126
133
|
else {
|
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.0.
|
|
4
|
+
"version": "0.0.31",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -38,14 +38,14 @@
|
|
|
38
38
|
"@sap-ux/fiori-freestyle-writer": "2.3.4",
|
|
39
39
|
"@sap-ux/fiori-generator-shared": "0.11.2",
|
|
40
40
|
"@sap-ux/fiori-tools-settings": "0.1.0",
|
|
41
|
-
"@sap-ux/launch-config": "0.9.
|
|
42
|
-
"@sap-ux/odata-service-inquirer": "2.3.
|
|
41
|
+
"@sap-ux/launch-config": "0.9.5",
|
|
42
|
+
"@sap-ux/odata-service-inquirer": "2.3.9",
|
|
43
43
|
"@sap-ux/odata-service-writer": "0.26.17",
|
|
44
44
|
"@sap-ux/project-access": "1.29.21",
|
|
45
45
|
"@sap-ux/store": "1.0.0",
|
|
46
46
|
"@sap-ux/telemetry": "0.5.77",
|
|
47
|
-
"@sap-ux/ui5-application-inquirer": "0.12.
|
|
48
|
-
"@sap-ux/ui5-info": "0.10.
|
|
47
|
+
"@sap-ux/ui5-application-inquirer": "0.12.4",
|
|
48
|
+
"@sap-ux/ui5-info": "0.10.1"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@sap-devx/yeoman-ui-types": "1.16.9",
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
"mock-spawn": "0.2.6",
|
|
63
63
|
"rimraf": "5.0.5",
|
|
64
64
|
"yeoman-test": "6.3.0",
|
|
65
|
-
"@sap-ux/flp-config-sub-generator": "0.1.
|
|
66
|
-
"@sap-ux/inquirer-common": "0.6.
|
|
65
|
+
"@sap-ux/flp-config-sub-generator": "0.1.68",
|
|
66
|
+
"@sap-ux/inquirer-common": "0.6.41",
|
|
67
67
|
"@sap-ux/jest-file-matchers": "0.2.1",
|
|
68
68
|
"@sap-ux/logger": "0.6.0"
|
|
69
69
|
},
|