From f244766bc9d2a5a9539c11170f0cdbf556a04e6d Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Sat, 30 Sep 2023 11:52:00 +0200 Subject: [PATCH 1/3] Drop support for Node.js 16 --- .github/workflows/build-lint-test.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-lint-test.yml b/.github/workflows/build-lint-test.yml index 61e6bf8..c4dbdcb 100644 --- a/.github/workflows/build-lint-test.yml +++ b/.github/workflows/build-lint-test.yml @@ -24,7 +24,7 @@ jobs: - prepare strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [18.x, 20.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} @@ -49,7 +49,7 @@ jobs: - prepare strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [18.x, 20.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} @@ -74,7 +74,7 @@ jobs: - prepare strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [18.x, 20.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} @@ -105,7 +105,7 @@ jobs: - prepare strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [18.x, 20.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} @@ -130,7 +130,7 @@ jobs: - prepare strategy: matrix: - node-version: [16.x, 20.x] + node-version: [18.x, 20.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} From a28ea98cae6337197d10b2678251892ceefb96c0 Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Wed, 1 Nov 2023 13:06:02 +0100 Subject: [PATCH 2/3] Update package.json engines --- constraints.pro | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/constraints.pro b/constraints.pro index a892c67..8c301c1 100644 --- a/constraints.pro +++ b/constraints.pro @@ -91,7 +91,7 @@ gen_enforced_dependency(WorkspaceCwd, DependencyIdent, null, DependencyType) :- DependencyType == 'devDependencies'. % The package must specify a minimum Node version of 16. -gen_enforced_field(WorkspaceCwd, 'engines.node', '>=16.0.0'). +gen_enforced_field(WorkspaceCwd, 'engines.node', '^18.16 || >=20'). % The package is public. gen_enforced_field(WorkspaceCwd, 'publishConfig.access', 'public'). diff --git a/package.json b/package.json index c71c555..294692b 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ }, "packageManager": "yarn@3.2.1", "engines": { - "node": ">=16.0.0" + "node": "^18.16 || >=20" }, "publishConfig": { "access": "public", From d62f8f25c13f3d505b18a630a525c295c047e1da Mon Sep 17 00:00:00 2001 From: Elliot Winkler Date: Thu, 16 Nov 2023 10:21:14 -0700 Subject: [PATCH 3/3] Bump to 18.18 --- constraints.pro | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/constraints.pro b/constraints.pro index af9bfca..22199e5 100644 --- a/constraints.pro +++ b/constraints.pro @@ -91,7 +91,7 @@ gen_enforced_dependency(WorkspaceCwd, DependencyIdent, null, DependencyType) :- DependencyType == 'devDependencies'. % The package must specify the expected node version constraint. -gen_enforced_field(WorkspaceCwd, 'engines.node', '^18.16 || >=20'). +gen_enforced_field(WorkspaceCwd, 'engines.node', '^18.18 || >=20'). % The package is public. gen_enforced_field(WorkspaceCwd, 'publishConfig.access', 'public'). diff --git a/package.json b/package.json index cb2b210..1fb9eba 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ }, "packageManager": "yarn@3.2.1", "engines": { - "node": "^18.16 || >=20" + "node": "^18.18 || >=20" }, "publishConfig": { "access": "public",