@sap-ux/fiori-app-sub-generator 0.8.4 → 0.8.6

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.
@@ -90,7 +90,12 @@ async function runPostGenerationTasks({ service, project }, fs, logger, vscode,
90
90
  });
91
91
  // No need to await, we cannot recover anyway
92
92
  // eslint-disable-next-line @typescript-eslint/no-floating-promises
93
- storeService.write(service.backendSystem, { force: true });
93
+ storeService.write(service.backendSystem, { force: true }).catch((error) => {
94
+ logger.error((0, utils_1.t)('logMessages.backendSystemSaveError', {
95
+ system: service.backendSystem?.name,
96
+ error: error.message
97
+ }));
98
+ });
94
99
  }
95
100
  // Display info message if using a cap service as it is not otherwise shown when a top level dir is not created
96
101
  if (service.capService && appWizard) {
@@ -89,7 +89,8 @@
89
89
  "warningCachingNotSupported": "Warning: caching is not supported.",
90
90
  "attemptingToExecutePostGenerationCommand": "Attempting to execute command after app generation: {{- command}}",
91
91
  "installSkippedOptionSpecified": "Option `--skipInstall` was specified. Installation of dependencies will be skipped.",
92
- "generatorExiting": "Application generation exiting due to error: {{error}}"
92
+ "generatorExiting": "Application generation exiting due to error: {{error}}",
93
+ "backendSystemSaveError": "An error occurred when saving the system '{{system}}' to the store: {{error}}"
93
94
  },
94
95
  "error": {
95
96
  "fatalError": "An error has occurred, please restart the generator.",
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.8.4",
4
+ "version": "0.8.6",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -39,13 +39,13 @@
39
39
  "@sap-ux/fiori-generator-shared": "0.13.33",
40
40
  "@sap-ux/fiori-tools-settings": "0.2.2",
41
41
  "@sap-ux/launch-config": "0.10.34",
42
- "@sap-ux/odata-service-inquirer": "2.11.5",
42
+ "@sap-ux/odata-service-inquirer": "2.11.7",
43
43
  "@sap-ux/odata-service-writer": "0.27.29",
44
44
  "@sap-ux/project-access": "1.32.8",
45
45
  "@sap-ux/store": "1.3.3",
46
46
  "@sap-ux/telemetry": "0.6.38",
47
- "@sap-ux/ui5-info": "0.13.2",
48
- "@sap-ux/ui5-application-inquirer": "0.15.34"
47
+ "@sap-ux/ui5-application-inquirer": "0.15.34",
48
+ "@sap-ux/ui5-info": "0.13.2"
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": "6.0.1",
64
64
  "yeoman-test": "6.3.0",
65
- "@sap-ux/deploy-config-sub-generator": "0.5.2",
66
- "@sap-ux/flp-config-sub-generator": "0.3.64",
65
+ "@sap-ux/deploy-config-sub-generator": "0.5.4",
66
+ "@sap-ux/flp-config-sub-generator": "0.3.65",
67
67
  "@sap-ux/inquirer-common": "0.9.3",
68
68
  "@sap-ux/jest-file-matchers": "0.2.6",
69
69
  "@sap-ux/logger": "0.7.1"