@sap-ux/adp-flp-config-sub-generator 0.1.76 → 0.1.78

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.
@@ -123,7 +123,9 @@ class AdpFlpConfigGenerator extends yeoman_generator_1.default {
123
123
  });
124
124
  }
125
125
  async prompting() {
126
- if (this.authenticationRequired) {
126
+ // If authentication was already prompted it should not be skipped as this leads to issues with Yeoman UI navigation
127
+ const credentialsPrompted = (0, appWizardCache_1.getFromCache)(this.appWizard, 'credentialsPrompted', this.logger);
128
+ if (this.authenticationRequired || credentialsPrompted) {
127
129
  await this._promptAuthentication();
128
130
  }
129
131
  if (this.abort) {
@@ -181,7 +183,7 @@ class AdpFlpConfigGenerator extends yeoman_generator_1.default {
181
183
  try {
182
184
  this.provider = await (0, utils_1.getAbapServiceProvider)(this.ui5Yaml, this.toolsLogger, this.credentials);
183
185
  this.inbounds = await (0, adp_tooling_1.getBaseAppInbounds)(this.appId, this.provider);
184
- (0, appWizardCache_1.addToCache)(this.appWizard, { provider: this.provider }, this.logger);
186
+ (0, appWizardCache_1.addToCache)(this.appWizard, { provider: this.provider, credentialsPrompted: true }, this.logger);
185
187
  }
186
188
  catch (error) {
187
189
  if (!(0, axios_extension_1.isAxiosError)(error)) {
@@ -38,5 +38,6 @@ export interface FlpConfigOptions extends Generator.GeneratorOptions {
38
38
  }
39
39
  export interface State {
40
40
  provider?: AbapServiceProvider;
41
+ credentialsPrompted?: boolean;
41
42
  }
42
43
  //# sourceMappingURL=types.d.ts.map
@@ -16,7 +16,7 @@ const hostEnv = (0, fiori_generator_shared_1.getHostEnvironment)();
16
16
  */
17
17
  function initAppWizardCache(logger, appWizard) {
18
18
  if (appWizard && !appWizard[ADP_FLP_CONFIG_CACHE]) {
19
- appWizard[ADP_FLP_CONFIG_CACHE] = {};
19
+ appWizard[ADP_FLP_CONFIG_CACHE] = { credentialsPrompted: false };
20
20
  logger.debug('AppWizard based cache initialized.');
21
21
  }
22
22
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/adp-flp-config-sub-generator",
3
3
  "description": "Generator for adding FLP configuration to an Adaptation Project",
4
- "version": "0.1.76",
4
+ "version": "0.1.78",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -22,17 +22,17 @@
22
22
  "@sap-devx/yeoman-ui-types": "1.14.4",
23
23
  "i18next": "25.3.0",
24
24
  "yeoman-generator": "5.10.0",
25
- "@sap-ux/adp-tooling": "0.15.30",
26
- "@sap-ux/axios-extension": "1.22.8",
27
- "@sap-ux/btp-utils": "1.1.2",
25
+ "@sap-ux/adp-tooling": "0.15.31",
26
+ "@sap-ux/axios-extension": "1.22.9",
27
+ "@sap-ux/btp-utils": "1.1.3",
28
28
  "@sap-ux/feature-toggle": "0.3.1",
29
- "@sap-ux/fiori-generator-shared": "0.13.17",
30
- "@sap-ux/flp-config-inquirer": "0.4.26",
31
- "@sap-ux/inquirer-common": "0.7.44",
29
+ "@sap-ux/fiori-generator-shared": "0.13.18",
30
+ "@sap-ux/flp-config-inquirer": "0.4.27",
31
+ "@sap-ux/inquirer-common": "0.7.45",
32
32
  "@sap-ux/logger": "0.7.0",
33
33
  "@sap-ux/project-access": "1.32.1",
34
34
  "@sap-ux/store": "1.1.4",
35
- "@sap-ux/system-access": "0.6.17"
35
+ "@sap-ux/system-access": "0.6.18"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@jest/types": "30.0.1",