@gooddata/sdk-backend-mockingbird 11.19.0-alpha.0 → 11.19.0-alpha.10
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 +9 -9
- package/package.json +31 -29
package/README.md
CHANGED
|
@@ -15,23 +15,23 @@ This implementation of Analytical Backend SPI focuses on the execution branch of
|
|
|
15
15
|
and sets up Prepared Execution just like any other implementation would. When the prepared execution
|
|
16
16
|
is started (execute()) it either (based on configuration):
|
|
17
17
|
|
|
18
|
-
-
|
|
19
|
-
|
|
18
|
+
- Returns an empty result which only contains execution definition and has the result dimensions empty.
|
|
19
|
+
Reading any data views from this result will return empty data views.
|
|
20
20
|
|
|
21
|
-
-
|
|
22
|
-
|
|
21
|
+
- Returns an empty result which only contains execution definition and has the result dimensions empty.
|
|
22
|
+
Reading any data views from this result will yield NoDataError
|
|
23
23
|
|
|
24
24
|
(Note: this is closer to how real backend implementations behave)
|
|
25
25
|
|
|
26
26
|
Purpose:
|
|
27
27
|
|
|
28
|
-
-
|
|
29
|
-
|
|
28
|
+
- use in unit tests which need to verify whether the execution is prepared correctly
|
|
29
|
+
for instance functions which transform props => prepared execution
|
|
30
30
|
|
|
31
|
-
-
|
|
32
|
-
|
|
31
|
+
- use in unit tests which need to verify whether code works correctly with execution definition
|
|
32
|
+
stored in result / data view / data view facade
|
|
33
33
|
|
|
34
|
-
-
|
|
34
|
+
- use in component-level 'smoke tests' (e.g. something renders or happens, we don't care about the details)
|
|
35
35
|
|
|
36
36
|
## Legacy Recorded Backend
|
|
37
37
|
|
package/package.json
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-backend-mockingbird",
|
|
3
|
-
"version": "11.19.0-alpha.
|
|
3
|
+
"version": "11.19.0-alpha.10",
|
|
4
4
|
"description": "Mock GoodData Backend SPI implementation",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "GoodData",
|
|
5
7
|
"repository": {
|
|
6
8
|
"type": "git",
|
|
7
9
|
"url": "https://github.com/gooddata/gooddata-ui-sdk.git",
|
|
8
10
|
"directory": "libs/sdk-backend-mockingbird"
|
|
9
11
|
},
|
|
10
|
-
"license": "MIT",
|
|
11
|
-
"author": "GoodData",
|
|
12
|
-
"sideEffects": false,
|
|
13
|
-
"type": "module",
|
|
14
|
-
"exports": "./esm/index.js",
|
|
15
|
-
"browser": "./esm/index.js",
|
|
16
|
-
"types": "./esm/index.d.ts",
|
|
17
12
|
"files": [
|
|
18
13
|
"esm/**/*.js",
|
|
19
14
|
"esm/**/*.json",
|
|
20
15
|
"esm/**/*.d.ts",
|
|
21
16
|
"esm/**/*.map"
|
|
22
17
|
],
|
|
18
|
+
"type": "module",
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"browser": "./esm/index.js",
|
|
21
|
+
"types": "./esm/index.d.ts",
|
|
22
|
+
"exports": "./esm/index.js",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"lodash-es": "^4.17.
|
|
24
|
+
"lodash-es": "^4.17.23",
|
|
25
25
|
"ts-invariant": "^0.7.5",
|
|
26
26
|
"tslib": "2.8.1",
|
|
27
27
|
"uuid": "^11.1.0",
|
|
28
|
-
"@gooddata/sdk-
|
|
29
|
-
"@gooddata/util": "11.19.0-alpha.
|
|
30
|
-
"@gooddata/sdk-
|
|
31
|
-
"@gooddata/sdk-backend-
|
|
28
|
+
"@gooddata/sdk-backend-base": "11.19.0-alpha.10",
|
|
29
|
+
"@gooddata/util": "11.19.0-alpha.10",
|
|
30
|
+
"@gooddata/sdk-model": "11.19.0-alpha.10",
|
|
31
|
+
"@gooddata/sdk-backend-spi": "11.19.0-alpha.10"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@microsoft/api-documenter": "^7.17.0",
|
|
@@ -37,24 +37,22 @@
|
|
|
37
37
|
"@typescript-eslint/eslint-plugin": "8.52.0",
|
|
38
38
|
"@typescript-eslint/parser": "8.52.0",
|
|
39
39
|
"dependency-cruiser": "^14.1.2",
|
|
40
|
-
"eslint": "^
|
|
41
|
-
"eslint-
|
|
40
|
+
"eslint": "^9.39.2",
|
|
41
|
+
"eslint-import-resolver-typescript": "4.4.4",
|
|
42
42
|
"eslint-plugin-header": "3.1.1",
|
|
43
|
-
"eslint-plugin-import": "2.32.0",
|
|
44
43
|
"eslint-plugin-import-esm": "1.2.1",
|
|
44
|
+
"eslint-plugin-import-x": "4.16.1",
|
|
45
45
|
"eslint-plugin-jsdoc": "62.1.0",
|
|
46
46
|
"eslint-plugin-no-barrel-files": "1.2.2",
|
|
47
|
-
"eslint-plugin-no-only-tests": "2.6.0",
|
|
48
|
-
"eslint-plugin-prettier": "5.5.4",
|
|
49
|
-
"eslint-plugin-regexp": "1.15.0",
|
|
50
47
|
"eslint-plugin-sonarjs": "3.0.6",
|
|
51
|
-
"eslint-plugin-tsdoc": "0.2.14",
|
|
52
48
|
"npm-run-all": "^4.1.5",
|
|
53
|
-
"
|
|
49
|
+
"oxfmt": "0.27.0",
|
|
50
|
+
"oxlint": "^1.43.0",
|
|
54
51
|
"typescript": "5.9.3",
|
|
55
52
|
"vitest": "4.0.8",
|
|
56
|
-
"@gooddata/
|
|
57
|
-
"@gooddata/
|
|
53
|
+
"@gooddata/eslint-config": "11.19.0-alpha.10",
|
|
54
|
+
"@gooddata/oxlint-config": "11.19.0-alpha.10",
|
|
55
|
+
"@gooddata/reference-workspace": "11.19.0-alpha.10"
|
|
58
56
|
},
|
|
59
57
|
"scripts": {
|
|
60
58
|
"_phase:build": "npm run build",
|
|
@@ -66,13 +64,17 @@
|
|
|
66
64
|
"build-ts": "tsc -p tsconfig.build.json",
|
|
67
65
|
"clean": "../../common/scripts/clean-command-state.sh && rm -rf ci dist esm coverage *.log tsconfig.tsbuildinfo",
|
|
68
66
|
"dep-cruiser": "depcruise --validate .dependency-cruiser.cjs --output-type err-long src/",
|
|
69
|
-
"eslint": "eslint
|
|
70
|
-
"eslint-fix": "eslint
|
|
71
|
-
"
|
|
72
|
-
"
|
|
67
|
+
"eslint": "eslint .",
|
|
68
|
+
"eslint-fix": "eslint . --fix",
|
|
69
|
+
"oxfmt-check": "oxfmt --check .",
|
|
70
|
+
"oxfmt-write": "oxfmt .",
|
|
73
71
|
"test": "vitest watch",
|
|
74
72
|
"test-once": "vitest run",
|
|
75
|
-
"validate": "npm run
|
|
76
|
-
"validate-esm": "node --input-type=module --eval 'import \"@gooddata/sdk-backend-mockingbird\"'"
|
|
73
|
+
"validate": "npm run lint && npm run dep-cruiser && npm run oxfmt-check",
|
|
74
|
+
"validate-esm": "node --input-type=module --eval 'import \"@gooddata/sdk-backend-mockingbird\"'",
|
|
75
|
+
"lint": "npm run oxlint && npm run eslint",
|
|
76
|
+
"lint-fix": "npm run oxlint-fix && npm run eslint-fix",
|
|
77
|
+
"oxlint": "oxlint .",
|
|
78
|
+
"oxlint-fix": "oxlint . --fix"
|
|
77
79
|
}
|
|
78
80
|
}
|