@sap-ux/project-input-validator 0.2.0 → 0.2.1

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.
package/README.md CHANGED
@@ -17,4 +17,4 @@ Pnpm
17
17
  `pnpm add @sap-ux/project-input-validator`
18
18
 
19
19
  ## Usage
20
- See example usage in [test folder](./test/validators.test.ts).
20
+ See example usage in [test folder](./test).
@@ -61,7 +61,8 @@ function processErrorMessages(errorMessages) {
61
61
  return errorMessages[0];
62
62
  }
63
63
  else {
64
- return `${(0, i18n_1.t)('deploy.invalidAppNameMultipleReason')}${os_1.EOL}${errorMessages.join(os_1.EOL)}${os_1.EOL}`;
64
+ const indentErrorMessageRows = errorMessages.map((errorMessage) => `${' '.repeat(8)}${errorMessage}`).join(os_1.EOL);
65
+ return `${(0, i18n_1.t)('deploy.invalidAppNameMultipleReason')}${os_1.EOL}${indentErrorMessageRows}${os_1.EOL}`;
65
66
  }
66
67
  }
67
68
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "deploy": {
3
- "a": "Deployment Description should not exceed 60 characters",
3
+ "abapAppDescLength": "Deployment Description should not exceed 60 characters",
4
4
  "abapTransportNumRequired": "Provide a transport request for your application",
5
5
  "abapPackageWarn": "Provide a package",
6
6
  "abapAppNameRequired": "Application name required",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-ux/project-input-validator",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Library to validate Fiori project input formats",
5
5
  "repository": {
6
6
  "type": "git",