@sap-ux/adp-tooling 0.18.14 → 0.18.16

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.
@@ -16,6 +16,7 @@ export declare function getFlexUISupportedSystem(provider: AbapServiceProvider,
16
16
  *
17
17
  * @param {AbapServiceProvider} provider - Instance of the ABAP provider.
18
18
  * @param {ToolsLogger} logger - The logger instance.
19
+ * @throws Throws exceptions only when the ADT api is used.
19
20
  * @returns {string | undefined} System UI5 version.
20
21
  */
21
22
  export declare function getSystemUI5Version(provider: AbapServiceProvider, logger: ToolsLogger): Promise<string | undefined>;
@@ -38,6 +38,7 @@ async function getFlexUISupportedSystem(provider, isCustomerBase) {
38
38
  *
39
39
  * @param {AbapServiceProvider} provider - Instance of the ABAP provider.
40
40
  * @param {ToolsLogger} logger - The logger instance.
41
+ * @throws Throws exceptions only when the ADT api is used.
41
42
  * @returns {string | undefined} System UI5 version.
42
43
  */
43
44
  async function getSystemUI5Version(provider, logger) {
@@ -307,13 +307,13 @@ async function addAnnotationFile(webappPath, projectRoot, change, fs, logger, pr
307
307
  const variant = await (0, helper_1.getVariant)(projectRoot);
308
308
  const manifestService = await manifest_service_1.ManifestService.initMergedManifest(provider, projectRoot, variant, logger);
309
309
  const metadata = await manifestService.getDataSourceMetadata(dataSourceId);
310
- const datasoruces = await manifestService.getManifestDataSources();
310
+ const dataSources = manifestService.getManifestDataSources();
311
311
  const namespaces = (0, odata_service_writer_1.getAnnotationNamespaces)({ metadata });
312
312
  await (0, editors_1.generateChange)(projectRoot, "appdescr_app_addAnnotationsToOData" /* ChangeType.ADD_ANNOTATIONS_TO_ODATA */, {
313
313
  annotation: {
314
314
  dataSource: dataSourceId,
315
315
  namespaces,
316
- serviceUrl: datasoruces[dataSourceId].uri,
316
+ serviceUrl: dataSources[dataSourceId].uri,
317
317
  fileName: (0, node_path_1.basename)(dataSource[annotationDataSourceKey].uri)
318
318
  },
319
319
  variant: await (0, helper_1.getVariant)(projectRoot),
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%3Aadp-tooling"
11
11
  },
12
- "version": "0.18.14",
12
+ "version": "0.18.16",
13
13
  "license": "Apache-2.0",
14
14
  "author": "@SAP/ux-tools-team",
15
15
  "main": "dist/index.js",
@@ -36,17 +36,17 @@
36
36
  "prompts": "2.4.2",
37
37
  "sanitize-filename": "1.6.3",
38
38
  "uuid": "10.0.0",
39
- "@sap-ux/axios-extension": "1.24.3",
39
+ "@sap-ux/axios-extension": "1.24.5",
40
40
  "@sap-ux/btp-utils": "1.1.5",
41
41
  "@sap-ux/i18n": "0.3.5",
42
- "@sap-ux/inquirer-common": "0.9.10",
42
+ "@sap-ux/inquirer-common": "0.9.11",
43
43
  "@sap-ux/logger": "0.7.1",
44
- "@sap-ux/nodejs-utils": "0.2.8",
44
+ "@sap-ux/nodejs-utils": "0.2.9",
45
45
  "@sap-ux/odata-service-writer": "0.27.33",
46
46
  "@sap-ux/project-access": "1.32.12",
47
47
  "@sap-ux/project-input-validator": "0.6.34",
48
- "@sap-ux/store": "1.3.3",
49
- "@sap-ux/system-access": "0.6.29",
48
+ "@sap-ux/store": "1.3.4",
49
+ "@sap-ux/system-access": "0.6.31",
50
50
  "@sap-ux/ui5-config": "0.29.10",
51
51
  "@sap-ux/ui5-info": "0.13.3"
52
52
  },
@@ -68,7 +68,7 @@
68
68
  "nock": "13.4.0",
69
69
  "rimraf": "6.0.1",
70
70
  "supertest": "7.1.4",
71
- "@sap-ux/store": "1.3.3"
71
+ "@sap-ux/store": "1.3.4"
72
72
  },
73
73
  "engines": {
74
74
  "node": ">=20.x"