@sap-ux/generator-adp 1.0.43 → 1.0.45

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.
@@ -301,9 +301,11 @@ class ConfigPrompter {
301
301
  guiOptions: {
302
302
  type: 'login',
303
303
  mandatory: true,
304
- hint: (0, i18n_js_1.t)('prompts.passwordTooltip')
304
+ hint: (0, i18n_js_1.t)('prompts.passwordTooltip'),
305
+ applyDefaultWhenDirty: true
305
306
  },
306
307
  validate: async (value, answers) => await this.validatePassword(value, answers),
308
+ default: '',
307
309
  when: (answers) => (0, conditions_js_1.showCredentialQuestion)(answers, this.isAuthRequired),
308
310
  additionalMessages: () => {
309
311
  if (!this.systemAdditionalMessage) {
@@ -175,7 +175,8 @@ class KeyUserImportPrompter {
175
175
  default: options?.default ?? '',
176
176
  guiOptions: {
177
177
  mandatory: true,
178
- type: 'login'
178
+ type: 'login',
179
+ applyDefaultWhenDirty: true
179
180
  },
180
181
  when: (answers) => !!answers.keyUserSystem && this.isAuthRequired,
181
182
  validate: async (value, answers) => await this.validatePassword(value, answers)
@@ -48,8 +48,10 @@ function getPasswordPrompt(abapTarget, logger) {
48
48
  mask: '*',
49
49
  guiOptions: {
50
50
  mandatory: true,
51
- type: 'login'
51
+ type: 'login',
52
+ applyDefaultWhenDirty: true
52
53
  },
54
+ default: '',
53
55
  validate: async (value, answers) => {
54
56
  const validationResult = (0, project_input_validator_1.validateEmptyString)(value);
55
57
  if (typeof validationResult === 'string') {
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.43",
6
+ "version": "1.0.45",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -30,18 +30,18 @@
30
30
  "i18next": "26.3.6",
31
31
  "yeoman-generator": "5.10.0",
32
32
  "uuid": "11.1.1",
33
- "@sap-ux/adp-tooling": "1.0.40",
33
+ "@sap-ux/adp-tooling": "1.0.42",
34
34
  "@sap-ux/axios-extension": "2.0.8",
35
35
  "@sap-ux/btp-utils": "2.0.6",
36
36
  "@sap-ux/feature-toggle": "1.0.5",
37
- "@sap-ux/inquirer-common": "1.0.29",
37
+ "@sap-ux/inquirer-common": "1.0.31",
38
38
  "@sap-ux/logger": "1.0.3",
39
- "@sap-ux/store": "2.0.6",
40
39
  "@sap-ux/project-access": "2.1.10",
40
+ "@sap-ux/store": "2.0.6",
41
41
  "@sap-ux/system-access": "1.0.10",
42
42
  "@sap-ux/project-input-validator": "1.0.15",
43
43
  "@sap-ux/fiori-generator-shared": "1.2.6",
44
- "@sap-ux/odata-service-writer": "1.0.17",
44
+ "@sap-ux/odata-service-writer": "1.0.18",
45
45
  "@sap-ux/telemetry": "1.0.24"
46
46
  },
47
47
  "devDependencies": {
@@ -58,7 +58,7 @@
58
58
  "fs-extra": "11.3.6",
59
59
  "rimraf": "6.1.3",
60
60
  "yeoman-test": "6.3.0",
61
- "@sap-ux/deploy-config-sub-generator": "1.0.53"
61
+ "@sap-ux/deploy-config-sub-generator": "1.0.56"
62
62
  },
63
63
  "engines": {
64
64
  "node": ">=22.x"