Skip to content

Commit

Permalink
Drop support for Node.js 16 (#221)
Browse files Browse the repository at this point in the history
Bump minimum Node version to 18.18.

---------

Co-authored-by: Elliot Winkler <[email protected]>
  • Loading branch information
Mrtenz and mcmire committed Nov 17, 2023
1 parent 085b701 commit 2bad8b0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -99,7 +99,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 }}
Expand Down
2 changes: 1 addition & 1 deletion constraints.pro
Original file line number Diff line number Diff line change
Expand Up @@ -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', '^16.20 || ^18.16 || >=20').
gen_enforced_field(WorkspaceCwd, 'engines.node', '^18.18 || >=20').

% The package is public.
gen_enforced_field(WorkspaceCwd, 'publishConfig.access', 'public').
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
},
"packageManager": "[email protected]",
"engines": {
"node": "^16.20 || ^18.16 || >=20"
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
Expand Down

0 comments on commit 2bad8b0

Please sign in to comment.