@sap-ux/deploy-config-sub-generator 0.0.3 → 0.0.5
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/app/index.js
CHANGED
|
@@ -97,7 +97,7 @@ class default_1 extends deploy_config_generator_shared_1.DeploymentGenerator {
|
|
|
97
97
|
servicePath: this.options.appGenServicePath
|
|
98
98
|
});
|
|
99
99
|
this.options.appGenServicePath ||= servicePath;
|
|
100
|
-
this.cfDestination = destinationName ?? this.options.appGenDestination ?? this.backendConfig
|
|
100
|
+
this.cfDestination = destinationName ?? this.options.appGenDestination ?? this.backendConfig?.destination;
|
|
101
101
|
}
|
|
102
102
|
/**
|
|
103
103
|
* Prompting phase for deployment configuration.
|
|
@@ -29,7 +29,7 @@ async function getBackendConfig(fs, options, launchStandaloneFromYui, projectRoo
|
|
|
29
29
|
else {
|
|
30
30
|
// Launched as subgenerator from app gen
|
|
31
31
|
backendConfig = {
|
|
32
|
-
destination: options.connectedSystem?.destination?.Name,
|
|
32
|
+
destination: options.appGenDestination || options.connectedSystem?.destination?.Name,
|
|
33
33
|
url: options.appGenServiceHost,
|
|
34
34
|
client: options.appGenClient,
|
|
35
35
|
scp: !!options.connectedSystem?.backendSystem?.serviceKeys || false
|
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": "0.0.
|
|
4
|
+
"version": "0.0.5",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -25,9 +25,11 @@
|
|
|
25
25
|
"i18next": "23.5.1",
|
|
26
26
|
"inquirer-autocomplete-prompt": "2.0.1",
|
|
27
27
|
"yeoman-generator": "5.10.0",
|
|
28
|
+
"@sap-ux/axios-extension": "1.19.0",
|
|
29
|
+
"@sap-ux/btp-utils": "1.0.1",
|
|
28
30
|
"@sap-ux/cf-deploy-config-sub-generator": "0.1.26",
|
|
29
|
-
"@sap-ux/abap-deploy-config-sub-generator": "0.0.50",
|
|
30
31
|
"@sap-ux/deploy-config-generator-shared": "0.0.36",
|
|
32
|
+
"@sap-ux/abap-deploy-config-sub-generator": "0.0.50",
|
|
31
33
|
"@sap-ux/fiori-generator-shared": "0.9.8",
|
|
32
34
|
"@sap-ux/i18n": "0.2.3",
|
|
33
35
|
"@sap-ux/inquirer-common": "0.6.28",
|
|
@@ -35,9 +37,7 @@
|
|
|
35
37
|
"@sap-ux/odata-service-inquirer": "2.2.20",
|
|
36
38
|
"@sap-ux/project-access": "1.29.15",
|
|
37
39
|
"@sap-ux/store": "1.0.0",
|
|
38
|
-
"@sap-ux/ui5-config": "0.26.3"
|
|
39
|
-
"@sap-ux/btp-utils": "1.0.1",
|
|
40
|
-
"@sap-ux/axios-extension": "1.19.0"
|
|
40
|
+
"@sap-ux/ui5-config": "0.26.3"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@jest/types": "29.6.3",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"unionfs": "4.4.0",
|
|
59
59
|
"yeoman-test": "6.3.0",
|
|
60
60
|
"@sap-ux/cf-deploy-config-inquirer": "0.2.17",
|
|
61
|
-
"@sap-ux/
|
|
62
|
-
"@sap-ux/
|
|
61
|
+
"@sap-ux/logger": "0.6.0",
|
|
62
|
+
"@sap-ux/cf-deploy-config-writer": "0.1.21"
|
|
63
63
|
},
|
|
64
64
|
"engines": {
|
|
65
65
|
"node": ">=18.x"
|