@sap-ux/deploy-tooling 0.3.1 → 0.3.3
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.d.ts +1 -0
- package/dist/base/deploy.js +3 -0
- package/dist/ui5/archive.d.ts +1 -0
- package/dist/ui5/archive.js +1 -0
- package/package.json +7 -7
package/dist/base/deploy.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ type ServiceAuth = Required<Pick<BackendSystem, 'serviceKeys' | 'name'>> & {
|
|
|
11
11
|
* Check the secure storage if it has credentials for the given target.
|
|
12
12
|
*
|
|
13
13
|
* @param target - ABAP target
|
|
14
|
+
* @returns {*} {(Promise<T | undefined>)} - Credentials
|
|
14
15
|
*/
|
|
15
16
|
export declare function getCredentials<T extends BasicAuth | ServiceAuth | undefined>(target: UrlAbapTarget): Promise<T | undefined>;
|
|
16
17
|
/**
|
package/dist/base/deploy.js
CHANGED
|
@@ -21,6 +21,7 @@ const deploymentCommands = { tryUndeploy, tryDeploy };
|
|
|
21
21
|
* Check the secure storage if it has credentials for the given target.
|
|
22
22
|
*
|
|
23
23
|
* @param target - ABAP target
|
|
24
|
+
* @returns {*} {(Promise<T | undefined>)} - Credentials
|
|
24
25
|
*/
|
|
25
26
|
function getCredentials(target) {
|
|
26
27
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -46,6 +47,7 @@ exports.getCredentials = getCredentials;
|
|
|
46
47
|
* @param target - url target configuration
|
|
47
48
|
* @param noPrompt - only if not truthy prompt for anything
|
|
48
49
|
* @param logger - reference to the logger instance
|
|
50
|
+
* @returns {*} {(Promise<AbapServiceProvider>)} - ABAP Service Provider
|
|
49
51
|
*/
|
|
50
52
|
function createAbapCloudServiceProvider(options, target, noPrompt, logger) {
|
|
51
53
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -74,6 +76,7 @@ function createAbapCloudServiceProvider(options, target, noPrompt, logger) {
|
|
|
74
76
|
*
|
|
75
77
|
* @param options - predefined axios options
|
|
76
78
|
* @param target - url target configuration
|
|
79
|
+
* @returns {*} {(Promise<AbapServiceProvider>)}
|
|
77
80
|
*/
|
|
78
81
|
function createAbapServiceProvider(options, target) {
|
|
79
82
|
return __awaiter(this, void 0, void 0, function* () {
|
package/dist/ui5/archive.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import type { DuplexCollection } from '@ui5/fs';
|
|
|
8
8
|
* @param logger - reference to the logger instance
|
|
9
9
|
* @param workspace - reference to the UI5 tooling workspace object
|
|
10
10
|
* @param projectName - project properties and configuration
|
|
11
|
+
* @returns {*} {Promise<Buffer>} - archive
|
|
11
12
|
*/
|
|
12
13
|
export declare function createUi5Archive(logger: ToolsLogger, workspace: DuplexCollection, projectName: string): Promise<Buffer>;
|
|
13
14
|
//# sourceMappingURL=archive.d.ts.map
|
package/dist/ui5/archive.js
CHANGED
|
@@ -18,6 +18,7 @@ const base_1 = require("../base");
|
|
|
18
18
|
* @param logger - reference to the logger instance
|
|
19
19
|
* @param workspace - reference to the UI5 tooling workspace object
|
|
20
20
|
* @param projectName - project properties and configuration
|
|
21
|
+
* @returns {*} {Promise<Buffer>} - archive
|
|
21
22
|
*/
|
|
22
23
|
function createUi5Archive(logger, workspace, projectName) {
|
|
23
24
|
return __awaiter(this, void 0, void 0, function* () {
|
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.3.
|
|
12
|
+
"version": "0.3.3",
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"author": "@SAP/ux-tools-team",
|
|
15
15
|
"main": "dist/index.js",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"dotenv": "16.0.0",
|
|
32
32
|
"prompts": "2.4.2",
|
|
33
33
|
"yazl": "2.5.1",
|
|
34
|
-
"@sap-ux/axios-extension": "1.3.
|
|
35
|
-
"@sap-ux/btp-utils": "0.11.
|
|
36
|
-
"@sap-ux/logger": "0.3.
|
|
37
|
-
"@sap-ux/store": "0.3.
|
|
38
|
-
"@sap-ux/ui5-config": "0.18.
|
|
34
|
+
"@sap-ux/axios-extension": "1.3.2",
|
|
35
|
+
"@sap-ux/btp-utils": "0.11.7",
|
|
36
|
+
"@sap-ux/logger": "0.3.7",
|
|
37
|
+
"@sap-ux/store": "0.3.12",
|
|
38
|
+
"@sap-ux/ui5-config": "0.18.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/prompts": "2.0.14",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"scripts": {
|
|
52
52
|
"build": "tsc --build",
|
|
53
53
|
"watch": "tsc --watch",
|
|
54
|
-
"clean": "rimraf dist test/test-output coverage *.tsbuildinfo",
|
|
54
|
+
"clean": "rimraf --glob dist test/test-output coverage *.tsbuildinfo",
|
|
55
55
|
"format": "prettier --write '**/*.{js,json,ts,yaml,yml}' --ignore-path ../../.prettierignore",
|
|
56
56
|
"lint": "eslint . --ext .ts",
|
|
57
57
|
"lint:fix": "eslint . --ext .ts --fix",
|