@broadcom/mat-analyze-for-zowe-cli 2.0.7 → 2.0.8
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 +5 -120
- package/lib/api/MATRest.js +49 -10
- package/lib/api/MATRest.js.map +1 -1
- package/lib/api/error/HttpError.d.ts +9 -0
- package/lib/api/error/HttpError.js +35 -0
- package/lib/api/error/HttpError.js.map +1 -0
- package/lib/api/response/IProfileList.d.ts +1 -1
- package/lib/cli/monitor/codeview/Histogram/Histogram.handler.js.map +1 -1
- package/lib/cli/monitor/history/History.handler.js +1 -1
- package/lib/cli/monitor/history/History.handler.js.map +1 -1
- package/lib/cli/monitor/idms/module/IDMSModule.handler.js.map +1 -1
- package/lib/cli/monitor/overview/Overview.handler.js.map +1 -1
- package/lib/cli/monitor/tranview/stat/Cicstat.handler.js.map +1 -1
- package/lib/cli/profile/create/CreateProfile.handler.js.map +1 -1
- package/lib/cli/profile/invoke/InvokeProfile.handler.js.map +1 -1
- package/lib/cli/profile/listprofile/ListProfile.handler.js +1 -1
- package/lib/cli/session/MATSession.js +2 -2
- package/lib/cli/session/MATSession.js.map +1 -1
- package/lib/handlers/AbstractAnalyzeHandler.js.map +1 -1
- package/lib/handlers/AbstractGetHandler.js.map +1 -1
- package/lib/handlers/AbstractRestHandler.d.ts +9 -0
- package/lib/handlers/AbstractRestHandler.js +116 -78
- package/lib/handlers/AbstractRestHandler.js.map +1 -1
- package/lib/healthCheck.Handler.d.ts +22 -3
- package/lib/healthCheck.Handler.js +52 -36
- package/lib/healthCheck.Handler.js.map +1 -1
- package/lib/imperative.js +2 -15
- package/lib/imperative.js.map +1 -1
- package/package.json +47 -37
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@broadcom/mat-analyze-for-zowe-cli",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.8",
|
|
4
4
|
"description": "MAT Analyze Plug-in for Zowe CLI",
|
|
5
5
|
"author": "Broadcom",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -10,13 +10,14 @@
|
|
|
10
10
|
"lib"
|
|
11
11
|
],
|
|
12
12
|
"scripts": {
|
|
13
|
-
"build": "node scripts/updateLicense.js && tsc --pretty && npm run checkTestsCompile",
|
|
14
|
-
"checkTestsCompile": "echo
|
|
13
|
+
"build": "node scripts/updateLicense.js && tsc --pretty -p tsconfig.json && npm run checkTestsCompile",
|
|
14
|
+
"checkTestsCompile": "echo \\\"Checking that test source compiles...\\\" && tsc --project test-tsconfig.json --noEmit ",
|
|
15
15
|
"prebuild": "npm run clean && npm run lint && echo Using TypeScript && tsc --version",
|
|
16
16
|
"clean": "rimraf lib",
|
|
17
17
|
"watch": "tsc --pretty --watch",
|
|
18
18
|
"prepublishOnly": "npm run build",
|
|
19
|
-
"lint": "
|
|
19
|
+
"lint": "eslint \"src/**/*.ts\"",
|
|
20
|
+
"eslint-fix": "eslint --fix \"src/**/*.ts\"",
|
|
20
21
|
"test": "npm run test:unit && npm run test:system",
|
|
21
22
|
"test:system": "env-cmd __tests__/__resources__/env/system.env jest .*/__system__/.* --coverage false",
|
|
22
23
|
"test:unit": "env-cmd __tests__/__resources__/env/unit.env jest --coverage --testPathIgnorePatterns \".*/__system__/.*\"",
|
|
@@ -29,43 +30,43 @@
|
|
|
29
30
|
"configurationModule": "lib/imperative.js"
|
|
30
31
|
},
|
|
31
32
|
"dependencies": {
|
|
33
|
+
"@broadcom/endevor-for-zowe-cli": "8.2.2",
|
|
32
34
|
"object-mapper": "6.2.0"
|
|
33
35
|
},
|
|
34
36
|
"peerDependencies": {
|
|
35
|
-
"@zowe/imperative": "
|
|
37
|
+
"@zowe/imperative": "8.28.0"
|
|
36
38
|
},
|
|
37
39
|
"devDependencies": {
|
|
38
|
-
"@types/config": "
|
|
39
|
-
"@types/fs-extra": "
|
|
40
|
-
"@types/jest": "
|
|
41
|
-
"@types/mustache": "
|
|
42
|
-
"@types/node": "
|
|
43
|
-
"@types/yargs": "
|
|
44
|
-
"@zowe/cli": "
|
|
45
|
-
"@zowe/cli-test-utils": "
|
|
46
|
-
"@zowe/imperative": "
|
|
47
|
-
"config": "
|
|
48
|
-
"copyfiles": "2.
|
|
49
|
-
"env-cmd": "
|
|
50
|
-
"fs-extra": "
|
|
51
|
-
"glob": "
|
|
52
|
-
"jest": "
|
|
53
|
-
"jest-cli": "
|
|
54
|
-
"jest-environment-node": "
|
|
55
|
-
"jest-environment-node-debug": "
|
|
56
|
-
"jest-html-reporter": "
|
|
57
|
-
"jest-junit": "
|
|
58
|
-
"jest-stare": "
|
|
59
|
-
"js-yaml": "
|
|
60
|
-
"rimraf": "
|
|
61
|
-
"shebang-regex": "
|
|
62
|
-
"ts-jest": "
|
|
63
|
-
"ts-node": "
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"uuid": "^3.2.1"
|
|
40
|
+
"@types/config": "3.3.4",
|
|
41
|
+
"@types/fs-extra": "11.0.4",
|
|
42
|
+
"@types/jest": "29.5.14",
|
|
43
|
+
"@types/mustache": "4.2.5",
|
|
44
|
+
"@types/node": "18.19.80",
|
|
45
|
+
"@types/yargs": "17.0.33",
|
|
46
|
+
"@zowe/cli": "8.28.0",
|
|
47
|
+
"@zowe/cli-test-utils": "8.28.0",
|
|
48
|
+
"@zowe/imperative": "8.28.0",
|
|
49
|
+
"config": "3.3.12",
|
|
50
|
+
"copyfiles": "2.4.1",
|
|
51
|
+
"env-cmd": "8.0.2",
|
|
52
|
+
"fs-extra": "11.3.0",
|
|
53
|
+
"glob": "9.3.5",
|
|
54
|
+
"jest": "29.7.0",
|
|
55
|
+
"jest-cli": "29.7.0",
|
|
56
|
+
"jest-environment-node": "29.7.0",
|
|
57
|
+
"jest-environment-node-debug": "2.0.0",
|
|
58
|
+
"jest-html-reporter": "3.10.2",
|
|
59
|
+
"jest-junit": "16.0.0",
|
|
60
|
+
"jest-stare": "2.5.2",
|
|
61
|
+
"js-yaml": "4.1.1",
|
|
62
|
+
"rimraf": "6.0.1",
|
|
63
|
+
"shebang-regex": "4.0.0",
|
|
64
|
+
"ts-jest": "29.2.4",
|
|
65
|
+
"ts-node": "10.9.2",
|
|
66
|
+
"tsutils": "3.21.0",
|
|
67
|
+
"typescript": "5.6.3",
|
|
68
|
+
"typescript-eslint": "8.26.1",
|
|
69
|
+
"uuid": "10.0.0"
|
|
69
70
|
},
|
|
70
71
|
"jest": {
|
|
71
72
|
"modulePathIgnorePatterns": [
|
|
@@ -97,7 +98,16 @@
|
|
|
97
98
|
"text",
|
|
98
99
|
"cobertura"
|
|
99
100
|
],
|
|
100
|
-
"coverageDirectory": "<rootDir>/__tests__/__results__/unit/coverage"
|
|
101
|
+
"coverageDirectory": "<rootDir>/__tests__/__results__/unit/coverage",
|
|
102
|
+
"rootDir": ".",
|
|
103
|
+
"moduleNameMapper": {
|
|
104
|
+
"^@api/(.*)$": "<rootDir>/src/api/$1",
|
|
105
|
+
"^@handlers/(.*)$": "<rootDir>/src/handlers/$1",
|
|
106
|
+
"^@cli/(.*)$": "<rootDir>/src/cli/$1",
|
|
107
|
+
"^@common/(.*)$": "<rootDir>/src/common/$1",
|
|
108
|
+
"^@config$": "<rootDir>/src/config",
|
|
109
|
+
"^@src/(.*)$": "<rootDir>/src/$1"
|
|
110
|
+
}
|
|
101
111
|
},
|
|
102
112
|
"jest-stare": {
|
|
103
113
|
"resultDir": "__tests__/__results__/jest-stare",
|