@sap-ux/deploy-tooling 0.11.3 → 0.11.4
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/base/deploy.js +1 -3
- package/dist/base/validate.d.ts +1 -0
- package/dist/base/validate.js +1 -0
- package/package.json +1 -1
package/dist/base/deploy.js
CHANGED
|
@@ -238,9 +238,7 @@ function tryDeploy(provider, config, logger, archive) {
|
|
|
238
238
|
if ((0, config_1.isBspConfig)(config.app)) {
|
|
239
239
|
if (config.test === true) {
|
|
240
240
|
const validateOutput = yield (0, validate_1.validateBeforeDeploy)(config, provider, logger);
|
|
241
|
-
|
|
242
|
-
logger.info(`Results of validating the deployment configuration settings:${(0, validate_1.formatSummary)(validateOutput.summary)}`);
|
|
243
|
-
}
|
|
241
|
+
logger.info(`Results of validating the deployment configuration settings:${(0, validate_1.formatSummary)(validateOutput.summary)}`);
|
|
244
242
|
}
|
|
245
243
|
const service = getDeployService(provider.getUi5AbapRepository.bind(provider), config, logger);
|
|
246
244
|
yield service.deploy({ archive, bsp: config.app, testMode: config.test, safeMode: config.safe });
|
package/dist/base/validate.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ export declare const summaryMessage: {
|
|
|
45
45
|
export declare function validateBeforeDeploy(config: AbapDeployConfig, provider: AbapServiceProvider, logger: Logger): Promise<ValidationOutput>;
|
|
46
46
|
/**
|
|
47
47
|
* Format a list of summary records that is ready to be printed on the console.
|
|
48
|
+
* The reduce function makes sure a EOL is added at the beginning of the output.
|
|
48
49
|
*
|
|
49
50
|
* @param summary A list of summary records
|
|
50
51
|
* @returns Formatted summary string
|
package/dist/base/validate.js
CHANGED
|
@@ -65,6 +65,7 @@ function validateBeforeDeploy(config, provider, logger) {
|
|
|
65
65
|
exports.validateBeforeDeploy = validateBeforeDeploy;
|
|
66
66
|
/**
|
|
67
67
|
* Format a list of summary records that is ready to be printed on the console.
|
|
68
|
+
* The reduce function makes sure a EOL is added at the beginning of the output.
|
|
68
69
|
*
|
|
69
70
|
* @param summary A list of summary records
|
|
70
71
|
* @returns Formatted summary string
|
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.11.
|
|
12
|
+
"version": "0.11.4",
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"author": "@SAP/ux-tools-team",
|
|
15
15
|
"main": "dist/index.js",
|