@sap-ux/abap-deploy-config-sub-generator 1.0.68 → 1.0.70

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.
@@ -47,7 +47,7 @@ export default class extends DeploymentGenerator {
47
47
  }
48
48
  export { AbapDeployConfigQuestion, AbapDeployConfigAnswersInternal };
49
49
  export { getAbapQuestions } from './questions.js';
50
- export { indexHtmlExists } from '../utils/index.js';
50
+ export { indexHtmlExists, clearCache } from '../utils/index.js';
51
51
  export { type AbapDeployConfigOptions, DeployProjectType } from './types.js';
52
52
  export type { AbapDeployConfigPromptOptions } from '@sap-ux/abap-deploy-config-inquirer';
53
53
  //# sourceMappingURL=index.d.ts.map
@@ -306,6 +306,6 @@ export default class extends DeploymentGenerator {
306
306
  }
307
307
  }
308
308
  export { getAbapQuestions } from './questions.js';
309
- export { indexHtmlExists } from '../utils/index.js';
309
+ export { indexHtmlExists, clearCache } from '../utils/index.js';
310
310
  export { DeployProjectType } from './types.js';
311
311
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,8 @@
1
1
  import type { AbapTarget } from '@sap-ux/ui5-config';
2
+ /**
3
+ * Clears the cached backend systems and destinations. Intended for use in tests only.
4
+ */
5
+ export declare function clearCache(): void;
2
6
  /**
3
7
  * Retrieves the URL for the provided destination.
4
8
  *
@@ -3,6 +3,13 @@ import { DeploymentGenerator } from '@sap-ux/deploy-config-generator-shared';
3
3
  import { AuthenticationType, getService } from '@sap-ux/store';
4
4
  let cachedDestinations = {};
5
5
  let cachedBackendSystems = [];
6
+ /**
7
+ * Clears the cached backend systems and destinations. Intended for use in tests only.
8
+ */
9
+ export function clearCache() {
10
+ cachedDestinations = {};
11
+ cachedBackendSystems = [];
12
+ }
6
13
  /**
7
14
  * Small utility function to check whether the backend system keys are identical.
8
15
  *
@@ -1,5 +1,5 @@
1
1
  export { indexHtmlExists } from './project.js';
2
2
  export { handleProjectDoesNotExist } from './error-handler.js';
3
3
  export { t } from './i18n.js';
4
- export { determineScpFromTarget, determineUrlFromDestination, determineS4HCFromTarget } from './helpers.js';
4
+ export { determineScpFromTarget, determineUrlFromDestination, determineS4HCFromTarget, clearCache } from './helpers.js';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,5 @@
1
1
  export { indexHtmlExists } from './project.js';
2
2
  export { handleProjectDoesNotExist } from './error-handler.js';
3
3
  export { t } from './i18n.js';
4
- export { determineScpFromTarget, determineUrlFromDestination, determineS4HCFromTarget } from './helpers.js';
4
+ export { determineScpFromTarget, determineUrlFromDestination, determineS4HCFromTarget, clearCache } from './helpers.js';
5
5
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
8
8
  "directory": "packages/abap-deploy-config-sub-generator"
9
9
  },
10
- "version": "1.0.68",
10
+ "version": "1.0.70",
11
11
  "license": "Apache-2.0",
12
12
  "main": "generators/app/index.js",
13
13
  "files": [
@@ -22,17 +22,17 @@
22
22
  "dependencies": {
23
23
  "i18next": "26.3.6",
24
24
  "@sap-devx/yeoman-ui-types": "1.25.1",
25
- "@sap-ux/abap-deploy-config-inquirer": "2.0.51",
26
- "@sap-ux/abap-deploy-config-writer": "1.0.30",
27
- "@sap-ux/btp-utils": "2.0.6",
28
- "@sap-ux/deploy-config-generator-shared": "1.0.42",
25
+ "@sap-ux/abap-deploy-config-inquirer": "2.0.53",
26
+ "@sap-ux/abap-deploy-config-writer": "1.0.32",
27
+ "@sap-ux/btp-utils": "2.0.7",
28
+ "@sap-ux/deploy-config-generator-shared": "1.0.44",
29
29
  "@sap-ux/feature-toggle": "1.0.5",
30
- "@sap-ux/fiori-generator-shared": "1.2.20",
30
+ "@sap-ux/fiori-generator-shared": "1.2.22",
31
31
  "@sap-ux/logger": "1.0.3",
32
- "@sap-ux/project-access": "2.3.0",
33
- "@sap-ux/ui5-config": "1.0.9",
34
- "@sap-ux/adp-tooling": "1.0.63",
35
- "@sap-ux/axios-extension": "2.1.0"
32
+ "@sap-ux/project-access": "2.3.1",
33
+ "@sap-ux/ui5-config": "1.0.10",
34
+ "@sap-ux/adp-tooling": "1.0.65",
35
+ "@sap-ux/axios-extension": "2.1.2"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@jest/globals": "30.4.1",
@@ -46,8 +46,8 @@
46
46
  "unionfs": "4.6.0",
47
47
  "yeoman-test": "6.3.0",
48
48
  "@sap-ux/store": "2.0.7",
49
- "@sap-ux/system-access": "1.0.14",
50
- "@sap-ux/telemetry": "2.0.10"
49
+ "@sap-ux/system-access": "1.0.16",
50
+ "@sap-ux/telemetry": "2.0.11"
51
51
  },
52
52
  "scripts": {
53
53
  "build": "tsc --build",