From 7c2155d2434c23f22eec87bb8eab60b523f5a4de Mon Sep 17 00:00:00 2001 From: Igor Savin Date: Tue, 6 Jun 2023 23:20:18 +0300 Subject: [PATCH] Update dependencies (#182) --- .github/workflows/ci.yml | 2 +- .github/workflows/coverage.yml | 2 +- .github/workflows/linting.yml | 2 +- jest.config.json | 19 ++++++++++++------- package.json | 24 ++++++++++++------------ 5 files changed, 27 insertions(+), 22 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a9f9f8c..a244d81 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: - node-version: [12.x, 14.x, 16.x, 18.x] + node-version: [14.x, 16.x, 18.x, 20.x] steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 236542e..37a1bdf 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: - node-version: [16.x] + node-version: [20.x] steps: - name: Checkout Repository diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 44706b3..df1f72a 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: - node-version: [16.x] + node-version: [20.x] steps: - name: Checkout Repository diff --git a/jest.config.json b/jest.config.json index 338c754..b47aeb4 100644 --- a/jest.config.json +++ b/jest.config.json @@ -2,16 +2,21 @@ "moduleFileExtensions": ["ts", "js", "json"], "testMatch": ["/test/**/*.(spec|test).ts|tsx"], "transform": { - "^.+\\.ts$": "ts-jest" + "^.+\\.ts$": [ + "ts-jest", + { + "diagnostics": false + } + ] }, "testEnvironment": "node", "reporters": ["default"], - "coveragePathIgnorePatterns": ["/node_modules/", "/coverage/", "/test/utils/", "/index.ts"], - "globals": { - "ts-jest": { - "diagnostics": false - } - }, + "coveragePathIgnorePatterns": [ + "/node_modules/", + "/coverage/", + "/test/utils/", + "/index.ts" + ], "coverageThreshold": { "global": { "statements": 100, diff --git a/package.json b/package.json index c36c26e..7409a4f 100644 --- a/package.json +++ b/package.json @@ -21,23 +21,23 @@ "prepublishOnly": "npm run build" }, "devDependencies": { - "@types/jest": "^28.1.8", - "@types/node": "^18.11.17", - "@typescript-eslint/eslint-plugin": "^5.47.0", - "@typescript-eslint/parser": "^5.47.0", + "@types/jest": "^29.5.2", + "@types/node": "^18.16.16", + "@typescript-eslint/eslint-plugin": "^5.59.9", + "@typescript-eslint/parser": "^5.59.9", "croner": "^5.3.5", - "eslint": "^8.30.0", + "eslint": "^8.42.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.2.1", - "jasmine-core": "^4.5.0", - "jest": "^28.1.3", - "karma": "^6.4.1", - "karma-chrome-launcher": "^3.1.1", + "jasmine-core": "^4.6.0", + "jest": "^29.5.0", + "karma": "^6.4.2", + "karma-chrome-launcher": "^3.2.0", "karma-jasmine": "^5.1.0", - "karma-typescript": "^5.5.3", + "karma-typescript": "^5.5.4", "prettier": "^2.8.1", - "ts-jest": "^28.0.8", - "typescript": "4.9.4" + "ts-jest": "^29.1.0", + "typescript": "4.9.5" }, "homepage": "https://github.com/kibertoad/toad-scheduler", "repository": {