diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d7de0d7..e82c8160 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,11 +16,11 @@ jobs: matrix: node-version: # oldest supported - - 11.x - # current LTS + - 12.x + # Maintenance LTS - 14.x - # Latest available - # - 15.x + # Active LTS + - 16.x name: Node v${{ matrix.node-version }} ${{ matrix.install-option }} steps: - uses: actions/checkout@v2 diff --git a/.npmrc b/.npmrc index 37cd0fc1..a209b251 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1,2 @@ -node-options=--max_old_space_size=4096 \ No newline at end of file +engine-strict=true +node-options=--max_old_space_size=4096 diff --git a/package.json b/package.json index 83b894b2..9c745864 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "name": "karma-sabarivka-reporter", + "version": "3.3.1", "description": "A Karma plugin. Adds untested files to istanbul coverage statistic", "license": "MIT", "author": "Ihor Kopach (https://kopach.dev)", @@ -11,12 +12,12 @@ "bugs": { "url": "https://github.com/kopach/karma-sabarivka-reporter/issues" }, - "version": "3.3.1", "main": "dist/index.js", "files": [ "dist/*" ], "scripts": { + "_postshrinkwrap": "HUSKY_SKIP_HOOKS=1 lockfix", "adr:update": "adr update", "prebuild": "rimraf dist && npm run generate-public-api-schema", "build": "tsc --sourceMap false", @@ -29,12 +30,11 @@ "lint:fix": "npm run lint -- --fix", "prepublishOnly": "npm run build", "release": "HUSKY_SKIP_HOOKS=1 np --no-2fa", - "_postshrinkwrap": "HUSKY_SKIP_HOOKS=1 lockfix", "tdd": "concurrently --kill-others \"npm run test:watch\" \"live-server --watch=coverage/lcov-report --open=coverage/lcov-report --quiet\"", "pretest": "npm run generate-public-api-schema", "test": "nyc mocha --config test/.mocharc.json **/*.ts", - "upload-code-coverage": "codecov", - "test:watch": "onchange --kill --initial 'test/*.spec.ts' 'src/*.ts' -- npm run test" + "test:watch": "onchange --kill --initial 'test/*.spec.ts' 'src/*.ts' -- npm run test", + "upload-code-coverage": "codecov" }, "config": { "commitizen": { @@ -112,5 +112,9 @@ "karma-plugin", "karma-reporter", "sabarivka" - ] + ], + "engines": { + "node": ">=12.0.0", + "npm": ">=8.0.0" + } }