Skip to content

Commit a0d9fca

Browse files
committed
Make changes to support Node 24. Add deprecation checker.
Signed-off-by: Andrew W. Harn <[email protected]>
1 parent 75bc31d commit a0d9fca

File tree

4 files changed

+168
-7
lines changed

4 files changed

+168
-7
lines changed

.eslintrc.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ module.exports = {
1414
"overrides": [
1515
{
1616
"extends": [
17-
"plugin:jest/recommended"
17+
"plugin:jest/recommended",
18+
"plugin:deprecation/recommended"
1819
],
1920
"files": [
2021
"**/__tests__/**/*.ts"
@@ -34,7 +35,8 @@ module.exports = {
3435
"parser": "@typescript-eslint/parser",
3536
"parserOptions": {
3637
"ecmaVersion": 12,
37-
"sourceType": "module"
38+
"sourceType": "module",
39+
"project": ["./tsconfig.json", "./__tests__/test-tsconfig.json"]
3840
},
3941
"plugins": [
4042
"@typescript-eslint",

.github/workflows/zowe-cli-plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
node-version: [18.x, 20.x]
18+
node-version: [20.x, 22.x, 24.x]
1919
os: [windows-latest, ubuntu-latest, macos-latest]
2020

2121
steps:

package-lock.json

Lines changed: 161 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
"@zowe/imperative": "^5.27.1",
6262
"env-cmd": "^8.0.2",
6363
"eslint": "^8.57.1",
64+
"eslint-plugin-deprecation": "^3.0.0",
6465
"eslint-plugin-jest": "^27.9.0",
6566
"eslint-plugin-license-header": "^0.6.1",
6667
"eslint-plugin-unused-imports": "^2.0.0",
@@ -72,7 +73,7 @@
7273
"jest-environment-node-debug": "^2.0.0",
7374
"jest-html-reporter": "^3.10.2",
7475
"jest-junit": "^6.4.0",
75-
"jest-stare": "^2.5.2",
76+
"jest-stare": "^2.5.3",
7677
"json-server": "^0.17.4",
7778
"madge": "^5.0.2",
7879
"rimraf": "^2.7.1",

0 commit comments

Comments
 (0)