@zowe/db2-for-zowe-cli 4.1.1 → 4.1.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zowe/db2-for-zowe-cli",
3
- "version": "4.1.1",
3
+ "version": "4.1.3",
4
4
  "description": "IBM® Db2® Plug-in for Zowe CLI",
5
5
  "author": "CA T&C Brightside",
6
6
  "license": "EPL-2.0",
@@ -17,18 +17,20 @@
17
17
  ],
18
18
  "scripts": {
19
19
  "prebuild": "npm run clean && npm run lint && echo Using TypeScript && tsc --version",
20
- "build": "node scripts/updateLicense.js && tsc --pretty",
20
+ "build": "node scripts/updateLicense.js && tsc --pretty && npm run checkTestsCompile && npm run circularDependencyCheck",
21
+ "checkTestsCompile": "echo \"Checking that test source compiles...\" && tsc --project __tests__/test-tsconfig.json --noEmit",
22
+ "circularDependencyCheck": "madge -c lib",
21
23
  "clean": "rimraf lib",
22
24
  "watch": "tsc --pretty --watch",
23
25
  "prepublishOnly": "npm run build",
24
- "lint": "npm run lint:src && npm run lint:tests",
25
- "lint:src": "tslint --format stylish -c tslint.json \"src/**/*.ts\"",
26
- "lint:tests": "tslint --format stylish -c tslint-tests.json \"__tests__/**/*.ts\"",
27
- "test": "npm run test:unit --runinband && npm run test:system",
26
+ "lint": "eslint \"src/**/*.ts\" \"**/__tests__/**/*.ts\"",
27
+ "lint:src": "eslint \"src/**/*.ts\" --ignore-pattern \"**/__tests__/**/*.ts\"",
28
+ "lint:tests": "eslint \"**/__tests__/**/*.ts\"",
29
+ "test": "npm run test:unit && npm run test:system",
28
30
  "test:system": "env-cmd __tests__/__resources__/env/system.env jest .*/__system__/.* --coverage false --runInBand",
29
31
  "test:unit": "env-cmd __tests__/__resources__/env/unit.env jest --coverage --testPathIgnorePatterns \".*/__system__/.*\" ",
30
32
  "installPlugin": "npm install && npm run clean && npm run build && bright plugins install .",
31
- "typedoc": "typedoc --out ./docs/typedoc/ ./src/ --disableOutputCheck --ignoreCompilerErrors --mode file"
33
+ "typedoc": "typedoc --out ./docs/typedoc/ ./src/ --disableOutputCheck"
32
34
  },
33
35
  "imperative": {
34
36
  "configurationModule": "lib/imperative.js"
@@ -37,32 +39,35 @@
37
39
  "ibm_db": "2.7.4"
38
40
  },
39
41
  "peerDependencies": {
40
- "@zowe/imperative": "^4.0.0",
41
- "@zowe/cli": "^6.0.0"
42
+ "@zowe/cli": "^6.0.0",
43
+ "@zowe/imperative": "^4.0.0"
42
44
  },
43
45
  "devDependencies": {
44
- "@types/fs-extra": "^9.0.5",
46
+ "@types/fs-extra": "^5.0.5",
45
47
  "@types/ibm_db": "^2.0.2",
46
48
  "@types/jest": "^20.0.5",
47
49
  "@types/node": "^8.0.0",
48
50
  "@types/xml2js": "^0.4.3",
49
51
  "@types/yargs": "^8.0.2",
50
- "@zowe/imperative": "4.13.4",
52
+ "@typescript-eslint/eslint-plugin": "^4.29.0",
53
+ "@typescript-eslint/parser": "^4.29.0",
54
+ "@zowe/imperative": "4.17.5",
51
55
  "env-cmd": "^8.0.2",
56
+ "eslint": "^7.32.0",
57
+ "eslint-plugin-jest": "^24.4.0",
58
+ "eslint-plugin-unused-imports": "^1.1.2",
52
59
  "fs-extra": "^5.0.0",
53
- "jest": "^24.5.0",
54
- "jest-cli": "^24.5.0",
55
- "jest-environment-node": "^24.5.0",
60
+ "jest": "^26.6.3",
56
61
  "jest-environment-node-debug": "^2.0.0",
57
62
  "jest-html-reporter": "^3.3.0",
58
63
  "jest-junit": "^3.6.0",
59
64
  "jest-stare": "^2.2.0",
65
+ "madge": "^5.0.1",
60
66
  "rimraf": "^2.6.2",
61
67
  "ts-jest": "^26.4.4",
62
68
  "ts-node": "^3.2.0",
63
- "tslint": "^5.0.0",
64
- "typedoc": "^0.19.2",
65
- "typescript": "^3.2.2",
69
+ "typedoc": "^0.20.36",
70
+ "typescript": "^3.7.4",
66
71
  "uuid": "^3.2.1"
67
72
  },
68
73
  "jest": {
@@ -74,7 +79,7 @@
74
79
  ],
75
80
  "testResultsProcessor": "jest-stare",
76
81
  "transform": {
77
- ".(ts)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
82
+ ".(ts)": "ts-jest"
78
83
  },
79
84
  "testRegex": "(test|spec)\\.ts$",
80
85
  "moduleFileExtensions": [
package/CHANGELOG.md DELETED
@@ -1,54 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to the IBM® Db2® Plug-in for Zowe CLI will be documented in this file.
4
-
5
- ## Recent Changes
6
-
7
- - Enhancement: Update ibm_db dependency to support Node v16 [#82](https://github.com/zowe/zowe-cli-db2-plugin/issues/82)
8
-
9
- ## `4.1.0`
10
-
11
- - Adds semicolon after each sql statement when exporting a table.
12
- - Enhancement: Added a help example for how to pass output values when calling a Db2 stored procedure.
13
-
14
- ## `4.0.7`
15
-
16
- - BugFix: Added support for Node v14. [#60](https://github.com/zowe/zowe-cli-db2-plugin/pull/60)
17
-
18
- ## `4.0.6`
19
-
20
- - Decrease Imperative load time for plugin
21
-
22
- ## `4.0.5`
23
-
24
- - Tagged 4.X.X as @zowe-v1-lts
25
-
26
- ## `4.0.4`
27
-
28
- - Updated typescript dev dependency to fix building the plugin
29
-
30
- ## `4.0.3`
31
-
32
- - Updated documentation to include Xcode, fix links and branding
33
-
34
- ## `4.0.2`
35
-
36
- - Updated ibm_db dependency to add Node 12 support
37
-
38
- ## `4.0.1`
39
-
40
- - Updated documentation to include:
41
- - How the plugin works
42
- - Software requirements
43
- - How to install and uninstall the plugin
44
- - How to build from source
45
- - How to run tests
46
- - Contribution information
47
- - Where to find tutorials
48
- - Link to Imperative CLI Framework documentation
49
-
50
- ## `4.0.0`
51
-
52
- - Change name to @zowe/db2-for-zowe-cli
53
- - Bump imperative and cli peer dependency versions
54
- - Rebrand documentation