@sap-ux/generator-adp 0.3.50 → 0.3.52

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.
@@ -8,6 +8,7 @@ const odata_service_writer_1 = require("@sap-ux/odata-service-writer");
8
8
  const i18n_1 = require("../utils/i18n");
9
9
  const types_1 = require("../types");
10
10
  const sub_gen_auth_base_1 = __importDefault(require("../base/sub-gen-auth-base"));
11
+ const path_1 = __importDefault(require("path"));
11
12
  /**
12
13
  * Generator for adding annotations to OData services.
13
14
  */
@@ -57,7 +58,7 @@ class AddAnnotationsToDataGenerator extends sub_gen_auth_base_1.default {
57
58
  const metadata = await this.manifestService.getDataSourceMetadata(this.answers.id);
58
59
  changeData.annotation.namespaces = (0, odata_service_writer_1.getAnnotationNamespaces)({ metadata });
59
60
  }
60
- await (0, adp_tooling_1.generateChange)(this.projectPath, "appdescr_app_addAnnotationsToOData" /* ChangeType.ADD_ANNOTATIONS_TO_ODATA */, changeData, this.fs);
61
+ await (0, adp_tooling_1.generateChange)(this.projectPath, "appdescr_app_addAnnotationsToOData" /* ChangeType.ADD_ANNOTATIONS_TO_ODATA */, changeData, this.fs, path_1.default.join(__dirname, 'templates'));
61
62
  this.logger.log('Change written to changes folder');
62
63
  if (this.answers.fileSelectOption === 2 /* AnnotationFileSelectType.NewEmptyFile */) {
63
64
  this.appWizard.showInformation((0, i18n_1.t)('prompts.emptyAnnotationFile'), yeoman_ui_types_1.MessageType.notification);
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "displayName": "SAPUI5 Adaptation Project",
4
4
  "homepage": "https://help.sap.com/viewer/584e0bcbfd4a4aff91c815cefa0bce2d/Cloud/en-US/ada9567b767941aba8d49fdb4fdedea7.html",
5
5
  "description": "Adaptation project allows you to create an app variant for an existing SAP Fiori elements-based or SAPUI5 freestyle application, without changing the original application.",
6
- "version": "0.3.50",
6
+ "version": "0.3.52",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -30,7 +30,7 @@
30
30
  "i18next": "25.3.0",
31
31
  "yeoman-generator": "5.10.0",
32
32
  "uuid": "10.0.0",
33
- "@sap-ux/adp-tooling": "0.15.4",
33
+ "@sap-ux/adp-tooling": "0.15.5",
34
34
  "@sap-ux/axios-extension": "1.22.3",
35
35
  "@sap-ux/btp-utils": "1.1.0",
36
36
  "@sap-ux/feature-toggle": "0.3.0",
@@ -41,11 +41,11 @@
41
41
  "@sap-ux/system-access": "0.6.10",
42
42
  "@sap-ux/project-input-validator": "0.6.12",
43
43
  "@sap-ux/fiori-generator-shared": "0.13.3",
44
- "@sap-ux/adp-flp-config-sub-generator": "0.1.49",
44
+ "@sap-ux/adp-flp-config-sub-generator": "0.1.51",
45
45
  "@sap-ux/odata-service-writer": "0.27.12"
46
46
  },
47
47
  "devDependencies": {
48
- "@jest/types": "29.6.3",
48
+ "@jest/types": "30.0.1",
49
49
  "@types/fs-extra": "9.0.13",
50
50
  "@types/inquirer": "8.2.6",
51
51
  "@types/vscode": "1.73.1",
@@ -57,7 +57,7 @@
57
57
  "fs-extra": "10.0.0",
58
58
  "rimraf": "5.0.5",
59
59
  "yeoman-test": "6.3.0",
60
- "@sap-ux/deploy-config-sub-generator": "0.3.45"
60
+ "@sap-ux/deploy-config-sub-generator": "0.3.47"
61
61
  },
62
62
  "engines": {
63
63
  "node": ">=20.x"
@@ -75,7 +75,7 @@
75
75
  "watch": "tsc --watch",
76
76
  "lint": "eslint . --ext .ts",
77
77
  "lint:fix": "eslint . --ext .ts --fix",
78
- "test": "jest --ci --forceExit --detectOpenHandles --colors --passWithNoTests",
78
+ "test": "jest --ci --forceExit --detectOpenHandles --colors",
79
79
  "test-u": "jest --ci --forceExit --detectOpenHandles --colors -u",
80
80
  "link": "pnpm link --global",
81
81
  "unlink": "pnpm unlink --global"