Skip to content

Commit

Permalink
chore(deps): 🔗 enforce node.js v12 as minimum version
Browse files Browse the repository at this point in the history
BREAKING CHANGE: drop support for node v11
  • Loading branch information
kopach committed Dec 8, 2021
1 parent 397b582 commit 2d77f73
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node-options=--max_old_space_size=4096
engine-strict=true
node-options=--max_old_space_size=4096
14 changes: 9 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -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)",
Expand All @@ -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",
Expand All @@ -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": {
Expand Down Expand Up @@ -112,5 +112,9 @@
"karma-plugin",
"karma-reporter",
"sabarivka"
]
],
"engines": {
"node": ">=12.0.0",
"npm": ">=8.0.0"
}
}

0 comments on commit 2d77f73

Please sign in to comment.