From 179ff527a01d39bf8709055635fdf233cdc80172 Mon Sep 17 00:00:00 2001 From: Rowan Manning <138944+rowanmanning@users.noreply.github.com> Date: Tue, 23 Jan 2024 08:59:49 +0000 Subject: [PATCH] Drop support for Node.js 16 This also drops support for npm 7. --- .circleci/config.yml | 11 ----------- .nvmrc | 2 +- .toolkitrc.yml | 1 - package-lock.json | 4 ++-- package.json | 4 ++-- 5 files changed, 5 insertions(+), 17 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 807c93d..5da7153 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,9 +9,6 @@ executors: node18_19: docker: - image: cimg/node:18.19 - node16_20: - docker: - - image: cimg/node:16.20 jobs: checkout: docker: @@ -37,8 +34,6 @@ workflows: filters: branches: only: /(^renovate-.*|^nori/.*)/ - tags: - only: /^v\d+\.\d+\.\d+(-.+)?/ - tool-kit/setup: name: tool-kit/setup-<< matrix.executor >> requires: @@ -49,7 +44,6 @@ workflows: executor: - node - node18_19 - - node16_20 filters: tags: only: /^v\d+\.\d+\.\d+(-.+)?/ @@ -62,7 +56,6 @@ workflows: executor: - node - node18_19 - - node16_20 filters: tags: only: /^v\d+\.\d+\.\d+(-.+)?/ @@ -75,7 +68,6 @@ workflows: executor: - node - node18_19 - - node16_20 filters: tags: only: /^v\d+\.\d+\.\d+(-.+)?/ @@ -110,7 +102,6 @@ workflows: executor: - node - node18_19 - - node16_20 - tool-kit/build: name: tool-kit/build-<< matrix.executor >> requires: @@ -120,7 +111,6 @@ workflows: executor: - node - node18_19 - - node16_20 - tool-kit/test: name: tool-kit/test-<< matrix.executor >> requires: @@ -130,4 +120,3 @@ workflows: executor: - node - node18_19 - - node16_20 diff --git a/.nvmrc b/.nvmrc index b6a7d89..2edeafb 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16 +20 \ No newline at end of file diff --git a/.toolkitrc.yml b/.toolkitrc.yml index 508df9d..a34bfaa 100644 --- a/.toolkitrc.yml +++ b/.toolkitrc.yml @@ -19,4 +19,3 @@ options: nodeVersion: - '20.11' - '18.19' - - '16.20' diff --git a/package-lock.json b/package-lock.json index 66d063e..4235450 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34,8 +34,8 @@ "snyk": "^1.167.2" }, "engines": { - "node": "16.x || 18.x || 20.x", - "npm": "7.x || 8.x || 9.x || 10.x" + "node": "18.x || 20.x", + "npm": "8.x || 9.x || 10.x" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index caf1c8f..01b0ed0 100644 --- a/package.json +++ b/package.json @@ -11,8 +11,8 @@ "format": "dotcom-tool-kit format:local" }, "engines": { - "node": "16.x || 18.x || 20.x", - "npm": "7.x || 8.x || 9.x || 10.x" + "node": "18.x || 20.x", + "npm": "8.x || 9.x || 10.x" }, "repository": { "type": "git",