@sap-ux/project-access 1.30.13 → 1.31.0

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.
@@ -30,12 +30,14 @@ async function getProject(root, memFs) {
30
30
  }
31
31
  const capProjectType = await (0, cap_1.getCapProjectType)(root);
32
32
  const projectType = capProjectType ?? 'EDMXBackend';
33
+ const capCustomPaths = projectType === 'EDMXBackend' ? undefined : await (0, cap_1.getCapCustomPaths)(root);
33
34
  const appFolders = await getAppFolders(root, memFs);
34
35
  const apps = await getApps(root, appFolders, memFs);
35
36
  return {
36
37
  root: (0, path_2.normalizePath)(root),
37
38
  projectType,
38
- apps
39
+ apps,
40
+ capCustomPaths
39
41
  };
40
42
  }
41
43
  /**
@@ -1,4 +1,4 @@
1
- import type { CapProjectType } from '../cap';
1
+ import type { CapCustomPaths, CapProjectType } from '../cap';
2
2
  import type { ManifestNamespace } from '../webapp';
3
3
  export interface Project {
4
4
  /**
@@ -17,6 +17,10 @@ export interface Project {
17
17
  apps: {
18
18
  [index: string]: ApplicationStructure;
19
19
  };
20
+ /**
21
+ * The custom paths for CAP projects.
22
+ */
23
+ capCustomPaths?: CapCustomPaths;
20
24
  }
21
25
  export interface ApplicationStructure {
22
26
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-ux/project-access",
3
- "version": "1.30.13",
3
+ "version": "1.31.0",
4
4
  "description": "Library to access SAP Fiori tools projects",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,7 +30,7 @@
30
30
  "mem-fs-editor": "9.4.0",
31
31
  "semver": "7.5.4",
32
32
  "@sap-ux/i18n": "0.3.3",
33
- "@sap-ux/ui5-config": "0.29.3"
33
+ "@sap-ux/ui5-config": "0.29.4"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/mem-fs": "1.1.2",