@sap-ux/cf-deploy-config-writer 1.0.2 → 1.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/dist/mta-config/mta.d.ts
CHANGED
|
@@ -226,6 +226,13 @@ export declare class MtaConfig {
|
|
|
226
226
|
* @returns {boolean} true if the mta contains an XSUAA resource
|
|
227
227
|
*/
|
|
228
228
|
hasManagedXsuaaResource(): boolean;
|
|
229
|
+
/**
|
|
230
|
+
* Validate if mta contains a specific resource i.e. destination
|
|
231
|
+
*
|
|
232
|
+
* @param resourceName
|
|
233
|
+
* @returns {boolean} true if the mta contains an XSUAA resource
|
|
234
|
+
*/
|
|
235
|
+
hasResource(resourceName: string): boolean;
|
|
229
236
|
/**
|
|
230
237
|
* Add an mta extension config, either creating a new mtaext file or extending an existing one.
|
|
231
238
|
*
|
package/dist/mta-config/mta.js
CHANGED
|
@@ -737,6 +737,15 @@ export class MtaConfig {
|
|
|
737
737
|
hasManagedXsuaaResource() {
|
|
738
738
|
return this.resources.has(ManagedXSUAA);
|
|
739
739
|
}
|
|
740
|
+
/**
|
|
741
|
+
* Validate if mta contains a specific resource i.e. destination
|
|
742
|
+
*
|
|
743
|
+
* @param resourceName
|
|
744
|
+
* @returns {boolean} true if the mta contains an XSUAA resource
|
|
745
|
+
*/
|
|
746
|
+
hasResource(resourceName) {
|
|
747
|
+
return this.resources.has(resourceName);
|
|
748
|
+
}
|
|
740
749
|
/**
|
|
741
750
|
* Add an mta extension config, either creating a new mtaext file or extending an existing one.
|
|
742
751
|
*
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/cf-deploy-config-writer",
|
|
3
3
|
"description": "Add or amend Cloud Foundry and ABAP deployment configuration for SAP projects",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.5",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
"mem-fs": "2.1.0",
|
|
31
31
|
"mem-fs-editor": "9.4.0",
|
|
32
32
|
"hasbin": "1.2.3",
|
|
33
|
-
"@sap-ux/project-access": "2.0
|
|
34
|
-
"@sap-ux/yaml": "1.0.
|
|
35
|
-
"@sap-ux/btp-utils": "2.0.
|
|
36
|
-
"@sap-ux/logger": "1.0.
|
|
37
|
-
"@sap-ux/ui5-config": "1.0.
|
|
38
|
-
"@sap-ux/nodejs-utils": "1.0.
|
|
33
|
+
"@sap-ux/project-access": "2.1.0",
|
|
34
|
+
"@sap-ux/yaml": "1.0.1",
|
|
35
|
+
"@sap-ux/btp-utils": "2.0.1",
|
|
36
|
+
"@sap-ux/logger": "1.0.1",
|
|
37
|
+
"@sap-ux/ui5-config": "1.0.2",
|
|
38
|
+
"@sap-ux/nodejs-utils": "1.0.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@jest/globals": "30.3.0",
|