@sap-ux/generator-adp 1.0.27 → 1.0.29

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.
@@ -104,10 +104,6 @@ export default class extends Generator {
104
104
  * Indicates if CF is installed.
105
105
  */
106
106
  private cfInstalled;
107
- /**
108
- * Indicates if the CF feature is enabled.
109
- */
110
- private readonly isCfFeatureEnabled;
111
107
  /**
112
108
  * Tools ID.
113
109
  */
@@ -139,10 +139,6 @@ class default_1 extends yeoman_generator_1.default {
139
139
  * Indicates if CF is installed.
140
140
  */
141
141
  cfInstalled;
142
- /**
143
- * Indicates if the CF feature is enabled.
144
- */
145
- isCfFeatureEnabled;
146
142
  /**
147
143
  * Tools ID.
148
144
  */
@@ -170,8 +166,6 @@ class default_1 extends yeoman_generator_1.default {
170
166
  this._setupLogging();
171
167
  this.options = opts;
172
168
  this.isMtaYamlFound = (0, adp_tooling_1.isMtaProject)(process.cwd());
173
- this.isCfFeatureEnabled = (0, feature_toggle_1.isFeatureEnabled)('sap.ux.appGenerator.testBetaFeatures.adpCfExperimental');
174
- this.logger.debug(`isCfFeatureEnabled: ${this.isCfFeatureEnabled}`);
175
169
  const jsonInputString = (0, parse_json_input_js_1.getFirstArgAsString)(args);
176
170
  this.jsonInput = (0, parse_json_input_js_1.parseJsonInput)(jsonInputString, this.logger);
177
171
  if (!this.jsonInput) {
@@ -211,8 +205,7 @@ class default_1 extends yeoman_generator_1.default {
211
205
  });
212
206
  this.telemetryCollector = new index_js_1.TelemetryCollector();
213
207
  if (!this.jsonInput) {
214
- const shouldShowTargetEnv = this.cfInstalled && this.isCfFeatureEnabled;
215
- this.prompts.splice(0, 0, (0, steps_js_1.getWizardPages)(shouldShowTargetEnv));
208
+ this.prompts.splice(0, 0, (0, steps_js_1.getWizardPages)(this.cfInstalled));
216
209
  this.prompter = this._getOrCreatePrompter();
217
210
  this.cfPrompter = new cf_services_js_1.CFServicesPrompter(isInternalUsage, this.isCfLoggedIn, this.logger);
218
211
  }
@@ -444,8 +437,7 @@ class default_1 extends yeoman_generator_1.default {
444
437
  * Sets the target environment and updates related state accordingly.
445
438
  */
446
439
  async _determineTargetEnv() {
447
- const hasRequiredExtensions = this.isCfFeatureEnabled && this.cfInstalled;
448
- if (hasRequiredExtensions) {
440
+ if (this.cfInstalled) {
449
441
  await this._promptForTargetEnvironment();
450
442
  }
451
443
  else {
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": "1.0.27",
6
+ "version": "1.0.29",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -30,19 +30,19 @@
30
30
  "i18next": "25.10.10",
31
31
  "yeoman-generator": "5.10.0",
32
32
  "uuid": "11.1.1",
33
- "@sap-ux/adp-tooling": "1.0.26",
34
- "@sap-ux/axios-extension": "2.0.5",
35
- "@sap-ux/btp-utils": "2.0.4",
33
+ "@sap-ux/adp-tooling": "1.0.28",
34
+ "@sap-ux/axios-extension": "2.0.6",
35
+ "@sap-ux/btp-utils": "2.0.5",
36
36
  "@sap-ux/feature-toggle": "1.0.4",
37
- "@sap-ux/inquirer-common": "1.0.18",
37
+ "@sap-ux/inquirer-common": "1.0.20",
38
38
  "@sap-ux/logger": "1.0.2",
39
- "@sap-ux/project-access": "2.1.5",
39
+ "@sap-ux/project-access": "2.1.6",
40
40
  "@sap-ux/store": "2.0.3",
41
- "@sap-ux/system-access": "1.0.5",
42
- "@sap-ux/project-input-validator": "1.0.9",
43
- "@sap-ux/fiori-generator-shared": "1.0.17",
44
- "@sap-ux/odata-service-writer": "1.0.11",
45
- "@sap-ux/telemetry": "1.0.15"
41
+ "@sap-ux/system-access": "1.0.6",
42
+ "@sap-ux/project-input-validator": "1.0.10",
43
+ "@sap-ux/fiori-generator-shared": "1.0.19",
44
+ "@sap-ux/odata-service-writer": "1.0.12",
45
+ "@sap-ux/telemetry": "1.0.17"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@jest/globals": "30.4.1",
@@ -58,7 +58,7 @@
58
58
  "fs-extra": "11.3.5",
59
59
  "rimraf": "6.1.3",
60
60
  "yeoman-test": "6.3.0",
61
- "@sap-ux/deploy-config-sub-generator": "1.0.35"
61
+ "@sap-ux/deploy-config-sub-generator": "1.0.37"
62
62
  },
63
63
  "engines": {
64
64
  "node": ">=22.x"