From b23c84c64c15e8c471ab2855b8f04a14e6e76f05 Mon Sep 17 00:00:00 2001 From: Divlo Date: Tue, 14 Sep 2021 13:27:21 +0200 Subject: [PATCH 1/3] chore: drop support for Node.js v10 --- .github/workflows/nodejs.yml | 2 +- package.json | 6 +++--- tsconfig.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 77115e2..53391f4 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [10.x, 12.x, 14.x] + node-version: [12.20.0, 14.13.1, 16.0.0] fail-fast: false steps: diff --git a/package.json b/package.json index 3fc410c..5f6bf7a 100644 --- a/package.json +++ b/package.json @@ -44,10 +44,10 @@ "xdg-basedir": "^4.0.0" }, "devDependencies": { - "@tsconfig/node10": "^1.0.8", + "@tsconfig/node12": "^1.0.9", "@types/eslint": "^7.28.0", "@types/minimist": "^1.2.2", - "@types/node": "^10.17.60", + "@types/node": "^16.9.1", "cross-spawn": "^7.0.3", "eslint": "^7.12.1", "eslint-config-standard": "^16.0.0", @@ -61,7 +61,7 @@ "typescript": "^4.3.5" }, "engines": { - "node": ">=10.12.0" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "funding": [ { diff --git a/tsconfig.json b/tsconfig.json index 6065e41..ef97a1a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node10/tsconfig.json", + "extends": "@tsconfig/node12/tsconfig.json", "files": [ "index.js", ], From 613478ad77fb11d66e0d3eb3d15fbc5841db59b8 Mon Sep 17 00:00:00 2001 From: Divlo Date: Tue, 14 Sep 2021 15:17:37 +0200 Subject: [PATCH 2/3] chore: update package.json MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Linus Unnebäck --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5f6bf7a..b10b85c 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "@tsconfig/node12": "^1.0.9", "@types/eslint": "^7.28.0", "@types/minimist": "^1.2.2", - "@types/node": "^16.9.1", + "@types/node": "~12.20.0", "cross-spawn": "^7.0.3", "eslint": "^7.12.1", "eslint-config-standard": "^16.0.0", From 543bff494afb0e36b9be69f3bfa0498c7dcbb768 Mon Sep 17 00:00:00 2001 From: Divlo Date: Tue, 14 Sep 2021 15:28:07 +0200 Subject: [PATCH 3/3] ci: add lts/* to the node-version matrix --- .github/workflows/nodejs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 53391f4..65d913a 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [12.20.0, 14.13.1, 16.0.0] + node-version: ['12.20.0', '14.13.1', '16.0.0', 'lts/*'] fail-fast: false steps: