@sap-ux/deploy-config-sub-generator 0.2.13 → 0.3.1
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 +18 -2
- package/package.json +10 -10
|
@@ -84,7 +84,7 @@ class default_1 extends deploy_config_generator_shared_1.DeploymentGenerator {
|
|
|
84
84
|
destinationName: cf.destinationName,
|
|
85
85
|
destinationAuthType: cf.destinationAuthType,
|
|
86
86
|
addManagedAppRouter: cf.addToManagedAppRouter,
|
|
87
|
-
launchDeployConfigAsSubGenerator: true,
|
|
87
|
+
launchDeployConfigAsSubGenerator: true, // ensures prompting is skipped within cf sub gen
|
|
88
88
|
appRootPath: (0, path_1.join)(this.appConfig.project.targetFolder, this.appConfig.project.name),
|
|
89
89
|
addMTADestination: cf.addMTADestination,
|
|
90
90
|
lcapModeOnly: cf.lcapModeOnly,
|
|
@@ -92,7 +92,23 @@ class default_1 extends deploy_config_generator_shared_1.DeploymentGenerator {
|
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
|
-
|
|
95
|
+
else if (this.deployTarget === fiori_generator_shared_1.DeployTarget.ABAP) {
|
|
96
|
+
const abap = this.appConfig.deployConfig;
|
|
97
|
+
if (this.appConfig.project.targetFolder) {
|
|
98
|
+
options = {
|
|
99
|
+
appRootPath: this.appConfig?.project?.targetFolder,
|
|
100
|
+
destination: abap?.destination,
|
|
101
|
+
url: abap?.url ?? '', // URL may not be provided in BAS but will be determined in the generator
|
|
102
|
+
client: abap?.client,
|
|
103
|
+
scp: abap?.scp,
|
|
104
|
+
ui5AbapRepo: abap?.ui5AbapRepo,
|
|
105
|
+
description: abap?.description,
|
|
106
|
+
package: abap?.package,
|
|
107
|
+
transport: abap?.transport,
|
|
108
|
+
launchDeployConfigAsSubGenerator: true // ensures prompting is skipping within abap sub gen
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
}
|
|
96
112
|
return options;
|
|
97
113
|
}
|
|
98
114
|
end() {
|
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.
|
|
4
|
+
"version": "0.3.1",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"i18next": "23.5.1",
|
|
26
26
|
"yeoman-generator": "5.10.0",
|
|
27
27
|
"@sap-ux/btp-utils": "1.1.0",
|
|
28
|
-
"@sap-ux/cf-deploy-config-sub-generator": "0.2.
|
|
29
|
-
"@sap-ux/abap-deploy-config-sub-generator": "0.1.
|
|
30
|
-
"@sap-ux/deploy-config-generator-shared": "0.1.
|
|
31
|
-
"@sap-ux/fiori-generator-shared": "0.12.
|
|
32
|
-
"@sap-ux/inquirer-common": "0.7.
|
|
33
|
-
"@sap-ux/odata-service-inquirer": "2.4.
|
|
28
|
+
"@sap-ux/cf-deploy-config-sub-generator": "0.2.7",
|
|
29
|
+
"@sap-ux/abap-deploy-config-sub-generator": "0.1.10",
|
|
30
|
+
"@sap-ux/deploy-config-generator-shared": "0.1.6",
|
|
31
|
+
"@sap-ux/fiori-generator-shared": "0.12.6",
|
|
32
|
+
"@sap-ux/inquirer-common": "0.7.7",
|
|
33
|
+
"@sap-ux/odata-service-inquirer": "2.4.13",
|
|
34
34
|
"@sap-ux/project-access": "1.30.2",
|
|
35
35
|
"@sap-ux/store": "1.1.0",
|
|
36
36
|
"@sap-ux/ui5-config": "0.28.2"
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"rimraf": "5.0.5",
|
|
51
51
|
"unionfs": "4.4.0",
|
|
52
52
|
"yeoman-test": "6.3.0",
|
|
53
|
-
"@sap-ux/abap-deploy-config-inquirer": "1.4.
|
|
54
|
-
"@sap-ux/cf-deploy-config-inquirer": "0.3.
|
|
53
|
+
"@sap-ux/abap-deploy-config-inquirer": "1.4.10",
|
|
54
|
+
"@sap-ux/cf-deploy-config-inquirer": "0.3.7",
|
|
55
55
|
"@sap-ux/cf-deploy-config-writer": "0.3.2",
|
|
56
|
-
"@sap-ux/fiori-app-sub-generator": "0.4.
|
|
56
|
+
"@sap-ux/fiori-app-sub-generator": "0.4.9",
|
|
57
57
|
"@sap-ux/jest-file-matchers": "0.2.2"
|
|
58
58
|
},
|
|
59
59
|
"engines": {
|