@sap-ux/generator-adp 0.4.4 → 0.4.6

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.
@@ -274,7 +274,8 @@ class ConfigPrompter {
274
274
  hint: (0, i18n_1.t)('prompts.passwordTooltip')
275
275
  },
276
276
  validate: async (value, answers) => await this.validatePassword(value, answers),
277
- when: (answers) => (0, conditions_1.showCredentialQuestion)(answers, this.isAuthRequired)
277
+ when: (answers) => (0, conditions_1.showCredentialQuestion)(answers, this.isAuthRequired),
278
+ additionalMessages: () => (0, additional_messages_1.getSystemAdditionalMessages)(this.flexUISystem, !!this.isCloudProject)
278
279
  };
279
280
  }
280
281
  /**
@@ -408,7 +409,7 @@ class ConfigPrompter {
408
409
  const validationResult = await this.validateAppData(app);
409
410
  const isKnownUnsupported = validationResult === (0, i18n_1.t)('error.appDoesNotSupportManifest') ||
410
411
  validationResult === (0, i18n_1.t)('error.appDoesNotSupportFlexibility');
411
- if ((0, btp_utils_1.isAppStudio)() && isKnownUnsupported) {
412
+ if ((0, btp_utils_1.isAppStudio)() && isKnownUnsupported && !this.isCloud) {
412
413
  this.logger.error(validationResult);
413
414
  this.appValidationErrorMessage = validationResult;
414
415
  this.isApplicationSupported = false;
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.4.4",
6
+ "version": "0.4.6",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -30,7 +30,6 @@
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.31",
34
33
  "@sap-ux/axios-extension": "1.22.9",
35
34
  "@sap-ux/btp-utils": "1.1.3",
36
35
  "@sap-ux/feature-toggle": "0.3.1",
@@ -41,7 +40,8 @@
41
40
  "@sap-ux/system-access": "0.6.18",
42
41
  "@sap-ux/project-input-validator": "0.6.22",
43
42
  "@sap-ux/fiori-generator-shared": "0.13.18",
44
- "@sap-ux/odata-service-writer": "0.27.22"
43
+ "@sap-ux/odata-service-writer": "0.27.22",
44
+ "@sap-ux/adp-tooling": "0.15.31"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@jest/types": "30.0.1",
@@ -56,7 +56,7 @@
56
56
  "fs-extra": "10.0.0",
57
57
  "rimraf": "5.0.5",
58
58
  "yeoman-test": "6.3.0",
59
- "@sap-ux/deploy-config-sub-generator": "0.4.13"
59
+ "@sap-ux/deploy-config-sub-generator": "0.4.14"
60
60
  },
61
61
  "engines": {
62
62
  "node": ">=20.x"