@sap-ux/generator-adp 0.10.7 → 0.10.10

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.
@@ -121,12 +121,9 @@ function validateBusinessSolutionName(value) {
121
121
  if (typeof validationResult === 'string') {
122
122
  return validationResult;
123
123
  }
124
- if (!/^[a-zA-Z0-9]+(\.[a-zA-Z0-9]+)+$/.test(value)) {
125
- if (/\s/.test(value) || /[^a-zA-Z0-9.]/.test(value)) {
126
- return (0, i18n_1.t)('error.businessSolutionNameInvalidChars');
127
- }
128
- return (0, i18n_1.t)('error.businessSolutionNameInvalid');
124
+ if (/^[a-z0-9][a-z0-9._-]*$/.test(value)) {
125
+ return true;
129
126
  }
130
- return true;
127
+ return (0, i18n_1.t)('error.businessSolutionNameInvalid');
131
128
  }
132
129
  //# sourceMappingURL=validators.js.map
@@ -67,7 +67,7 @@
67
67
  "projectLocationBreadcrumb": "Project Path",
68
68
  "businessSolutionNameLabel": "Business Solution Name",
69
69
  "businessSolutionBreadcrumb": "Business Solution",
70
- "businessSolutionNameTooltip": "The business solution name must be unique and consist of at least two segments and they must be separated by a period.",
70
+ "businessSolutionNameTooltip": "The business solution name must be unique and use lowercase letters, numbers, dots (.), underscores (_), and hyphens (-) only. The name must contain at least one letter or number.",
71
71
  "approuterLabel": "HTML5 Application Runtime",
72
72
  "approuterTooltip": "Select the HTML5 application runtime that you want to use.",
73
73
  "baseAppLabel": "Base Application",
@@ -115,8 +115,7 @@
115
115
  "baseAppHasToBeSelected": "Base application has to be selected. Please select a base application.",
116
116
  "businessServiceHasToBeSelected": "Business service has to be selected. Please select a business service.",
117
117
  "businessServiceDoesNotExist": "The service chosen does not exist in cockpit or the user is not member of the needed space.",
118
- "businessSolutionNameInvalid": "Business solution name must consist of at least two segments and they should be separated by period.",
119
- "businessSolutionNameInvalidChars": "Business solution name must only contain alphanumeric characters separated by periods. Spaces and special characters are not allowed.",
118
+ "businessSolutionNameInvalid": "Invalid business solution name. Only lowercase letters, numbers, dots (.), underscores (_), and hyphens (-) are allowed. The name must contain at least one letter or number.",
120
119
  "cfLoginCannotBeDetected": "CF Login cannot be detected as an extension in Visual Studio Code. For more information, see (link not yet available).",
121
120
  "projectDoesNotExist": "The project does not exist. Please select an MTA project.",
122
121
  "projectDoesNotExistMta": "Provide the path to the MTA project where you want to have your Adaptation Project created.",
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.10.7",
6
+ "version": "0.10.10",
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": "0.19.7",
34
33
  "@sap-ux/axios-extension": "1.26.1",
35
- "@sap-ux/btp-utils": "1.2.1",
34
+ "@sap-ux/inquirer-common": "0.13.5",
35
+ "@sap-ux/adp-tooling": "0.19.9",
36
36
  "@sap-ux/feature-toggle": "0.4.0",
37
- "@sap-ux/inquirer-common": "0.13.3",
37
+ "@sap-ux/btp-utils": "1.2.1",
38
38
  "@sap-ux/logger": "0.9.0",
39
- "@sap-ux/project-access": "1.38.1",
40
- "@sap-ux/store": "1.6.0",
41
- "@sap-ux/system-access": "0.8.1",
39
+ "@sap-ux/store": "1.6.1",
42
40
  "@sap-ux/project-input-validator": "0.7.2",
43
- "@sap-ux/fiori-generator-shared": "0.15.4",
41
+ "@sap-ux/system-access": "0.8.2",
42
+ "@sap-ux/project-access": "1.38.1",
44
43
  "@sap-ux/odata-service-writer": "0.32.2",
45
- "@sap-ux/telemetry": "0.7.3"
44
+ "@sap-ux/fiori-generator-shared": "0.15.6",
45
+ "@sap-ux/telemetry": "0.7.5"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@jest/types": "30.3.0",
@@ -57,7 +57,7 @@
57
57
  "fs-extra": "11.3.4",
58
58
  "rimraf": "6.1.3",
59
59
  "yeoman-test": "6.3.0",
60
- "@sap-ux/deploy-config-sub-generator": "0.6.8"
60
+ "@sap-ux/deploy-config-sub-generator": "0.6.10"
61
61
  },
62
62
  "engines": {
63
63
  "node": ">=22.x"