@sap-ux/deploy-tooling 0.7.0 → 0.7.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/dist/cli/config.js +4 -5
- package/package.json +2 -2
package/dist/cli/config.js
CHANGED
|
@@ -146,18 +146,17 @@ function mergeTarget(baseTarget, options) {
|
|
|
146
146
|
};
|
|
147
147
|
}
|
|
148
148
|
/**
|
|
149
|
-
* Merge CLI
|
|
149
|
+
* Merge CLI credentials.
|
|
150
150
|
*
|
|
151
151
|
* @param taskConfig - base configuration from the file
|
|
152
152
|
* @param options - CLI options
|
|
153
153
|
* @returns merged credentials
|
|
154
154
|
*/
|
|
155
155
|
function mergeCredentials(taskConfig, options) {
|
|
156
|
-
var _a, _b
|
|
156
|
+
var _a, _b;
|
|
157
157
|
let credentials = taskConfig.credentials;
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
credentials = Object.assign(Object.assign({}, (credentials !== null && credentials !== void 0 ? credentials : {})), { username: (_b = (_a = options.username) !== null && _a !== void 0 ? _a : process.env.SERVICE_USERNAME) !== null && _b !== void 0 ? _b : '', password: (_d = (_c = options.password) !== null && _c !== void 0 ? _c : process.env.SERVICE_PASSWORD) !== null && _d !== void 0 ? _d : '' });
|
|
158
|
+
if (options.username || options.password) {
|
|
159
|
+
credentials = Object.assign(Object.assign({}, (credentials !== null && credentials !== void 0 ? credentials : {})), { username: (_a = options.username) !== null && _a !== void 0 ? _a : '', password: (_b = options.password) !== null && _b !== void 0 ? _b : '' });
|
|
161
160
|
}
|
|
162
161
|
return credentials;
|
|
163
162
|
}
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"bugs": {
|
|
10
10
|
"url": "https://github.com/SAP/open-ux-tools/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3Adeploy-tooling"
|
|
11
11
|
},
|
|
12
|
-
"version": "0.7.
|
|
12
|
+
"version": "0.7.1",
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"author": "@SAP/ux-tools-team",
|
|
15
15
|
"main": "dist/index.js",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"yazl": "2.5.1",
|
|
34
34
|
"@sap-ux/axios-extension": "1.4.0",
|
|
35
35
|
"@sap-ux/btp-utils": "0.11.7",
|
|
36
|
-
"@sap-ux/store": "0.3.12",
|
|
37
36
|
"@sap-ux/logger": "0.3.7",
|
|
37
|
+
"@sap-ux/store": "0.3.12",
|
|
38
38
|
"@sap-ux/ui5-config": "0.18.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|