@sap-ux/project-access 1.0.2 → 1.0.4

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,23 +1,4 @@
1
1
  import type { Editor } from 'mem-fs-editor';
2
- /**
3
- * Add missing dump function declaration as mem-fs-editor types do not expose this.
4
- */
5
- declare module 'mem-fs-editor' {
6
- type FileMap = {
7
- [key: string]: {
8
- state: 'modified' | 'deleted';
9
- };
10
- };
11
- interface Editor {
12
- /**
13
- * Dump files to compare expected result. Provide a cwd for relative path.
14
- * See also https://github.com/SBoudrias/mem-fs-editor#dumpcwd-filter for further details.
15
- *
16
- * @param [cwd] - optional, relative path
17
- */
18
- dump(cwd?: string): FileMap;
19
- }
20
- }
21
2
  /**
22
3
  * Search for 'filename' starting from 'root'. Returns array of paths that contain the file.
23
4
  *
@@ -3,7 +3,9 @@ interface SapUxPackage {
3
3
  sapux?: boolean | string[];
4
4
  sapuxLayer?: UI5FlexLayer;
5
5
  cds?: object;
6
- ui5?: object;
6
+ ui5?: {
7
+ dependencies?: string[];
8
+ };
7
9
  remarkConfig?: object;
8
10
  }
9
11
  export declare type UI5FlexLayer = 'VENDOR' | 'CUSTOMER_BASE';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-ux/project-access",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Library to access SAP Fiori tools projects",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,7 +24,7 @@
24
24
  "node": ">= 14.16.0 < 15.0.0 || >=16.1.0 < 17.0.0 || >=18.0.0 < 19.0.0"
25
25
  },
26
26
  "dependencies": {
27
- "@sap-ux/ui5-config": "0.16.0",
27
+ "@sap-ux/ui5-config": "0.16.1",
28
28
  "findit2": "2.2.3",
29
29
  "mem-fs": "2.1.0",
30
30
  "mem-fs-editor": "9.4.0"
@@ -35,8 +35,8 @@
35
35
  "vscode-uri": "3.0.6"
36
36
  },
37
37
  "scripts": {
38
- "build": "pnpm clean && tsc -p tsconfig-build.json",
39
- "clean": "rimraf dist coverage",
38
+ "build": "tsc --build",
39
+ "clean": "rimraf dist coverage *.tsbuildinfo",
40
40
  "format": "prettier --write '**/*.{js,json,ts,yaml,yml}' --ignore-path ../../.prettierignore",
41
41
  "lint": "eslint . --ext .ts",
42
42
  "lint:fix": "eslint . --ext .ts --fix",