@sap-ux/abap-deploy-config-sub-generator 0.0.69 → 0.0.70

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.
@@ -139,7 +139,8 @@ class default_1 extends deploy_config_generator_shared_1.DeploymentGenerator {
139
139
  transportInputChoice: { hideIfOnPremise: isAdp },
140
140
  packageAutocomplete: {
141
141
  shouldValidatePackageForStartingPrefix: isAdp,
142
- shouldValidatePackageType: isAdp
142
+ shouldValidatePackageType: isAdp,
143
+ shouldValidateFormatAndSpecialCharacters: isAdp
143
144
  },
144
145
  packageManual: { shouldValidatePackageForStartingPrefix: isAdp, shouldValidatePackageType: isAdp },
145
146
  targetSystem: { shouldRestrictDifferentSystemType: isAdp }
@@ -99,7 +99,8 @@ async function getAbapQuestions({ appRootPath, connectedSystem, backendConfig, c
99
99
  default: deployAppConfig?.package,
100
100
  additionalValidation: {
101
101
  shouldValidatePackageType: promptOptions?.packageAutocomplete?.shouldValidatePackageType ?? false,
102
- shouldValidatePackageForStartingPrefix: promptOptions?.packageAutocomplete?.shouldValidatePackageForStartingPrefix ?? false
102
+ shouldValidatePackageForStartingPrefix: promptOptions?.packageAutocomplete?.shouldValidatePackageForStartingPrefix ?? false,
103
+ shouldValidateFormatAndSpecialCharacters: promptOptions?.packageAutocomplete?.shouldValidateFormatAndSpecialCharacters ?? false
103
104
  }
104
105
  },
105
106
  transportManual: { default: deployAppConfig?.transport },
@@ -108,7 +109,8 @@ async function getAbapQuestions({ appRootPath, connectedSystem, backendConfig, c
108
109
  useAutocomplete: true,
109
110
  additionalValidation: {
110
111
  shouldValidatePackageType: promptOptions?.packageAutocomplete?.shouldValidatePackageType ?? false,
111
- shouldValidatePackageForStartingPrefix: promptOptions?.packageAutocomplete?.shouldValidatePackageForStartingPrefix ?? false
112
+ shouldValidatePackageForStartingPrefix: promptOptions?.packageAutocomplete?.shouldValidatePackageForStartingPrefix ?? false,
113
+ shouldValidateFormatAndSpecialCharacters: promptOptions?.packageAutocomplete?.shouldValidateFormatAndSpecialCharacters ?? false
112
114
  }
113
115
  },
114
116
  overwrite: { hide: !showOverwriteQuestion },
@@ -71,6 +71,7 @@ type TargetSystemPromptOptions = {
71
71
  type PackageAdditionalValidationPrompOptions = {
72
72
  shouldValidatePackageType?: boolean;
73
73
  shouldValidatePackageForStartingPrefix?: boolean;
74
+ shouldValidateFormatAndSpecialCharacters?: boolean;
74
75
  };
75
76
  export type AbapDeployConfigPromptOptions = Partial<Record<promptNames.ui5AbapRepo, HideIfOnPremisePromptOption> & Record<promptNames.transportInputChoice, HideIfOnPremisePromptOption> & Record<promptNames.packageManual, PackageAdditionalValidationPrompOptions> & Record<promptNames.packageAutocomplete, PackageAdditionalValidationPrompOptions> & Record<promptNames.targetSystem, TargetSystemPromptOptions>>;
76
77
  export {};
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "url": "https://github.com/SAP/open-ux-tools.git",
7
7
  "directory": "packages/abap-deploy-config-sub-generator"
8
8
  },
9
- "version": "0.0.69",
9
+ "version": "0.0.70",
10
10
  "license": "Apache-2.0",
11
11
  "main": "generators/app/index.js",
12
12
  "files": [
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "i18next": "23.5.1",
23
23
  "@sap-devx/yeoman-ui-types": "1.14.4",
24
- "@sap-ux/abap-deploy-config-inquirer": "1.2.48",
24
+ "@sap-ux/abap-deploy-config-inquirer": "1.2.49",
25
25
  "@sap-ux/abap-deploy-config-writer": "0.0.107",
26
26
  "@sap-ux/btp-utils": "1.0.3",
27
27
  "@sap-ux/deploy-config-generator-shared": "0.0.46",