@sap-ux/deploy-config-sub-generator 1.0.64 → 1.0.67
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/headless/index.js +2 -2
- package/generators/utils/i18n.js +2 -2
- package/package.json +10 -10
|
@@ -44,8 +44,8 @@ export default class extends DeploymentGenerator {
|
|
|
44
44
|
this.deployTarget = this.appConfig.deployConfig?.deployTarget;
|
|
45
45
|
}
|
|
46
46
|
catch (error) {
|
|
47
|
-
DeploymentGenerator.logger?.error(t('headless.error.generationExiting'));
|
|
48
|
-
|
|
47
|
+
DeploymentGenerator.logger?.error(t('headless.error.generationExiting', { error }));
|
|
48
|
+
throw error;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
async initializing() {
|
package/generators/utils/i18n.js
CHANGED
|
@@ -8,12 +8,13 @@ export const i18n = i18next.createInstance();
|
|
|
8
8
|
*/
|
|
9
9
|
export async function initI18n() {
|
|
10
10
|
await i18n.init({
|
|
11
|
+
resources: { en: { [deployConfigSubGen]: translations } },
|
|
11
12
|
lng: 'en',
|
|
12
13
|
fallbackLng: 'en'
|
|
13
14
|
});
|
|
14
|
-
i18n.addResourceBundle('en', deployConfigSubGen, translations);
|
|
15
15
|
addInquirerCommonTexts();
|
|
16
16
|
}
|
|
17
|
+
void initI18n().catch(() => undefined);
|
|
17
18
|
/**
|
|
18
19
|
* Helper function facading the call to i18next. Unless a namespace option is provided the local namespace will be used.
|
|
19
20
|
*
|
|
@@ -27,5 +28,4 @@ export function t(key, options) {
|
|
|
27
28
|
}
|
|
28
29
|
return i18n.t(key, options);
|
|
29
30
|
}
|
|
30
|
-
void initI18n().catch(() => undefined);
|
|
31
31
|
//# sourceMappingURL=i18n.js.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/deploy-config-sub-generator",
|
|
3
3
|
"description": "Main generator for configuring ABAP or Cloud Foundry deployment configuration",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.67",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"i18next": "26.3.6",
|
|
27
27
|
"yeoman-generator": "5.10.0",
|
|
28
28
|
"@sap-ux/btp-utils": "2.0.6",
|
|
29
|
-
"@sap-ux/cf-deploy-config-sub-generator": "1.0.
|
|
30
|
-
"@sap-ux/abap-deploy-config-sub-generator": "1.0.
|
|
31
|
-
"@sap-ux/deploy-config-generator-shared": "1.0.
|
|
32
|
-
"@sap-ux/fiori-generator-shared": "1.2.
|
|
33
|
-
"@sap-ux/inquirer-common": "1.0.
|
|
34
|
-
"@sap-ux/odata-service-inquirer": "3.2.
|
|
29
|
+
"@sap-ux/cf-deploy-config-sub-generator": "1.0.45",
|
|
30
|
+
"@sap-ux/abap-deploy-config-sub-generator": "1.0.57",
|
|
31
|
+
"@sap-ux/deploy-config-generator-shared": "1.0.36",
|
|
32
|
+
"@sap-ux/fiori-generator-shared": "1.2.14",
|
|
33
|
+
"@sap-ux/inquirer-common": "1.0.39",
|
|
34
|
+
"@sap-ux/odata-service-inquirer": "3.2.16",
|
|
35
35
|
"@sap-ux/project-access": "2.1.13",
|
|
36
36
|
"@sap-ux/store": "2.0.7",
|
|
37
37
|
"@sap-ux/ui5-config": "1.0.9"
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"rimraf": "6.1.3",
|
|
54
54
|
"unionfs": "4.6.0",
|
|
55
55
|
"yeoman-test": "6.3.0",
|
|
56
|
-
"@sap-ux/abap-deploy-config-inquirer": "2.0.
|
|
57
|
-
"@sap-ux/cf-deploy-config-inquirer": "1.0.
|
|
58
|
-
"@sap-ux/cf-deploy-config-writer": "1.1.
|
|
56
|
+
"@sap-ux/abap-deploy-config-inquirer": "2.0.44",
|
|
57
|
+
"@sap-ux/cf-deploy-config-inquirer": "1.0.42",
|
|
58
|
+
"@sap-ux/cf-deploy-config-writer": "1.1.4",
|
|
59
59
|
"@sap-ux/jest-file-matchers": "1.0.3"
|
|
60
60
|
},
|
|
61
61
|
"engines": {
|