@sap-ux/project-input-validator 0.6.11 → 0.6.13

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.
@@ -1,3 +1,10 @@
1
+ /**
2
+ * Returns true if the specified target path does not contain an SAP Fiori project.
3
+ *
4
+ * @param targetDir the target directory path.
5
+ * @returns true, if not Fiori Project, or string message indicating that the path contains an SAP Fiori project.
6
+ */
7
+ export declare function validateFioriAppProjectFolder(targetDir: string): Promise<string | boolean>;
1
8
  /**
2
9
  * Validates whether the specified target path is suitable for creating an SAP Fiori project App project.
3
10
  * The function performs the following checks:
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.validateFioriAppProjectFolder = validateFioriAppProjectFolder;
3
4
  exports.validateFioriAppTargetFolder = validateFioriAppTargetFolder;
4
5
  const project_access_1 = require("@sap-ux/project-access");
5
6
  const path_1 = require("path");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-ux/project-input-validator",
3
- "version": "0.6.11",
3
+ "version": "0.6.13",
4
4
  "description": "Library to validate Fiori project input formats",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,11 +16,11 @@
16
16
  "dependencies": {
17
17
  "i18next": "25.3.0",
18
18
  "validate-npm-package-name": "5.0.0",
19
- "@sap-ux/project-access": "1.30.7"
19
+ "@sap-ux/project-access": "1.30.8"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/validate-npm-package-name": "4.0.1",
23
- "jest-extended": "4.0.2"
23
+ "jest-extended": "6.0.0"
24
24
  },
25
25
  "files": [
26
26
  "dist",