@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
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/project-access",
|
|
3
|
-
"version": "1.0.
|
|
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.
|
|
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": "
|
|
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",
|